Home
last modified time | relevance | path

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

1234567

/linux/arch/arm/plat-orion/include/plat/
A 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,
53 unsigned long mapbase,
57 unsigned long mapbase,
62 void __init orion_i2c_init(unsigned long mapbase,
[all …]
/linux/arch/arm/plat-orion/
A Dcommon.c55 resource_size_t mapbase, in fill_resources() argument
61 resources[0].start = mapbase; in fill_resources()
93 resource_size_t mapbase, in uart_complete() argument
97 data->mapbase = mapbase; in uart_complete()
127 resource_size_t mapbase, in orion_uart0_init() argument
155 resource_size_t mapbase, in orion_uart1_init() argument
309 unsigned long mapbase, in orion_ge00_init() argument
362 unsigned long mapbase, in orion_ge01_init() argument
412 unsigned long mapbase, in orion_ge10_init() argument
460 unsigned long mapbase, in orion_ge11_init() argument
[all …]
/linux/arch/arm/common/
A Dlocomo.c249 dev->mapbase = 0; in locomo_init_one_child()
628 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
630 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
633 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
635 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
652 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
654 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
665 void *mapbase = lchip->base; in locomo_m62332_senddata() local
672 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_senddata()
674 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_senddata()
[all …]
A Dsa1111.c259 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq()
261 writel(ie, mapbase + SA1111_INTEN0); in sa1111_mask_irq()
270 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
272 writel_relaxed(ie, mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
289 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
292 writel_relaxed(ip, mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
318 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_type_irq()
323 writel_relaxed(ip, mapbase + SA1111_INTPOL0); in sa1111_type_irq()
324 writel_relaxed(ip, mapbase + SA1111_WAKEPOL0); in sa1111_type_irq()
335 we = readl_relaxed(mapbase + SA1111_WAKEEN0); in sa1111_wake_irq()
[all …]
/linux/drivers/clocksource/
A Dh8300_timer8.c40 void __iomem *mapbase; member
50 iowrite16be(0x0000, p->mapbase + _8TCR); in timer8_interrupt()
54 bclr(CMFA, p->mapbase + _8TCSR); in timer8_interrupt()
63 bclr(CMIEA, p->mapbase + _8TCR); in timer8_set_next()
64 iowrite16be(delta, p->mapbase + TCORA); in timer8_set_next()
66 bclr(CMFA, p->mapbase + _8TCSR); in timer8_set_next()
67 bset(CMIEA, p->mapbase + _8TCR); in timer8_set_next()
72 iowrite16be(0xffff, p->mapbase + TCORA); in timer8_enable()
74 iowrite16be(0x0c02, p->mapbase + _8TCR); in timer8_enable()
95 iowrite16be(0x0000, p->mapbase + _8TCR); in timer8_stop()
[all …]
A Dh8300_timer16.c29 void __iomem *mapbase; member
47 v1 = ioread16be(p->mapbase + TCNT); in timer16_get_counter()
48 v2 = ioread16be(p->mapbase + TCNT); in timer16_get_counter()
49 v3 = ioread16be(p->mapbase + TCNT); in timer16_get_counter()
94 iowrite16be(0x0000, p->mapbase + TCNT); in timer16_enable()
95 iowrite8(0x83, p->mapbase + TCR); in timer16_enable()
165 timer16_priv.mapbase = base[REG_CH]; in h8300_16timer_init()
A Dsh_tmu.c55 void __iomem *mapbase; member
91 return ioread8(ch->tmu->mapbase + 2); in sh_tmu_read()
93 return ioread8(ch->tmu->mapbase + 4); in sh_tmu_read()
113 return iowrite8(value, ch->tmu->mapbase + 2); in sh_tmu_write()
115 return iowrite8(value, ch->tmu->mapbase + 4); in sh_tmu_write()
464 ch->base = tmu->mapbase + 4 + ch->index * 12; in sh_tmu_channel_setup()
466 ch->base = tmu->mapbase + 8 + ch->index * 12; in sh_tmu_channel_setup()
489 tmu->mapbase = ioremap(res->start, resource_size(res)); in sh_tmu_map_memory()
490 if (tmu->mapbase == NULL) in sh_tmu_map_memory()
589 iounmap(tmu->mapbase); in sh_tmu_setup()
A Dsh_mtu2.c44 void __iomem *mapbase; member
161 return ioread8(ch->mtu->mapbase + 0x280); in sh_mtu2_read()
177 return iowrite8(value, ch->mtu->mapbase + 0x280); in sh_mtu2_write()
364 ch->base = mtu->mapbase + sh_mtu2_channel_offsets[index]; in sh_mtu2_setup_channel()
380 mtu->mapbase = ioremap(res->start, resource_size(res)); in sh_mtu2_map_memory()
381 if (mtu->mapbase == NULL) in sh_mtu2_map_memory()
442 iounmap(mtu->mapbase); in sh_mtu2_setup()
/linux/arch/arm/mach-lpc32xx/
A Dserial.c28 resource_size_t mapbase; member
37 .mapbase = LPC32XX_UART5_BASE,
44 .mapbase = LPC32XX_UART3_BASE,
51 .mapbase = LPC32XX_UART4_BASE,
58 .mapbase = LPC32XX_UART6_BASE,
63 void lpc32xx_loopback_set(resource_size_t mapbase, int state) in lpc32xx_loopback_set() argument
68 switch (mapbase) { in lpc32xx_loopback_set()
79 WARN(1, "lpc32xx_hs: Warning: Unknown port at %08x\n", mapbase); in lpc32xx_loopback_set()
115 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
129 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
/linux/include/linux/soc/nxp/
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/drivers/mcb/
A Dmcb-pci.c17 phys_addr_t mapbase; member
48 priv->mapbase = pci_resource_start(pdev, 0); in mcb_pci_probe()
49 if (!priv->mapbase) { in mcb_pci_probe()
55 res = devm_request_mem_region(&pdev->dev, priv->mapbase, in mcb_pci_probe()
64 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()
A Dmcb-parse.c12 phys_addr_t mapbase; member
133 static int chameleon_get_bar(char __iomem **base, phys_addr_t mapbase, in chameleon_get_bar() argument
169 c->addr = mapbase; in chameleon_get_bar()
177 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, in chameleon_parse_cells() argument
213 bar_count = chameleon_get_bar(&p, mapbase, &cb); in chameleon_parse_cells()
/linux/drivers/tty/serial/
A Dearlycon.c86 &port->mapbase, device->options); in earlycon_print_info()
104 port->mapbase = addr; in parse_options()
108 port->mapbase = addr; in parse_options()
113 port->mapbase = addr; in parse_options()
143 if (port->mapbase) in register_earlycon()
144 port->membase = earlycon_map(port->mapbase, 64); in register_earlycon()
263 port->mapbase = addr; in of_setup_earlycon()
267 port->mapbase += be32_to_cpu(*val); in of_setup_earlycon()
268 port->membase = earlycon_map(port->mapbase, SZ_4K); in of_setup_earlycon()
A Dlpc32xx_hs.c174 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in lpc32xx_hsuart_console_setup()
463 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in serial_lpc32xx_startup()
488 lpc32xx_loopback_set(port->mapbase, 1); /* go to loopback mode */ in serial_lpc32xx_shutdown()
543 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_release_port()
549 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_release_port()
557 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_request_port()
560 if (!request_mem_region(port->mapbase, SZ_4K, MODNAME)) in serial_lpc32xx_request_port()
563 port->membase = ioremap(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
565 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_request_port()
653 p->port.mapbase = res->start; in serial_hs_lpc32xx_probe()
[all …]
A Duartlite.c361 release_mem_region(port->mapbase, ULITE_REGION); in ulite_release_port()
372 port, (unsigned long long) port->mapbase); in ulite_request_port()
374 if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) { in ulite_request_port()
379 port->membase = ioremap(port->mapbase, ULITE_REGION); in ulite_request_port()
382 release_mem_region(port->mapbase, ULITE_REGION); in ulite_request_port()
532 if (!port || !port->mapbase) { in ulite_console_setup()
638 if (ulite_ports[id].mapbase == 0) in ulite_assign()
646 if ((ulite_ports[id].mapbase) && (ulite_ports[id].mapbase != base)) { in ulite_assign()
659 port->mapbase = base; in ulite_assign()
675 port->mapbase = 0; in ulite_assign()
[all …]
A Dserial_txx9.c752 if (!up->port.mapbase) in serial_txx9_request_resource()
763 release_mem_region(up->port.mapbase, size); in serial_txx9_request_resource()
783 if (!up->port.mapbase) in serial_txx9_release_resource()
791 release_mem_region(up->port.mapbase, size); in serial_txx9_release_resource()
875 if (up->port.iobase || up->port.mapbase) in serial_txx9_register_ports()
1030 if (!(uart->port.iobase || uart->port.mapbase)) in serial_txx9_register_port()
1042 uart->port.mapbase = port->mapbase; in serial_txx9_register_port()
1069 uart->port.mapbase = 0; in serial_txx9_unregister_port()
1092 port.mapbase = p->mapbase; in serial_txx9_probe()
1099 p->iobase, (unsigned long long)p->mapbase, in serial_txx9_probe()
[all …]
/linux/arch/sh/kernel/cpu/sh3/
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()
/linux/drivers/tty/serial/8250/
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()
/linux/arch/m68k/coldfire/
A Ddevice.c32 .mapbase = MCFUART_BASE0,
36 .mapbase = MCFUART_BASE1,
41 .mapbase = MCFUART_BASE2,
47 .mapbase = MCFUART_BASE3,
53 .mapbase = MCFUART_BASE4,
59 .mapbase = MCFUART_BASE5,
65 .mapbase = MCFUART_BASE6,
71 .mapbase = MCFUART_BASE7,
77 .mapbase = MCFUART_BASE8,
83 .mapbase = MCFUART_BASE9,
/linux/arch/arm/mach-pxa/
A Dcapc7117.c80 .mapbase = 0x14000000,
89 .mapbase = 0x14000040,
98 .mapbase = 0x14000080,
107 .mapbase = 0x140000c0,
/linux/arch/x86/platform/ce4100/
A Dce4100.c93 up->mapbase = 0xdffe0200; in ce4100_serial_fixup()
95 up->mapbase & PAGE_MASK); in ce4100_serial_fixup()
98 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup()
99 up->mapbase += port * 0x100; in ce4100_serial_fixup()
/linux/drivers/video/backlight/
A 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/arch/arm/mach-omap1/
A Dserial.c66 .mapbase = OMAP1_UART1_BASE,
74 .mapbase = OMAP1_UART2_BASE,
82 .mapbase = OMAP1_UART3_BASE,
127 serial_platform_data[i].mapbase = 0; in omap_serial_init()
133 ioremap(serial_platform_data[i].mapbase, SZ_2K); in omap_serial_init()
/linux/drivers/usb/host/
A Dohci-sa1111.c139 dev->mapbase + USB_RESET); in sa1111_start_hc()
148 writel_relaxed(usb_rst, dev->mapbase + USB_RESET); in sa1111_start_hc()
163 usb_rst = readl_relaxed(dev->mapbase + USB_RESET); in sa1111_stop_hc()
165 dev->mapbase + USB_RESET); in sa1111_stop_hc()
212 hcd->regs = dev->mapbase; in ohci_hcd_sa1111_probe()
/linux/arch/mips/ath25/
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()

Completed in 48 milliseconds

1234567