Searched refs:ahc_inb (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 318 (void)ahc_inb(ahc, CCSCBCTL); in ahc_pause_bug_fix() 328 return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0); in ahc_is_paused() 366 if ((ahc_inb(ahc, INTSTAT) & (SCSIINT | SEQINT | BRKADRINT)) == 0) in ahc_unpause() 468 uint16_t r = ahc_inb(ahc, port+1) << 8; in ahc_inw() 469 return r | ahc_inb(ahc, port); in ahc_inw() 482 return ((ahc_inb(ahc, port)) in ahc_inl() 483 | (ahc_inb(ahc, port+1) << 8) in ahc_inl() 484 | (ahc_inb(ahc, port+2) << 16) in ahc_inl() 485 | (ahc_inb(ahc, port+3) << 24)); in ahc_inl() 500 return ((ahc_inb(ahc, port)) in ahc_inq() [all …]
|
D | aic7xxx_pci.c | 793 if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) { in ahc_pci_config() 796 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config() 798 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config() 799 sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN; in ahc_pci_config() 800 scsiseq = ahc_inb(ahc, SCSISEQ); in ahc_pci_config() 815 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config() 826 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config() 881 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_pci_config() 940 ahc->bus_softc.pci_softc.dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config() 941 ahc->bus_softc.pci_softc.dspcistatus = ahc_inb(ahc, DSPCISTATUS); in ahc_pci_config() [all …]
|
D | aic7770.c | 162 intdef = ahc_inb(ahc, INTDEF); in aic7770_config() 187 biosctrl = ahc_inb(ahc, HA_274_BIOSCTRL); in aic7770_config() 188 scsiconf = ahc_inb(ahc, SCSICONF); in aic7770_config() 189 scsiconf1 = ahc_inb(ahc, SCSICONF + 1); in aic7770_config() 211 if ((ahc_inb(ahc, HA_274_BIOSGLOBAL) & HA_274_EXTENDED_TRANS)) in aic7770_config() 231 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_config() 234 hostconf = ahc_inb(ahc, HOSTCONF); in aic7770_config() 266 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_chip_init()
|
D | aic7xxx_93cx6.h | 84 ahc_inb(sd->sd_ahc, sd->sd_control_offset) 92 ahc_inb(sd->sd_ahc, sd->sd_status_offset) 94 ahc_inb(sd->sd_ahc, sd->sd_dataout_offset)
|
D | aic7xxx_osm.c | 399 ahc_inb(struct ahc_softc * ahc, long port) in ahc_inb() function 448 *array++ = ahc_inb(ahc, port); in ahc_insb() 2192 if (disconnected && (ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) == 0) { in ahc_linux_queue_recovery_cmd() 2195 bus_scb = ahc_lookup_scb(ahc, ahc_inb(ahc, SCB_TAG)); in ahc_linux_queue_recovery_cmd() 2199 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd() 2200 && ahc_inb(ahc, SAVED_LUN) == SCB_GET_LUN(pending_scb)) in ahc_linux_queue_recovery_cmd() 2212 last_phase = ahc_inb(ahc, LASTPHASE); in ahc_linux_queue_recovery_cmd() 2213 saved_scbptr = ahc_inb(ahc, SCBPTR); in ahc_linux_queue_recovery_cmd() 2214 active_scb_index = ahc_inb(ahc, SCB_TAG); in ahc_linux_queue_recovery_cmd() 2215 saved_scsiid = ahc_inb(ahc, SAVED_SCSIID); in ahc_linux_queue_recovery_cmd() [all …]
|
D | aic7xxx_osm.h | 375 uint8_t ahc_inb(struct ahc_softc * ahc, long port); 514 ahc_inb(ahc, INTSTAT); in ahc_flush_device_writes()
|