Lines Matching refs:ahc_outb
889 ahc_outb(ahc, SFUNCT, sfunct | ALT_MODE); in ahc_pci_config()
890 ahc_outb(ahc, OPTIONMODE, in ahc_pci_config()
892 ahc_outb(ahc, SFUNCT, sfunct); in ahc_pci_config()
895 ahc_outb(ahc, CRCCONTROL1, CRCVALCHKEN|CRCENDCHKEN|CRCREQCHKEN in ahc_pci_config()
920 ahc_outb(ahc, DSCOMMAND0, dscommand0); in ahc_pci_config()
955 ahc_outb(ahc, SBLKCTL, (sblkctl & ~(DIAGLEDEN|DIAGLEDON))); in ahc_pci_config()
958 ahc_outb(ahc, DFF_THRSH, RD_DFTHRSH_MAX|WR_DFTHRSH_MAX); in ahc_pci_config()
960 ahc_outb(ahc, DSPCISTATUS, DFTHRSH_100); in ahc_pci_config()
984 ahc_outb(ahc, SCSICONF, our_id|ENSPCHK|RESET_SCSI); in ahc_pci_config()
1019 ahc_outb(ahc, SFUNCT, sfunct | ALT_MODE); in ahc_pci_config()
1022 ahc_outb(ahc, SFUNCT, sfunct); in ahc_pci_config()
1104 ahc_outb(ahc, SCBBADDR, ahc_get_pci_function(ahc->dev_softc)); in ahc_scbram_config()
1123 ahc_outb(ahc, DSCOMMAND0, dscommand0); in ahc_scbram_config()
1186 ahc_outb(ahc, SEQCTL, 0); in ahc_probe_ext_scbram()
1187 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_probe_ext_scbram()
1188 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_probe_ext_scbram()
1198 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_probe_ext_scbram()
1199 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_probe_ext_scbram()
1235 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS); in ahc_probe_ext_scbram()
1237 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_probe_ext_scbram()
1238 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_probe_ext_scbram()
1291 ahc_outb(ahc, HCNTRL, hcntrl|PAUSE); in ahc_pci_test_register_access()
1300 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_pci_test_register_access()
1302 ahc_outb(ahc, SEQCTL, PERRORDIS); in ahc_pci_test_register_access()
1303 ahc_outb(ahc, SCBPTR, 0); in ahc_pci_test_register_access()
1321 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_pci_test_register_access()
1322 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS); in ahc_pci_test_register_access()
1403 ahc_outb(ahc, SCBPTR, 2); in check_extport()
1427 ahc_outb(ahc, CLRINT, CLRPARERR); in check_extport()
1428 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in check_extport()
1530 ahc_outb(ahc, TARG_OFFSET + i, offset); in ahc_parse_pci_eeprom()
1548 ahc_outb(ahc, TARG_SCSIRATE + i, scsirate); in ahc_parse_pci_eeprom()
1587 ahc_outb(ahc, SCSICONF, scsi_conf); in ahc_parse_pci_eeprom()
1588 ahc_outb(ahc, DISC_DSB, ~(discenable & 0xff)); in ahc_parse_pci_eeprom()
1589 ahc_outb(ahc, DISC_DSB + 1, ~((discenable >> 8) & 0xff)); in ahc_parse_pci_eeprom()
1590 ahc_outb(ahc, ULTRA_ENB, ultraenb & 0xff); in ahc_parse_pci_eeprom()
1591 ahc_outb(ahc, ULTRA_ENB + 1, (ultraenb >> 8) & 0xff); in ahc_parse_pci_eeprom()
1775 ahc_outb(ahc, SXFRCTL1, *sxfrctl1); in configure_termination()
1812 ahc_outb(ahc, SXFRCTL1, *sxfrctl1); in configure_termination()
1893 ahc_outb(ahc, SPIOCAP, spiocap); in aic785X_cable_detect()
1894 ahc_outb(ahc, BRDCTL, BRDRW|BRDCS); in aic785X_cable_detect()
1897 ahc_outb(ahc, BRDCTL, 0); in aic785X_cable_detect()
1955 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1958 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1964 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1970 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1988 ahc_outb(ahc, BRDCTL, brdctl); in read_brdctl()
1991 ahc_outb(ahc, BRDCTL, 0); in read_brdctl()
2042 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_pci_intr()
2056 ahc_outb(ahc, SEQCTL, ahc->seqctl); in ahc_pci_intr()
2064 ahc_outb(ahc, DSCOMMAND0, ahc->bus_softc.pci_softc.dscommand0); in ahc_pci_chip_init()
2065 ahc_outb(ahc, DSPCISTATUS, ahc->bus_softc.pci_softc.dspcistatus); in ahc_pci_chip_init()
2070 ahc_outb(ahc, SFUNCT, sfunct | ALT_MODE); in ahc_pci_chip_init()
2071 ahc_outb(ahc, OPTIONMODE, ahc->bus_softc.pci_softc.optionmode); in ahc_pci_chip_init()
2073 ahc_outb(ahc, SFUNCT, sfunct); in ahc_pci_chip_init()
2074 ahc_outb(ahc, CRCCONTROL1, in ahc_pci_chip_init()
2078 ahc_outb(ahc, SCBBADDR, ahc->bus_softc.pci_softc.scbbaddr); in ahc_pci_chip_init()
2081 ahc_outb(ahc, DFF_THRSH, ahc->bus_softc.pci_softc.dff_thrsh); in ahc_pci_chip_init()