/Linux-v6.6/arch/arm/plat-orion/include/plat/ |
D | common.h | 18 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-v6.6/arch/arm/plat-orion/ |
D | common.c | 54 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-v6.6/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.6/arch/arm/mach-lpc32xx/ |
D | serial.c | 29 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()
|
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.6/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() 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()
|
D | mcb-parse.c | 12 phys_addr_t mapbase; member 131 static int chameleon_get_bar(void __iomem **base, phys_addr_t mapbase, in chameleon_get_bar() argument 167 c->addr = mapbase; in chameleon_get_bar() 175 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, in chameleon_parse_cells() argument 212 bar_count = chameleon_get_bar(&p, mapbase, &cb); in chameleon_parse_cells()
|
/Linux-v6.6/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.6/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.6/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() 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()
|
D | lpc32xx_hs.c | 174 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in lpc32xx_hsuart_console_setup() 442 lpc32xx_loopback_set(port->mapbase, 0); /* get out of loopback mode */ in serial_lpc32xx_startup() 467 lpc32xx_loopback_set(port->mapbase, 1); /* go to loopback mode */ in serial_lpc32xx_shutdown() 522 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_release_port() 528 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_release_port() 536 if ((port->iotype == UPIO_MEM32) && (port->mapbase)) { in serial_lpc32xx_request_port() 539 if (!request_mem_region(port->mapbase, SZ_4K, MODNAME)) in serial_lpc32xx_request_port() 542 port->membase = ioremap(port->mapbase, SZ_4K); in serial_lpc32xx_request_port() 544 release_mem_region(port->mapbase, SZ_4K); in serial_lpc32xx_request_port() 632 p->port.mapbase = res->start; in serial_hs_lpc32xx_probe() [all …]
|
D | uartlite.c | 359 release_mem_region(port->mapbase, ULITE_REGION); in ulite_release_port() 370 port, (unsigned long long) port->mapbase); in ulite_request_port() 372 if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) { in ulite_request_port() 377 port->membase = ioremap(port->mapbase, ULITE_REGION); in ulite_request_port() 380 release_mem_region(port->mapbase, ULITE_REGION); in ulite_request_port() 530 if (!port || !port->mapbase) { in ulite_console_setup() 636 if (ulite_ports[id].mapbase == 0) in ulite_assign() 644 if ((ulite_ports[id].mapbase) && (ulite_ports[id].mapbase != base)) { in ulite_assign() 657 port->mapbase = base; in ulite_assign() 673 port->mapbase = 0; in ulite_assign() [all …]
|
D | serial_txx9.c | 705 if (!up->mapbase) in serial_txx9_request_resource() 708 if (!request_mem_region(up->mapbase, size, "serial_txx9")) { in serial_txx9_request_resource() 714 up->membase = ioremap(up->mapbase, size); in serial_txx9_request_resource() 716 release_mem_region(up->mapbase, size); in serial_txx9_request_resource() 736 if (!up->mapbase) in serial_txx9_release_resource() 744 release_mem_region(up->mapbase, size); in serial_txx9_release_resource() 825 if (up->iobase || up->mapbase) in serial_txx9_register_ports() 976 if (!(uart->iobase || uart->mapbase)) in serial_txx9_register_port() 988 uart->mapbase = port->mapbase; in serial_txx9_register_port() 1015 uart->mapbase = 0; in serial_txx9_unregister_port() [all …]
|
/Linux-v6.6/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.6/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.6/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.6/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.6/drivers/usb/host/ |
D | ohci-sa1111.c | 136 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-v6.6/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.6/arch/arm/mach-omap1/ |
D | serial.c | 68 .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-v6.6/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()
|
/Linux-v6.6/drivers/spi/ |
D | spi-ppc4xx.c | 115 u64 mapbase; member 407 hw->mapbase = resource.start; in spi_ppc4xx_of_probe() 426 if (!request_mem_region(hw->mapbase, hw->mapsize, DRIVER_NAME)) { in spi_ppc4xx_of_probe() 432 hw->regs = ioremap(hw->mapbase, sizeof(struct spi_ppc4xx_regs)); in spi_ppc4xx_of_probe() 457 release_mem_region(hw->mapbase, hw->mapsize); in spi_ppc4xx_of_probe() 473 release_mem_region(hw->mapbase, hw->mapsize); in spi_ppc4xx_of_remove()
|