/kernel/linux/linux-6.6/arch/arm/plat-orion/ |
H A D | common.c | 54 resource_size_t mapbase, in fill_resources() 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() 70 fill_resources(device, resources, mapbase, size); in fill_resources_irq() 92 resource_size_t mapbase, in uart_complete() 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() 52 fill_resources(struct platform_device *device, struct resource *resources, resource_size_t mapbase, resource_size_t size) fill_resources() argument 64 fill_resources_irq(struct platform_device *device, struct resource *resources, resource_size_t mapbase, resource_size_t size, unsigned int irq) fill_resources_irq() argument 87 uart_complete( struct platform_device *orion_uart, struct plat_serial8250_port *data, struct resource *resources, void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) uart_complete() argument 125 orion_uart0_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart0_init() argument 153 orion_uart1_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart1_init() argument 181 orion_uart2_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart2_init() argument 209 orion_uart3_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart3_init() argument 223 orion_rtc_init(unsigned long mapbase, unsigned long irq) orion_rtc_init() argument 307 orion_ge00_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned long irq_err, unsigned int tx_csum_limit) orion_ge00_init() argument 360 orion_ge01_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned int tx_csum_limit) orion_ge01_init() argument 410 orion_ge10_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq) orion_ge10_init() argument 458 orion_ge11_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq) orion_ge11_init() argument 503 orion_i2c_init(unsigned long mapbase, unsigned long irq, unsigned long freq_m) orion_i2c_init() argument 513 orion_i2c_1_init(unsigned long mapbase, unsigned long irq, unsigned long freq_m) orion_i2c_1_init() argument 543 orion_spi_init(unsigned long mapbase) orion_spi_init() argument 550 orion_spi_1_init(unsigned long mapbase) orion_spi_1_init() argument 706 orion_ehci_init(unsigned long mapbase, unsigned long irq, enum orion_ehci_phy_ver phy_version) orion_ehci_init() argument 732 orion_ehci_1_init(unsigned long mapbase, unsigned long irq) orion_ehci_1_init() argument 756 orion_ehci_2_init(unsigned long mapbase, unsigned long irq) orion_ehci_2_init() argument 784 orion_sata_init(struct mv_sata_platform_data *sata_data, unsigned long mapbase, unsigned long irq) orion_sata_init() argument 814 orion_crypto_init(unsigned long mapbase, unsigned long srambase, unsigned long sram_size, unsigned long irq) orion_crypto_init() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/plat-orion/ |
H A D | common.c | 55 resource_size_t mapbase, in fill_resources() 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() 71 fill_resources(device, resources, mapbase, size); in fill_resources_irq() 93 resource_size_t mapbase, in uart_complete() 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() 53 fill_resources(struct platform_device *device, struct resource *resources, resource_size_t mapbase, resource_size_t size) fill_resources() argument 65 fill_resources_irq(struct platform_device *device, struct resource *resources, resource_size_t mapbase, resource_size_t size, unsigned int irq) fill_resources_irq() argument 88 uart_complete( struct platform_device *orion_uart, struct plat_serial8250_port *data, struct resource *resources, void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) uart_complete() argument 126 orion_uart0_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart0_init() argument 154 orion_uart1_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart1_init() argument 182 orion_uart2_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart2_init() argument 210 orion_uart3_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) orion_uart3_init() argument 224 orion_rtc_init(unsigned long mapbase, unsigned long irq) orion_rtc_init() argument 308 orion_ge00_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned long irq_err, unsigned int tx_csum_limit) orion_ge00_init() argument 361 orion_ge01_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned int tx_csum_limit) orion_ge01_init() argument 411 orion_ge10_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq) orion_ge10_init() argument 459 orion_ge11_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq) orion_ge11_init() argument 534 orion_i2c_init(unsigned long mapbase, unsigned long irq, unsigned long freq_m) orion_i2c_init() argument 544 orion_i2c_1_init(unsigned long mapbase, unsigned long irq, unsigned long freq_m) orion_i2c_1_init() argument 574 orion_spi_init(unsigned long mapbase) orion_spi_init() argument 581 orion_spi_1_init(unsigned long mapbase) orion_spi_1_init() argument 737 orion_ehci_init(unsigned long mapbase, unsigned long irq, enum orion_ehci_phy_ver phy_version) orion_ehci_init() argument 763 orion_ehci_1_init(unsigned long mapbase, unsigned long irq) orion_ehci_1_init() argument 787 orion_ehci_2_init(unsigned long mapbase, unsigned long irq) orion_ehci_2_init() argument 815 orion_sata_init(struct mv_sata_platform_data *sata_data, unsigned long mapbase, unsigned long irq) orion_sata_init() argument 845 orion_crypto_init(unsigned long mapbase, unsigned long srambase, unsigned long sram_size, unsigned long irq) orion_crypto_init() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/common/ |
H A D | locomo.c | 80 /* 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 in locomo_m62332_sendbit() 665 void *mapbase = lchip->base; locomo_m62332_senddata() local [all...] |
/kernel/linux/linux-6.6/arch/arm/common/ |
H A D | locomo.c | 79 /* 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 in locomo_m62332_sendbit() 664 void *mapbase = lchip->base; locomo_m62332_senddata() local [all...] |
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | h8300_timer8.c | 40 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 in timer8_enable() [all...] |
H A D | h8300_timer16.c | 29 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-5.10/arch/arm/mach-lpc32xx/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-lpc32xx/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/drivers/mcb/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/mcb/ |
H A 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()
|
/kernel/linux/linux-5.10/include/linux/soc/nxp/ |
H A 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
|
/kernel/linux/linux-6.6/include/linux/soc/nxp/ |
H A 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
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh3/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A 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() 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/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | tx4939ide.c | 542 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 in tx4939ide_probe() [all...] |
H A D | tx4938ide.c | 137 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-5.10/arch/arm/mach-omap1/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A 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() 212 hcd->regs = dev->mapbase; in ohci_hcd_sa1111_probe()
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A 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()
|