Home
last modified time | relevance | path

Searched refs:ahc_inb (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_core.c311 (void)ahc_inb(ahc, CCSCBCTL); in ahc_pause_bug_fix()
321 return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0); in ahc_is_paused()
359 if ((ahc_inb(ahc, INTSTAT) & (SCSIINT | SEQINT | BRKADRINT)) == 0) in ahc_unpause()
461 uint16_t r = ahc_inb(ahc, port+1) << 8; in ahc_inw()
462 return r | ahc_inb(ahc, port); in ahc_inw()
475 return ((ahc_inb(ahc, port)) in ahc_inl()
476 | (ahc_inb(ahc, port+1) << 8) in ahc_inl()
477 | (ahc_inb(ahc, port+2) << 16) in ahc_inl()
478 | (ahc_inb(ahc, port+3) << 24)); in ahc_inl()
493 return ((ahc_inb(ahc, port)) in ahc_inq()
[all …]
Daic7xxx_pci.c786 if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) { in ahc_pci_config()
789 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config()
791 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config()
792 sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN; in ahc_pci_config()
793 scsiseq = ahc_inb(ahc, SCSISEQ); in ahc_pci_config()
808 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config()
819 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config()
874 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_pci_config()
933 ahc->bus_softc.pci_softc.dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config()
934 ahc->bus_softc.pci_softc.dspcistatus = ahc_inb(ahc, DSPCISTATUS); in ahc_pci_config()
[all …]
Daic7770.c156 intdef = ahc_inb(ahc, INTDEF); in aic7770_config()
181 biosctrl = ahc_inb(ahc, HA_274_BIOSCTRL); in aic7770_config()
182 scsiconf = ahc_inb(ahc, SCSICONF); in aic7770_config()
183 scsiconf1 = ahc_inb(ahc, SCSICONF + 1); in aic7770_config()
205 if ((ahc_inb(ahc, HA_274_BIOSGLOBAL) & HA_274_EXTENDED_TRANS)) in aic7770_config()
225 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_config()
228 hostconf = ahc_inb(ahc, HOSTCONF); in aic7770_config()
260 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_chip_init()
Daic7xxx_93cx6.h84 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)
Daic7xxx_osm.c399 ahc_inb(struct ahc_softc * ahc, long port) in ahc_inb() function
448 *array++ = ahc_inb(ahc, port); in ahc_insb()
2189 if (disconnected && (ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) == 0) { in ahc_linux_queue_recovery_cmd()
2192 bus_scb = ahc_lookup_scb(ahc, ahc_inb(ahc, SCB_TAG)); in ahc_linux_queue_recovery_cmd()
2196 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
2197 && ahc_inb(ahc, SAVED_LUN) == SCB_GET_LUN(pending_scb)) in ahc_linux_queue_recovery_cmd()
2209 last_phase = ahc_inb(ahc, LASTPHASE); in ahc_linux_queue_recovery_cmd()
2210 saved_scbptr = ahc_inb(ahc, SCBPTR); in ahc_linux_queue_recovery_cmd()
2211 active_scb_index = ahc_inb(ahc, SCB_TAG); in ahc_linux_queue_recovery_cmd()
2212 saved_scsiid = ahc_inb(ahc, SAVED_SCSIID); in ahc_linux_queue_recovery_cmd()
[all …]
Daic7xxx_osm.h370 uint8_t ahc_inb(struct ahc_softc * ahc, long port);
509 ahc_inb(ahc, INTSTAT); in ahc_flush_device_writes()