Lines Matching refs:ahc_outb

809 		ahc_outb(ahc, SFUNCT, sfunct | ALT_MODE);  in ahc_pci_config()
810 ahc_outb(ahc, OPTIONMODE, in ahc_pci_config()
812 ahc_outb(ahc, SFUNCT, sfunct); in ahc_pci_config()
815 ahc_outb(ahc, CRCCONTROL1, CRCVALCHKEN|CRCENDCHKEN|CRCREQCHKEN in ahc_pci_config()
840 ahc_outb(ahc, DSCOMMAND0, dscommand0); in ahc_pci_config()
875 ahc_outb(ahc, SBLKCTL, (sblkctl & ~(DIAGLEDEN|DIAGLEDON))); in ahc_pci_config()
878 ahc_outb(ahc, DFF_THRSH, RD_DFTHRSH_MAX|WR_DFTHRSH_MAX); in ahc_pci_config()
880 ahc_outb(ahc, DSPCISTATUS, DFTHRSH_100); in ahc_pci_config()
904 ahc_outb(ahc, SCSICONF, our_id|ENSPCHK|RESET_SCSI); in ahc_pci_config()
939 ahc_outb(ahc, SFUNCT, sfunct | ALT_MODE); in ahc_pci_config()
942 ahc_outb(ahc, SFUNCT, sfunct); in ahc_pci_config()
1015 ahc_outb(ahc, SCBBADDR, ahc_get_pci_function(ahc->dev_softc)); in ahc_scbram_config()
1034 ahc_outb(ahc, DSCOMMAND0, dscommand0); in ahc_scbram_config()
1097 ahc_outb(ahc, SEQCTL, 0); in ahc_probe_ext_scbram()
1098 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_probe_ext_scbram()
1099 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_probe_ext_scbram()
1109 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_probe_ext_scbram()
1110 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_probe_ext_scbram()
1146 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS); in ahc_probe_ext_scbram()
1148 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_probe_ext_scbram()
1149 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_probe_ext_scbram()
1212 ahc_outb(ahc, HCNTRL, hcntrl|PAUSE); in ahc_pci_test_register_access()
1221 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_pci_test_register_access()
1223 ahc_outb(ahc, SEQCTL, PERRORDIS); in ahc_pci_test_register_access()
1224 ahc_outb(ahc, SCBPTR, 0); in ahc_pci_test_register_access()
1242 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_pci_test_register_access()
1243 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS); in ahc_pci_test_register_access()
1328 ahc_outb(ahc, SCBPTR, 2); in check_extport()
1352 ahc_outb(ahc, CLRINT, CLRPARERR); in check_extport()
1353 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in check_extport()
1455 ahc_outb(ahc, TARG_OFFSET + i, offset); in ahc_parse_pci_eeprom()
1473 ahc_outb(ahc, TARG_SCSIRATE + i, scsirate); in ahc_parse_pci_eeprom()
1512 ahc_outb(ahc, SCSICONF, scsi_conf); in ahc_parse_pci_eeprom()
1513 ahc_outb(ahc, DISC_DSB, ~(discenable & 0xff)); in ahc_parse_pci_eeprom()
1514 ahc_outb(ahc, DISC_DSB + 1, ~((discenable >> 8) & 0xff)); in ahc_parse_pci_eeprom()
1515 ahc_outb(ahc, ULTRA_ENB, ultraenb & 0xff); in ahc_parse_pci_eeprom()
1516 ahc_outb(ahc, ULTRA_ENB + 1, (ultraenb >> 8) & 0xff); in ahc_parse_pci_eeprom()
1700 ahc_outb(ahc, SXFRCTL1, *sxfrctl1); in configure_termination()
1737 ahc_outb(ahc, SXFRCTL1, *sxfrctl1); in configure_termination()
1818 ahc_outb(ahc, SPIOCAP, spiocap); in aic785X_cable_detect()
1819 ahc_outb(ahc, BRDCTL, BRDRW|BRDCS); in aic785X_cable_detect()
1822 ahc_outb(ahc, BRDCTL, 0); in aic785X_cable_detect()
1880 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1883 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1889 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1895 ahc_outb(ahc, BRDCTL, brdctl); in write_brdctl()
1913 ahc_outb(ahc, BRDCTL, brdctl); in read_brdctl()
1916 ahc_outb(ahc, BRDCTL, 0); in read_brdctl()
1967 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_pci_intr()
1981 ahc_outb(ahc, SEQCTL, ahc->seqctl); in ahc_pci_intr()
1989 ahc_outb(ahc, DSCOMMAND0, ahc->bus_softc.pci_softc.dscommand0); in ahc_pci_chip_init()
1990 ahc_outb(ahc, DSPCISTATUS, ahc->bus_softc.pci_softc.dspcistatus); in ahc_pci_chip_init()
1995 ahc_outb(ahc, SFUNCT, sfunct | ALT_MODE); in ahc_pci_chip_init()
1996 ahc_outb(ahc, OPTIONMODE, ahc->bus_softc.pci_softc.optionmode); in ahc_pci_chip_init()
1998 ahc_outb(ahc, SFUNCT, sfunct); in ahc_pci_chip_init()
1999 ahc_outb(ahc, CRCCONTROL1, in ahc_pci_chip_init()
2003 ahc_outb(ahc, SCBBADDR, ahc->bus_softc.pci_softc.scbbaddr); in ahc_pci_chip_init()
2006 ahc_outb(ahc, DFF_THRSH, ahc->bus_softc.pci_softc.dff_thrsh); in ahc_pci_chip_init()