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, line 105
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c, line 145
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c nvkm_therm_threshold_hyst_polling() -> nvkm_therm_sensor_get_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | thrs | 0-3 |
| DATA_SOURCE | 0 | therm | $0 |
| DATA_SOURCE | 1 | thrs | $2 |
| HARD_MAX | 1 | thrs | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_threshold_hyst_emulation() -> nvkm_therm_sensor_get_threshold_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 6468162874954444800 |
| PARAM_VALUE | 1 | thrs | 0-3 |
| DATA_SOURCE | 0 | therm | $0 |
| DATA_SOURCE | 1 | thrs | $4 |
| HARD_MAX | 1 | thrs | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &therm->sensor.alarm_program_lock | |
| HALF_LOCKED2 | &device->intr.lock | ||
| TYPE_LOCK | (struct nvkm_therm)->sensor.alarm_program_lock |