Lines Matching refs:base_address
74 void __iomem *base_address; /* virt. address of control registers */ member
98 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in xps2_recv()
100 *byte = in_be32(drvdata->base_address + XPS2_RX_DATA_OFFSET); in xps2_recv()
118 intr_sr = in_be32(drvdata->base_address + XPS2_IPISR_OFFSET); in xps2_interrupt()
119 out_be32(drvdata->base_address + XPS2_IPISR_OFFSET, intr_sr); in xps2_interrupt()
171 sr = in_be32(drvdata->base_address + XPS2_STATUS_OFFSET); in sxps2_write()
173 out_be32(drvdata->base_address + XPS2_TX_DATA_OFFSET, c); in sxps2_write()
203 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, XPS2_GIER_GIE_MASK); in sxps2_open()
204 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, XPS2_IPIXR_RX_ALL); in sxps2_open()
221 out_be32(drvdata->base_address + XPS2_GIER_OFFSET, 0x00); in sxps2_close()
222 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, 0x00); in sxps2_close()
285 drvdata->base_address = ioremap(phys_addr, remap_size); in xps2_of_probe()
286 if (drvdata->base_address == NULL) { in xps2_of_probe()
294 out_be32(drvdata->base_address + XPS2_IPIER_OFFSET, 0); in xps2_of_probe()
298 out_be32(drvdata->base_address + XPS2_SRST_OFFSET, XPS2_SRST_RESET); in xps2_of_probe()
301 (unsigned long long)phys_addr, drvdata->base_address, in xps2_of_probe()
343 iounmap(drvdata->base_address); in xps2_of_remove()