/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/platform/chrome/ |
D | cros_ec_lpc_mec.c | 69 int io_addr; in cros_ec_lpc_io_bytes_mec() local 88 io_addr = MEC_EMI_EC_DATA_B0 + (offset & 0x3); in cros_ec_lpc_io_bytes_mec() 90 while (io_addr <= MEC_EMI_EC_DATA_B3) { in cros_ec_lpc_io_bytes_mec() 92 buf[i] = inb(io_addr++); in cros_ec_lpc_io_bytes_mec() 94 outb(buf[i], io_addr++); in cros_ec_lpc_io_bytes_mec() 120 io_addr = MEC_EMI_EC_DATA_B0; in cros_ec_lpc_io_bytes_mec()
|
/drivers/usb/host/ |
D | uhci-hcd.h | 388 unsigned long io_addr; member 513 return inl(uhci->io_addr + reg); in uhci_readl() 518 outl(val, uhci->io_addr + reg); in uhci_writel() 523 return inw(uhci->io_addr + reg); in uhci_readw() 528 outw(val, uhci->io_addr + reg); in uhci_writew() 533 return inb(uhci->io_addr + reg); in uhci_readb() 538 outb(val, uhci->io_addr + reg); in uhci_writeb() 545 #define uhci_has_pci_registers(u) ((u)->io_addr != 0) 591 return inl(uhci->io_addr + reg); in uhci_readl() 605 outl(val, uhci->io_addr + reg); in uhci_writel() [all …]
|
D | uhci-pci.c | 29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() 41 uhci->io_addr); in uhci_pci_check_and_reset_hc() 83 if (inw(uhci->io_addr + USBPORTSC1 + port * 2) & in uhci_pci_resume_detect_interrupts_are_broken() 105 if (inw(uhci->io_addr + USBPORTSC1 + port * 2) & in uhci_pci_global_suspend_mode_is_broken() 118 uhci->io_addr = (unsigned long) hcd->rsrc_start; in uhci_pci_init()
|
/drivers/bcma/ |
D | host_soc.c | 18 return readb(core->io_addr + offset); in bcma_host_soc_read8() 23 return readw(core->io_addr + offset); in bcma_host_soc_read16() 28 return readl(core->io_addr + offset); in bcma_host_soc_read32() 34 writeb(value, core->io_addr + offset); in bcma_host_soc_write8() 40 writew(value, core->io_addr + offset); in bcma_host_soc_write16() 46 writel(value, core->io_addr + offset); in bcma_host_soc_write32() 53 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_read() 97 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_write()
|
D | scan.c | 428 core->io_addr = ioremap_nocache(core->addr, BCMA_CORE_SIZE); in bcma_get_next_core() 429 if (!core->io_addr) in bcma_get_next_core() 435 iounmap(core->io_addr); in bcma_get_next_core()
|
D | main.c | 121 if (core->io_addr) in bcma_release_core_dev() 122 iounmap(core->io_addr); in bcma_release_core_dev()
|
/drivers/scsi/ |
D | BusLogic.c | 575 static void __init blogic_add_probeaddr_isa(unsigned long io_addr) in blogic_add_probeaddr_isa() argument 583 probeinfo->io_addr = io_addr; in blogic_add_probeaddr_isa() 697 pr_probeinfo->io_addr = 0; in blogic_init_mm_probeinfo() 709 unsigned long io_addr; in blogic_init_mm_probeinfo() local 721 io_addr = base_addr0 = pci_resource_start(pci_device, 0); in blogic_init_mm_probeinfo() 726 blogic_err("at PCI Bus %d Device %d I/O Address 0x%X\n", NULL, bus, device, io_addr); in blogic_init_mm_probeinfo() 736 blogic_err("at PCI Bus %d Device %d I/O Address 0x%X\n", NULL, bus, device, io_addr); in blogic_init_mm_probeinfo() 741 …CI Bus %d Device %d I/O Address " "0x%X PCI Address 0x%X\n", NULL, bus, device, io_addr, pci_addr); in blogic_init_mm_probeinfo() 749 host_adapter->io_addr = io_addr; in blogic_init_mm_probeinfo() 806 pr_probeinfo->io_addr = io_addr; in blogic_init_mm_probeinfo() [all …]
|
D | BusLogic.h | 233 unsigned long io_addr; member 997 unsigned long io_addr; member 1141 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_busreset() 1149 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_intreset() 1157 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_softreset() 1165 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_hardreset() 1170 return inb(adapter->io_addr + BLOGIC_STATUS_REG); in blogic_rdstatus() 1176 outb(value, adapter->io_addr + BLOGIC_CMD_PARM_REG); in blogic_setcmdparam() 1181 return inb(adapter->io_addr + BLOGIC_DATAIN_REG); in blogic_rddatain() 1186 return inb(adapter->io_addr + BLOGIC_INT_REG); in blogic_rdint() [all …]
|
D | sim710.c | 182 unsigned long io_addr = edev->base_addr; in sim710_eisa_probe() local 192 irq_index = (inb(io_addr + 0xc85) & 0x7) - 1; in sim710_eisa_probe() 194 val = inb(io_addr + 0x4); in sim710_eisa_probe() 203 irq_index = inb(io_addr + 0xc88) & 0x07; in sim710_eisa_probe() 213 return sim710_probe_common(dev, io_addr, irq, 50, in sim710_eisa_probe()
|
D | ips.c | 2046 if (ha->io_addr) in ips_host_info() 2049 ha->io_addr, ha->io_len); in ips_host_info() 2294 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2298 if (inb(ha->io_addr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version() 2301 outl(1, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2305 if (inb(ha->io_addr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version() 2309 outl(0x1FF, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2313 major = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version() 2316 outl(0x1FE, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version() 2320 minor = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version() [all …]
|
/drivers/net/ethernet/davicom/ |
D | dm9000.c | 101 void __iomem *io_addr; /* Register I/O base address */ member 169 writeb(reg, db->io_addr); in ior() 180 writeb(reg, db->io_addr); in iow() 299 reg_save = readb(db->io_addr); in dm9000_phy_read() 307 writeb(reg_save, db->io_addr); in dm9000_phy_read() 313 reg_save = readb(db->io_addr); in dm9000_phy_read() 321 writeb(reg_save, db->io_addr); in dm9000_phy_read() 346 reg_save = readb(db->io_addr); in dm9000_phy_write() 358 writeb(reg_save, db->io_addr); in dm9000_phy_write() 364 reg_save = readb(db->io_addr); in dm9000_phy_write() [all …]
|
/drivers/ata/ |
D | pata_pcmcia.c | 205 void __iomem *io_addr, *ctl_addr; in pcmcia_init_one() local 239 io_addr = devm_ioport_map(&pdev->dev, io_base, 8); in pcmcia_init_one() 241 if (!io_addr || !ctl_addr) in pcmcia_init_one() 271 ap->ioaddr.cmd_addr = io_addr + 0x10 * p; in pcmcia_init_one()
|
D | pata_legacy.c | 958 void __iomem *io_addr, *ctrl_addr; in legacy_init_one() local 975 io_addr = devm_ioport_map(&pdev->dev, io, 8); in legacy_init_one() 977 if (!io_addr || !ctrl_addr) in legacy_init_one() 992 ap->ioaddr.cmd_addr = io_addr; in legacy_init_one()
|
/drivers/parisc/ |
D | dino.c | 746 unsigned long io_addr; in dino_bridge_init() local 754 io_addr = __raw_readl(dino_dev->hba.base_addr + DINO_IO_ADDR_EN); in dino_bridge_init() 755 if (io_addr == 0) { in dino_bridge_init() 764 if((io_addr & (1 << i)) == 0) in dino_bridge_init()
|
/drivers/pci/host/ |
D | pcie-iproc-bcma.c | 60 pcie->base = bdev->io_addr; in iproc_pcie_bcma_probe()
|
/drivers/video/fbdev/ |
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/net/ethernet/emulex/benet/ |
D | be_roce.c | 57 dev_info.unmapped_db = adapter->roce_db.io_addr; in _be_roce_dev_add()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 312 u8 __iomem *io_addr; /* Mainly for iounmap use */ member
|
D | ixgbevf_main.c | 1541 ring->tail = adapter->io_addr + IXGBE_VFTDT(reg_idx); in ixgbevf_configure_tx_ring() 1751 ring->tail = adapter->io_addr + IXGBE_VFRDT(reg_idx); in ixgbevf_configure_rx_ring() 3841 adapter->hw.hw_addr = adapter->io_addr; in ixgbevf_resume() 4035 adapter->io_addr = hw->hw_addr; in ixgbevf_probe() 4168 iounmap(adapter->io_addr); in ixgbevf_probe() 4211 iounmap(adapter->io_addr); in ixgbevf_remove() 4278 adapter->hw.hw_addr = adapter->io_addr; in ixgbevf_io_slot_reset()
|
/drivers/net/ethernet/broadcom/ |
D | cnic.h | 184 u32 io_addr; member
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 113 u8 __iomem *io_addr; member
|
/drivers/video/fbdev/via/ |
D | hw.h | 358 u8 io_addr; member
|