Searched refs:mapbase (Results 1 - 25 of 158) sorted by relevance

1234567

/linux-master/include/linux/
H A Daltera_uart.h10 unsigned long mapbase; /* Physical address base */ member in struct:altera_uart_platform_uart
H A Daltera_jtaguart.h13 unsigned long mapbase; /* Physical address base */ member in struct:altera_jtaguart_platform_uart
/linux-master/include/linux/soc/nxp/
H 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) argument
21 *mapbase = NULL;
28 static inline void lpc32xx_loopback_set(resource_size_t mapbase, int state) argument
/linux-master/arch/arm/plat-orion/include/plat/
H A 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...]
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_regs.c12 regs->mapbase = res->start;
15 if (!request_mem_region(regs->mapbase, regs->mapsize, res->name))
17 regs->membase = ioremap(regs->mapbase, regs->mapsize);
19 release_mem_region(regs->mapbase, regs->mapsize);
29 release_mem_region(regs->mapbase, regs->mapsize);
H A Dmgb4_regs.h13 resource_size_t mapbase; member in struct:mgb4_regs
/linux-master/arch/sh/kernel/cpu/sh3/
H A Dserial-sh7720.c14 if (port->mapbase == 0xa4430000) { /* SCIF0 */
18 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */
24 if (port->mapbase == 0xa4430000) { /* SCIF0 */
28 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */
H A Dserial-sh7710.c12 if (port->mapbase == 0xA4400000) {
15 } else if (port->mapbase == 0xA4410000)
/linux-master/arch/arm/mach-lpc32xx/
H A Dserial.c29 resource_size_t mapbase; member in struct:uartinit
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) argument
69 switch (mapbase) {
80 WARN(1, "lpc32xx_hs: Warning: Unknown port at %08x\n", mapbase);
116 puart = uartinit_data[i].mapbase;
130 puart = uartinit_data[i].mapbase;
[all...]
H A Dcommon.c35 u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr) argument
58 if (mapbase)
59 *mapbase = io_p2v(LPC32XX_IRAM_BASE);
/linux-master/arch/arm/plat-orion/
H A Dcommon.c54 resource_size_t mapbase,
60 resources[0].start = mapbase;
61 resources[0].end = mapbase + size;
66 resource_size_t mapbase,
70 fill_resources(device, resources, mapbase, size);
92 resource_size_t mapbase,
96 data->mapbase = mapbase;
102 fill_resources_irq(orion_uart, resources, mapbase, 0xff, irq);
126 resource_size_t mapbase,
52 fill_resources(struct platform_device *device, struct resource *resources, resource_size_t mapbase, resource_size_t size) argument
64 fill_resources_irq(struct platform_device *device, struct resource *resources, resource_size_t mapbase, resource_size_t size, unsigned int 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) argument
125 orion_uart0_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) argument
153 orion_uart1_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) argument
181 orion_uart2_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) argument
209 orion_uart3_init(void __iomem *membase, resource_size_t mapbase, unsigned int irq, struct clk *clk) argument
223 orion_rtc_init(unsigned long mapbase, unsigned long irq) 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) argument
360 orion_ge01_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq, unsigned int tx_csum_limit) argument
410 orion_ge10_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq) argument
458 orion_ge11_init(struct mv643xx_eth_platform_data *eth_data, unsigned long mapbase, unsigned long irq) argument
503 orion_i2c_init(unsigned long mapbase, unsigned long irq, unsigned long freq_m) argument
513 orion_i2c_1_init(unsigned long mapbase, unsigned long irq, unsigned long freq_m) argument
543 orion_spi_init(unsigned long mapbase) argument
550 orion_spi_1_init(unsigned long mapbase) argument
706 orion_ehci_init(unsigned long mapbase, unsigned long irq, enum orion_ehci_phy_ver phy_version) argument
732 orion_ehci_1_init(unsigned long mapbase, unsigned long irq) argument
756 orion_ehci_2_init(unsigned long mapbase, unsigned long irq) argument
784 orion_sata_init(struct mv_sata_platform_data *sata_data, unsigned long mapbase, unsigned long irq) argument
814 orion_crypto_init(unsigned long mapbase, unsigned long srambase, unsigned long sram_size, unsigned long irq) argument
[all...]
/linux-master/drivers/mcb/
H A Dmcb-pci.c17 phys_addr_t mapbase; member in struct:priv
48 priv->mapbase = pci_resource_start(pdev, 0);
49 if (!priv->mapbase) {
55 res = devm_request_mem_region(&pdev->dev, priv->mapbase,
64 priv->base = devm_ioremap(&pdev->dev, priv->mapbase, CHAM_HEADER_SIZE);
89 ret = chameleon_parse_cells(priv->bus, priv->mapbase, priv->base);
98 devm_release_mem_region(&pdev->dev, priv->mapbase, CHAM_HEADER_SIZE);
101 res = devm_request_mem_region(&pdev->dev, priv->mapbase,
110 priv->base = devm_ioremap(&pdev->dev, priv->mapbase, table_size);
/linux-master/arch/arm/common/
H A Dlocomo.c81 /* All the locomo devices. If offset is non-zero, the mapbase for the
83 * zero, then the mapbase for the locomo_dev will be set to zero. An
248 dev->mapbase = lchip->base + info->offset;
250 dev->mapbase = 0;
625 static void locomo_m62332_sendbit(void *mapbase, int bit) argument
629 r = locomo_readl(mapbase + LOCOMO_DAC);
631 locomo_writel(r, mapbase + LOCOMO_DAC);
634 r = locomo_readl(mapbase + LOCOMO_DAC);
636 locomo_writel(r, mapbase + LOCOMO_DAC);
641 r = locomo_readl(mapbase
666 void *mapbase = lchip->base; local
[all...]
/linux-master/arch/sh/kernel/cpu/sh4a/
H A Dserial-sh7722.c12 if (port->mapbase == 0xffe00000) {
/linux-master/arch/mips/ath25/
H A Ddevices.c74 void __init ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk) argument
85 s.mapbase = mapbase;
H A Ddevices.h31 void ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk);
/linux-master/drivers/tty/serial/
H A Dearlycon.c86 &port->mapbase, device->options);
104 port->mapbase = addr;
108 port->mapbase = addr;
113 port->mapbase = addr;
150 if (port->mapbase)
151 port->membase = earlycon_map(port->mapbase, 64);
273 port->mapbase = addr;
277 port->mapbase += be32_to_cpu(*val);
278 port->membase = earlycon_map(port->mapbase, SZ_4K);
/linux-master/arch/x86/platform/ce4100/
H A Dce4100.c93 up->mapbase = 0xdffe0200;
95 up->mapbase & PAGE_MASK);
98 up->membase += up->mapbase & ~PAGE_MASK;
99 up->mapbase += port * 0x100;
/linux-master/drivers/leds/
H A Dleds-locomo.c24 locomo_writel(LOCOMO_LPT_TOFH, locomo_dev->mapbase + offset);
26 locomo_writel(LOCOMO_LPT_TOFL, locomo_dev->mapbase + offset);
/linux-master/drivers/tty/serial/8250/
H A D8250_pcilib.c27 port->port.mapbase = pci_resource_start(dev, bar) + offset;
33 port->port.mapbase = 0;
H A D8250_hp300.c117 port.mapbase = (FRODO_BASE + FRODO_APCI_OFFSET(1));
118 port.membase = (char *)(port.mapbase + DIO_VIRADDRBASE);
134 port.mapbase = (pa + UART_OFFSET);
135 port.membase = (char *)(port.mapbase + DIO_VIRADDRBASE);
176 uart.port.mapbase = (d->resource.start + UART_OFFSET);
177 uart.port.membase = (char *)(uart.port.mapbase + DIO_VIRADDRBASE);
258 uart.port.mapbase = base;
/linux-master/drivers/usb/host/
H A Dohci-sa1111.c136 dev->mapbase + USB_RESET);
145 writel_relaxed(usb_rst, dev->mapbase + USB_RESET);
160 usb_rst = readl_relaxed(dev->mapbase + USB_RESET);
162 dev->mapbase + USB_RESET);
234 hcd->regs = dev->mapbase;
/linux-master/drivers/video/backlight/
H A Dlocomolcd.c52 locomo_writel(0x01, locomolcd_dev->mapbase + LOCOMO_TC);
55 locomo_writel(6, locomolcd_dev->mapbase + LOCOMO_CPSD);
58 locomo_writel((0x04 | 0x01), locomolcd_dev->mapbase + LOCOMO_TC);
68 locomo_writel(0x06, locomolcd_dev->mapbase + LOCOMO_TC);
78 locomo_writel(0, locomolcd_dev->mapbase + LOCOMO_TC);
/linux-master/arch/mips/mti-malta/
H A Dmalta-platform.c47 .mapbase = 0x1f000900, /* The CBUS UART */
/linux-master/arch/arm/mach-omap1/
H A Dserial.c68 .mapbase = OMAP1_UART1_BASE,
76 .mapbase = OMAP1_UART2_BASE,
84 .mapbase = OMAP1_UART3_BASE,
120 ioremap(serial_platform_data[i].mapbase, SZ_2K);

Completed in 396 milliseconds

1234567