Home
last modified time | relevance | path

Searched refs:mmio_base (Results 1 – 12 of 12) sorted by relevance

/arch/tile/gxio/
Duart.c45 context->mmio_base = (void __force *) in gxio_uart_init()
48 if (context->mmio_base == NULL) { in gxio_uart_init()
61 iounmap((void __force __iomem *)(context->mmio_base)); in gxio_uart_destroy()
64 context->mmio_base = NULL; in gxio_uart_destroy()
76 __gxio_mmio_write(context->mmio_base + offset, word); in gxio_uart_write()
84 return __gxio_mmio_read(context->mmio_base + offset); in gxio_uart_read()
Dusb_host.c53 context->mmio_base = in gxio_usb_host_init()
56 if (context->mmio_base == NULL) { in gxio_usb_host_init()
68 iounmap((void __force __iomem *)(context->mmio_base)); in gxio_usb_host_destroy()
71 context->mmio_base = NULL; in gxio_usb_host_destroy()
81 return context->mmio_base; in gxio_usb_host_get_reg_start()
Dkiorpc.c33 pgprot_t mmio_base, prot = { 0 }; in iorpc_ioremap() local
38 err = __iorpc_get_mmio_base(hv_fd, &mmio_base); in iorpc_ioremap()
55 prot = hv_pte_set_lotar(prot, hv_pte_get_lotar(mmio_base)); in iorpc_ioremap()
56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset); in iorpc_ioremap()
/arch/arm/mach-pxa/
Dpxa3xx-ulpi.c34 void __iomem *mmio_base; member
44 return __raw_readl(u2d->mmio_base + reg); in u2d_readl()
49 __raw_writel(val, u2d->mmio_base + reg); in u2d_writel()
228 u2d->otg->io_priv = u2d->mmio_base; in pxa310_otg_init()
316 u2d->mmio_base = ioremap(r->start, resource_size(r)); in pxa3xx_u2d_probe()
317 if (!u2d->mmio_base) { in pxa3xx_u2d_probe()
344 iounmap(u2d->mmio_base); in pxa3xx_u2d_probe()
368 iounmap(u2d->mmio_base); in pxa3xx_u2d_remove()
/arch/powerpc/kernel/
Dudbg_16550.c163 unsigned char __iomem *mmio_base; member
192 return in_8(udbg_uart.mmio_base + (reg * udbg_uart_stride)); in udbg_uart_in_mmio()
197 out_8(udbg_uart.mmio_base + (reg * udbg_uart_stride), data); in udbg_uart_out_mmio()
205 udbg_uart.mmio_base = addr; in udbg_uart_init_mmio()
/arch/tile/include/gxio/
Dusb_host.h40 char *mmio_base; member
Duart.h40 char *mmio_base; member
/arch/arm/plat-pxa/
Dssp.c194 ssp->mmio_base = devm_ioremap(dev, res->start, resource_size(res)); in pxa_ssp_probe()
195 if (ssp->mmio_base == NULL) { in pxa_ssp_probe()
242 iounmap(ssp->mmio_base); in pxa_ssp_remove()
/arch/ia64/pci/
Dpci.c146 u64 mmio_base; in new_space() local
152 mmio_base = (u64) ioremap(phys_base, 0); in new_space()
154 if (io_space[i].mmio_base == mmio_base && in new_space()
165 io_space[i].mmio_base = mmio_base; in new_space()
200 base = __pa(io_space[space_nr].mmio_base); in add_io_space()
/arch/ia64/include/asm/
Dio.h49 unsigned long mmio_base; /* base in MMIO space */ member
139 return (void *) (space->mmio_base | offset); in __ia64_mk_io_addr()
/arch/ia64/sn/kernel/
Dsetup.c421 io_space[0].mmio_base = in sn_setup()
/arch/ia64/kernel/
Dsetup.c447 io_space[0].mmio_base = ia64_iobase; in io_port_init()