Lines Matching refs:ahc_inb
786 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()
938 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config()
940 ahc->bus_softc.pci_softc.optionmode = ahc_inb(ahc, OPTIONMODE); in ahc_pci_config()
944 ahc_inb(ahc, CRCCONTROL1); in ahc_pci_config()
947 ahc->bus_softc.pci_softc.scbbaddr = ahc_inb(ahc, SCBBADDR); in ahc_pci_config()
950 ahc->bus_softc.pci_softc.dff_thrsh = ahc_inb(ahc, DFF_THRSH); in ahc_pci_config()
982 ramps = (ahc_inb(ahc, DSCOMMAND0) & RAMPS) != 0; in ahc_ext_scbram_present()
1025 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_scbram_config()
1104 if ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0 in ahc_probe_ext_scbram()
1105 || (ahc_inb(ahc, ERROR) & MPARERR) == 0) in ahc_probe_ext_scbram()
1116 && ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0 in ahc_probe_ext_scbram()
1117 || (ahc_inb(ahc, ERROR) & MPARERR) == 0)) in ahc_probe_ext_scbram()
1189 hcntrl = ahc_inb(ahc, HCNTRL); in ahc_pci_test_register_access()
1329 if (ahc_inb(ahc, SCB_BASE) == 'A' in check_extport()
1330 && ahc_inb(ahc, SCB_BASE + 1) == 'D' in check_extport()
1331 && ahc_inb(ahc, SCB_BASE + 2) == 'P' in check_extport()
1332 && ahc_inb(ahc, SCB_BASE + 3) == 'T') { in check_extport()
1341 *sc_data = ahc_inb(ahc, SRAM_BASE + j) in check_extport()
1342 | ahc_inb(ahc, SRAM_BASE + j + 1) << 8; in check_extport()
1381 if ((ahc_inb(ahc, SPIOCAP) & SSPIOCPS) == 0) in check_extport()
1815 spiocap = ahc_inb(ahc, SPIOCAP); in aic785X_cable_detect()
1825 brdctl = ahc_inb(ahc, BRDCTL); in aic785X_cable_detect()
1828 *eeprom_present = (ahc_inb(ahc, SPIOCAP) & EEPROM) ? 1 : 0; in aic785X_cable_detect()
1837 && (ahc_inb(ahc, SPIOCAP) & SEEPROM) == 0) in ahc_acquire_seeprom()
1915 value = ahc_inb(ahc, BRDCTL); in read_brdctl()
1926 error = ahc_inb(ahc, ERROR); in ahc_pci_intr()
1935 ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8)); in ahc_pci_intr()
1994 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_chip_init()