Lines Matching refs:io_addr
2043 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()
2320 outl(0x1FD, ha->io_addr + IPS_REG_FLAP); in ips_get_bios_version()
2324 subminor = inb(ha->io_addr + IPS_REG_FLDP); in ips_get_bios_version()
4482 isr = inb(ha->io_addr + IPS_REG_HISR); in ips_isinit_copperhead()
4483 scpr = inb(ha->io_addr + IPS_REG_SCPR); in ips_isinit_copperhead()
4650 outb(ha->io_addr + IPS_REG_HISR, IPS_BIT_EI); in ips_enable_int_copperhead()
4651 inb(ha->io_addr + IPS_REG_HISR); /*Ensure PCI Posting Completes*/ in ips_enable_int_copperhead()
4713 Isr = inb(ha->io_addr + IPS_REG_HISR); in ips_init_copperhead()
4725 PostByte[i] = inb(ha->io_addr + IPS_REG_ISPR); in ips_init_copperhead()
4726 outb(Isr, ha->io_addr + IPS_REG_HISR); in ips_init_copperhead()
4739 Isr = inb(ha->io_addr + IPS_REG_HISR); in ips_init_copperhead()
4751 inb(ha->io_addr + IPS_REG_ISPR); in ips_init_copperhead()
4752 outb(Isr, ha->io_addr + IPS_REG_HISR); in ips_init_copperhead()
4756 Cbsp = inb(ha->io_addr + IPS_REG_CBSP); in ips_init_copperhead()
4770 outl(0x1010, ha->io_addr + IPS_REG_CCCR); in ips_init_copperhead()
4773 outb(IPS_BIT_EBM, ha->io_addr + IPS_REG_SCPR); in ips_init_copperhead()
4777 outl(0, ha->io_addr + IPS_REG_NDAE); in ips_init_copperhead()
4780 outb(IPS_BIT_EI, ha->io_addr + IPS_REG_HISR); in ips_init_copperhead()
5013 ips_name, ha->host_num, ha->io_addr, ha->pcidev->irq); in ips_reset_copperhead()
5020 outb(IPS_BIT_RST, ha->io_addr + IPS_REG_SCPR); in ips_reset_copperhead()
5025 outb(0, ha->io_addr + IPS_REG_SCPR); in ips_reset_copperhead()
5151 outl(phys_status_start, ha->io_addr + IPS_REG_SQSR); in ips_statinit()
5153 ha->io_addr + IPS_REG_SQER); in ips_statinit()
5155 ha->io_addr + IPS_REG_SQHR); in ips_statinit()
5156 outl(phys_status_start, ha->io_addr + IPS_REG_SQTR); in ips_statinit()
5214 ha->io_addr + IPS_REG_SQTR); in ips_statupd_copperhead()
5299 le32_to_cpu(inl(ha->io_addr + IPS_REG_CCCR))) & IPS_BIT_SEM) { in ips_issue_copperhead()
5315 outl(scb->scb_busaddr, ha->io_addr + IPS_REG_CCSAR); in ips_issue_copperhead()
5316 outw(IPS_BIT_START_CMD, ha->io_addr + IPS_REG_CCCR); in ips_issue_copperhead()
5401 outl(scb->scb_busaddr, ha->io_addr + IPS_REG_I2O_INMSGQ); in ips_issue_i2o()
5454 Isr = inb(ha->io_addr + IPS_REG_HISR); in ips_isintr_copperhead()
5465 outb(Isr, ha->io_addr + IPS_REG_HISR); in ips_isintr_copperhead()
6028 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_erase_bios()
6032 outb(0x50, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6037 outb(0x20, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6042 outb(0xD0, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6047 outb(0x70, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6055 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_erase_bios()
6059 status = inb(ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6073 outb(0xB0, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6081 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_erase_bios()
6085 status = inb(ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6109 outb(0x50, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6114 outb(0xFF, ha->io_addr + IPS_REG_FLDP); in ips_erase_bios()
6255 outl(i + offset, ha->io_addr + IPS_REG_FLAP); in ips_program_bios()
6259 outb(0x40, ha->io_addr + IPS_REG_FLDP); in ips_program_bios()
6263 outb(buffer[i], ha->io_addr + IPS_REG_FLDP); in ips_program_bios()
6271 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_program_bios()
6275 status = inb(ha->io_addr + IPS_REG_FLDP); in ips_program_bios()
6286 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_program_bios()
6290 outb(0xFF, ha->io_addr + IPS_REG_FLDP); in ips_program_bios()
6300 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_program_bios()
6304 outb(0xFF, ha->io_addr + IPS_REG_FLDP); in ips_program_bios()
6313 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_program_bios()
6317 outb(0xFF, ha->io_addr + IPS_REG_FLDP); in ips_program_bios()
6433 outl(0, ha->io_addr + IPS_REG_FLAP); in ips_verify_bios()
6437 if (inb(ha->io_addr + IPS_REG_FLDP) != 0x55) in ips_verify_bios()
6440 outl(1, ha->io_addr + IPS_REG_FLAP); in ips_verify_bios()
6443 if (inb(ha->io_addr + IPS_REG_FLDP) != 0xAA) in ips_verify_bios()
6449 outl(i + offset, ha->io_addr + IPS_REG_FLAP); in ips_verify_bios()
6453 checksum = (uint8_t) checksum + inb(ha->io_addr + IPS_REG_FLDP); in ips_verify_bios()
6681 sh->unique_id = (ha->io_addr) ? ha->io_addr : ha->mem_addr; in ips_register_scsi()
6839 uint32_t io_addr; in ips_init_phase1() local
6864 io_addr = 0; in ips_init_phase1()
6873 io_addr = pci_resource_start(pci_dev, j); in ips_init_phase1()
6910 ha->io_addr = io_addr; in ips_init_phase1()