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

1234567891011>>

/linux-master/drivers/net/ethernet/
H A Dethoc.c178 * @iobase: pointer to I/O memory region
199 void __iomem *iobase; member in struct:ethoc
240 return ioread32be(dev->iobase + offset);
242 return ioread32(dev->iobase + offset);
248 iowrite32be(data, dev->iobase + offset);
250 iowrite32(data, dev->iobase + offset);
1091 priv->iobase = devm_ioremap(&pdev->dev, netdev->base_addr,
1093 if (!priv->iobase) {
/linux-master/drivers/pci/controller/
H A Dpci-mvebu.c524 /* Are the new iobase/iolimit values invalid? */
525 if (conf->iolimit < conf->iobase ||
534 * specifications. iobase is the bus address, port->iowin_base
537 desired.remap = ((conf->iobase & 0xF0) << 8) |
743 conf->iobase &= ~0xf0;
745 conf->iobase |= 0xf0;
764 conf->iobase &= ~0xf0;
766 conf->iobase |= 0xf0;
916 bridge->conf.iobase = PCI_IO_RANGE_TYPE_32;
/linux-master/drivers/mfd/
H A Dsm501.c1043 resource_size_t iobase = sm->io_res->start + SM501_GPIO; local
1047 (unsigned long long)iobase);
1051 gpio->regs_res = request_mem_region(iobase, 0x20, "sm501-gpio");
1057 gpio->regs = ioremap(iobase, 0x20);
1089 release_mem_region(iobase, 0x20);
1097 resource_size_t iobase = sm->io_res->start + SM501_GPIO; local
1106 release_mem_region(iobase, 0x20);
/linux-master/sound/parisc/
H A Dharmony.c97 return __raw_readl(h->iobase + r);
103 __raw_writel(v, h->iobase + r);
851 iounmap(h->iobase);
884 h->iobase = ioremap(padev->hpa.start, HARMONY_SIZE);
885 if (h->iobase == NULL) {
/linux-master/drivers/comedi/
H A Ddrivers.c188 dev->iobase = 0;
903 * On success, @dev->iobase is set to the base address of the region and
916 dev->iobase = start;
933 * If @dev->irq is non-zero, the IRQ will be freed. If @dev->iobase and
942 if (dev->iobase && dev->iolen) {
943 release_region(dev->iobase, dev->iolen);
944 dev->iobase = 0;
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-alsa.c72 unsigned long iobase; member in struct:cx25821_audio_dev
727 chip->iobase = pci_resource_start(dev->pci, 0);
749 chip->iobase, chip->irq);
/linux-master/sound/pci/korg1212/
H A Dkorg1212.c321 void __iomem *iobase; member in struct:snd_korg1212
2131 korg1212->iobase = pcim_iomap_table(pci)[0];
2148 korg1212->statusRegPtr = (u32 __iomem *) (korg1212->iobase + STATUS_REG_OFFSET);
2149 korg1212->outDoorbellPtr = (u32 __iomem *) (korg1212->iobase + OUT_DOORBELL_OFFSET);
2150 korg1212->inDoorbellPtr = (u32 __iomem *) (korg1212->iobase + IN_DOORBELL_OFFSET);
2151 korg1212->mailbox0Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX0_OFFSET);
2152 korg1212->mailbox1Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX1_OFFSET);
2153 korg1212->mailbox2Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX2_OFFSET);
2154 korg1212->mailbox3Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX3_OFFSET);
2155 korg1212->controlRegPtr = (u32 __iomem *) (korg1212->iobase
[all...]
/linux-master/drivers/pci/
H A Dof.c554 resource_size_t iobase; local
561 &bridge->dma_ranges, &iobase);
574 err = devm_pci_remap_iospace(dev, res, iobase);
/linux-master/drivers/comedi/drivers/
H A Ddaqboard2000.c668 unsigned long iobase)
671 writew(data, dev->mmio + iobase + port * 2);
674 return readw(dev->mmio + iobase + port * 2);
667 db2k_8255_cb(struct comedi_device *dev, int dir, int port, int data, unsigned long iobase) argument
H A Dplx9080.h610 * @iobase: Remapped base address of configuration registers.
620 static inline int plx9080_abort_dma(void __iomem *iobase, unsigned int channel) argument
627 dma_cs_addr = iobase + PLX_REG_DMACSR(channel);
H A D8255_pci.c227 dev->iobase = pci_resource_start(pcidev, board->dio_badr);
/linux-master/sound/pci/rme9652/
H A Dhdsp.c70 /* Write registers. These are defined as byte-offsets from the iobase value.
85 /* Read registers. These are defined as byte-offsets from the iobase value
487 void __iomem *iobase; member in struct:hdsp
638 writel(val, hdsp->iobase + reg);
643 return readl (hdsp->iobase + reg);
3406 hdsp->irq, hdsp->port, (unsigned long)hdsp->iobase);
4643 if (copy_u32_le(&peak_rms->input_peaks[i], hdsp->iobase + ofs))
4646 if (copy_u32_le(&peak_rms->playback_peaks[i], hdsp->iobase + ofs))
4649 if (copy_u32_le(&peak_rms->output_peaks[i], hdsp->iobase + ofs))
4652 if (copy_u48_le(&peak_rms->input_rms[i], hdsp->iobase
[all...]
/linux-master/drivers/tty/serial/
H A Dpch_uart.c210 unsigned int iobase; member in struct:eg20t_port
1602 if (!port || (!port->iobase && !port->membase))
1645 unsigned int iobase; local
1679 iobase = pci_resource_start(pdev, 0);
1682 priv->iobase = iobase;
1692 priv->port.iobase = iobase;
H A Dma35d1_serial.c614 p->port.iobase = val32[1];
615 p->port.membase = ioremap(p->port.iobase, MA35_UART_REG_SIZE);
704 up->port.iobase = res_mem->start;
705 up->port.membase = ioremap(up->port.iobase, MA35_UART_REG_SIZE);
H A Dserial_core.c802 retinfo->port = uport->iobase;
804 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET;
868 && (new_port != uport->iobase ||
934 old_iobase = uport->iobase;
947 uport->iobase = new_port;
969 uport->iobase = old_iobase;
2059 : (unsigned long long)uport->iobase,
2175 if (idx < 0 || idx >= nr || (ports[idx].iobase == 0 &&
2178 if (ports[idx].iobase != 0 ||
2191 * @addr: ptr for decoded mapbase/iobase (ou
[all...]
/linux-master/arch/mips/sni/
H A Dpcimt.c72 .iobase = _base, \
H A Dpcit.c24 .iobase = _base, \
/linux-master/include/video/
H A Dtdfx.h199 unsigned long iobase; member in struct:tdfx_par
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dath5k.h1265 void __iomem *iobase; /* address of the device */ member in struct:ath5k_hw
1659 return ah->iobase + reg;
1676 return ioread32(ah->iobase + reg);
1681 iowrite32(val, ah->iobase + reg);
/linux-master/drivers/net/ethernet/amd/
H A Dsun3lance.c151 volatile unsigned short *iobase; member in struct:lance_private
163 #define DREG lp->iobase[0]
164 #define AREG lp->iobase[1]
352 lp->iobase = (volatile unsigned short *)ioaddr;
/linux-master/include/linux/
H A Dalcor_pci.h265 void __iomem *iobase; member in struct:alcor_pci_priv
/linux-master/drivers/tty/serial/8250/
H A Dserial_cs.c347 unsigned int iobase, int irq)
353 uart.port.iobase = iobase;
367 (unsigned long)iobase, irq);
346 setup_serial(struct pcmcia_device *handle, struct serial_info *info, unsigned int iobase, int irq) argument
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_dbg.c107 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
195 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
296 qla24xx_read_window(struct device_reg_24xx __iomem *reg, uint32_t iobase, argument
301 wrt_reg_dword(&reg->iobase_addr, iobase);
326 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
383 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
745 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
902 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
1083 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
1329 struct device_reg_24xx __iomem *reg = &ha->iobase
[all...]
H A Dqla_isr.c361 reg = &ha->iobase->isp;
476 reg = &ha->iobase->isp;
572 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
607 struct device_reg_24xx __iomem *reg24 = &vha->hw->iobase->isp24;
608 struct device_reg_82xx __iomem *reg82 = &vha->hw->iobase->isp82;
1262 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
1263 struct device_reg_24xx __iomem *reg24 = &ha->iobase->isp24;
1264 struct device_reg_82xx __iomem *reg82 = &ha->iobase->isp82;
2943 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
3824 struct device_reg_24xx __iomem *reg = &ha->iobase
[all...]
H A Dqla_mr.c67 reg = ha->iobase;
676 struct device_reg_fx00 __iomem *reg = &ha->iobase->ispfx00;
787 ha->iobase =
789 if (!ha->iobase) {
800 ha->bars, ha->cregbase, ha->iobase);
843 req->ring = (void __force *)ha->iobase + ha->req_que_off;
858 rsp->ring = (void __force *)ha->iobase + ha->rsp_que_off;
882 struct device_reg_fx00 __iomem *reg = &ha->iobase->ispfx00;
1418 struct device_reg_fx00 __iomem *reg = &ha->iobase->ispfx00;
1463 struct device_reg_fx00 __iomem *reg = &ha->iobase
[all...]

Completed in 430 milliseconds

1234567891011>>