Searched refs:ahc_inb (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13-stable/sys/dev/aic7xxx/ |
| HD | aic7xxx.c | 263 ahc_outb(ahc, SXFRCTL1, ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET); in ahc_restart() 279 ahc_inb(ahc, SCSISEQ_TEMPLATE) & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_restart() 291 if ((ahc_inb(ahc, SEQ_FLAGS2) & SCB_DMA) != 0) { in ahc_restart() 294 ahc_inb(ahc, SEQ_FLAGS2) & ~SCB_DMA); in ahc_restart() 398 error = ahc_inb(ahc, ERROR); in ahc_handle_brkadrint() 403 ahc_inb(ahc, SEQADDR0) | in ahc_handle_brkadrint() 404 (ahc_inb(ahc, SEQADDR1) << 8)); in ahc_handle_brkadrint() 454 scb_index = ahc_inb(ahc, SCB_TAG); in ahc_handle_seqint() 602 ahc_inb(ahc, SCSISEQ) & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_handle_seqint() 609 ahc_inb(ahc, SAVED_SCSIID), ahc_inb(ahc, SAVED_LUN), in ahc_handle_seqint() [all …]
|
| HD | aic7xxx_inline.h | 66 (void)ahc_inb(ahc, CCSCBCTL); in ahc_pause_bug_fix() 76 return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0); in ahc_is_paused() 114 if ((ahc_inb(ahc, INTSTAT) & (SCSIINT | SEQINT | BRKADRINT)) == 0) in ahc_unpause() 303 return ((ahc_inb(ahc, port+1) << 8) | ahc_inb(ahc, port)); in ahc_inw() 316 return ((ahc_inb(ahc, port)) in ahc_inl() 317 | (ahc_inb(ahc, port+1) << 8) in ahc_inl() 318 | (ahc_inb(ahc, port+2) << 16) in ahc_inl() 319 | (ahc_inb(ahc, port+3) << 24)); in ahc_inl() 334 return ((ahc_inb(ahc, port)) in ahc_inq() 335 | (ahc_inb(ahc, port+1) << 8) in ahc_inq() [all …]
|
| HD | aic7xxx_pci.c | 868 if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) { in ahc_pci_config() 871 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config() 873 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config() 874 sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN; in ahc_pci_config() 875 scsiseq = ahc_inb(ahc, SCSISEQ); in ahc_pci_config() 890 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config() 901 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config() 954 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_pci_config() 1013 ahc->bus_softc.pci_softc.dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_pci_config() 1014 ahc->bus_softc.pci_softc.dspcistatus = ahc_inb(ahc, DSPCISTATUS); in ahc_pci_config() [all …]
|
| HD | aic7770.c | 167 intdef = ahc_inb(ahc, INTDEF); in aic7770_config() 192 biosctrl = ahc_inb(ahc, HA_274_BIOSCTRL); in aic7770_config() 193 scsiconf = ahc_inb(ahc, SCSICONF); in aic7770_config() 194 scsiconf1 = ahc_inb(ahc, SCSICONF + 1); in aic7770_config() 216 if ((ahc_inb(ahc, HA_274_BIOSGLOBAL) & HA_274_EXTENDED_TRANS)) in aic7770_config() 236 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_config() 239 hostconf = ahc_inb(ahc, HOSTCONF); in aic7770_config() 278 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS); in aic7770_chip_init()
|
| HD | 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)
|
| HD | aic7xxx_osm.h | 149 #define ahc_inb(ahc, port) \ macro 167 ahc_inb(ahc, INTSTAT); in ahc_flush_device_writes()
|