Home
last modified time | relevance | path

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

12

/drivers/watchdog/
Dpcwd.c185 int io_addr; /* The cards I/O address */ member
229 outb_p(control_status, pcwd_private.io_addr + 2); in send_isa_command()
232 port0 = inb_p(pcwd_private.io_addr); in send_isa_command()
235 port0 = inb_p(pcwd_private.io_addr); in send_isa_command()
263 outb_p(0x00, pcwd_private.io_addr + 2); in set_command_mode()
265 outb_p(0x00, pcwd_private.io_addr + 2); in set_command_mode()
283 outb_p(0x00, pcwd_private.io_addr + 2); in unset_command_mode()
295 if (inb(pcwd_private.io_addr) != 0xF0) in pcwd_check_temperature_support()
338 pcwd_private.io_addr); in pcwd_show_card_info()
342 pcwd_private.io_addr, pcwd_private.fw_ver_str); in pcwd_show_card_info()
[all …]
Dpcwd_pci.c122 unsigned long io_addr; member
169 outb_p(*lsb, pcipcwd_private.io_addr + 4); in send_command()
170 outb_p(*msb, pcipcwd_private.io_addr + 5); in send_command()
171 outb_p(cmd, pcipcwd_private.io_addr + 6); in send_command()
176 got_response = inb_p(pcipcwd_private.io_addr + 2) & WD_PCI_WRSP; in send_command()
180 got_response = inb_p(pcipcwd_private.io_addr + 2) & WD_PCI_WRSP; in send_command()
194 *lsb = inb_p(pcipcwd_private.io_addr + 4); in send_command()
195 *msb = inb_p(pcipcwd_private.io_addr + 5); in send_command()
198 inb_p(pcipcwd_private.io_addr + 6); in send_command()
212 if (inb_p(pcipcwd_private.io_addr) != 0xF0) in pcipcwd_check_temperature_support()
[all …]
/drivers/platform/chrome/
Dcros_ec_lpc_mec.c77 int io_addr; in cros_ec_lpc_io_bytes_mec() local
101 io_addr = MEC_EMI_EC_DATA_B0(mec_emi_base) + (offset & 0x3); in cros_ec_lpc_io_bytes_mec()
103 while (io_addr <= MEC_EMI_EC_DATA_B3(mec_emi_base)) { in cros_ec_lpc_io_bytes_mec()
105 buf[i] = inb(io_addr++); in cros_ec_lpc_io_bytes_mec()
107 outb(buf[i], io_addr++); in cros_ec_lpc_io_bytes_mec()
133 io_addr = MEC_EMI_EC_DATA_B0(mec_emi_base); in cros_ec_lpc_io_bytes_mec()
/drivers/usb/host/
Duhci-hcd.h385 unsigned long io_addr; member
512 return inl(uhci->io_addr + reg); in uhci_readl()
517 outl(val, uhci->io_addr + reg); in uhci_writel()
522 return inw(uhci->io_addr + reg); in uhci_readw()
527 outw(val, uhci->io_addr + reg); in uhci_writew()
532 return inb(uhci->io_addr + reg); in uhci_readb()
537 outb(val, uhci->io_addr + reg); in uhci_writeb()
544 #define uhci_has_pci_registers(u) ((u)->io_addr != 0)
590 return inl(uhci->io_addr + reg); in uhci_readl()
604 outl(val, uhci->io_addr + reg); in uhci_writel()
[all …]
Duhci-pci.c29 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/
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.c422 core->io_addr = ioremap(core->addr, BCMA_CORE_SIZE); in bcma_get_next_core()
423 if (!core->io_addr) in bcma_get_next_core()
429 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.c414 ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA + in bcma_chipco_serial_init()
/drivers/scsi/
DBusLogic.c635 pr_probeinfo->io_addr = 0; in blogic_init_mm_probeinfo()
647 unsigned long io_addr; in blogic_init_mm_probeinfo() local
659 io_addr = base_addr0 = pci_resource_start(pci_device, 0); in blogic_init_mm_probeinfo()
664 blogic_err("at PCI Bus %d Device %d I/O Address 0x%lX\n", NULL, bus, device, io_addr); in blogic_init_mm_probeinfo()
674 blogic_err("at PCI Bus %d Device %d I/O Address 0x%lX\n", NULL, bus, device, io_addr); in blogic_init_mm_probeinfo()
679 …PCI Bus %d Device %d I/O Address 0x%lX PCI Address 0x%lX\n", NULL, bus, device, io_addr, pci_addr); in blogic_init_mm_probeinfo()
687 host_adapter->io_addr = io_addr; in blogic_init_mm_probeinfo()
741 pr_probeinfo->io_addr = io_addr; in blogic_init_mm_probeinfo()
753 probeinfo->io_addr = io_addr; in blogic_init_mm_probeinfo()
789 unsigned long io_addr; in blogic_init_mm_probeinfo() local
[all …]
DBusLogic.h226 unsigned long io_addr; member
982 unsigned long io_addr; member
1123 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_busreset()
1131 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_intreset()
1139 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_softreset()
1147 outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); in blogic_hardreset()
1152 return inb(adapter->io_addr + BLOGIC_STATUS_REG); in blogic_rdstatus()
1158 outb(value, adapter->io_addr + BLOGIC_CMD_PARM_REG); in blogic_setcmdparam()
1163 return inb(adapter->io_addr + BLOGIC_DATAIN_REG); in blogic_rddatain()
1168 return inb(adapter->io_addr + BLOGIC_INT_REG); in blogic_rdint()
[all …]
Dsim710.c169 unsigned long io_addr = edev->base_addr; in sim710_eisa_probe() local
179 irq_index = (inb(io_addr + 0xc85) & 0x7) - 1; in sim710_eisa_probe()
181 val = inb(io_addr + 0x4); in sim710_eisa_probe()
190 irq_index = inb(io_addr + 0xc88) & 0x07; in sim710_eisa_probe()
200 return sim710_probe_common(dev, io_addr, irq, 50, in sim710_eisa_probe()
Dips.c2043 if (ha->io_addr) in ips_host_info()
2046 ha->io_addr, ha->io_len); in ips_host_info()
2291 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2295 if (inb(ha->io_addr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2298 outl(1, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2302 if (inb(ha->io_addr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2306 outl(0x1FF, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2310 major = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version()
2313 outl(0x1FE, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2317 minor = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version()
[all …]
Dmyrb.c1155 if (cb->io_addr == 0) in myrb_get_hba_config()
1162 (unsigned long)cb->io_addr, (unsigned long)cb->pci_addr, in myrb_get_hba_config()
1248 if (cb->io_addr) in myrb_cleanup()
1249 release_region(cb->io_addr, 0x80); in myrb_cleanup()
3113 if (!request_region(cb->io_addr, 0x80, "myrb")) { in DAC960_PD_hw_init()
3115 (unsigned long)cb->io_addr); in DAC960_PD_hw_init()
3279 if (!request_region(cb->io_addr, 0x80, "myrb")) { in DAC960_P_hw_init()
3281 (unsigned long)cb->io_addr); in DAC960_P_hw_init()
3423 cb->io_addr = pci_resource_start(pdev, 0); in myrb_detect()
/drivers/net/ethernet/davicom/
Ddm9000.c91 void __iomem *io_addr; /* Register I/O base address */ member
161 writeb(reg, db->io_addr); in ior()
172 writeb(reg, db->io_addr); in iow()
288 reg_save = readb(db->io_addr); in dm9000_phy_read()
296 writeb(reg_save, db->io_addr); in dm9000_phy_read()
302 reg_save = readb(db->io_addr); in dm9000_phy_read()
310 writeb(reg_save, db->io_addr); in dm9000_phy_read()
335 reg_save = readb(db->io_addr); in dm9000_phy_write()
347 writeb(reg_save, db->io_addr); in dm9000_phy_write()
353 reg_save = readb(db->io_addr); in dm9000_phy_write()
[all …]
/drivers/ata/
Dpata_pcmcia.c192 void __iomem *io_addr, *ctl_addr; in pcmcia_init_one() local
226 io_addr = devm_ioport_map(&pdev->dev, io_base, 8); in pcmcia_init_one()
228 if (!io_addr || !ctl_addr) in pcmcia_init_one()
258 ap->ioaddr.cmd_addr = io_addr + 0x10 * p; in pcmcia_init_one()
Dpata_legacy.c984 void __iomem *io_addr, *ctrl_addr; in legacy_init_one() local
1001 io_addr = devm_ioport_map(&pdev->dev, io, 8); in legacy_init_one()
1003 if (!io_addr || !ctrl_addr) in legacy_init_one()
1018 ap->ioaddr.cmd_addr = io_addr; in legacy_init_one()
/drivers/parisc/
Ddino.c769 unsigned long io_addr; in dino_bridge_init() local
777 io_addr = __raw_readl(dino_dev->hba.base_addr + DINO_IO_ADDR_EN); in dino_bridge_init()
778 if (io_addr == 0) { in dino_bridge_init()
787 if((io_addr & (1 << i)) == 0) in dino_bridge_init()
/drivers/pci/controller/
Dpcie-iproc-bcma.c50 pcie->base = bdev->io_addr; in iproc_pcie_bcma_probe()
/drivers/video/fbdev/
Doffb.c376 u64 io_addr = of_translate_address(dp, io_of_addr); in offb_init_palette_hacks() local
377 if (io_addr != OF_BAD_ADDR) { in offb_init_palette_hacks()
378 par->cmap_adr = ioremap(io_addr + 0x3c8, 2); in offb_init_palette_hacks()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.h86 u64 io_addr; member
/drivers/net/ethernet/emulex/benet/
Dbe_roce.c53 dev_info.unmapped_db = adapter->roce_db.io_addr; in _be_roce_dev_add()
/drivers/net/ethernet/broadcom/
Dcnic.h184 u32 io_addr; member
/drivers/video/fbdev/via/
Dhw.h344 u8 io_addr; member
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h377 u8 __iomem *io_addr; /* Mainly for iounmap use */ member

12