/Linux-v6.1/arch/arm/plat-orion/include/plat/ |
D | common.h | 19 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-v6.1/arch/arm/plat-orion/ |
D | common.c | 55 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 …]
|
/Linux-v6.1/arch/arm/common/ |
D | locomo.c | 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() 641 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit() 644 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit() [all …]
|
D | sa1111.c | 212 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 …]
|
/Linux-v6.1/arch/arm/mach-lpc32xx/ |
D | serial.c | 28 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()
|
D | common.c | 35 u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr) in lpc32xx_return_iram() argument 58 if (mapbase) in lpc32xx_return_iram() 59 *mapbase = io_p2v(LPC32XX_IRAM_BASE); in lpc32xx_return_iram()
|
/Linux-v6.1/include/linux/soc/nxp/ |
D | lpc32xx-misc.h | 15 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-v6.1/arch/sh/kernel/cpu/sh3/ |
D | serial-sh7720.c | 14 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()
|
D | serial-sh7710.c | 12 if (port->mapbase == 0xA4400000) { in sh7710_sci_init_pins() 15 } else if (port->mapbase == 0xA4410000) in sh7710_sci_init_pins()
|
/Linux-v6.1/drivers/mcb/ |
D | mcb-pci.c | 17 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()
|
D | mcb-parse.c | 12 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-v6.1/drivers/tty/serial/ |
D | earlycon.c | 86 &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() 266 port->mapbase = addr; in of_setup_earlycon() 270 port->mapbase += be32_to_cpu(*val); in of_setup_earlycon() 271 port->membase = earlycon_map(port->mapbase, SZ_4K); in of_setup_earlycon()
|
D | lpc32xx_hs.c | 174 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in lpc32xx_hsuart_console_setup() 467 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in serial_lpc32xx_startup() 492 lpc32xx_loopback_set(port->mapbase, 1); /* go to loopback mode */ in serial_lpc32xx_shutdown() 547 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_release_port() 553 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_release_port() 561 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_request_port() 564 if (!request_mem_region(port->mapbase, SZ_4K, MODNAME)) in serial_lpc32xx_request_port() 567 port->membase = ioremap(port->mapbase, SZ_4K); in serial_lpc32xx_request_port() 569 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_request_port() 657 p->port.mapbase = res->start; in serial_hs_lpc32xx_probe() [all …]
|
D | uartlite.c | 363 release_mem_region(port->mapbase, ULITE_REGION); in ulite_release_port() 374 port, (unsigned long long) port->mapbase); in ulite_request_port() 376 if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) { in ulite_request_port() 381 port->membase = ioremap(port->mapbase, ULITE_REGION); in ulite_request_port() 384 release_mem_region(port->mapbase, ULITE_REGION); in ulite_request_port() 534 if (!port || !port->mapbase) { in ulite_console_setup() 640 if (ulite_ports[id].mapbase == 0) in ulite_assign() 648 if ((ulite_ports[id].mapbase) && (ulite_ports[id].mapbase != base)) { in ulite_assign() 661 port->mapbase = base; in ulite_assign() 677 port->mapbase = 0; in ulite_assign() [all …]
|
D | serial_txx9.c | 728 if (!up->mapbase) in serial_txx9_request_resource() 731 if (!request_mem_region(up->mapbase, size, "serial_txx9")) { in serial_txx9_request_resource() 737 up->membase = ioremap(up->mapbase, size); in serial_txx9_request_resource() 739 release_mem_region(up->mapbase, size); in serial_txx9_request_resource() 759 if (!up->mapbase) in serial_txx9_release_resource() 767 release_mem_region(up->mapbase, size); in serial_txx9_release_resource() 848 if (up->iobase || up->mapbase) in serial_txx9_register_ports() 999 if (!(uart->iobase || uart->mapbase)) in serial_txx9_register_port() 1011 uart->mapbase = port->mapbase; in serial_txx9_register_port() 1038 uart->mapbase = 0; in serial_txx9_unregister_port() [all …]
|
/Linux-v6.1/drivers/tty/serial/8250/ |
D | 8250_hp300.c | 117 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-v6.1/arch/m68k/coldfire/ |
D | device.c | 32 .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-v6.1/arch/arm/mach-pxa/ |
D | capc7117.c | 80 .mapbase = 0x14000000, 89 .mapbase = 0x14000040, 98 .mapbase = 0x14000080, 107 .mapbase = 0x140000c0,
|
/Linux-v6.1/arch/x86/platform/ce4100/ |
D | ce4100.c | 93 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-v6.1/drivers/video/backlight/ |
D | locomolcd.c | 52 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-v6.1/arch/arm/mach-omap1/ |
D | serial.c | 66 .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-v6.1/drivers/usb/host/ |
D | ohci-sa1111.c | 139 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() 237 hcd->regs = dev->mapbase; in ohci_hcd_sa1111_probe()
|
/Linux-v6.1/drivers/clocksource/ |
D | sh_tmu.c | 55 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()
|
D | sh_mtu2.c | 44 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-v6.1/arch/mips/ath25/ |
D | devices.c | 74 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()
|