Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c, line 146
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c, line 102
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c, line 67
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm200.c, line 31
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c, line 50
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c, line 67
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c, line 196
- drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c, line 168
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_attr_set() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c nvkm_therm_sensor_init() -> (struct nvkm_therm_func)->program_alarms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4885609368814063608 |
| PARAM_VALUE | 0 | therm->func | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->func->init | 0,501850904383713280,1330976868043030528,1484562250339614720,2068574816567156736,4469011034572496896 |
| PARAM_VALUE | 0 | therm->last_trip->fan_duty | s16min-s16max |
| PARAM_VALUE | 0 | therm->last_trip->hysteresis | 0-15 |
| PARAM_VALUE | 0 | therm->last_trip->temp | s32min-255 |
| CAPPED_DATA | 0 | therm->suspend | 1 |
| DATA_SOURCE | 0 | therm | $0 |
| CONTAINER | 0 | -72-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |