Lines Matching refs:ahc_inb

866 	if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) {  in ahc_pci_config()
869 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID; in ahc_pci_config()
871 our_id = ahc_inb(ahc, SCSIID) & OID; in ahc_pci_config()
872 sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN; in ahc_pci_config()
873 scsiseq = ahc_inb(ahc, SCSISEQ); in ahc_pci_config()
888 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config()
899 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()
1018 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config()
1020 ahc->bus_softc.pci_softc.optionmode = ahc_inb(ahc, OPTIONMODE); in ahc_pci_config()
1024 ahc_inb(ahc, CRCCONTROL1); in ahc_pci_config()
1027 ahc->bus_softc.pci_softc.scbbaddr = ahc_inb(ahc, SCBBADDR); in ahc_pci_config()
1030 ahc->bus_softc.pci_softc.dff_thrsh = ahc_inb(ahc, DFF_THRSH); in ahc_pci_config()
1071 ramps = (ahc_inb(ahc, DSCOMMAND0) & RAMPS) != 0; in ahc_ext_scbram_present()
1114 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_scbram_config()
1193 if ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0 in ahc_probe_ext_scbram()
1194 || (ahc_inb(ahc, ERROR) & MPARERR) == 0) in ahc_probe_ext_scbram()
1205 && ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0 in ahc_probe_ext_scbram()
1206 || (ahc_inb(ahc, ERROR) & MPARERR) == 0)) in ahc_probe_ext_scbram()
1278 hcntrl = ahc_inb(ahc, HCNTRL); in ahc_pci_test_register_access()
1404 if (ahc_inb(ahc, SCB_BASE) == 'A' in check_extport()
1405 && ahc_inb(ahc, SCB_BASE + 1) == 'D' in check_extport()
1406 && ahc_inb(ahc, SCB_BASE + 2) == 'P' in check_extport()
1407 && ahc_inb(ahc, SCB_BASE + 3) == 'T') { in check_extport()
1416 *sc_data = ahc_inb(ahc, SRAM_BASE + j) in check_extport()
1417 | ahc_inb(ahc, SRAM_BASE + j + 1) << 8; in check_extport()
1456 if ((ahc_inb(ahc, SPIOCAP) & SSPIOCPS) == 0) in check_extport()
1890 spiocap = ahc_inb(ahc, SPIOCAP); in aic785X_cable_detect()
1900 brdctl = ahc_inb(ahc, BRDCTL); in aic785X_cable_detect()
1903 *eeprom_present = (ahc_inb(ahc, SPIOCAP) & EEPROM) ? 1 : 0; in aic785X_cable_detect()
1912 && (ahc_inb(ahc, SPIOCAP) & SEEPROM) == 0) in ahc_acquire_seeprom()
1990 value = ahc_inb(ahc, BRDCTL); in read_brdctl()
2001 error = ahc_inb(ahc, ERROR); in ahc_pci_intr()
2010 ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8)); in ahc_pci_intr()
2069 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_chip_init()