/drivers/staging/comedi/drivers/ |
D | icp_multi.c | 116 void __iomem *io_addr; /* Pointer to mapped io address */ member 175 devpriv->io_addr + ICP_MULTI_ADC_CSR); in setup_channel_list() 188 writew(devpriv->IntEnable, devpriv->io_addr + ICP_MULTI_INT_EN); in icp_multi_insn_read_ai() 192 writew(devpriv->IntStatus, devpriv->io_addr + ICP_MULTI_INT_STAT); in icp_multi_insn_read_ai() 201 devpriv->io_addr + ICP_MULTI_ADC_CSR); in icp_multi_insn_read_ai() 209 if (!(readw(devpriv->io_addr + in icp_multi_insn_read_ai() 221 writew(devpriv->IntEnable, devpriv->io_addr + ICP_MULTI_INT_EN); in icp_multi_insn_read_ai() 226 devpriv->io_addr + ICP_MULTI_INT_STAT); in icp_multi_insn_read_ai() 235 (readw(devpriv->io_addr + ICP_MULTI_AI) >> 4) & 0x0fff; in icp_multi_insn_read_ai() 240 writew(devpriv->IntEnable, devpriv->io_addr + ICP_MULTI_INT_EN); in icp_multi_insn_read_ai() [all …]
|
D | dt3000.c | 253 void __iomem *io_addr; member 286 writew(cmd, devpriv->io_addr + DPR_Command_Mbx); in dt3k_send_cmd() 289 status = readw(devpriv->io_addr + DPR_Command_Mbx); in dt3k_send_cmd() 306 writew(subsys, devpriv->io_addr + DPR_SubSys); in dt3k_readsingle() 308 writew(chan, devpriv->io_addr + DPR_Params(0)); in dt3k_readsingle() 309 writew(gain, devpriv->io_addr + DPR_Params(1)); in dt3k_readsingle() 313 return readw(devpriv->io_addr + DPR_Params(2)); in dt3k_readsingle() 321 writew(subsys, devpriv->io_addr + DPR_SubSys); in dt3k_writesingle() 323 writew(chan, devpriv->io_addr + DPR_Params(0)); in dt3k_writesingle() 324 writew(0, devpriv->io_addr + DPR_Params(1)); in dt3k_writesingle() [all …]
|
D | ni_670x.c | 147 void __iomem *io_addr = devpriv->mite->daq_io_addr + in ni_670x_dio_insn_bits() local 156 writel(s->state, io_addr); in ni_670x_dio_insn_bits() 159 data[1] = readl(io_addr); in ni_670x_dio_insn_bits()
|
/drivers/ide/ |
D | ide-generic.c | 90 unsigned long io_addr; in ide_generic_init() local 109 io_addr = legacy_bases[i]; in ide_generic_init() 111 if ((probe_mask & (1 << i)) && io_addr) { in ide_generic_init() 112 if (!request_region(io_addr, 8, DRV_NAME)) { in ide_generic_init() 115 DRV_NAME, io_addr, io_addr + 7); in ide_generic_init() 120 if (!request_region(io_addr + 0x206, 1, DRV_NAME)) { in ide_generic_init() 123 DRV_NAME, io_addr + 0x206); in ide_generic_init() 124 release_region(io_addr, 8); in ide_generic_init() 130 ide_std_init_ports(&hw, io_addr, io_addr + 0x206); in ide_generic_init() 138 release_region(io_addr + 0x206, 1); in ide_generic_init() [all …]
|
/drivers/watchdog/ |
D | pcwd.c | 184 int io_addr; /* The cards I/O address */ member 228 outb_p(control_status, pcwd_private.io_addr + 2); in send_isa_command() 231 port0 = inb_p(pcwd_private.io_addr); in send_isa_command() 234 port0 = inb_p(pcwd_private.io_addr); in send_isa_command() 262 outb_p(0x00, pcwd_private.io_addr + 2); in set_command_mode() 264 outb_p(0x00, pcwd_private.io_addr + 2); in set_command_mode() 282 outb_p(0x00, pcwd_private.io_addr + 2); in unset_command_mode() 294 if (inb(pcwd_private.io_addr) != 0xF0) in pcwd_check_temperature_support() 337 pcwd_private.io_addr); in pcwd_show_card_info() 341 pcwd_private.io_addr, pcwd_private.fw_ver_str); in pcwd_show_card_info() [all …]
|
D | pcwd_pci.c | 126 unsigned long io_addr; member 173 outb_p(*lsb, pcipcwd_private.io_addr + 4); in send_command() 174 outb_p(*msb, pcipcwd_private.io_addr + 5); in send_command() 175 outb_p(cmd, pcipcwd_private.io_addr + 6); in send_command() 180 got_response = inb_p(pcipcwd_private.io_addr + 2) & WD_PCI_WRSP; in send_command() 184 got_response = inb_p(pcipcwd_private.io_addr + 2) & WD_PCI_WRSP; in send_command() 198 *lsb = inb_p(pcipcwd_private.io_addr + 4); in send_command() 199 *msb = inb_p(pcipcwd_private.io_addr + 5); in send_command() 202 inb_p(pcipcwd_private.io_addr + 6); in send_command() 216 if (inb_p(pcipcwd_private.io_addr) != 0xF0) in pcipcwd_check_temperature_support() [all …]
|
/drivers/bcma/ |
D | host_soc.c | 15 return readb(core->io_addr + offset); in bcma_host_soc_read8() 20 return readw(core->io_addr + offset); in bcma_host_soc_read16() 25 return readl(core->io_addr + offset); in bcma_host_soc_read32() 31 writeb(value, core->io_addr + offset); in bcma_host_soc_write8() 37 writew(value, core->io_addr + offset); in bcma_host_soc_write16() 43 writel(value, core->io_addr + offset); in bcma_host_soc_write32() 50 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_read() 94 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_write()
|
D | scan.c | 407 core->io_addr = ioremap_nocache(core->addr, BCMA_CORE_SIZE); in bcma_get_next_core() 408 if (!core->io_addr) in bcma_get_next_core() 412 iounmap(core->io_addr); in bcma_get_next_core()
|
D | main.c | 99 if (core->io_addr) in bcma_release_core_dev() 100 iounmap(core->io_addr); in bcma_release_core_dev()
|
D | driver_chipcommon.c | 340 ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA + in bcma_chipco_serial_init()
|
/drivers/usb/host/ |
D | uhci-hcd.h | 385 unsigned long io_addr; member 503 return inl(uhci->io_addr + reg); in uhci_readl() 508 outl(val, uhci->io_addr + reg); in uhci_writel() 513 return inw(uhci->io_addr + reg); in uhci_readw() 518 outw(val, uhci->io_addr + reg); in uhci_writew() 523 return inb(uhci->io_addr + reg); in uhci_readb() 528 outb(val, uhci->io_addr + reg); in uhci_writeb() 535 #define uhci_has_pci_registers(u) ((u)->io_addr != 0) 551 return inl(uhci->io_addr + reg); in uhci_readl() 563 outl(val, uhci->io_addr + reg); in uhci_writel() [all …]
|
D | uhci-pci.c | 28 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() 40 uhci->io_addr); in uhci_pci_check_and_reset_hc() 82 if (inw(uhci->io_addr + USBPORTSC1 + port * 2) & in uhci_pci_resume_detect_interrupts_are_broken() 104 if (inw(uhci->io_addr + USBPORTSC1 + port * 2) & in uhci_pci_global_suspend_mode_is_broken() 117 uhci->io_addr = (unsigned long) hcd->rsrc_start; in uhci_pci_init()
|
/drivers/net/ethernet/davicom/ |
D | dm9000.c | 97 void __iomem *io_addr; /* Register I/O base address */ member 165 writeb(DM9000_NCR, db->io_addr); in dm9000_reset() 177 writeb(reg, db->io_addr); in ior() 188 writeb(reg, db->io_addr); in iow() 286 reg_save = readb(db->io_addr); in dm9000_phy_read() 294 writeb(reg_save, db->io_addr); in dm9000_phy_read() 300 reg_save = readb(db->io_addr); in dm9000_phy_read() 308 writeb(reg_save, db->io_addr); in dm9000_phy_read() 332 reg_save = readb(db->io_addr); in dm9000_phy_write() 344 writeb(reg_save, db->io_addr); in dm9000_phy_write() [all …]
|
/drivers/scsi/ |
D | sim710.c | 183 unsigned long io_addr = edev->base_addr; in sim710_eisa_probe() local 193 irq_index = (inb(io_addr + 0xc85) & 0x7) - 1; in sim710_eisa_probe() 195 val = inb(io_addr + 0x4); in sim710_eisa_probe() 204 irq_index = inb(io_addr + 0xc88) & 0x07; in sim710_eisa_probe() 214 return sim710_probe_common(dev, io_addr, irq, 50, in sim710_eisa_probe()
|
D | ips.c | 2050 if (ha->io_addr) in ips_host_info() 2053 ha->io_addr, ha->io_len); in ips_host_info() 2301 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2305 if (inb(ha->io_addr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version() 2308 outl(1, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2312 if (inb(ha->io_addr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version() 2316 outl(0x1FF, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2320 major = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version() 2323 outl(0x1FE, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2327 minor = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version() [all …]
|
/drivers/ata/ |
D | pata_pcmcia.c | 206 void __iomem *io_addr, *ctl_addr; in pcmcia_init_one() local 240 io_addr = devm_ioport_map(&pdev->dev, io_base, 8); in pcmcia_init_one() 242 if (!io_addr || !ctl_addr) in pcmcia_init_one() 272 ap->ioaddr.cmd_addr = io_addr + 0x10 * p; in pcmcia_init_one()
|
D | pata_legacy.c | 956 void __iomem *io_addr, *ctrl_addr; in legacy_init_one() local 973 io_addr = devm_ioport_map(&pdev->dev, io, 8); in legacy_init_one() 975 if (!io_addr || !ctrl_addr) in legacy_init_one() 990 ap->ioaddr.cmd_addr = io_addr; in legacy_init_one()
|
/drivers/parisc/ |
D | dino.c | 717 unsigned long io_addr; in dino_bridge_init() local 725 io_addr = __raw_readl(dino_dev->hba.base_addr + DINO_IO_ADDR_EN); in dino_bridge_init() 726 if (io_addr == 0) { in dino_bridge_init() 735 if((io_addr & (1 << i)) == 0) in dino_bridge_init()
|
/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 690 u64 io_addr; in iser_reg_page_vec() local 695 io_addr = page_list[0]; in iser_reg_page_vec() 700 io_addr); in iser_reg_page_vec() 711 mem_reg->va = io_addr; in iser_reg_page_vec()
|
/drivers/video/ |
D | offb.c | 373 u64 io_addr = of_translate_address(dp, io_of_addr); in offb_init_palette_hacks() local 374 if (io_addr != OF_BAD_ADDR) { in offb_init_palette_hacks() 375 par->cmap_adr = ioremap(io_addr + 0x3c8, 2); in offb_init_palette_hacks()
|
/drivers/staging/wlags49_h2/ |
D | hcf.c | 1120 hcf_io io_addr; in hcf_connect() local 1134 io_addr = ifbp->IFB_IOBase; in hcf_connect() 1137 io_addr = io_base; in hcf_connect() 1150 OUT_PORT_WORD( io_addr + HREG_CMD, HCMD_INI ); //OPW not yet useable in hcf_connect() 1152 HCF_WAIT_WHILE( (IN_PORT_WORD( io_addr + HREG_EV_STAT) & HREG_EV_CMD) == 0 ); in hcf_connect() 1153 …OUT_PORT_WORD( (io_addr + HREG_IO), HREG_IO_SRESET ); //OPW not yet useable /*… in hcf_connect() 1166 ifbp->IFB_IOBase = io_addr; //set IO_Base asap, so asserts via HREG_SW_2 don't harm in hcf_connect() 1199 HCFASSERT( (io_addr & 0x003F) == 0, io_addr ); in hcf_connect()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_roce.c | 51 dev_info.unmapped_db = adapter->roce_db.io_addr; in _be_roce_dev_add()
|
/drivers/cpufreq/ |
D | acpi-cpufreq.c | 258 struct io_addr { struct 268 struct io_addr io; argument
|
/drivers/net/ethernet/broadcom/ |
D | cnic.h | 183 u32 io_addr; member
|
/drivers/video/via/ |
D | hw.h | 358 u8 io_addr; member
|