Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_hwmon_set_pwm1_max() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | value | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_hwmon_set_pwm1_min() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | value | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_hwmon_set_temp1_auto_point1_temp() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 10 |
| CONTAINER | 0 | -656+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/nouveau_hwmon.c nouveau_hwmon_set_temp1_auto_point1_temp_hyst() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 11 |
| CONTAINER | 0 | -656+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/nouveau_hwmon.c nouveau_pwm_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 2 |
| DATA_SOURCE | 2 | value | $3 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | value | s32min-s32max |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 12 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 13 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 14 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 15 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 16 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_write() -> (struct nvkm_therm)->attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | therm | 4096-ptr_max |
| PARAM_VALUE | 0 | therm->attr_set | 1-u64max |
| PARAM_VALUE | 1 | type | 17 |
| CONTAINER | 0 | -656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |