Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-6.6/arch/arm/plat-orion/include/plat/
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 …]
/kernel/linux/linux-5.10/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,
53 unsigned long mapbase,
57 unsigned long mapbase,
62 void __init orion_i2c_init(unsigned long mapbase,
[all …]
/kernel/linux/linux-6.6/arch/arm/common/
Dlocomo.c79 /* All the locomo devices. If offset is non-zero, the mapbase for the
81 * zero, then the mapbase for the locomo_dev will be set to zero. An
246 dev->mapbase = lchip->base + info->offset; in locomo_init_one_child()
248 dev->mapbase = 0; in locomo_init_one_child()
623 static void locomo_m62332_sendbit(void *mapbase, int bit) in locomo_m62332_sendbit() argument
627 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
629 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
632 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
634 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
639 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
[all …]
Dsa1111.c212 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() local
214 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
215 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
217 writel_relaxed(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
221 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
259 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_mask_irq() local
262 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq()
264 writel(ie, mapbase + SA1111_INTEN0); in sa1111_mask_irq()
270 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_unmask_irq() local
273 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
[all …]
/kernel/linux/linux-5.10/arch/arm/common/
Dlocomo.c80 /* All the locomo devices. If offset is non-zero, the mapbase for the
82 * zero, then the mapbase for the locomo_dev will be set to zero. An
247 dev->mapbase = lchip->base + info->offset; in locomo_init_one_child()
249 dev->mapbase = 0; in locomo_init_one_child()
624 static void locomo_m62332_sendbit(void *mapbase, int bit) in locomo_m62332_sendbit() argument
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()
640 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
[all …]
Dsa1111.c217 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() local
219 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
220 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
222 writel_relaxed(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
226 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
264 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_mask_irq() local
267 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq()
269 writel(ie, mapbase + SA1111_INTEN0); in sa1111_mask_irq()
275 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_unmask_irq() local
278 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
[all …]
/kernel/linux/linux-5.10/drivers/clocksource/
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()
65 iowrite16be(0x0000, p->mapbase + _8TCNT); 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()
73 iowrite16be(0x0000, p->mapbase + _8TCNT); in timer8_enable()
[all …]
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()
/kernel/linux/linux-6.6/arch/arm/plat-orion/
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 …]
/kernel/linux/linux-5.10/arch/arm/mach-lpc32xx/
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()
/kernel/linux/linux-6.6/arch/arm/mach-lpc32xx/
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()
/kernel/linux/linux-5.10/arch/arm/plat-orion/
Dcommon.c55 resource_size_t mapbase, in fill_resources() argument
61 resources[0].start = mapbase; in fill_resources()
62 resources[0].end = mapbase + size; in fill_resources()
67 resource_size_t mapbase, in fill_resources_irq() argument
71 fill_resources(device, resources, mapbase, size); in fill_resources_irq()
93 resource_size_t mapbase, in uart_complete() argument
97 data->mapbase = mapbase; in uart_complete()
103 fill_resources_irq(orion_uart, resources, mapbase, 0xff, irq); in uart_complete()
127 resource_size_t mapbase, in orion_uart0_init() argument
132 membase, mapbase, irq, clk); in orion_uart0_init()
[all …]
/kernel/linux/linux-6.6/drivers/mcb/
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()
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()
/kernel/linux/linux-5.10/drivers/mcb/
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()
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()
/kernel/linux/linux-6.6/include/linux/soc/nxp/
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
/kernel/linux/linux-5.10/include/linux/soc/nxp/
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
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/
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()
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh3/
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()
/kernel/linux/linux-5.10/drivers/tty/serial/
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()
265 port->mapbase = addr; in of_setup_earlycon()
269 port->mapbase += be32_to_cpu(*val); in of_setup_earlycon()
270 port->membase = earlycon_map(port->mapbase, SZ_4K); in of_setup_earlycon()
/kernel/linux/linux-6.6/drivers/tty/serial/
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()
150 if (port->mapbase) in register_earlycon()
151 port->membase = earlycon_map(port->mapbase, 64); in register_earlycon()
273 port->mapbase = addr; in of_setup_earlycon()
277 port->mapbase += be32_to_cpu(*val); in of_setup_earlycon()
278 port->membase = earlycon_map(port->mapbase, SZ_4K); in of_setup_earlycon()
/kernel/linux/linux-5.10/drivers/ide/
Dtx4939ide.c542 unsigned long mapbase; in tx4939ide_probe() local
554 mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start, in tx4939ide_probe()
556 if (!mapbase) in tx4939ide_probe()
560 mapbase + tx4939ide_swizzlew(TX4939IDE_Data); in tx4939ide_probe()
562 mapbase + tx4939ide_swizzleb(TX4939IDE_Error_Feature); in tx4939ide_probe()
564 mapbase + tx4939ide_swizzleb(TX4939IDE_Sec); in tx4939ide_probe()
566 mapbase + tx4939ide_swizzleb(TX4939IDE_LBA0); in tx4939ide_probe()
568 mapbase + tx4939ide_swizzleb(TX4939IDE_LBA1); in tx4939ide_probe()
570 mapbase + tx4939ide_swizzleb(TX4939IDE_LBA2); in tx4939ide_probe()
572 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()
/kernel/linux/linux-6.6/arch/m68k/coldfire/
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,
/kernel/linux/linux-5.10/arch/m68k/coldfire/
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,
/kernel/linux/linux-6.6/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()
258 uart.port.mapbase = base; in hp300_8250_init()

12345678910>>...15