Lines Matching refs:common
769 static void ath_pci_read_cachesize(struct ath_common *common, int *csz) in ath_pci_read_cachesize() argument
771 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_read_cachesize()
787 static bool ath_pci_eeprom_read(struct ath_common *common, u32 off, u16 *data) in ath_pci_eeprom_read() argument
789 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_eeprom_read()
794 ath_err(common, in ath_pci_eeprom_read()
801 struct ath_hw *ah = (struct ath_hw *) common->ah; in ath_pci_eeprom_read()
803 common->ops->read(ah, AR5416_EEPROM_OFFSET + in ath_pci_eeprom_read()
814 *data = MS(common->ops->read(ah, AR_EEPROM_STATUS_DATA), in ath_pci_eeprom_read()
822 static void ath_pci_aspm_init(struct ath_common *common) in ath_pci_aspm_init() argument
824 struct ath_softc *sc = (struct ath_softc *) common->priv; in ath_pci_aspm_init()
850 ath_info(common, "Disabling ASPM since BTCOEX is enabled\n"); in ath_pci_aspm_init()
875 ath_info(common, "ASPM enabled: 0x%x\n", aspm); in ath_pci_aspm_init()
1011 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_pci_suspend() local
1013 if (test_bit(ATH_OP_WOW_ENABLED, &common->op_flags)) { in ath_pci_suspend()
1036 struct ath_common *common = ath9k_hw_common(ah); in ath_pci_resume() local
1048 ath_pci_aspm_init(common); in ath_pci_resume()