Lines Matching refs:_ah
797 #define AR_SREV_5416(_ah) \
798 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \
799 ((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE))
800 #define AR_SREV_5416_20_OR_LATER(_ah) \
801 (((AR_SREV_5416(_ah)) && \
802 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_20)) || \
803 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
804 #define AR_SREV_5416_22_OR_LATER(_ah) \
805 (((AR_SREV_5416(_ah)) && \
806 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_22)) || \
807 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
811 #define AR_SREV_9100_OR_LATER(_ah) \
812 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
814 #define AR_SREV_9160(_ah) \
815 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9160))
816 #define AR_SREV_9160_10_OR_LATER(_ah) \
817 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9160))
818 #define AR_SREV_9160_11(_ah) \
819 (AR_SREV_9160(_ah) && \
820 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9160_11))
821 #define AR_SREV_9280(_ah) \
822 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9280))
823 #define AR_SREV_9280_10_OR_LATER(_ah) \
824 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9280))
825 #define AR_SREV_9280_20(_ah) \
826 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9280) && \
827 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9280_20))
828 #define AR_SREV_9280_20_OR_LATER(_ah) \
829 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9280) || \
830 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9280) && \
831 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9280_20)))
833 #define AR_SREV_9285(_ah) \
834 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9285))
835 #define AR_SREV_9285_10_OR_LATER(_ah) \
836 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9285))
837 #define AR_SREV_9285_11(_ah) \
839 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_11))
840 #define AR_SREV_9285_11_OR_LATER(_ah) \
841 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \
842 (AR_SREV_9285(ah) && ((_ah)->hw_version.macRev >= \
844 #define AR_SREV_9285_12(_ah) \
846 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_12))
847 #define AR_SREV_9285_12_OR_LATER(_ah) \
848 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \
849 (AR_SREV_9285(ah) && ((_ah)->hw_version.macRev >= \
852 #define AR_SREV_9287(_ah) \
853 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287))
854 #define AR_SREV_9287_10_OR_LATER(_ah) \
855 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9287))
856 #define AR_SREV_9287_10(_ah) \
857 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
858 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9287_10))
859 #define AR_SREV_9287_11(_ah) \
860 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
861 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9287_11))
862 #define AR_SREV_9287_11_OR_LATER(_ah) \
863 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9287) || \
864 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
865 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9287_11)))
866 #define AR_SREV_9287_12(_ah) \
867 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
868 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9287_12))
869 #define AR_SREV_9287_12_OR_LATER(_ah) \
870 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9287) || \
871 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
872 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9287_12)))
873 #define AR_SREV_9287_13_OR_LATER(_ah) \
874 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9287) || \
875 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9287) && \
876 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9287_13)))
878 #define AR_SREV_9271(_ah) \
879 (((_ah))->hw_version.macVersion == AR_SREV_VERSION_9271)
880 #define AR_SREV_9271_10(_ah) \
881 (AR_SREV_9271(_ah) && \
882 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9271_10))
883 #define AR_SREV_9271_11(_ah) \
884 (AR_SREV_9271(_ah) && \
885 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9271_11))
887 #define AR_SREV_9300(_ah) \
888 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300))
889 #define AR_SREV_9300_20(_ah) \
890 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300) && \
891 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9300_20))
892 #define AR_SREV_9300_20_OR_LATER(_ah) \
893 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9300) || \
894 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300) && \
895 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9300_20)))
897 #define AR_SREV_9285E_20(_ah) \
898 (AR_SREV_9285_12_OR_LATER(_ah) && \
899 ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1))
901 #define AR_DEVID_7010(_ah) \
902 (((_ah)->hw_version.devid == 0x7010) || \
903 ((_ah)->hw_version.devid == 0x7015) || \
904 ((_ah)->hw_version.devid == 0x9018) || \
905 ((_ah)->hw_version.devid == 0xA704) || \
906 ((_ah)->hw_version.devid == 0x1200))
908 #define AR9287_HTC_DEVID(_ah) \
909 (((_ah)->hw_version.devid == 0x7015) || \
910 ((_ah)->hw_version.devid == 0x1200))