Lines Matching refs:dpmbase
22 * fromio to use dpmbase ioremaped
136 int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len, unsigned long dpmbase)
147 if (!dpmbase) {
151 } else if (!get_option_index(cyc2x_dpmbase_options, dpmbase)) {
153 modname, dpmbase);
157 hw->dpmbase = ioremap(dpmbase, CYCX_WINDOWSIZE);
160 if (!detect_cyc2x(hw->dpmbase)) {
162 "address 0x%lX!\n", modname, dpmbase);
167 modname, dpmbase);
181 iounmap(hw->dpmbase);
188 writeb(0, hw->dpmbase);
195 writew(0, hw->dpmbase + GEN_CYCX_INTR);
223 *(u8*)buf = readb(hw->dpmbase + addr);
225 memcpy_fromio(buf, hw->dpmbase + addr, len);
236 writeb(*(u8*)buf, hw->dpmbase + addr);
238 memcpy_toio(hw->dpmbase + addr, buf, len);
389 void __iomem *pt_cycld = hw->dpmbase + 0x400;
447 if (!reset_cyc2x(hw->dpmbase)) {
454 cycx_reset_boot(hw->dpmbase, reset_image, img_hdr->reset_size);
471 if (cycx_data_boot(hw->dpmbase, data_image, img_hdr->data_size)) {
477 if (cycx_code_boot(hw->dpmbase, code_image, img_hdr->code_size)) {
486 cycx_start(hw->dpmbase);
508 writeb(FIXED_BUFFERS, hw->dpmbase + CONF_OFFSET);