Home
last modified time | relevance | path

Searched refs:mapbase (Results 1 – 197 of 197) sorted by relevance

/linux-4.4.14/arch/arm/plat-orion/include/plat/
Dcommon.h19 resource_size_t mapbase,
24 resource_size_t mapbase,
29 resource_size_t mapbase,
34 resource_size_t mapbase,
38 void __init orion_rtc_init(unsigned long mapbase,
42 unsigned long mapbase,
48 unsigned long mapbase,
54 unsigned long mapbase,
59 unsigned long mapbase,
66 void __init orion_i2c_init(unsigned long mapbase,
[all …]
/linux-4.4.14/arch/arm/plat-orion/
Dcommon.c55 resource_size_t mapbase, in fill_resources() argument
62 resources[0].start = mapbase; in fill_resources()
63 resources[0].end = mapbase + size; in fill_resources()
87 resource_size_t mapbase, in uart_complete() argument
91 data->mapbase = mapbase; in uart_complete()
97 fill_resources(orion_uart, resources, mapbase, 0xff, irq); in uart_complete()
121 resource_size_t mapbase, in orion_uart0_init() argument
126 membase, mapbase, irq, clk); in orion_uart0_init()
149 resource_size_t mapbase, in orion_uart1_init() argument
154 membase, mapbase, irq, clk); in orion_uart1_init()
[all …]
/linux-4.4.14/arch/arm/common/
Dlocomo.c251 dev->mapbase = lchip->base + info->offset; in locomo_init_one_child()
253 dev->mapbase = 0; in locomo_init_one_child()
628 static void locomo_m62332_sendbit(void *mapbase, int bit) in locomo_m62332_sendbit() argument
632 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
634 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
637 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
639 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
644 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
646 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
649 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
[all …]
Dsa1111.c203 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() local
205 stat0 = sa1111_readl(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
206 stat1 = sa1111_readl(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
208 sa1111_writel(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
212 sa1111_writel(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
241 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_mask_lowirq() local
244 ie0 = sa1111_readl(mapbase + SA1111_INTEN0); in sa1111_mask_lowirq()
246 writel(ie0, mapbase + SA1111_INTEN0); in sa1111_mask_lowirq()
252 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_unmask_lowirq() local
255 ie0 = sa1111_readl(mapbase + SA1111_INTEN0); in sa1111_unmask_lowirq()
[all …]
/linux-4.4.14/drivers/clocksource/
Dh8300_timer8.c46 unsigned long mapbase; member
59 o1 = ctrl_inb(p->mapbase + _8TCSR) & 0x20; in timer8_get_counter()
64 v1 = ctrl_inw(p->mapbase + _8TCNT); in timer8_get_counter()
65 v2 = ctrl_inw(p->mapbase + _8TCNT); in timer8_get_counter()
66 v3 = ctrl_inw(p->mapbase + _8TCNT); in timer8_get_counter()
67 o1 = ctrl_inb(p->mapbase + _8TCSR) & 0x20; in timer8_get_counter()
79 ctrl_outb(ctrl_inb(p->mapbase + _8TCSR) & ~0x40, in timer8_interrupt()
80 p->mapbase + _8TCSR); in timer8_interrupt()
82 ctrl_outw(p->tcora, p->mapbase + TCORA); in timer8_interrupt()
85 ctrl_outw(0x0000, p->mapbase + _8TCR); in timer8_interrupt()
[all …]
Dh8300_timer16.c54 unsigned long mapbase; member
77 v1 = ctrl_inw(p->mapbase + TCNT); in timer16_get_counter()
78 v2 = ctrl_inw(p->mapbase + TCNT); in timer16_get_counter()
79 v3 = ctrl_inw(p->mapbase + TCNT); in timer16_get_counter()
126 ctrl_outw(0x0000, p->mapbase + TCNT); in timer16_enable()
127 ctrl_outb(0x83, p->mapbase + TCR); in timer16_enable()
180 p->mapbase = res[REG_CH]->start; in timer16_setup()
Dsh_tmu.c60 void __iomem *mapbase; member
95 return ioread8(ch->tmu->mapbase + 2); in sh_tmu_read()
97 return ioread8(ch->tmu->mapbase + 4); in sh_tmu_read()
117 return iowrite8(value, ch->tmu->mapbase + 2); in sh_tmu_write()
119 return iowrite8(value, ch->tmu->mapbase + 4); in sh_tmu_write()
476 ch->base = tmu->mapbase + 4 + ch->index * 12; in sh_tmu_channel_setup()
478 ch->base = tmu->mapbase + 8 + ch->index * 12; in sh_tmu_channel_setup()
504 tmu->mapbase = ioremap_nocache(res->start, resource_size(res)); in sh_tmu_map_memory()
505 if (tmu->mapbase == NULL) in sh_tmu_map_memory()
596 iounmap(tmu->mapbase); in sh_tmu_setup()
Dsh_mtu2.c48 void __iomem *mapbase; member
165 return ioread8(ch->mtu->mapbase + 0x280); in sh_mtu2_read()
181 return iowrite8(value, ch->mtu->mapbase + 0x280); in sh_mtu2_write()
367 ch->base = mtu->mapbase + channel_offsets[index]; in sh_mtu2_setup_channel()
383 mtu->mapbase = ioremap_nocache(res->start, resource_size(res)); in sh_mtu2_map_memory()
384 if (mtu->mapbase == NULL) in sh_mtu2_map_memory()
440 iounmap(mtu->mapbase); in sh_mtu2_setup()
Dsh_cmt.c119 void __iomem *mapbase; member
244 return ch->cmt->info->read_control(ch->cmt->mapbase, 0); in sh_cmt_read_cmstr()
253 ch->cmt->info->write_control(ch->cmt->mapbase, 0, value); in sh_cmt_write_cmstr()
875 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
879 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
886 ch->ioctrl = cmt->mapbase + 0x40; in sh_cmt_setup_channel()
889 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
926 cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem)); in sh_cmt_map_memory()
927 if (cmt->mapbase == NULL) { in sh_cmt_map_memory()
1036 iounmap(cmt->mapbase); in sh_cmt_setup()
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dserial.c38 resource_size_t mapbase; member
47 .mapbase = LPC32XX_UART5_BASE,
54 .mapbase = LPC32XX_UART3_BASE,
61 .mapbase = LPC32XX_UART4_BASE,
68 .mapbase = LPC32XX_UART6_BASE,
98 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
112 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
/linux-4.4.14/arch/m68k/coldfire/
Ddevice.c28 .mapbase = MCFUART_BASE0,
32 .mapbase = MCFUART_BASE1,
37 .mapbase = MCFUART_BASE2,
43 .mapbase = MCFUART_BASE3,
49 .mapbase = MCFUART_BASE4,
55 .mapbase = MCFUART_BASE5,
61 .mapbase = MCFUART_BASE6,
67 .mapbase = MCFUART_BASE7,
73 .mapbase = MCFUART_BASE8,
79 .mapbase = MCFUART_BASE9,
/linux-4.4.14/drivers/mcb/
Dmcb-pci.c20 phys_addr_t mapbase; member
51 priv->mapbase = pci_resource_start(pdev, 0); in mcb_pci_probe()
52 if (!priv->mapbase) { in mcb_pci_probe()
58 res = request_mem_region(priv->mapbase, CHAM_HEADER_SIZE, in mcb_pci_probe()
66 priv->base = ioremap(priv->mapbase, CHAM_HEADER_SIZE); in mcb_pci_probe()
91 ret = chameleon_parse_cells(priv->bus, priv->mapbase, priv->base); in mcb_pci_probe()
120 release_region(priv->mapbase, CHAM_HEADER_SIZE); in mcb_pci_remove()
Dmcb-parse.c11 phys_addr_t mapbase; member
29 phys_addr_t mapbase, in chameleon_parse_bdd() argument
36 phys_addr_t mapbase, in chameleon_parse_gdd() argument
70 mdev->mem.start = mapbase + offset; in chameleon_parse_gdd()
88 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, in chameleon_parse_cells() argument
130 ret = chameleon_parse_gdd(bus, mapbase, p); in chameleon_parse_cells()
136 chameleon_parse_bdd(bus, mapbase, p); in chameleon_parse_cells()
Dmcb-internal.h116 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase,
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dserial-sh7720.c13 if (port->mapbase == 0xa4430000) { /* SCIF0 */ in sh7720_sci_init_pins()
17 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ in sh7720_sci_init_pins()
23 if (port->mapbase == 0xa4430000) { /* SCIF0 */ in sh7720_sci_init_pins()
27 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ in sh7720_sci_init_pins()
Dserial-sh7710.c11 if (port->mapbase == 0xA4400000) { in sh7710_sci_init_pins()
14 } else if (port->mapbase == 0xA4410000) in sh7710_sci_init_pins()
/linux-4.4.14/drivers/ide/
Dtx4939ide.c544 unsigned long mapbase; in tx4939ide_probe() local
556 mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start, in tx4939ide_probe()
558 if (!mapbase) in tx4939ide_probe()
562 mapbase + tx4939ide_swizzlew(TX4939IDE_Data); in tx4939ide_probe()
564 mapbase + tx4939ide_swizzleb(TX4939IDE_Error_Feature); in tx4939ide_probe()
566 mapbase + tx4939ide_swizzleb(TX4939IDE_Sec); in tx4939ide_probe()
568 mapbase + tx4939ide_swizzleb(TX4939IDE_LBA0); in tx4939ide_probe()
570 mapbase + tx4939ide_swizzleb(TX4939IDE_LBA1); in tx4939ide_probe()
572 mapbase + tx4939ide_swizzleb(TX4939IDE_LBA2); in tx4939ide_probe()
574 mapbase + tx4939ide_swizzleb(TX4939IDE_DevHead); in tx4939ide_probe()
[all …]
Dtx4938ide.c137 unsigned long mapbase, mapctl; in tx4938ide_probe() local
150 mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start, in tx4938ide_probe()
156 if (!mapbase || !mapctl) in tx4938ide_probe()
161 unsigned long port = mapbase; in tx4938ide_probe()
174 ide_std_init_ports(&hw, mapbase, mapctl); in tx4938ide_probe()
179 mapbase, mapctl, hw.irq); in tx4938ide_probe()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_hp300.c117 port.mapbase = (FRODO_BASE + FRODO_APCI_OFFSET(1)); in hp300_setup_serial_console()
118 port.membase = (char *)(port.mapbase + DIO_VIRADDRBASE); in hp300_setup_serial_console()
134 port.mapbase = (pa + UART_OFFSET); in hp300_setup_serial_console()
135 port.membase = (char *)(port.mapbase + DIO_VIRADDRBASE); in hp300_setup_serial_console()
176 uart.port.mapbase = (d->resource.start + UART_OFFSET); in hpdca_init_one()
177 uart.port.membase = (char *)(uart.port.mapbase + DIO_VIRADDRBASE); in hpdca_init_one()
257 uart.port.mapbase = base; in hp300_8250_init()
D8250_pnp.c459 uart.port.mapbase = pnp_mem_start(dev, 0); in serial_pnp_probe()
468 uart.port.iobase, uart.port.mapbase, uart.port.irq, uart.port.iotype); in serial_pnp_probe()
D8250_core.c654 (port->mapbase != addr)) in univ8250_console_match()
727 p->mapbase = port->mapbase; in early_serial_setup()
817 uart.port.mapbase = p->mapbase; in serial8250_probe()
833 p->iobase, (unsigned long long)p->mapbase, in serial8250_probe()
982 uart->port.mapbase = up->port.mapbase; in serial8250_register_8250_port()
1046 (unsigned long long)uart->port.mapbase, in serial8250_register_8250_port()
D8250_dma.c165 dma->rxconf.src_addr = p->port.mapbase + UART_RX; in serial8250_request_dma()
169 dma->txconf.dst_addr = p->port.mapbase + UART_TX; in serial8250_request_dma()
D8250_gsc.c61 uart.port.mapbase = address; in serial_init_chip()
D8250_acorn.c75 uart.port.mapbase = bus_addr + type->offset[i]; in serial_card_probe()
D8250.h145 switch (pt->port.mapbase) { in is_omap1_8250()
D8250_em.c114 up.port.mapbase = regs->start; in serial8250_em_probe()
D8250_uniphier.c206 up.port.mapbase = regs->start; in uniphier_uart_probe()
D8250_lpc18xx.c170 uart.port.mapbase = res->start; in lpc18xx_serial_probe()
D8250_port.c1069 if (!port->iobase && !port->mapbase && !port->membase) in autoconfig()
2460 if (!port->mapbase) in serial8250_request_std_resource()
2463 if (!request_mem_region(port->mapbase, size, "serial")) { in serial8250_request_std_resource()
2469 port->membase = ioremap_nocache(port->mapbase, size); in serial8250_request_std_resource()
2471 release_mem_region(port->mapbase, size); in serial8250_request_std_resource()
2497 if (!port->mapbase) in serial8250_release_std_resource()
2505 release_mem_region(port->mapbase, size); in serial8250_release_std_resource()
D8250_mtk.c216 uart.port.mapbase = regs->start; in mtk8250_probe()
D8250_ingenic.c230 uart.port.mapbase = regs->start; in ingenic_uart_probe()
D8250_mid.c251 uart.port.mapbase = pci_resource_start(pdev, bar); in mid8250_probe()
D8250_dw.c357 p->mapbase = regs->start; in dw8250_probe()
D8250_omap.c1112 up.port.mapbase = regs->start; in omap8250_probe()
D8250_pci.c95 port->port.mapbase = pci_resource_start(dev, bar) + offset; in setup_port()
101 port->port.mapbase = 0; in setup_port()
/linux-4.4.14/arch/arm/mach-pxa/
Dcapc7117.c83 .mapbase = 0x14000000,
92 .mapbase = 0x14000040,
101 .mapbase = 0x14000080,
110 .mapbase = 0x140000c0,
Dzeus.c239 .mapbase = 0x10000000,
248 .mapbase = 0x10800000,
257 .mapbase = 0x11000000,
266 .mapbase = 0x11800000,
277 .mapbase = __PREG(FFUART),
286 .mapbase = __PREG(BTUART),
295 .mapbase = __PREG(STUART),
Dviper.c528 .mapbase = __PREG(FFUART),
537 .mapbase = __PREG(BTUART),
546 .mapbase = __PREG(STUART),
555 .mapbase = VIPER_UARTA_PHYS,
565 .mapbase = VIPER_UARTB_PHYS,
/linux-4.4.14/arch/x86/platform/ce4100/
Dce4100.c104 up->mapbase = 0xdffe0200; in ce4100_serial_fixup()
106 up->mapbase & PAGE_MASK); in ce4100_serial_fixup()
109 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup()
110 up->mapbase += port * 0x100; in ce4100_serial_fixup()
/linux-4.4.14/arch/mips/pmcs-msp71xx/
Dmsp_serial.c107 up.mapbase = MSP_UART0_BASE; in msp_serial_setup()
108 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); in msp_serial_setup()
145 up.mapbase = MSP_UART1_BASE; in msp_serial_setup()
146 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); in msp_serial_setup()
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dvulcan-setup.c79 .mapbase = IXP4XX_UART1_BASE_PHYS,
88 .mapbase = IXP4XX_UART2_BASE_PHYS,
215 vulcan_uart_data[2].mapbase = vulcan_uart_resources[2].start; in vulcan_init()
216 vulcan_uart_data[3].mapbase = vulcan_uart_data[2].mapbase + 8; in vulcan_init()
Dcoyote-setup.c63 .mapbase = IXP4XX_UART2_BASE_PHYS,
102 coyote_uart_data[0].mapbase = IXP4XX_UART1_BASE_PHYS; in coyote_init()
Davila-setup.c80 .mapbase = IXP4XX_UART1_BASE_PHYS,
89 .mapbase = IXP4XX_UART2_BASE_PHYS,
Ddsmg600-setup.c129 .mapbase = IXP4XX_UART1_BASE_PHYS,
138 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dnslu2-setup.c143 .mapbase = IXP4XX_UART1_BASE_PHYS,
152 .mapbase = IXP4XX_UART2_BASE_PHYS,
Domixp-setup.c127 .mapbase = IXP4XX_UART2_BASE_PHYS,
135 .mapbase = IXP4XX_UART1_BASE_PHYS,
Dnas100d-setup.c131 .mapbase = IXP4XX_UART1_BASE_PHYS,
140 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dfsg-setup.c91 .mapbase = IXP4XX_UART1_BASE_PHYS,
100 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dixdp425-setup.c153 .mapbase = IXP4XX_UART1_BASE_PHYS,
162 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dgateway7001-setup.c57 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dwg302v2-setup.c58 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dgtwx5715-setup.c109 .mapbase = IXP4XX_UART2_BASE_PHYS,
Dgoramo_mlr.c249 .mapbase = IXP4XX_UART1_BASE_PHYS,
259 .mapbase = IXP4XX_UART2_BASE_PHYS,
/linux-4.4.14/drivers/tty/serial/
Dearlycon.c78 port->mapbase = addr; in parse_options()
99 (unsigned long long)port->mapbase, in parse_options()
120 if (port->mapbase) in register_earlycon()
121 port->membase = earlycon_map(port->mapbase, 64); in register_earlycon()
208 port->mapbase = addr; in of_setup_earlycon()
Duartlite.c320 release_mem_region(port->mapbase, ULITE_REGION); in ulite_release_port()
330 port, (unsigned long long) port->mapbase); in ulite_request_port()
332 if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) { in ulite_request_port()
337 port->membase = ioremap(port->mapbase, ULITE_REGION); in ulite_request_port()
340 release_mem_region(port->mapbase, ULITE_REGION); in ulite_request_port()
485 if (!port->mapbase) { in ulite_console_setup()
557 if (ulite_ports[id].mapbase == 0) in ulite_assign()
565 if ((ulite_ports[id].mapbase) && (ulite_ports[id].mapbase != base)) { in ulite_assign()
578 port->mapbase = base; in ulite_assign()
593 port->mapbase = 0; in ulite_assign()
[all …]
Dlpc32xx_hs.c448 static void lpc32xx_loopback_set(resource_size_t mapbase, int state) in lpc32xx_loopback_set() argument
453 switch (mapbase) { in lpc32xx_loopback_set()
464 WARN(1, "lpc32xx_hs: Warning: Unknown port at %08x\n", mapbase); in lpc32xx_loopback_set()
501 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in serial_lpc32xx_startup()
526 lpc32xx_loopback_set(port->mapbase, 1); /* go to loopback mode */ in serial_lpc32xx_shutdown()
581 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_release_port()
587 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_release_port()
595 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_request_port()
598 if (!request_mem_region(port->mapbase, SZ_4K, MODNAME)) in serial_lpc32xx_request_port()
601 port->membase = ioremap(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
[all …]
Dserial_txx9.c760 if (!up->port.mapbase) in serial_txx9_request_resource()
763 if (!request_mem_region(up->port.mapbase, size, "serial_txx9")) { in serial_txx9_request_resource()
769 up->port.membase = ioremap(up->port.mapbase, size); in serial_txx9_request_resource()
771 release_mem_region(up->port.mapbase, size); in serial_txx9_request_resource()
791 if (!up->port.mapbase) in serial_txx9_release_resource()
799 release_mem_region(up->port.mapbase, size); in serial_txx9_release_resource()
883 if (up->port.iobase || up->port.mapbase) in serial_txx9_register_ports()
1038 if (!(uart->port.iobase || uart->port.mapbase)) in serial_txx9_register_port()
1050 uart->port.mapbase = port->mapbase; in serial_txx9_register_port()
1077 uart->port.mapbase = 0; in serial_txx9_unregister_port()
[all …]
Dmcf.c499 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { in early_mcf_setup()
504 port->mapbase = platp[i].mapbase; in early_mcf_setup()
506 (unsigned char __iomem *) port->mapbase; in early_mcf_setup()
624 for (i = 0; ((i < MCF_MAXPORTS) && (platp[i].mapbase)); i++) { in mcf_probe()
629 port->mapbase = platp[i].mapbase; in mcf_probe()
631 (unsigned char __iomem *) platp[i].mapbase; in mcf_probe()
Dvr41xx_siu.c638 release_mem_region(port->mapbase, size); in siu_release_port()
647 res = request_mem_region(port->mapbase, size, siu_type_name(port)); in siu_request_port()
652 port->membase = ioremap(port->mapbase, size); in siu_request_port()
678 if (port->mapbase != (unsigned long)serial->iomem_base) in siu_verify_port()
727 port->mapbase = res->start; in siu_init_ports()
798 if (port->mapbase == 0) in siu_console_setup()
800 port->membase = ioremap(port->mapbase, siu_port_size(port)); in siu_console_setup()
849 siu_uart_ports[port->line].mapbase = port->mapbase; in vr41xx_siu_early_setup()
Daltera_uart.c523 if (altera_uart_ports[i].port.mapbase == 0) in altera_uart_probe()
534 port->mapbase = res_mem->start; in altera_uart_probe()
536 port->mapbase = platp->mapbase; in altera_uart_probe()
556 port->membase = ioremap(port->mapbase, ALTERA_UART_SIZE); in altera_uart_probe()
585 port->mapbase = 0; in altera_uart_remove()
Dtimbuart.c338 release_mem_region(port->mapbase, size); in timbuart_release_port()
347 if (!request_mem_region(port->mapbase, size, "timb-uart")) in timbuart_request_port()
351 port->membase = ioremap(port->mapbase, size); in timbuart_request_port()
353 release_mem_region(port->mapbase, size); in timbuart_request_port()
456 uart->port.mapbase = iomem->start; in timbuart_probe()
Daltera_jtaguart.c421 port->mapbase = res_mem->start; in altera_jtaguart_probe()
423 port->mapbase = platp->mapbase; in altera_jtaguart_probe()
435 port->membase = ioremap(port->mapbase, ALTERA_JTAGUART_SIZE); in altera_jtaguart_probe()
Dmpc52xx_uart.c652 psc_num = (port->mapbase & 0xf00) >> 8; in mpc512x_psc_handle_irq()
670 psc_num = (port->mapbase & 0xf00) >> 8; in mpc512x_psc_alloc_clock()
718 psc_num = (port->mapbase & 0xf00) >> 8; in mpc512x_psc_relse_clock()
740 psc_num = (port->mapbase & 0xf00) >> 8; in mpc512x_psc_endis_clock()
1286 release_mem_region(port->mapbase, sizeof(struct mpc52xx_psc)); in mpc52xx_uart_release_port()
1295 port->membase = ioremap(port->mapbase, in mpc52xx_uart_request_port()
1301 err = request_mem_region(port->mapbase, sizeof(struct mpc52xx_psc), in mpc52xx_uart_request_port()
1316 release_mem_region(port->mapbase, sizeof(struct mpc52xx_psc)); in mpc52xx_uart_request_port()
1342 (ser->iomem_base != (void *)port->mapbase) || in mpc52xx_uart_verify_port()
1658 port->mapbase = res.start; in mpc52xx_console_setup()
[all …]
Dsa1100.c538 release_mem_region(sport->port.mapbase, UART_PORT_SIZE); in sa1100_release_port()
549 return request_mem_region(sport->port.mapbase, UART_PORT_SIZE, in sa1100_request_port()
586 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port()
680 sa1100_ports[idx].port.mapbase = _Ser1UTCR0; in sa1100_register_uart()
687 sa1100_ports[idx].port.mapbase = _Ser2UTCR0; in sa1100_register_uart()
694 sa1100_ports[idx].port.mapbase = _Ser3UTCR0; in sa1100_register_uart()
871 if (sa1100_ports[i].port.mapbase != res->start) in sa1100_serial_probe()
Dmux.c479 port->mapbase = dev->hpa.start + MUX_OFFSET + in mux_probe()
481 port->membase = ioremap_nocache(port->mapbase, MUX_LINE_OFFSET); in mux_probe()
513 if(mux_ports[i].port.mapbase == dev->hpa.start + MUX_OFFSET) in mux_remove()
Dnetx-serial.c439 release_mem_region(port->mapbase, UART_PORT_SIZE); in netx_release_port()
444 return request_mem_region(port->mapbase, UART_PORT_SIZE, in netx_request_port()
490 .mapbase = NETX_PA_UART0,
503 .mapbase = NETX_PA_UART1,
516 .mapbase = NETX_PA_UART2,
Dip22zilog.c1106 up[(chip * 2) + 0].port.mapbase = in ip22zilog_prepare()
1108 up[(chip * 2) + 1].port.mapbase = in ip22zilog_prepare()
1204 if (up[(i * 2) + 0].port.mapbase) { in ip22zilog_exit()
1205 iounmap((void*)up[(i * 2) + 0].port.mapbase); in ip22zilog_exit()
1206 up[(i * 2) + 0].port.mapbase = 0; in ip22zilog_exit()
1208 if (up[(i * 2) + 1].port.mapbase) { in ip22zilog_exit()
1209 iounmap((void*)up[(i * 2) + 1].port.mapbase); in ip22zilog_exit()
1210 up[(i * 2) + 1].port.mapbase = 0; in ip22zilog_exit()
Dapbuart.c295 release_mem_region(port->mapbase, 0x100); in apbuart_release_port()
300 return request_mem_region(port->mapbase, 0x100, "grlib-apbuart") in apbuart_request_port()
571 (unsigned long long) port->mapbase, port->irq); in apbuart_probe()
623 port->mapbase = addr; in grlib_apbuart_configure()
D21285.c307 release_mem_region(port->mapbase, 32); in serial21285_release_port()
312 return request_mem_region(port->mapbase, 32, serial21285_name) in serial21285_request_port()
356 .mapbase = 0x42000160,
Dxilinx_uartps.c877 if (!request_mem_region(port->mapbase, CDNS_UART_REGISTER_SPACE, in cdns_uart_request_port()
882 port->membase = ioremap(port->mapbase, CDNS_UART_REGISTER_SPACE); in cdns_uart_request_port()
885 release_mem_region(port->mapbase, CDNS_UART_REGISTER_SPACE); in cdns_uart_request_port()
900 release_mem_region(port->mapbase, CDNS_UART_REGISTER_SPACE); in cdns_uart_release_port()
1029 if (cdns_uart_port[id].mapbase != 0) { in cdns_uart_get_port()
1032 if (cdns_uart_port[id].mapbase == 0) in cdns_uart_get_port()
1414 port->mapbase = res->start; in cdns_uart_probe()
1461 port->mapbase = 0; in cdns_uart_remove()
Ddz.c673 release_mem_region(uport->mapbase, dec_kn_slot_size); in dz_release_port()
679 uport->membase = ioremap_nocache(uport->mapbase, in dz_map_port()
696 if (!request_mem_region(uport->mapbase, dec_kn_slot_size, in dz_request_port()
708 release_mem_region(uport->mapbase, dec_kn_slot_size); in dz_request_port()
788 uport->mapbase = base; in dz_init_ports()
Dm32r_sio.c815 if (up->port.mapbase) { in m32r_sio_request_std_resource()
817 *res = request_mem_region(up->port.mapbase, size, "serial"); in m32r_sio_request_std_resource()
819 start = up->port.mapbase; in m32r_sio_request_std_resource()
846 if (up->port.mapbase) { in m32r_sio_release_port()
853 start = up->port.mapbase; in m32r_sio_release_port()
889 up->port.membase = ioremap(up->port.mapbase, size); in m32r_sio_request_port()
Dsb1250-duart.c667 release_mem_region(uport->mapbase, DUART_CHANREG_SPACING); in sbd_release_port()
677 uport->membase = ioremap_nocache(uport->mapbase, in sbd_map_port()
704 if (!request_mem_region(uport->mapbase, DUART_CHANREG_SPACING, in sbd_request_port()
728 release_mem_region(uport->mapbase, DUART_CHANREG_SPACING); in sbd_request_port()
823 uport->mapbase = SBD_CHANREGS(line); in sbd_probe_duarts()
Dof_serial.c98 port->mapbase = resource.start; in of_platform_serial_setup()
103 port->mapbase += prop; in of_platform_serial_setup()
Dpnx8xxx_uart.c578 release_mem_region(sport->port.mapbase, UART_PORT_SIZE); in pnx8xxx_release_port()
588 return request_mem_region(sport->port.mapbase, UART_PORT_SIZE, in pnx8xxx_request_port()
625 if ((void *)sport->port.mapbase != ser->iomem_base) in pnx8xxx_verify_port()
806 if (pnx8xxx_ports[i].port.mapbase != res->start) in pnx8xxx_serial_probe()
Dpch_uart.c231 resource_size_t mapbase; member
748 param->tx_reg = port->mapbase + UART_TX; in pch_request_dma()
762 param->rx_reg = port->mapbase + UART_RX; in pch_request_dma()
1758 unsigned int mapbase; in pch_uart_init_port() local
1796 mapbase = pci_resource_start(pdev, 1); in pch_uart_init_port()
1797 priv->mapbase = mapbase; in pch_uart_init_port()
1810 priv->port.mapbase = mapbase; in pch_uart_init_port()
Dserial_ks8695.c490 release_mem_region(port->mapbase, UART_PORT_SIZE); in ks8695uart_release_port()
498 return request_mem_region(port->mapbase, UART_PORT_SIZE, in ks8695uart_request_port()
551 .mapbase = KS8695_UART_PA,
Dsamsung.c862 dma->rx_conf.src_addr = p->port.mapbase + S3C2410_URXH; in s3c24xx_serial_request_dma()
867 dma->tx_conf.dst_addr = p->port.mapbase + S3C2410_UTXH; in s3c24xx_serial_request_dma()
979 port, (unsigned long long)port->mapbase, port->membase); in s3c24xx_serial_startup()
1027 port, (unsigned long long)port->mapbase, port->membase); in s3c64xx_serial_startup()
1402 release_mem_region(port->mapbase, MAP_SIZE); in s3c24xx_serial_release_port()
1408 return request_mem_region(port->mapbase, MAP_SIZE, name) ? 0 : -EBUSY; in s3c24xx_serial_request_port()
1678 if (port->mapbase != 0) in s3c24xx_serial_init_port()
1711 port->mapbase = res->start; in s3c24xx_serial_init_port()
1759 &port->mapbase, port->membase, port->irq, in s3c24xx_serial_init_port()
2117 if (port->mapbase == 0x0) in s3c24xx_serial_console_setup()
Dmeson_uart.c391 if (!devm_request_mem_region(port->dev, port->mapbase, size, in meson_uart_request_port()
399 port->mapbase, in meson_uart_request_port()
560 port->mapbase = res_mem->start; in meson_uart_probe()
Dmsm_serial.c1007 msm_request_tx_dma(msm_port, msm_port->uart.mapbase); in msm_startup()
1008 msm_request_rx_dma(msm_port, msm_port->uart.mapbase); in msm_startup()
1128 release_mem_region(port->mapbase, size); in msm_release_port()
1146 if (!request_mem_region(port->mapbase, size, "msm_serial")) in msm_request_port()
1149 port->membase = ioremap(port->mapbase, size); in msm_request_port()
1158 release_mem_region(port->mapbase, size); in msm_request_port()
1592 port->mapbase = resource->start; in msm_serial_probe()
Dserial_core.c705 retinfo->iomem_base = (void *)(unsigned long)uport->mapbase; in do_uart_get_info()
761 (unsigned long)new_info->iomem_base != uport->mapbase || in uart_set_info()
821 old_mapbase = uport->mapbase; in uart_set_info()
838 uport->mapbase = (unsigned long)new_info->iomem_base; in uart_set_info()
860 uport->mapbase = old_mapbase; in uart_set_info()
1679 mmio ? (unsigned long long)uport->mapbase in uart_line_info()
2194 "MMIO 0x%llx", (unsigned long long)port->mapbase); in uart_report_port()
2218 if (!port->iobase && !port->mapbase && !port->membase) in uart_configure_port()
2838 return (port1->mapbase == port2->mapbase); in uart_match_port()
Dzs.c988 release_mem_region(uport->mapbase, ZS_CHAN_IO_SIZE); in zs_release_port()
994 uport->membase = ioremap_nocache(uport->mapbase, in zs_map_port()
1007 if (!request_mem_region(uport->mapbase, ZS_CHAN_IO_SIZE, "scc")) { in zs_request_port()
1013 release_mem_region(uport->mapbase, ZS_CHAN_IO_SIZE); in zs_request_port()
1115 uport->mapbase = dec_kn_slot_base + in zs_probe_sccs()
Dnwpserial.c386 up->port.mapbase = port->mapbase; in nwpserial_register_port()
Damba-pl010.c519 release_mem_region(port->mapbase, UART_PORT_SIZE); in pl010_release_port()
527 return request_mem_region(port->mapbase, UART_PORT_SIZE, "uart-pl010") in pl010_request_port()
738 uap->port.mapbase = dev->res.start; in pl010_probe()
Datmel_serial.c959 config.dst_addr = port->mapbase + ATMEL_US_THR; in atmel_prepare_tx_dma()
1139 config.src_addr = port->mapbase + ATMEL_US_RHR; in atmel_prepare_rx_dma()
2261 release_mem_region(port->mapbase, size); in atmel_release_port()
2277 if (!request_mem_region(port->mapbase, size, "atmel_serial")) in atmel_request_port()
2281 port->membase = ioremap(port->mapbase, size); in atmel_request_port()
2283 release_mem_region(port->mapbase, size); in atmel_request_port()
2316 if (port->mapbase != (unsigned long)ser->iomem_base) in atmel_verify_port()
2389 port->mapbase = pdev->resource[0].start; in atmel_init_port()
Dsh-sci.c1358 cfg.dst_addr = port->mapbase + in sci_request_dma_chan()
1362 cfg.src_addr = port->mapbase + in sci_request_dma_chan()
2125 port->membase = ioremap_nocache(port->mapbase, sport->reg_size); in sci_remap_port()
2136 port->membase = (void __iomem *)(uintptr_t)port->mapbase; in sci_remap_port()
2151 release_mem_region(port->mapbase, sport->reg_size); in sci_release_port()
2160 res = request_mem_region(port->mapbase, sport->reg_size, in sci_request_port()
2237 port->mapbase = res->start; in sci_init_single()
Dlantiq.c530 port->mapbase, size); in lqasc_request_port()
715 port->mapbase = mmres->start; in lqasc_probe()
Dstm32-usart.c525 port->mapbase = res->start; in stm32_init_port()
666 if (stm32port->port.mapbase == 0 || stm32port->port.membase == NULL) in stm32_console_setup()
Dmen_z135_uart.c754 port->mapbase = mem->start; in men_z135_request_port()
845 uart->port.mapbase = mem->start; in men_z135_probe()
Dbcm63xx_uart.c628 if (port->mapbase != (unsigned long)serinfo->iomem_base) in bcm_uart_verify_port()
831 port->mapbase = res_mem->start; in bcm_uart_probe()
Dst-asc.c682 port->mapbase = res->start; in asc_init_port()
853 if (ascport->port.mapbase == 0 || ascport->port.membase == NULL) in asc_console_setup()
Defm32-uart.c446 port->membase = ioremap(port->mapbase, 60); in efm32_uart_request_port()
741 efm_port->port.mapbase = res->start; in efm32_uart_probe()
Dsunzilog.c1434 up[0].port.mapbase = op->resource[0].start + 0x00; in zs_probe()
1451 up[1].port.mapbase = op->resource[0].start + 0x04; in zs_probe()
1494 (unsigned long long) up[0].port.mapbase, in zs_probe()
1499 (unsigned long long) up[1].port.mapbase, in zs_probe()
Dserial-tegra.c966 dma_sconfig.src_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate()
982 dma_sconfig.dst_addr = tup->uport.mapbase; in tegra_uart_dma_channel_allocate()
1304 u->mapbase = resource->start; in tegra_uart_probe()
Dsirfsoc_uart.c1046 ret = request_mem_region(port->mapbase, in sirfsoc_uart_request_port()
1053 release_mem_region(port->mapbase, SIRFUART_MAP_SIZE); in sirfsoc_uart_release_port()
1099 if (!sirfport->port.mapbase) in sirfsoc_uart_console_setup()
1358 port->mapbase = res->start; in sirfsoc_uart_probe()
Damba-pl011.c287 .dst_addr = uap->port.mapbase + UART01x_DR, in pl011_dma_probe()
342 .src_addr = uap->port.mapbase + UART01x_DR, in pl011_dma_probe()
1952 release_mem_region(port->mapbase, SZ_4K); in pl011_release_port()
1960 return request_mem_region(port->mapbase, SZ_4K, "uart-pl011") in pl011_request_port()
2320 uap->port.mapbase = mmiobase->start; in pl011_setup_port()
Drp2.c706 p->mapbase = phys_base + RP2_PORT_BASE + j*RP2_PORT_SPACING; in rp2_fw_cb()
712 p->mapbase += RP2_ASIC_SPACING; in rp2_fw_cb()
Dpmac_zilog.c1428 uap->port.mapbase = r_ports.start; in pmz_init_port()
1429 uap->port.membase = ioremap(uap->port.mapbase, 0x1000); in pmz_init_port()
1726 uap->port.mapbase = r_ports->start; in pmz_init_port()
Dimx.c1017 slave_config.src_addr = sport->port.mapbase + URXD0; in imx_uart_dma_init()
1042 slave_config.dst_addr = sport->port.mapbase + URTX0; in imx_uart_dma_init()
1480 if (sport->port.mapbase != (unsigned long)ser->iomem_base) in imx_verify_port()
1936 sport->port.mapbase = res->start; in serial_imx_probe()
Ddigicolor-usart.c479 dp->port.mapbase = res->start; in digicolor_uart_probe()
Dclps711x.c494 s->port.mapbase = res->start; in uart_clps711x_probe()
Dfsl_lpuart.c982 dma_tx_sconfig.dst_addr = sport->port.mapbase + UARTDR; in lpuart_dma_tx_request()
1026 dma_rx_sconfig.src_addr = sport->port.mapbase + UARTDR; in lpuart_dma_rx_request()
1829 sport->port.mapbase = res->start; in lpuart_probe()
Dioc4_serial.c1804 ioc4_set_proto(port, the_port->mapbase); in ic4_startup_local()
2379 if (the_port->mapbase == PROTO_RS232) in ic4_type()
2745 the_port->mapbase = port_type; in ioc4_serial_core_attach()
Dar933x_uart.c689 port->mapbase = mem_res->start; in ar933x_uart_probe()
Dsprd_serial.c727 up->mapbase = res->start; in sprd_probe()
Dvt8500_serial.c708 vt8500_port->uart.mapbase = mmres->start; in vt8500_serial_probe()
Dsunsu.c1218 (unsigned long long) up->port.mapbase, in sunsu_kbd_ms_init()
1441 up->port.mapbase = rp->start; in su_probe()
Dbfin_uart.c1277 uart->port.mapbase = res->start; in bfin_serial_probe()
1452 bfin_earlyprintk_port.port.mapbase = res->start; in bfin_earlyprintk_probe()
Dbfin_sport_uart.c800 sport->port.mapbase = res->start; in sport_uart_probe()
Dpxa.c881 sport->port.mapbase = mmres->start; in serial_pxa_probe()
Dmpsc.c1539 else if ((void *)pi->port.mapbase != ser->iomem_base) in mpsc_verify_port()
2049 pi->port.mapbase = (ulong)pi->mpsc_base; in mpsc_drv_get_platform_data()
Dsccnxp.c950 s->port[i].mapbase = res->start; in sccnxp_probe()
Dsunsab.c975 up->port.mapbase = op->resource[0].start + offset; in sunsab_init_one()
Ducc_uart.c1275 qe_port->port.mapbase = res.start; in ucc_uart_probe()
Dmxs-auart.c1292 s->port.mapbase = r->start; in mxs_auart_probe()
Dioc3_serial.c1942 the_port->mapbase = 1; in ioc3_serial_core_attach()
Domap-serial.c1669 up->port.mapbase = mem->start; in serial_omap_probe()
/linux-4.4.14/arch/arm/mach-omap1/
Dserial.c69 .mapbase = OMAP1_UART1_BASE,
77 .mapbase = OMAP1_UART2_BASE,
85 .mapbase = OMAP1_UART3_BASE,
130 serial_platform_data[i].mapbase = 0; in omap_serial_init()
136 ioremap(serial_platform_data[i].mapbase, SZ_2K); in omap_serial_init()
Dboard-ams-delta.c529 .mapbase = MODEM_PHYS,
/linux-4.4.14/drivers/usb/host/
Dohci-sa1111.c140 dev->mapbase + USB_RESET); in sa1111_start_hc()
149 sa1111_writel(usb_rst, dev->mapbase + USB_RESET); in sa1111_start_hc()
164 usb_rst = sa1111_readl(dev->mapbase + USB_RESET); in sa1111_stop_hc()
166 dev->mapbase + USB_RESET); in sa1111_stop_hc()
207 hcd->regs = dev->mapbase; in ohci_hcd_sa1111_probe()
/linux-4.4.14/drivers/video/backlight/
Dlocomolcd.c52 locomo_writel(0x01, locomolcd_dev->mapbase + LOCOMO_TC); in locomolcd_on()
55 locomo_writel(6, locomolcd_dev->mapbase + LOCOMO_CPSD); in locomolcd_on()
58 locomo_writel((0x04 | 0x01), locomolcd_dev->mapbase + LOCOMO_TC); in locomolcd_on()
68 locomo_writel(0x06, locomolcd_dev->mapbase + LOCOMO_TC); in locomolcd_off()
78 locomo_writel(0, locomolcd_dev->mapbase + LOCOMO_TC); in locomolcd_off()
/linux-4.4.14/arch/mips/ath25/
Ddevices.c73 void __init ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk) in ath25_serial_setup() argument
83 s.mapbase = mapbase; in ath25_serial_setup()
Ddevices.h30 void ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk);
/linux-4.4.14/arch/arm/mach-sa1100/
Dh3xxx.c114 if (port->mapbase == _Ser3UTCR0) { in h3xxx_uart_set_mctrl()
125 if (port->mapbase == _Ser3UTCR0) { in h3xxx_uart_get_mctrl()
142 if (port->mapbase == _Ser3UTCR0) { in h3xxx_uart_pm()
161 if (port->mapbase == _Ser3UTCR0) { in h3xxx_uart_set_wake()
Dneponset.c104 if (port->mapbase == _Ser1UTCR0) { in neponset_set_mctrl()
114 } else if (port->mapbase == _Ser3UTCR0) { in neponset_set_mctrl()
139 if (port->mapbase == _Ser1UTCR0) { in neponset_get_mctrl()
146 } else if (port->mapbase == _Ser3UTCR0) { in neponset_get_mctrl()
Dassabet.c547 if (port->mapbase == _Ser1UTCR0) { in assabet_uart_pm()
565 if (port->mapbase == _Ser1UTCR0) { in assabet_set_mctrl()
591 if (port->mapbase == _Ser1UTCR0) { in assabet_get_mctrl()
598 } else if (port->mapbase == _Ser3UTCR0) { in assabet_get_mctrl()
Dhackkit.c115 if (port->mapbase == _Ser1UTCR0) { in hackkit_set_mctrl()
Dsimpad.c138 if (port->mapbase == (u_int)&Ser1UTCR0) { in simpad_uart_pm()
/linux-4.4.14/arch/mips/emma/markeins/
Dplatform.c110 .mapbase = EMMA2RH_PFUR0_BASE + 3,
118 .mapbase = EMMA2RH_PFUR1_BASE + 3,
126 .mapbase = EMMA2RH_PFUR2_BASE + 3,
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-vr1000.c143 .mapbase = VR1000_SERIAL_MAPBASE(0),
151 .mapbase = VR1000_SERIAL_MAPBASE(1),
159 .mapbase = VR1000_SERIAL_MAPBASE(2),
167 .mapbase = VR1000_SERIAL_MAPBASE(3),
Dmach-bast.c339 .mapbase = SERIAL_BASE + 0x2f8,
347 .mapbase = SERIAL_BASE + 0x3f8,
/linux-4.4.14/arch/arm/mach-iop33x/
Duart.c35 .mapbase = IOP33X_UART0_PHYS,
85 .mapbase = IOP33X_UART1_PHYS,
/linux-4.4.14/drivers/leds/
Dleds-locomo.c28 locomo_writel(LOCOMO_LPT_TOFH, locomo_dev->mapbase + offset); in locomoled_brightness_set()
30 locomo_writel(LOCOMO_LPT_TOFL, locomo_dev->mapbase + offset); in locomoled_brightness_set()
/linux-4.4.14/drivers/pcmcia/
Dsa1111_generic.c69 unsigned long status = sa1111_readl(s->dev->mapbase + PCSR); in sa1111_pcmcia_socket_state()
125 val = sa1111_readl(s->dev->mapbase + PCCR); in sa1111_pcmcia_configure_socket()
128 sa1111_writel(val, s->dev->mapbase + PCCR); in sa1111_pcmcia_configure_socket()
198 base = dev->mapbase; in pcmcia_probe()
/linux-4.4.14/drivers/spi/
Dspi-ppc4xx.c120 u64 mapbase; member
490 hw->mapbase = resource.start; in spi_ppc4xx_of_probe()
509 if (!request_mem_region(hw->mapbase, hw->mapsize, DRIVER_NAME)) { in spi_ppc4xx_of_probe()
515 hw->regs = ioremap(hw->mapbase, sizeof(struct spi_ppc4xx_regs)); in spi_ppc4xx_of_probe()
540 release_mem_region(hw->mapbase, hw->mapsize); in spi_ppc4xx_of_probe()
558 release_mem_region(hw->mapbase, hw->mapsize); in spi_ppc4xx_of_remove()
Dspi-sh-msiof.c45 void __iomem *mapbase; member
189 return ioread16(p->mapbase + reg_offs); in sh_msiof_read()
191 return ioread32(p->mapbase + reg_offs); in sh_msiof_read()
201 iowrite16(value, p->mapbase + reg_offs); in sh_msiof_write()
204 iowrite32(value, p->mapbase + reg_offs); in sh_msiof_write()
1203 p->mapbase = devm_ioremap_resource(&pdev->dev, r); in sh_msiof_spi_probe()
1204 if (IS_ERR(p->mapbase)) { in sh_msiof_spi_probe()
1205 ret = PTR_ERR(p->mapbase); in sh_msiof_spi_probe()
/linux-4.4.14/arch/arm/mach-davinci/
Dserial.c93 if (!p->membase && p->mapbase) { in davinci_serial_init()
94 p->membase = ioremap(p->mapbase, SZ_4K); in davinci_serial_init()
Ddm646x.c810 .mapbase = DAVINCI_UART0_BASE,
823 .mapbase = DAVINCI_UART1_BASE,
836 .mapbase = DAVINCI_UART2_BASE,
Ddm644x.c826 .mapbase = DAVINCI_UART0_BASE,
839 .mapbase = DAVINCI_UART1_BASE,
852 .mapbase = DAVINCI_UART2_BASE,
Ddevices-da8xx.c73 .mapbase = DA8XX_UART0_BASE,
86 .mapbase = DA8XX_UART1_BASE,
99 .mapbase = DA8XX_UART2_BASE,
Ddm355.c933 .mapbase = DAVINCI_UART0_BASE,
946 .mapbase = DAVINCI_UART1_BASE,
959 .mapbase = DM355_UART2_BASE,
Ddm365.c1053 .mapbase = DAVINCI_UART0_BASE,
1066 .mapbase = DM365_UART1_BASE,
/linux-4.4.14/arch/mips/lasat/
Dserial.c57 lasat_serial8250_port[0].mapbase = LASAT_UART_REGS_BASE_100; in lasat_uart_add()
69 lasat_serial8250_port[0].mapbase = LASAT_UART_REGS_BASE_200; in lasat_uart_add()
/linux-4.4.14/arch/mips/bcm47xx/
Dserial.c39 p->mapbase = (unsigned int)ssb_port->regs; in uart8250_init_ssb()
65 p->mapbase = (unsigned int)bcma_port->regs; in uart8250_init_bcma()
/linux-4.4.14/drivers/input/keyboard/
Dlocomokbd.c253 if (!request_mem_region((unsigned long) dev->mapbase, in locomokbd_probe()
263 locomokbd->base = (unsigned long) dev->mapbase; in locomokbd_probe()
315 release_mem_region((unsigned long) dev->mapbase, dev->length); in locomokbd_probe()
335 release_mem_region((unsigned long) dev->mapbase, dev->length); in locomokbd_remove()
/linux-4.4.14/arch/sh/boards/mach-se/7343/
Dsetup.c74 .mapbase = 0x16000000,
81 .mapbase = 0x17000000,
/linux-4.4.14/sound/soc/zte/
Dzx296702-i2s.c101 resource_size_t mapbase; member
169 zx_i2s->dma_playback.addr = zx_i2s->mapbase + ZX_I2S_DATA; in zx_i2s_dai_probe()
171 zx_i2s->dma_capture.addr = zx_i2s->mapbase + ZX_I2S_DATA; in zx_i2s_dai_probe()
394 zx_i2s->mapbase = res->start; in zx_i2s_probe()
Dzx296702-spdif.c80 resource_size_t mapbase; member
88 zx_spdif->dma_data.addr = zx_spdif->mapbase + ZX_DATA; in zx_spdif_dai_probe()
323 zx_spdif->mapbase = res->start; in zx_spdif_probe()
/linux-4.4.14/arch/mips/loongson64/common/
Dserial.c67 uart8250_data[mips_machtype][0].mapbase = in serial_init()
88 uart8250_data[mips_machtype][i].mapbase = in serial_init()
/linux-4.4.14/include/linux/
Daltera_uart.h9 unsigned long mapbase; /* Physical address base */ member
Daltera_jtaguart.h12 unsigned long mapbase; /* Physical address base */ member
Dserial_8250.h24 resource_size_t mapbase; /* resource base */ member
Dserial_core.h239 resource_size_t mapbase; /* for ioremap */ member
/linux-4.4.14/arch/mips/pnx833x/common/
Dplatform.c71 .mapbase = PNX833X_UART0_PORTS_START,
84 .mapbase = PNX833X_UART1_PORTS_START,
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
Dserial-sh7722.c11 if (port->mapbase == 0xffe00000) { in sh7722_sci_init_pins()
/linux-4.4.14/arch/mips/ar7/
Dplatform.c583 uart_port.mapbase = AR7_REGS_UART0; in ar7_register_uarts()
584 uart_port.membase = ioremap(uart_port.mapbase, 256); in ar7_register_uarts()
594 uart_port.mapbase = UR8_REGS_UART1; in ar7_register_uarts()
595 uart_port.membase = ioremap(uart_port.mapbase, 256); in ar7_register_uarts()
/linux-4.4.14/arch/mips/netlogic/xlr/
Dplatform.c93 xlr_uart_data[0].mapbase = CPHYSADDR(uartbase); in nlm_uart_init()
97 xlr_uart_data[1].mapbase = CPHYSADDR(uartbase); in nlm_uart_init()
/linux-4.4.14/arch/mips/cobalt/
Dserial.c48 .mapbase = 0x1c800000,
/linux-4.4.14/arch/arm/mach-w90x900/
Dcpu.h30 .mapbase = name##_PA, \
/linux-4.4.14/arch/m68k/include/asm/
Dmcfuart.h19 unsigned long mapbase; /* Physical address base */ member
/linux-4.4.14/arch/xtensa/platforms/xt2000/
Dsetup.c120 .mapbase = (_base), \
/linux-4.4.14/arch/blackfin/mach-bf533/boards/
DH8606.c326 .mapbase = 0x20200000,
335 .mapbase = 0x20200010,
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-platform.c52 .mapbase = 0x1f000900, /* The CBUS UART */
/linux-4.4.14/drivers/mfd/
Dtimberdale.c657 resource_size_t mapbase; in timb_probe() local
671 mapbase = pci_resource_start(dev, 0); in timb_probe()
672 if (!mapbase) { in timb_probe()
678 priv->ctl_mapbase = mapbase + CHIPCTLOFFSET; in timb_probe()
Dsm501.c825 uart_data->mapbase = sm->io_res->start + offset; in sm501_setup_uart_data()
/linux-4.4.14/arch/arm/mach-gemini/
Ddevices.c24 .mapbase = GEMINI_UART_BASE,
/linux-4.4.14/arch/mips/sgi-ip32/
Dip32-platform.c23 .mapbase = MACE_BASE + offset, \
/linux-4.4.14/arch/mips/vr41xx/common/
Dsiu.c151 port.mapbase = res[i].start; in vr41xx_siu_setup()
/linux-4.4.14/arch/mips/ath79/
Ddev-common.c38 .mapbase = AR71XX_UART_BASE,
/linux-4.4.14/arch/mips/jazz/
Dsetup.c99 .mapbase = (_base), \
/linux-4.4.14/arch/arm/mach-iop32x/
Diq80321.c145 .mapbase = IQ80321_UART,
Dglantank.c139 .mapbase = GLANTANK_UART,
Dem7210.c153 .mapbase = IQ31244_UART,
Diq31244.c219 .mapbase = IQ31244_UART,
Dn2100.c173 .mapbase = N2100_UART,
/linux-4.4.14/arch/arm/mach-ks8695/
Dboard-og.c102 .mapbase = S8250_VIRT,
/linux-4.4.14/arch/arm/mach-rpc/
Driscpc.c146 .mapbase = 0x03010fe0,
/linux-4.4.14/arch/arm/mach-imx/
Dmach-mx31ads.c85 .mapbase = (unsigned long)(MX31_CS4_BASE_ADDR + PBC_SC16C652_UARTA),
92 .mapbase = (unsigned long)(MX31_CS4_BASE_ADDR + PBC_SC16C652_UARTB),
Dmach-kzm_arm11_01.c73 .mapbase = KZM_ARM11_16550,
/linux-4.4.14/arch/arm/mach-iop13xx/
Dsetup.c77 .mapbase = IOP13XX_UART0_PHYS,
90 .mapbase = IOP13XX_UART1_PHYS,
/linux-4.4.14/arch/arm/mach-cns3xxx/
Dcns3420vb.c97 .mapbase = CNS3XXX_UART0_BASE, in cns3420_early_serial_setup()
/linux-4.4.14/arch/mn10300/kernel/
Dmn10300-serial.c159 .uart.mapbase = (unsigned long) &SC0CTR,
221 .uart.mapbase = (unsigned long) &SC1CTR,
283 .uart.mapbase = (unsigned long) &SC2CTR,
1479 void *mapbase = (void *) (unsigned long) port->uart.mapbase; in mn10300_serial_verify_port() local
1487 ss->iomem_base != mapbase || in mn10300_serial_verify_port()
/linux-4.4.14/arch/arm/include/asm/hardware/
Dlocomo.h176 void *mapbase; member
Dsa1111.h417 void __iomem *mapbase; member
/linux-4.4.14/arch/mips/mti-sead3/
Dsead3-platform.c22 .mapbase = base, \
/linux-4.4.14/arch/mips/loongson32/common/
Dplatform.c25 .mapbase = LS1X_UART ## _id ## _BASE, \
/linux-4.4.14/arch/xtensa/platforms/xtfpga/
Dsetup.c282 .mapbase = DUART16552_PADDR,
/linux-4.4.14/Documentation/devicetree/bindings/serial/
D8250.txt33 - reg-offset : offset to apply to the mapbase from the start of the registers.
/linux-4.4.14/arch/powerpc/kernel/
Dlegacy_serial.c132 legacy_serial_ports[index].mapbase = base; in add_legacy_port()
513 port->membase = ioremap(port->mapbase, 0x100); in fixup_port_mmio()
/linux-4.4.14/drivers/input/serio/
Dsa1111ps2.c295 ps2if->base = dev->mapbase; in ps2_probe()
/linux-4.4.14/arch/mips/sni/
Drm200.c29 .mapbase = _base, \
/linux-4.4.14/arch/mips/alchemy/common/
Dplatform.c53 .mapbase = _base, \
/linux-4.4.14/drivers/mmc/host/
Datmel-mci.c217 unsigned long mapbase; member
2289 host->dma_conf.src_addr = host->mapbase + ATMCI_RDR; in atmci_configure_dma()
2292 host->dma_conf.dst_addr = host->mapbase + ATMCI_TDR; in atmci_configure_dma()
2402 host->mapbase = regs->start; in atmci_probe()
2483 host->mapbase, irq, nr_slots); in atmci_probe()
Domap_hsmmc.c188 resource_size_t mapbase; member
1441 cfg.src_addr = host->mapbase + OMAP_HSMMC_DATA; in omap_hsmmc_setup_dma_transfer()
1442 cfg.dst_addr = host->mapbase + OMAP_HSMMC_DATA; in omap_hsmmc_setup_dma_transfer()
2055 host->mapbase = res->start + pdata->reg_offset; in omap_hsmmc_probe()
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c487 req.mapbase = baseaddr; in txx9_sio_init()
/linux-4.4.14/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1212 pinfo->port.mapbase = (unsigned long)mem; in cpm_uart_init_port()
/linux-4.4.14/drivers/net/ethernet/sgi/
Dioc3-eth.c1158 .mapbase = (unsigned long) uart, in ioc3_8250_register()