Home
last modified time | relevance | path

Searched refs:reg_pmu_set (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3960 int reg_pmu_set; in ar9003_hw_internal_regulator_apply() local
3962 reg_pmu_set = REG_READ(ah, AR_PHY_PMU2) & ~AR_PHY_PMU2_PGM; in ar9003_hw_internal_regulator_apply()
3963 REG_WRITE(ah, AR_PHY_PMU2, reg_pmu_set); in ar9003_hw_internal_regulator_apply()
3964 if (!is_pmu_set(ah, AR_PHY_PMU2, reg_pmu_set)) in ar9003_hw_internal_regulator_apply()
3969 reg_pmu_set = (3 << 1) | (8 << 4) | in ar9003_hw_internal_regulator_apply()
3974 reg_pmu_set = (4 << 1) | (7 << 4) | in ar9003_hw_internal_regulator_apply()
3980 reg_pmu_set = (5 << 1) | (7 << 4) | in ar9003_hw_internal_regulator_apply()
3986 REG_WRITE(ah, AR_PHY_PMU1, reg_pmu_set); in ar9003_hw_internal_regulator_apply()
3987 if (!is_pmu_set(ah, AR_PHY_PMU1, reg_pmu_set)) in ar9003_hw_internal_regulator_apply()
3990 reg_pmu_set = (REG_READ(ah, AR_PHY_PMU2) & ~0xFFC00000) in ar9003_hw_internal_regulator_apply()
[all …]