Home
last modified time | relevance | path

Searched refs:thrs (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c59 enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_set_threshold_state()
62 therm->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state()
68 enum nvkm_therm_thrs thrs) in nvkm_therm_sensor_get_threshold_state()
70 return therm->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state()
81 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event() argument
91 if (thrs < 0 || thrs > 3) in nvkm_therm_sensor_event()
97 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
100 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
103 switch (thrs) { in nvkm_therm_sensor_event()
58 nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, enum nvkm_therm_thrs_state st) nvkm_therm_sensor_set_threshold_state() argument
67 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs) nvkm_therm_sensor_get_threshold_state() argument
137 nvkm_therm_threshold_hyst_polling(struct nvkm_therm *therm, const struct nvbios_therm_threshold *thrs, enum nvkm_therm_thrs thrs_name) nvkm_therm_threshold_hyst_polling() argument
[all...]
H A Dg84.c97 const struct nvbios_therm_threshold *thrs, in g84_therm_threshold_hyst_emulation()
109 if (temp == thrs->temp) { in g84_therm_threshold_hyst_emulation()
110 nvkm_wr32(device, thrs_reg, thrs->temp - thrs->hysteresis); in g84_therm_threshold_hyst_emulation()
113 nvkm_wr32(device, thrs_reg, thrs->temp); in g84_therm_threshold_hyst_emulation()
119 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation()
122 cur < thrs->temp - thrs->hysteresis) in g84_therm_threshold_hyst_emulation()
95 g84_therm_threshold_hyst_emulation(struct nvkm_therm *therm, uint32_t thrs_reg, u8 status_bit, const struct nvbios_therm_threshold *thrs, enum nvkm_therm_thrs thrs_name) g84_therm_threshold_hyst_emulation() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c59 enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_set_threshold_state()
62 therm->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state()
68 enum nvkm_therm_thrs thrs) in nvkm_therm_sensor_get_threshold_state()
70 return therm->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state()
81 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event() argument
91 if (thrs < 0 || thrs > 3) in nvkm_therm_sensor_event()
97 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
100 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
103 switch (thrs) { in nvkm_therm_sensor_event()
58 nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, enum nvkm_therm_thrs_state st) nvkm_therm_sensor_set_threshold_state() argument
67 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs) nvkm_therm_sensor_get_threshold_state() argument
137 nvkm_therm_threshold_hyst_polling(struct nvkm_therm *therm, const struct nvbios_therm_threshold *thrs, enum nvkm_therm_thrs thrs_name) nvkm_therm_threshold_hyst_polling() argument
[all...]
H A Dg84.c97 const struct nvbios_therm_threshold *thrs, in g84_therm_threshold_hyst_emulation()
109 if (temp == thrs->temp) { in g84_therm_threshold_hyst_emulation()
110 nvkm_wr32(device, thrs_reg, thrs->temp - thrs->hysteresis); in g84_therm_threshold_hyst_emulation()
113 nvkm_wr32(device, thrs_reg, thrs->temp); in g84_therm_threshold_hyst_emulation()
119 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation()
122 cur < thrs->temp - thrs->hysteresis) in g84_therm_threshold_hyst_emulation()
95 g84_therm_threshold_hyst_emulation(struct nvkm_therm *therm, uint32_t thrs_reg, u8 status_bit, const struct nvbios_therm_threshold *thrs, enum nvkm_therm_thrs thrs_name) g84_therm_threshold_hyst_emulation() argument
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd.h176 struct cxd2880_tnrdmd_lna_thrs thrs[24]; member
180 struct cxd2880_tnrdmd_lna_thrs thrs[32]; member
H A Dcxd2880_tnrdmd.c631 tnr_dmd->lna_thrs_tbl_air->thrs[idx].off_on; in rf_init1()
633 tnr_dmd->lna_thrs_tbl_air->thrs[idx].on_off; in rf_init1()
663 tnr_dmd->lna_thrs_tbl_cable->thrs[idx].off_on; in rf_init1()
665 tnr_dmd->lna_thrs_tbl_cable->thrs[idx].on_off; in rf_init1()
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd.h176 struct cxd2880_tnrdmd_lna_thrs thrs[24]; member
180 struct cxd2880_tnrdmd_lna_thrs thrs[32]; member
H A Dcxd2880_tnrdmd.c631 tnr_dmd->lna_thrs_tbl_air->thrs[idx].off_on; in rf_init1()
633 tnr_dmd->lna_thrs_tbl_air->thrs[idx].on_off; in rf_init1()
663 tnr_dmd->lna_thrs_tbl_cable->thrs[idx].off_on; in rf_init1()
665 tnr_dmd->lna_thrs_tbl_cable->thrs[idx].on_off; in rf_init1()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c6723 int port, size, thrs; in mvpp22_tx_fifo_init() local
6728 thrs = MVPP2_TX_FIFO_THRESHOLD_10KB; in mvpp22_tx_fifo_init()
6731 thrs = MVPP2_TX_FIFO_THRESHOLD_3KB; in mvpp22_tx_fifo_init()
6734 mvpp2_write(priv, MVPP22_TX_FIFO_THRESH_REG(port), thrs); in mvpp22_tx_fifo_init()

Completed in 18 milliseconds