Lines Matching refs:ahc_inb
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()
945 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_config()
947 ahc->bus_softc.pci_softc.optionmode = ahc_inb(ahc, OPTIONMODE); in ahc_pci_config()
951 ahc_inb(ahc, CRCCONTROL1); in ahc_pci_config()
954 ahc->bus_softc.pci_softc.scbbaddr = ahc_inb(ahc, SCBBADDR); in ahc_pci_config()
957 ahc->bus_softc.pci_softc.dff_thrsh = ahc_inb(ahc, DFF_THRSH); in ahc_pci_config()
989 ramps = (ahc_inb(ahc, DSCOMMAND0) & RAMPS) != 0; in ahc_ext_scbram_present()
1032 dscommand0 = ahc_inb(ahc, DSCOMMAND0); in ahc_scbram_config()
1111 if ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0 in ahc_probe_ext_scbram()
1112 || (ahc_inb(ahc, ERROR) & MPARERR) == 0) in ahc_probe_ext_scbram()
1123 && ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0 in ahc_probe_ext_scbram()
1124 || (ahc_inb(ahc, ERROR) & MPARERR) == 0)) in ahc_probe_ext_scbram()
1196 hcntrl = ahc_inb(ahc, HCNTRL); in ahc_pci_test_register_access()
1336 if (ahc_inb(ahc, SCB_BASE) == 'A' in check_extport()
1337 && ahc_inb(ahc, SCB_BASE + 1) == 'D' in check_extport()
1338 && ahc_inb(ahc, SCB_BASE + 2) == 'P' in check_extport()
1339 && ahc_inb(ahc, SCB_BASE + 3) == 'T') { in check_extport()
1348 *sc_data = ahc_inb(ahc, SRAM_BASE + j) in check_extport()
1349 | ahc_inb(ahc, SRAM_BASE + j + 1) << 8; in check_extport()
1388 if ((ahc_inb(ahc, SPIOCAP) & SSPIOCPS) == 0) in check_extport()
1822 spiocap = ahc_inb(ahc, SPIOCAP); in aic785X_cable_detect()
1832 brdctl = ahc_inb(ahc, BRDCTL); in aic785X_cable_detect()
1835 *eeprom_present = (ahc_inb(ahc, SPIOCAP) & EEPROM) ? 1 : 0; in aic785X_cable_detect()
1844 && (ahc_inb(ahc, SPIOCAP) & SEEPROM) == 0) in ahc_acquire_seeprom()
1922 value = ahc_inb(ahc, BRDCTL); in read_brdctl()
1933 error = ahc_inb(ahc, ERROR); in ahc_pci_intr()
1942 ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8)); in ahc_pci_intr()
2001 sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE; in ahc_pci_chip_init()