Lines Matching refs:ahc
891 typedef int ahc_patch_func_t (struct ahc_softc *ahc);
895 ahc_patch23_func(struct ahc_softc *ahc)
897 return ((ahc->bugs & AHC_SCBCHAN_UPLOAD_BUG) != 0);
903 ahc_patch22_func(struct ahc_softc *ahc)
905 return ((ahc->features & AHC_CMD_CHAN) == 0);
911 ahc_patch21_func(struct ahc_softc *ahc)
913 return ((ahc->features & AHC_QUEUE_REGS) == 0);
919 ahc_patch20_func(struct ahc_softc *ahc)
921 return ((ahc->features & AHC_WIDE) != 0);
927 ahc_patch19_func(struct ahc_softc *ahc)
929 return ((ahc->flags & AHC_SCB_BTT) != 0);
935 ahc_patch18_func(struct ahc_softc *ahc)
937 return ((ahc->bugs & AHC_PCI_2_1_RETRY_BUG) != 0);
943 ahc_patch17_func(struct ahc_softc *ahc)
945 return ((ahc->bugs & AHC_TMODE_WIDEODD_BUG) != 0);
951 ahc_patch16_func(struct ahc_softc *ahc)
953 return ((ahc->bugs & AHC_AUTOFLUSH_BUG) != 0);
959 ahc_patch15_func(struct ahc_softc *ahc)
961 return ((ahc->features & AHC_ULTRA2) == 0);
967 ahc_patch14_func(struct ahc_softc *ahc)
969 return ((ahc->bugs & AHC_PCI_MWI_BUG) != 0 && ahc->pci_cachesize != 0);
975 ahc_patch13_func(struct ahc_softc *ahc)
977 return ((ahc->flags & AHC_39BIT_ADDRESSING) != 0);
983 ahc_patch12_func(struct ahc_softc *ahc)
985 return ((ahc->features & AHC_HS_MAILBOX) != 0);
991 ahc_patch11_func(struct ahc_softc *ahc)
993 return ((ahc->features & AHC_ULTRA) != 0);
999 ahc_patch10_func(struct ahc_softc *ahc)
1001 return ((ahc->features & AHC_MULTI_TID) != 0);
1007 ahc_patch9_func(struct ahc_softc *ahc)
1009 return ((ahc->features & AHC_CMD_CHAN) != 0);
1015 ahc_patch8_func(struct ahc_softc *ahc)
1017 return ((ahc->flags & AHC_INITIATORROLE) != 0);
1023 ahc_patch7_func(struct ahc_softc *ahc)
1025 return ((ahc->flags & AHC_TARGETROLE) != 0);
1031 ahc_patch6_func(struct ahc_softc *ahc)
1033 return ((ahc->features & AHC_DT) == 0);
1039 ahc_patch5_func(struct ahc_softc *ahc)
1041 return ((ahc->flags & AHC_SEQUENCER_DEBUG) != 0);
1047 ahc_patch4_func(struct ahc_softc *ahc)
1049 return ((ahc->flags & AHC_PAGESCBS) != 0);
1055 ahc_patch3_func(struct ahc_softc *ahc)
1057 return ((ahc->features & AHC_QUEUE_REGS) != 0);
1063 ahc_patch2_func(struct ahc_softc *ahc)
1065 return ((ahc->features & AHC_TWIN) != 0);
1071 ahc_patch1_func(struct ahc_softc *ahc)
1073 return ((ahc->features & AHC_ULTRA2) != 0);
1079 ahc_patch0_func(struct ahc_softc *ahc)