Lines Matching +full:pwr +full:- +full:sel

1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
34 #define AR_WA 0x4004 /* PCIE work-arounds */
120 /* RTC_DERIVED_* - only for AR9130 */
149 #define AR_TXOP_X 0x81ec /* txop for legacy non-qos */
154 /* generic timers based on tsf - all uS */
284 #define AR_AHB_PAGE_SIZE_1K 0x00000000 /* set page-size as 1k */
285 #define AR_AHB_PAGE_SIZE_2K 0x00000008 /* set page-size as 2k */
286 #define AR_AHB_PAGE_SIZE_4K 0x00000010 /* set page-size as 4k */
299 #define AR_DIAG_OBS_PT_SEL2 0x08000000 /* observation point sel */
305 #define AR_RESET_TSF_ONCE 0x01000000 /* reset tsf once; self-clears*/
323 #define AR_ISR_S5_GENTIMER_TRIG 0x0000FF80 // ISR for generic timer trigger 7-15
325 #define AR_ISR_S5_GENTIMER_THRESH 0xFF800000 // ISR for generic timer threshold 7-15
410 #define AR_RTC_PM_STATUS_M 0x0000000f /* Pwr Mgmt Status */
426 #define AR_RTC_FORCE_WAKE_ON_INT 0x00000002 /* auto-wake on MAC interrupt */
485 #define AR_SLP32_HALFCLK_LATENCY 0x000FFFFF /* rising <-> falling edge */
561 #define AR_GPIO_IN_VAL 0x0FFFC000 /* pre-9280 */
646 #define IS_5416V1(_ah) (AR_SREV_OWL((_ah)) && AH_PRIVATE((_ah))->ah_macRev == AR_SREV_REVISION_OWL_…
647 #define IS_5416V2(_ah) (AR_SREV_OWL((_ah)) && AH_PRIVATE((_ah))->ah_macRev >= AR_SREV_REVISION_OWL_…
648 #define IS_5416V2_2(_ah) (AR_SREV_OWL((_ah)) && AH_PRIVATE((_ah))->ah_macRev == AR_SREV_REVISION_OW…
702 ((AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_OWL_PCI) || \
703 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_OWL_PCIE))
707 AH_PRIVATE((_ah))->ah_macRev >= AR_SREV_REVISION_OWL_20) || \
708 AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_HOWL)
712 AH_PRIVATE((_ah))->ah_macRev >= AR_SREV_REVISION_OWL_22) || \
713 AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_HOWL)
718 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_HOWL)
725 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_SOWL)
728 (AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_SOWL)
732 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_SOWL_11)
737 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_MERLIN)
740 (AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_MERLIN)
744 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20)
747 ((AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_MERLIN) || \
749 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20))
754 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_KITE)
757 (AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_KITE)
761 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_KITE_11)
764 ((AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_KITE) || \
766 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KITE_11))
770 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_KITE_12)
773 ((AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_KITE) || \
775 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KITE_12))
782 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_KIWI)
785 (AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_KIWI)
790 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KIWI_11)
794 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_KIWI_11)
798 AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_KIWI_12)
802 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KIWI_12)
806 AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_KIWI_13)