Searched refs:iobase (Results 201 - 225 of 297) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/atm/
H A Dhorizon.c371 outl (cpu_to_le32 (data), dev->iobase + reg);
375 return le32_to_cpu (inl (dev->iobase + reg));
379 outw (cpu_to_le16 (data), dev->iobase + reg);
383 return le16_to_cpu (inw (dev->iobase + reg));
387 outsb (dev->iobase + reg, addr, len);
391 insb (dev->iobase + reg, addr, len);
2401 u32 iobase = pci_resource_start (pci_dev, 0); local
2411 if (!request_region(iobase, HRZ_IO_EXTENT, DEV_LABEL)) {
2439 iobase, irq, membase);
2468 dev->iobase
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/
H A Des1968.c2147 unsigned long iobase = chip->io_port; local
2230 outw(0xC090, iobase + ESM_RING_BUS_DEST); /* direct sound, stereo */
2232 outw(0x3000, iobase + ESM_RING_BUS_CONTR_A); /* enable ringbus/serial */
2243 n = inl(iobase + ESM_RING_BUS_CONTR_B);
2246 outl(n, iobase + ESM_RING_BUS_CONTR_B);
2250 outb(0x88, iobase+0x1c);
2251 outb(0x88, iobase+0x1d);
2252 outb(0x88, iobase+0x1e);
2253 outb(0x88, iobase+0x1f);
2258 outb(0, iobase
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Ddepca.c316 u_long iobase; member in struct:__anon12730
1340 unsigned long iobase, mem_start; local
1365 iobase = 0x2c00 + (0x10 * where);
1429 iobase = mca_device_transform_ioport(mdev, iobase);
1431 if ((err = depca_common_init (iobase, &dev)))
1435 dev->base_addr = iobase;
1448 release_region (iobase, DEPCA_TOTAL_SIZE);
1465 for (i = 0; depca_io_ports[i].iobase; i++) {
1470 if (io && io != depca_io_ports[i].iobase)
[all...]
H A Dethoc.c174 * @iobase: pointer to I/O memory region
194 void __iomem *iobase; member in struct:ethoc
232 return ioread32(dev->iobase + offset);
237 iowrite32(data, dev->iobase + offset);
946 priv->iobase = devm_ioremap_nocache(&pdev->dev, netdev->base_addr,
948 if (!priv->iobase) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Deata.c982 static int wait_on_busy(unsigned long iobase, unsigned int loop) argument
984 while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) {
992 static int do_dma(unsigned long iobase, unsigned long addr, unchar cmd) argument
997 if (wait_on_busy(iobase, (addr ? MAXLOOP * 100 : MAXLOOP)))
1003 outb(byaddr[3], iobase + REG_LOW);
1004 outb(byaddr[2], iobase + REG_LM);
1005 outb(byaddr[1], iobase + REG_MID);
1006 outb(byaddr[0], iobase + REG_MSB);
1009 outb(cmd, iobase + REG_CMD);
1013 static int read_pio(unsigned long iobase, ushor argument
[all...]
H A Dqla1280.c771 reg = ha->iobase;
874 RD_REG_WORD(&ha->iobase->istatus));
877 RD_REG_WORD(&ha->iobase->host_cmd),
878 RD_REG_WORD(&ha->iobase->ictrl), jiffies);
1096 WRT_REG_WORD(&ha->iobase->ictrl, 0);
1097 RD_REG_WORD(&ha->iobase->ictrl); /* PCI Posted Write flush */
1104 WRT_REG_WORD(&ha->iobase->ictrl, (ISP_EN_INT | ISP_EN_RISC));
1105 RD_REG_WORD(&ha->iobase->ictrl); /* PCI Posted Write flush */
1126 reg = ha->iobase;
1471 reg = ha->iobase;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/busses/
H A Di2c-nforce2.c343 u16 iobase; local
345 if (pci_read_config_word(dev, alt_reg, &iobase)
352 smbus->base = iobase & PCI_BASE_ADDRESS_IO_MASK;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hysdn/
H A Dhysdn_defs.h149 unsigned int iobase; /* IO-port base address */ member in struct:HYSDN_CARD
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/orinoco/
H A Dorinoco_pci.c210 pci_iounmap(pdev, priv->hw.iobase);
H A Dorinoco_tmd.c200 pci_iounmap(pdev, priv->hw.iobase);
H A Dspectrum_cs.c377 if (priv->hw.iobase)
378 ioport_unmap(priv->hw.iobase);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/sni/
H A Da20r.c21 .iobase = _base, \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/wlan-ng/
H A Dp80211netdev.h175 unsigned int iobase; member in struct:wlandevice
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/serial/
H A Dserial_core.c651 tmp.port = uport->iobase;
653 tmp.port_high = (long) uport->iobase >> HIGH_BITS_OFFSET;
717 && (new_port != uport->iobase ||
777 old_iobase = uport->iobase;
790 uport->iobase = new_port;
812 uport->iobase = old_iobase;
1676 : (unsigned long long)uport->iobase,
1797 if (idx < 0 || idx >= nr || (ports[idx].iobase == 0 &&
1800 if (ports[idx].iobase != 0 ||
2105 snprintf(address, sizeof(address), "I/O 0x%lx", port->iobase);
[all...]
H A Dsunsu.c107 outb(up->port.hub6 - 1 + offset, up->port.iobase);
108 return inb(up->port.iobase + 1);
114 return inb(up->port.iobase + offset);
136 outb(up->port.hub6 - 1 + offset, up->port.iobase);
137 outb(value, up->port.iobase + 1);
145 outb(value, up->port.iobase + offset);
691 icp = (up->port.iobase & 0xfe0) | 0x01f;
721 inb((up->port.iobase & 0xfe0) | 0x1f);
H A Dm32r_sio.c243 return __sio_in(up->port.iobase + offset);
248 __sio_out(value, up->port.iobase + offset);
830 *res = request_region(up->port.iobase, size, "serial");
863 start = up->port.iobase;
968 up->port.iobase = old_serial_port[i].port;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/hamradio/
H A Dbaycom_epp.c939 printk(KERN_INFO "%s: close epp at iobase 0x%lx irq %u\n",
1015 hi.data.mp.iobase = dev->base_addr;
1027 dev->base_addr = hi.data.mp.iobase;
1147 static int iobase[NR_PORTS] = { 0x378, }; variable
1151 module_param_array(iobase, int, NULL, 0);
1152 MODULE_PARM_DESC(iobase, "baycom io base address");
1198 dev->base_addr = iobase[i];
1203 iobase[i] = 0;
1260 iobase[nr_dev] = ints[1];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/parisc/
H A Dsuperio.c402 serial_port.iobase = sio_dev.sp1_base;
412 serial_port.iobase = sio_dev.sp2_base;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/parisc/
H A Dharmony.c110 return __raw_readl(h->iobase + r);
116 __raw_writel(v, h->iobase + r);
902 if (h->iobase)
903 iounmap(h->iobase);
939 h->iobase = ioremap_nocache(padev->hpa.start, HARMONY_SIZE);
940 if (h->iobase == NULL) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/
H A Dqla_isr.c53 reg = &ha->iobase->isp;
150 reg = &ha->iobase->isp;
246 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
279 struct device_reg_24xx __iomem *reg24 = &vha->hw->iobase->isp24;
322 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
323 struct device_reg_24xx __iomem *reg24 = &ha->iobase->isp24;
1330 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
1934 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
2029 struct device_reg_82xx __iomem *reg = &ha->iobase->isp82;
2041 struct device_reg_24xx __iomem *reg = &ha->iobase
[all...]
H A Dqla_os.c1421 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
1436 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
1450 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
1463 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
1851 ha->iobase = ioremap(pci_resource_start(ha->pdev, 1), MIN_IOBASE_LEN);
1852 if (!ha->iobase) {
1994 "Found an ISP%04X, irq %d, iobase 0x%p\n", pdev->device, pdev->irq,
1995 ha->iobase);
2180 req->req_q_in = &ha->iobase->isp24.req_q_in;
2181 req->req_q_out = &ha->iobase
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/korg1212/
H A Dkorg1212.c336 void __iomem *iobase; member in struct:snd_korg1212
2065 if (korg1212->iobase != NULL) {
2066 iounmap(korg1212->iobase);
2067 korg1212->iobase = NULL;
2195 if ((korg1212->iobase = ioremap(korg1212->iomem, iomem_size)) == NULL) {
2216 korg1212->statusRegPtr = (u32 __iomem *) (korg1212->iobase + STATUS_REG_OFFSET);
2217 korg1212->outDoorbellPtr = (u32 __iomem *) (korg1212->iobase + OUT_DOORBELL_OFFSET);
2218 korg1212->inDoorbellPtr = (u32 __iomem *) (korg1212->iobase + IN_DOORBELL_OFFSET);
2219 korg1212->mailbox0Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX0_OFFSET);
2220 korg1212->mailbox1Ptr = (u32 __iomem *) (korg1212->iobase
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/
H A Duli526x.c1635 static void phy_write(unsigned long iobase, u8 phy_addr, u8 offset, u16 phy_data, u32 chip_id) argument
1642 phy_writeby_cr10(iobase, phy_addr, offset, phy_data);
1646 ioaddr = iobase + DCR9;
1683 static u16 phy_read(unsigned long iobase, u8 phy_addr, u8 offset, u32 chip_id) argument
1690 return phy_readby_cr10(iobase, phy_addr, offset);
1692 ioaddr = iobase + DCR9;
1726 static u16 phy_readby_cr10(unsigned long iobase, u8 phy_addr, u8 offset) argument
1730 ioaddr = iobase + DCR10;
1745 static void phy_writeby_cr10(unsigned long iobase, u8 phy_addr, u8 offset, u16 phy_data) argument
1749 ioaddr = iobase
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/
H A Dcb_pcidas.c1846 unsigned long iobase = devpriv->s5933_config; local
1848 if (wait_for_nvram_ready(iobase) < 0)
1852 iobase + AMCC_OP_REG_MCSR_NVCMD);
1853 outb(address & 0xff, iobase + AMCC_OP_REG_MCSR_NVDATA);
1855 iobase + AMCC_OP_REG_MCSR_NVCMD);
1856 outb((address >> 8) & 0xff, iobase + AMCC_OP_REG_MCSR_NVDATA);
1857 outb(MCSR_NV_ENABLE | MCSR_NV_READ, iobase + AMCC_OP_REG_MCSR_NVCMD);
1859 if (wait_for_nvram_ready(iobase) < 0)
1862 *data = inb(iobase + AMCC_OP_REG_MCSR_NVDATA);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/rme9652/
H A Dhdsp.c85 /* Write registers. These are defined as byte-offsets from the iobase value.
100 /* Read registers. These are defined as byte-offsets from the iobase value
479 void __iomem *iobase; member in struct:hdsp
645 writel(val, hdsp->iobase + reg);
650 return readl (hdsp->iobase + reg);
3303 hdsp->irq, hdsp->port, (unsigned long)hdsp->iobase);
4481 if (copy_u32_le(&peak_rms->input_peaks[i], hdsp->iobase + ofs))
4484 if (copy_u32_le(&peak_rms->playback_peaks[i], hdsp->iobase + ofs))
4487 if (copy_u32_le(&peak_rms->output_peaks[i], hdsp->iobase + ofs))
4490 if (copy_u48_le(&peak_rms->input_rms[i], hdsp->iobase
[all...]

Completed in 331 milliseconds

1234567891011>>