Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c64 phy->throttle_temp[i - 1] * 1000); in mt7915_thermal_temp_show()
88 val > phy->throttle_temp[MT7915_MAX_TEMP_IDX]) || in mt7915_thermal_temp_store()
90 val < phy->throttle_temp[MT7915_CRIT_TEMP_IDX])) { in mt7915_thermal_temp_store()
97 phy->throttle_temp[i - 1] = val; in mt7915_thermal_temp_store()
210 phy->throttle_temp[MT7915_CRIT_TEMP_IDX] = MT7915_CRIT_TEMP; in mt7915_thermal_init()
211 phy->throttle_temp[MT7915_MAX_TEMP_IDX] = MT7915_MAX_TEMP; in mt7915_thermal_init()
Dmt7915.h207 u32 throttle_temp[2]; /* 0: critical high, 1: maximum */ member
Dmcu.c3246 req.restore_temp = cpu_to_le32(phy->throttle_temp[0] - 10); in mt7915_mcu_set_thermal_protect()
3247 req.trigger_temp = cpu_to_le32(phy->throttle_temp[1]); in mt7915_mcu_set_thermal_protect()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
Dinit.c67 phy->throttle_temp[i - 1] * 1000); in mt7996_thermal_temp_show()
92 val > phy->throttle_temp[MT7996_MAX_TEMP_IDX] - 10) || in mt7996_thermal_temp_store()
94 val - 10 < phy->throttle_temp[MT7996_CRIT_TEMP_IDX])) { in mt7996_thermal_temp_store()
101 phy->throttle_temp[i - 1] = val; in mt7996_thermal_temp_store()
211 phy->throttle_temp[MT7996_CRIT_TEMP_IDX] = MT7996_CRIT_TEMP; in mt7996_thermal_init()
212 phy->throttle_temp[MT7996_MAX_TEMP_IDX] = MT7996_MAX_TEMP; in mt7996_thermal_init()
Dmt7996.h219 u32 throttle_temp[2]; /* 0: critical high, 1: maximum */ member
Dmcu.c3841 req.enable.restore_temp = cpu_to_le32(phy->throttle_temp[0]); in mt7996_mcu_set_thermal_protect()
3842 req.enable.trigger_temp = cpu_to_le32(phy->throttle_temp[1]); in mt7996_mcu_set_thermal_protect()