Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c, line 157
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c nvkm_therm_threshold_hyst_polling() -> nvkm_therm_sensor_set_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | thrs | 0-3 |
| PARAM_VALUE | 2 | st | 0-1 |
| DATA_SOURCE | 0 | therm | $0 |
| DATA_SOURCE | 1 | thrs | $2 |
| FUZZY_MAX | 2 | st | 1 |
| HARD_MAX | 1 | thrs | 3 |
| HARD_MAX | 2 | st | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &therm->sensor.alarm_program_lock | |
| TYPE_LOCK | (struct nvkm_therm)->sensor.alarm_program_lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c g84_therm_new() -> nvkm_therm_sensor_set_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | thrs | 3 |
| PARAM_VALUE | 2 | st | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c g84_therm_new() -> nvkm_therm_sensor_set_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | thrs | 0 |
| PARAM_VALUE | 2 | st | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c g84_therm_new() -> nvkm_therm_sensor_set_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | thrs | 2 |
| PARAM_VALUE | 2 | st | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c g84_therm_new() -> nvkm_therm_sensor_set_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | thrs | 1 |
| PARAM_VALUE | 2 | st | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c g84_therm_threshold_hyst_emulation() -> nvkm_therm_sensor_set_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 6468162874954444800 |
| PARAM_VALUE | 1 | thrs | 0-3 |
| PARAM_VALUE | 2 | st | 0-1 |
| DATA_SOURCE | 0 | therm | $0 |
| DATA_SOURCE | 1 | thrs | $4 |
| FUZZY_MAX | 2 | st | 1 |
| HARD_MAX | 1 | thrs | 3 |
| HARD_MAX | 2 | st | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &therm->sensor.alarm_program_lock | |
| HALF_LOCKED2 | &device->intr.lock | ||
| TYPE_LOCK | (struct nvkm_therm)->sensor.alarm_program_lock |