Lines Matching refs:_ah
829 #define AR_SREV_5416(_ah) \ argument
830 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \
831 ((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE))
832 #define AR_SREV_5416_22_OR_LATER(_ah) \ argument
833 (((AR_SREV_5416(_ah)) && \
834 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_22)) || \
835 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
839 #define AR_SREV_9100_OR_LATER(_ah) \ argument
840 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
842 #define AR_SREV_9160(_ah) \ argument
843 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9160))
844 #define AR_SREV_9160_10_OR_LATER(_ah) \ argument
845 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9160))
846 #define AR_SREV_9160_11(_ah) \ argument
847 (AR_SREV_9160(_ah) && \
848 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9160_11))
849 #define AR_SREV_9280(_ah) \ argument
850 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9280))
851 #define AR_SREV_9280_20_OR_LATER(_ah) \ argument
852 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9280))
853 #define AR_SREV_9280_20(_ah) \ argument
854 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9280))
856 #define AR_SREV_9285(_ah) \ argument
857 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9285))
858 #define AR_SREV_9285_12_OR_LATER(_ah) \ argument
859 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9285))
861 #define AR_SREV_9287(_ah) \ argument
862 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287))
863 #define AR_SREV_9287_11_OR_LATER(_ah) \ argument
864 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9287))
865 #define AR_SREV_9287_11(_ah) \ argument
866 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
867 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9287_11))
868 #define AR_SREV_9287_12(_ah) \ argument
869 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
870 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9287_12))
871 #define AR_SREV_9287_12_OR_LATER(_ah) \ argument
872 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9287) || \
873 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
874 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9287_12)))
875 #define AR_SREV_9287_13_OR_LATER(_ah) \ argument
876 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9287) || \
877 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
878 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9287_13)))
880 #define AR_SREV_9271(_ah) \ argument
881 (((_ah))->hw_version.macVersion == AR_SREV_VERSION_9271)
882 #define AR_SREV_9271_10(_ah) \ argument
883 (AR_SREV_9271(_ah) && \
884 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9271_10))
885 #define AR_SREV_9271_11(_ah) \ argument
886 (AR_SREV_9271(_ah) && \
887 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9271_11))
889 #define AR_SREV_9300(_ah) \ argument
890 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300))
891 #define AR_SREV_9300_20_OR_LATER(_ah) \ argument
892 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9300)
893 #define AR_SREV_9300_22(_ah) \ argument
895 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9300_22))
897 #define AR_SREV_9330(_ah) \ argument
898 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9330))
899 #define AR_SREV_9330_11(_ah) \ argument
900 (AR_SREV_9330((_ah)) && \
901 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9330_11))
902 #define AR_SREV_9330_12(_ah) \ argument
903 (AR_SREV_9330((_ah)) && \
904 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9330_12))
907 #define AR_SREV_9462(_ah) \ argument
908 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9462))
909 #define AR_SREV_9485(_ah) \ argument
910 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485))
911 #define AR_SREV_9565(_ah) \ argument
912 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9565))
913 #define AR_SREV_9003_PCOEM(_ah) \ argument
914 (AR_SREV_9462(_ah) || AR_SREV_9485(_ah) || AR_SREV_9565(_ah))
916 #define AR_SREV_9462(_ah) 0 argument
917 #define AR_SREV_9485(_ah) 0 argument
918 #define AR_SREV_9565(_ah) 0 argument
919 #define AR_SREV_9003_PCOEM(_ah) 0 argument
922 #define AR_SREV_9485_11_OR_LATER(_ah) \ argument
923 (AR_SREV_9485(_ah) && \
924 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9485_11))
925 #define AR_SREV_9485_OR_LATER(_ah) \ argument
926 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9485))
928 #define AR_SREV_9340(_ah) \ argument
929 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9340))
931 #define AR_SREV_9340_13(_ah) \ argument
932 (AR_SREV_9340((_ah)) && \
933 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9340_13))
935 #define AR_SREV_9340_13_OR_LATER(_ah) \ argument
936 (AR_SREV_9340((_ah)) && \
937 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9340_13))
939 #define AR_SREV_9285E_20(_ah) \ argument
940 (AR_SREV_9285_12_OR_LATER(_ah) && \
941 ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1))
943 #define AR_SREV_9462_20(_ah) \ argument
944 (AR_SREV_9462(_ah) && \
945 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9462_20))
946 #define AR_SREV_9462_21(_ah) \ argument
947 (AR_SREV_9462(_ah) && \
948 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9462_21))
949 #define AR_SREV_9462_20_OR_LATER(_ah) \ argument
950 (AR_SREV_9462(_ah) && \
951 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9462_20))
952 #define AR_SREV_9462_21_OR_LATER(_ah) \ argument
953 (AR_SREV_9462(_ah) && \
954 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9462_21))
956 #define AR_SREV_9565_10(_ah) \ argument
957 (AR_SREV_9565(_ah) && \
958 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9565_10))
959 #define AR_SREV_9565_101(_ah) \ argument
960 (AR_SREV_9565(_ah) && \
961 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9565_101))
962 #define AR_SREV_9565_11(_ah) \ argument
963 (AR_SREV_9565(_ah) && \
964 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9565_11))
965 #define AR_SREV_9565_11_OR_LATER(_ah) \ argument
966 (AR_SREV_9565(_ah) && \
967 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9565_11))
969 #define AR_SREV_9550(_ah) \ argument
970 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9550))
971 #define AR_SREV_9550_OR_LATER(_ah) \ argument
972 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9550))
974 #define AR_SREV_9580(_ah) \ argument
975 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9580) && \
976 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9580_10))
977 #define AR_SREV_9580_10(_ah) \ argument
978 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9580) && \
979 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9580_10))
981 #define AR_SREV_9531(_ah) \ argument
982 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9531))
983 #define AR_SREV_9531_10(_ah) \ argument
984 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9531) && \
985 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9531_10))
986 #define AR_SREV_9531_11(_ah) \ argument
987 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9531) && \
988 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9531_11))
989 #define AR_SREV_9531_20(_ah) \ argument
990 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9531) && \
991 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9531_20))
993 #define AR_SREV_9561(_ah) \ argument
994 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9561))
996 #define AR_SREV_SOC(_ah) \ argument
997 (AR_SREV_9340(_ah) || AR_SREV_9531(_ah) || AR_SREV_9550(ah) || \
1001 #define AR_SREV_9580_10_OR_LATER(_ah) \ argument
1002 (AR_SREV_9580(_ah))
1010 #define AR_DEVID_7010(_ah) \ argument
1011 (((_ah)->hw_version.usbdev == AR9280_USB) || \
1012 ((_ah)->hw_version.usbdev == AR9287_USB))