Home
last modified time | relevance | path

Searched full:mapbase (Results 1 – 25 of 104) sorted by relevance

12345

/linux/arch/arm/plat-orion/include/plat/
H A Dcommon.h18 resource_size_t mapbase,
23 resource_size_t mapbase,
28 resource_size_t mapbase,
33 resource_size_t mapbase,
37 void __init orion_rtc_init(unsigned long mapbase,
41 unsigned long mapbase,
47 unsigned long mapbase,
52 unsigned long mapbase,
56 unsigned long mapbase,
59 void __init orion_i2c_init(unsigned long mapbase,
[all …]
/linux/arch/arm/common/
H A Dlocomo.c81 /* All the locomo devices. If offset is non-zero, the mapbase for the
83 * zero, then the mapbase for the locomo_dev will be set to zero. An
248 dev->mapbase = lchip->base + info->offset; in locomo_init_one_child()
250 dev->mapbase = 0; in locomo_init_one_child()
625 static void locomo_m62332_sendbit(void *mapbase, int bit) in locomo_m62332_sendbit() argument
629 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
631 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
634 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
636 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
641 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
[all …]
/linux/arch/arm/plat-orion/
H A Dcommon.c54 resource_size_t mapbase, in fill_resources() argument
60 resources[0].start = mapbase; in fill_resources()
61 resources[0].end = mapbase + size; in fill_resources()
66 resource_size_t mapbase, in fill_resources_irq() argument
70 fill_resources(device, resources, mapbase, size); in fill_resources_irq()
92 resource_size_t mapbase, in uart_complete() argument
96 data->mapbase = mapbase; in uart_complete()
102 fill_resources_irq(orion_uart, resources, mapbase, 0xff, irq); in uart_complete()
126 resource_size_t mapbase, in orion_uart0_init() argument
131 membase, mapbase, irq, clk); in orion_uart0_init()
[all …]
/linux/arch/arm/mach-lpc32xx/
H A Dserial.c29 resource_size_t mapbase; member
38 .mapbase = LPC32XX_UART5_BASE,
45 .mapbase = LPC32XX_UART3_BASE,
52 .mapbase = LPC32XX_UART4_BASE,
59 .mapbase = LPC32XX_UART6_BASE,
64 void lpc32xx_loopback_set(resource_size_t mapbase, int state) in lpc32xx_loopback_set() argument
69 switch (mapbase) { in lpc32xx_loopback_set()
80 WARN(1, "lpc32xx_hs: Warning: Unknown port at %08x\n", mapbase); in lpc32xx_loopback_set()
116 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
130 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
/linux/drivers/mcb/
H A Dmcb-pci.c17 phys_addr_t mapbase; member
56 priv->mapbase = pci_resource_start(pdev, 0); in mcb_pci_probe()
57 if (!priv->mapbase) { in mcb_pci_probe()
63 res = devm_request_mem_region(&pdev->dev, priv->mapbase, in mcb_pci_probe()
72 priv->base = devm_ioremap(&pdev->dev, priv->mapbase, CHAM_HEADER_SIZE); in mcb_pci_probe()
89 ret = chameleon_parse_cells(priv->bus, priv->mapbase, priv->base); in mcb_pci_probe()
98 devm_release_mem_region(&pdev->dev, priv->mapbase, CHAM_HEADER_SIZE); in mcb_pci_probe()
101 res = devm_request_mem_region(&pdev->dev, priv->mapbase, in mcb_pci_probe()
110 priv->base = devm_ioremap(&pdev->dev, priv->mapbase, table_size); in mcb_pci_probe()
H A Dmcb-parse.c126 static int chameleon_get_bar(void __iomem **base, phys_addr_t mapbase, in chameleon_get_bar() argument
161 c->addr = mapbase; in chameleon_get_bar()
169 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, in chameleon_parse_cells() argument
206 bar_count = chameleon_get_bar(&p, mapbase, &cb); in chameleon_parse_cells()
/linux/include/linux/soc/nxp/
H A Dlpc32xx-misc.h15 extern u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr);
17 extern void lpc32xx_loopback_set(resource_size_t mapbase, int state);
19 static inline u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr) in lpc32xx_return_iram() argument
21 *mapbase = NULL; in lpc32xx_return_iram()
28 static inline void lpc32xx_loopback_set(resource_size_t mapbase, int state) in lpc32xx_loopback_set() argument
/linux/arch/sh/kernel/cpu/sh3/
H A Dserial-sh7720.c14 if (port->mapbase == 0xa4430000) { /* SCIF0 */ in sh7720_sci_init_pins()
18 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ in sh7720_sci_init_pins()
24 if (port->mapbase == 0xa4430000) { /* SCIF0 */ in sh7720_sci_init_pins()
28 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ in sh7720_sci_init_pins()
H A Dserial-sh7710.c12 if (port->mapbase == 0xA4400000) { in sh7710_sci_init_pins()
15 } else if (port->mapbase == 0xA4410000) in sh7710_sci_init_pins()
/linux/drivers/tty/serial/8250/
H A 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()
258 uart.port.mapbase = base; in hp300_8250_init()
H A D8250_ce4100.c72 up->mapbase = 0xdffe0200; in ce4100_serial_fixup()
73 set_fixmap_nocache(FIX_EARLYCON_MEM_BASE, up->mapbase & PAGE_MASK); in ce4100_serial_fixup()
75 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup()
76 up->mapbase += port * 0x100; in ce4100_serial_fixup()
H A D8250_pcilib.c33 port->port.mapbase = pci_resource_start(dev, bar) + offset; in serial8250_pci_setup_port()
39 port->port.mapbase = 0; in serial8250_pci_setup_port()
H A D8250_platform.c127 uart->port.mapbase = regs->start; in serial8250_probe_acpi()
172 uart->port.mapbase = p->mapbase; in serial8250_probe_platform()
198 p->iobase, (unsigned long long)p->mapbase, in serial8250_probe_platform()
/linux/drivers/tty/serial/
H A Dlpc32xx_hs.c170 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in lpc32xx_hsuart_console_setup()
437 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in serial_lpc32xx_startup()
462 lpc32xx_loopback_set(port->mapbase, 1); /* go to loopback mode */ in serial_lpc32xx_shutdown()
517 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_release_port()
523 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_release_port()
531 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_request_port()
534 if (!request_mem_region(port->mapbase, SZ_4K, MODNAME)) in serial_lpc32xx_request_port()
537 port->membase = ioremap(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
539 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
627 p->port.mapbase = res->start; in serial_hs_lpc32xx_probe()
[all …]
H A Duartlite.c367 release_mem_region(port->mapbase, ULITE_REGION); in ulite_release_port()
377 pr_debug("ulite console: port=%p; port->mapbase=%llx\n", in ulite_request_port()
378 port, (unsigned long long) port->mapbase); in ulite_request_port()
380 if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) { in ulite_request_port()
385 port->membase = ioremap(port->mapbase, ULITE_REGION); in ulite_request_port()
388 release_mem_region(port->mapbase, ULITE_REGION); in ulite_request_port()
538 if (!port || !port->mapbase) { in ulite_console_setup()
644 if (ulite_ports[id].mapbase == 0) in ulite_assign()
652 if ((ulite_ports[id].mapbase) && (ulite_ports[id].mapbase != base)) { in ulite_assign()
665 port->mapbase = base; in ulite_assign()
[all …]
H A Dserial_port.c177 * ->mapbase
184 * If no error happened, the ->irq, ->mapbase, ->mapsize will be altered.
195 * - reg-offset (->mapsize against ->mapbase)
252 port->mapbase += value; in __uart_read_properties()
H A Daltera_uart.c539 if (altera_uart_ports[i].port.mapbase == 0) in altera_uart_probe()
550 port->mapbase = res_mem->start; in altera_uart_probe()
552 port->mapbase = platp->mapbase; in altera_uart_probe()
574 port->membase = ioremap(port->mapbase, ALTERA_UART_SIZE); in altera_uart_probe()
603 port->mapbase = 0; in altera_uart_remove()
H A Dtimbuart.c320 release_mem_region(port->mapbase, size); in timbuart_release_port()
329 if (!request_mem_region(port->mapbase, size, "timb-uart")) in timbuart_request_port()
333 port->membase = ioremap(port->mapbase, size); in timbuart_request_port()
335 release_mem_region(port->mapbase, size); in timbuart_request_port()
438 uart->port.mapbase = iomem->start; in timbuart_probe()
/linux/arch/mips/ath25/
H A Ddevices.c74 void __init ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk) in ath25_serial_setup() argument
85 s.mapbase = mapbase; in ath25_serial_setup()
/linux/drivers/usb/host/
H A Dohci-sa1111.c136 dev->mapbase + USB_RESET); in sa1111_start_hc()
145 writel_relaxed(usb_rst, dev->mapbase + USB_RESET); in sa1111_start_hc()
160 usb_rst = readl_relaxed(dev->mapbase + USB_RESET); in sa1111_stop_hc()
162 dev->mapbase + USB_RESET); in sa1111_stop_hc()
234 hcd->regs = dev->mapbase; in ohci_hcd_sa1111_probe()
/linux/arch/arm/mach-omap1/
H A Dserial.c68 .mapbase = OMAP1_UART1_BASE,
76 .mapbase = OMAP1_UART2_BASE,
84 .mapbase = OMAP1_UART3_BASE,
120 ioremap(serial_platform_data[i].mapbase, SZ_2K); in omap_serial_init()
/linux/drivers/pcmcia/
H A Dsa1111_generic.c71 u32 status = readl_relaxed(s->dev->mapbase + PCSR); in sa1111_pcmcia_socket_state()
127 val = readl_relaxed(s->dev->mapbase + PCCR); in sa1111_pcmcia_configure_socket()
130 writel_relaxed(val, s->dev->mapbase + PCCR); in sa1111_pcmcia_configure_socket()
206 base = dev->mapbase; in pcmcia_probe()
/linux/drivers/leds/
H A Dleds-locomo.c24 locomo_writel(LOCOMO_LPT_TOFH, locomo_dev->mapbase + offset); in locomoled_brightness_set()
26 locomo_writel(LOCOMO_LPT_TOFL, locomo_dev->mapbase + offset); in locomoled_brightness_set()
/linux/arch/mips/bcm47xx/
H A Dserial.c41 p->mapbase = (unsigned int)ssb_port->regs; in uart8250_init_ssb()
67 p->mapbase = (unsigned int)bcma_port->regs; in uart8250_init_bcma()
/linux/drivers/input/keyboard/
H A Dlocomokbd.c235 if (!request_mem_region((unsigned long) dev->mapbase, in locomokbd_probe()
245 locomokbd->base = (unsigned long) dev->mapbase; in locomokbd_probe()
295 release_mem_region((unsigned long) dev->mapbase, dev->length); in locomokbd_probe()
315 release_mem_region((unsigned long) dev->mapbase, dev->length); in locomokbd_remove()

12345