Lines Matching refs:dpmbase
154 unsigned long dpmbase = hw->dpmbase; in cycx_setup() local
164 if (!hw->dpmbase) { in cycx_setup()
168 } else if (!get_option_index(cyc2x_dpmbase_options, hw->dpmbase)) { in cycx_setup()
170 modname, dpmbase); in cycx_setup()
174 hw->dpmbase = (u32)ioremap(dpmbase, CYCX_WINDOWSIZE); in cycx_setup()
177 if (!detect_cyc2x(hw->dpmbase)) { in cycx_setup()
179 "address 0x%lX!\n", modname, dpmbase); in cycx_setup()
184 modname, dpmbase); in cycx_setup()
198 iounmap((u32 *)hw->dpmbase); in cycx_down()
207 cyc2x_writeb(0, hw->dpmbase); in cycx_inten()
214 cyc2x_writew(0, hw->dpmbase + GEN_CYCX_INTR); in cycx_intr()
242 *(u8*)buf = cyc2x_readb(hw->dpmbase + addr); in cycx_peek()
244 cyc2x_memcpy_fromio(buf, hw->dpmbase + addr, len); in cycx_peek()
255 cyc2x_writeb(*(u8*)buf, hw->dpmbase + addr); in cycx_poke()
257 cyc2x_memcpy_toio(hw->dpmbase + addr, buf, len); in cycx_poke()
408 u32 pt_cycld = hw->dpmbase + 0x400; in load_cyc2x()
470 if (!reset_cyc2x(hw->dpmbase)) { in load_cyc2x()
477 cycx_reset_boot(hw->dpmbase, reset_image, img_hdr->reset_size); in load_cyc2x()
494 if (cycx_data_boot(hw->dpmbase, data_image, img_hdr->data_size)) { in load_cyc2x()
500 if (cycx_code_boot(hw->dpmbase, code_image, img_hdr->code_size)) { in load_cyc2x()
509 cycx_start(hw->dpmbase); in load_cyc2x()
531 cyc2x_writeb(FIXED_BUFFERS, hw->dpmbase + CONF_OFFSET); in cycx_bootcfg()