Home
last modified time | relevance | path

Searched refs:io_addr (Results 1 – 25 of 39) sorted by relevance

12

/drivers/ide/
Dide-generic.c90 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/
Dpcwd.c184 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 …]
Dpcwd_pci.c126 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/usb/host/
Duhci-hcd.h385 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 …]
Duhci-pci.c28 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/bcma/
Dhost_soc.c18 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()
Dscan.c423 core->io_addr = ioremap_nocache(core->addr, BCMA_CORE_SIZE); in bcma_get_next_core()
424 if (!core->io_addr) in bcma_get_next_core()
430 iounmap(core->io_addr); in bcma_get_next_core()
Dmain.c121 if (core->io_addr) in bcma_release_core_dev()
122 iounmap(core->io_addr); in bcma_release_core_dev()
Ddriver_chipcommon.c355 ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA + in bcma_chipco_serial_init()
/drivers/scsi/
DBusLogic.c575 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 …]
DBusLogic.h233 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 …]
Dsim710.c182 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()
Dips.c2046 if (ha->io_addr) in ips_host_info()
2049 ha->io_addr, ha->io_len); in ips_host_info()
2297 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2301 if (inb(ha->io_addr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2304 outl(1, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2308 if (inb(ha->io_addr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2312 outl(0x1FF, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2316 major = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version()
2319 outl(0x1FE, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2323 minor = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version()
[all …]
/drivers/net/ethernet/davicom/
Ddm9000.c101 void __iomem *io_addr; /* Register I/O base address */ member
172 writeb(reg, db->io_addr); in ior()
183 writeb(reg, db->io_addr); in iow()
302 reg_save = readb(db->io_addr); in dm9000_phy_read()
310 writeb(reg_save, db->io_addr); in dm9000_phy_read()
316 reg_save = readb(db->io_addr); in dm9000_phy_read()
324 writeb(reg_save, db->io_addr); in dm9000_phy_read()
349 reg_save = readb(db->io_addr); in dm9000_phy_write()
361 writeb(reg_save, db->io_addr); in dm9000_phy_write()
367 reg_save = readb(db->io_addr); in dm9000_phy_write()
[all …]
/drivers/ata/
Dpata_pcmcia.c205 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()
Dpata_legacy.c957 void __iomem *io_addr, *ctrl_addr; in legacy_init_one() local
974 io_addr = devm_ioport_map(&pdev->dev, io, 8); in legacy_init_one()
976 if (!io_addr || !ctrl_addr) in legacy_init_one()
991 ap->ioaddr.cmd_addr = io_addr; in legacy_init_one()
/drivers/pci/host/
Dpcie-iproc-bcma.c57 pcie->base = bdev->io_addr; in iproc_pcie_bcma_probe()
/drivers/parisc/
Ddino.c744 unsigned long io_addr; in dino_bridge_init() local
752 io_addr = __raw_readl(dino_dev->hba.base_addr + DINO_IO_ADDR_EN); in dino_bridge_init()
753 if (io_addr == 0) { in dino_bridge_init()
762 if((io_addr & (1 << i)) == 0) in dino_bridge_init()
/drivers/video/fbdev/
Doffb.c377 u64 io_addr = of_translate_address(dp, io_of_addr); in offb_init_palette_hacks() local
378 if (io_addr != OF_BAD_ADDR) { in offb_init_palette_hacks()
379 par->cmap_adr = ioremap(io_addr + 0x3c8, 2); in offb_init_palette_hacks()
/drivers/net/ethernet/emulex/benet/
Dbe_roce.c57 dev_info.unmapped_db = adapter->roce_db.io_addr; in _be_roce_dev_add()
/drivers/cpufreq/
Dacpi-cpufreq.c255 struct io_addr { struct
265 struct io_addr io; argument
/drivers/net/ethernet/broadcom/
Dcnic.h184 u32 io_addr; member
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h443 u8 __iomem *io_addr; /* Mainly for iounmap use */ member
/drivers/video/fbdev/via/
Dhw.h358 u8 io_addr; member
/drivers/net/ethernet/intel/igb/
Digb.h392 u8 __iomem *io_addr; /* Mainly for iounmap use */ member

12