Home
last modified time | relevance | path

Searched refs:baseaddr (Results 1 – 25 of 45) sorted by relevance

12

/linux-3.4.99/include/linux/
Ddio.h123 #define DIO_ID(baseaddr) in_8((baseaddr) + DIO_IDOFF) argument
124 #define DIO_SECID(baseaddr) in_8((baseaddr) + DIO_SECIDOFF) argument
127 #define DIO_IPL(baseaddr) (((in_8((baseaddr) + DIO_IPLOFF) >> 4) & 0x03) + 3) argument
132 #define DIOII_SIZE(baseaddr) ((in_8((baseaddr) + DIOII_SIZEOFF) + 1) * 0x100000) argument
/linux-3.4.99/arch/mips/include/asm/txx9/
Dgeneric.h50 void txx9_sio_init(unsigned long baseaddr, int irq,
55 void txx9_sio_putchar_init(unsigned long baseaddr);
57 static inline void txx9_sio_putchar_init(unsigned long baseaddr) in txx9_sio_putchar_init() argument
84 void txx9_iocled_init(unsigned long baseaddr,
93 void __init txx9_aclc_init(unsigned long baseaddr, int irq,
Dndfmc.h27 void txx9_ndfmc_init(unsigned long baseaddr,
Ddmac.h48 void txx9_dmac_init(int id, unsigned long baseaddr, int irq,
/linux-3.4.99/arch/mips/kernel/
Dcevt-txx9.c49 void __init txx9_clocksource_init(unsigned long baseaddr, in txx9_clocksource_init() argument
56 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clocksource_init()
154 void __init txx9_clockevent_init(unsigned long baseaddr, int irq, in txx9_clockevent_init() argument
160 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clockevent_init()
175 baseaddr, irq); in txx9_clockevent_init()
178 void __init txx9_tmr_init(unsigned long baseaddr) in txx9_tmr_init() argument
182 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_tmr_init()
Dgpio_txx9.c80 int __init txx9_gpio_init(unsigned long baseaddr, in txx9_gpio_init() argument
83 txx9_pioptr = ioremap(baseaddr, sizeof(struct txx9_pio_reg)); in txx9_gpio_init()
Dirq_txx9.c149 void __init txx9_irq_init(unsigned long baseaddr) in txx9_irq_init() argument
153 txx9_ircptr = ioremap(baseaddr, sizeof(struct txx9_irc_reg)); in txx9_irq_init()
/linux-3.4.99/drivers/scsi/megaraid/
Dmegaraid_mbox.h196 void __iomem * baseaddr; member
231 #define RDINDOOR(rdev) readl((rdev)->baseaddr + 0x20)
232 #define RDOUTDOOR(rdev) readl((rdev)->baseaddr + 0x2C)
233 #define WRINDOOR(rdev, value) writel(value, (rdev)->baseaddr + 0x20)
234 #define WROUTDOOR(rdev, value) writel(value, (rdev)->baseaddr + 0x2C)
/linux-3.4.99/arch/mips/include/asm/
Dtxx9tmr.h55 void txx9_clocksource_init(unsigned long baseaddr,
57 void txx9_clockevent_init(unsigned long baseaddr, int irq,
59 void txx9_tmr_init(unsigned long baseaddr);
Dtxx9irq.h30 void txx9_irq_init(unsigned long baseaddr);
Dtxx9pio.h26 int txx9_gpio_init(unsigned long baseaddr,
/linux-3.4.99/arch/mips/txx9/generic/
Dsetup.c492 void __init txx9_sio_init(unsigned long baseaddr, int irq, in txx9_sio_init() argument
501 req.membase = ioremap(baseaddr, 0x24); in txx9_sio_init()
502 req.mapbase = baseaddr; in txx9_sio_init()
539 void __init txx9_sio_putchar_init(unsigned long baseaddr) in txx9_sio_putchar_init() argument
541 early_txx9_sio_port = ioremap(baseaddr, 0x24); in txx9_sio_putchar_init()
670 void __init txx9_ndfmc_init(unsigned long baseaddr, in txx9_ndfmc_init() argument
676 .start = baseaddr, in txx9_ndfmc_init()
677 .end = baseaddr + 0x1000 - 1, in txx9_ndfmc_init()
739 void __init txx9_iocled_init(unsigned long baseaddr, in txx9_iocled_init() argument
758 iocled->mmioaddr = ioremap(baseaddr, 1); in txx9_iocled_init()
[all …]
Dsetup_tx4938.c391 unsigned long baseaddr = TX4938_NDFMC_REG & 0xfffffffffULL; in tx4938_ndfmc_init() local
394 baseaddr += 4; in tx4938_ndfmc_init()
399 txx9_ndfmc_init(baseaddr, &plat_data); in tx4938_ndfmc_init()
/linux-3.4.99/drivers/rtc/
Drtc-m48t35.c45 unsigned long baseaddr; member
168 priv->baseaddr = res->start; in m48t35_probe()
169 priv->reg = ioremap(priv->baseaddr, priv->size); in m48t35_probe()
191 if (priv->baseaddr) in m48t35_probe()
192 release_mem_region(priv->baseaddr, priv->size); in m48t35_probe()
204 release_mem_region(priv->baseaddr, priv->size); in m48t35_remove()
Drtc-ds1216.c34 unsigned long baseaddr; member
164 priv->baseaddr = res->start; in ds1216_rtc_probe()
165 priv->ioaddr = ioremap(priv->baseaddr, priv->size); in ds1216_rtc_probe()
184 if (priv->baseaddr) in ds1216_rtc_probe()
185 release_mem_region(priv->baseaddr, priv->size); in ds1216_rtc_probe()
196 release_mem_region(priv->baseaddr, priv->size); in ds1216_rtc_remove()
Drtc-ds1286.c29 unsigned long baseaddr; member
351 priv->baseaddr = res->start; in ds1286_probe()
352 priv->rtcregs = ioremap(priv->baseaddr, priv->size); in ds1286_probe()
373 if (priv->baseaddr) in ds1286_probe()
374 release_mem_region(priv->baseaddr, priv->size); in ds1286_probe()
385 release_mem_region(priv->baseaddr, priv->size); in ds1286_remove()
/linux-3.4.99/drivers/block/
Dxsysace.c201 void __iomem *baseaddr; member
234 void __iomem *r = ace->baseaddr + reg; in ace_in_8()
240 void __iomem *r = ace->baseaddr + reg; in ace_out_8()
247 void __iomem *r = ace->baseaddr + 0x40; in ace_datain_8()
257 void __iomem *r = ace->baseaddr + 0x40; in ace_dataout_8()
275 return in_be16(ace->baseaddr + reg); in ace_in_be16()
280 out_be16(ace->baseaddr + reg, val); in ace_out_be16()
288 *dst++ = in_le16(ace->baseaddr + 0x40); in ace_datain_be16()
297 out_le16(ace->baseaddr + 0x40, *src++); in ace_dataout_be16()
304 return in_le16(ace->baseaddr + reg); in ace_in_le16()
[all …]
/linux-3.4.99/drivers/ssb/
Dscan.c224 unsigned long baseaddr) in ssb_ioremap() argument
233 mmio = ioremap(baseaddr, SSB_CORE_SIZE); in ssb_ioremap()
244 mmio = (void __iomem *)baseaddr; in ssb_ioremap()
272 unsigned long baseaddr) in ssb_bus_scan() argument
281 mmio = ssb_ioremap(bus, baseaddr); in ssb_bus_scan()
338 mmio = ioremap(baseaddr, SSB_CORE_SIZE * bus->nr_devices); in ssb_bus_scan()
Dmain.c758 unsigned long baseaddr) in ssb_bus_register() argument
781 err = ssb_bus_scan(bus, baseaddr); in ssb_bus_register()
865 unsigned long baseaddr) in ssb_bus_pcmciabus_register() argument
873 err = ssb_bus_register(bus, ssb_pcmcia_get_invariants, baseaddr); in ssb_bus_pcmciabus_register()
908 unsigned long baseaddr, in ssb_bus_ssbbus_register() argument
916 err = ssb_bus_register(bus, get_invariants, baseaddr); in ssb_bus_ssbbus_register()
919 "address 0x%08lX\n", baseaddr); in ssb_bus_ssbbus_register()
/linux-3.4.99/drivers/char/agp/
Damd64-agp.c395 u32 httfea,baseaddr,enuscr; in uli_agp_init() local
429 pci_read_config_dword(pdev, ULI_X86_64_BASE_ADDR, &baseaddr); in uli_agp_init()
430 baseaddr&= ~PCI_BASE_ADDRESS_MEM_MASK; in uli_agp_init()
431 baseaddr|= httfea; in uli_agp_init()
432 pci_write_config_dword(pdev, ULI_X86_64_BASE_ADDR, baseaddr); in uli_agp_init()
/linux-3.4.99/drivers/mmc/host/
Dat91_mci.c102 #define at91_mci_read(host, reg) __raw_readl((host)->baseaddr + (reg))
103 #define at91_mci_write(host, reg, val) __raw_writel((val), (host)->baseaddr + (reg))
119 void __iomem *baseaddr; member
1028 host->baseaddr = ioremap(res->start, resource_size(res)); in at91_mci_probe()
1029 if (!host->baseaddr) { in at91_mci_probe()
1085 iounmap(host->baseaddr); in at91_mci_probe()
1147 iounmap(host->baseaddr); in at91_mci_remove()
/linux-3.4.99/drivers/net/wireless/libertas_tf/
Dif_usb.h78 __le32 baseaddr; member
/linux-3.4.99/drivers/net/wireless/libertas/
Dif_usb.h83 __le32 baseaddr; member
/linux-3.4.99/net/mac80211/
Dmesh_plink.c467 u8 *baseaddr; in mesh_rx_plink_frame() local
490 baseaddr = mgmt->u.action.u.self_prot.variable; in mesh_rx_plink_frame()
494 baseaddr += 4; in mesh_rx_plink_frame()
497 ieee802_11_parse_elems(baseaddr, len - baselen, &elems); in mesh_rx_plink_frame()
/linux-3.4.99/drivers/tty/
Dmoxa.c169 static unsigned long baseaddr[MAX_BOARDS]; variable
182 module_param_array(baseaddr, ulong, NULL, 0);
183 MODULE_PARM_DESC(baseaddr, "base address");
1059 if (!baseaddr[i]) in moxa_init()
1065 baseaddr[i]); in moxa_init()
1070 brd->basemem = ioremap_nocache(baseaddr[i], 0x4000); in moxa_init()
1073 baseaddr[i]); in moxa_init()
1084 baseaddr[i], brd->numPorts); in moxa_init()

12