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_init() -> nvkm_therm_temp_get()

Type Parameter Key Value
PARAM_VALUE 0 therm 4096-ptr_max
PARAM_VALUE 0 therm->attr_get 1-u64max
PARAM_VALUE 0 therm->attr_set 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_is_visible() -> nvkm_therm_temp_get()

Type Parameter Key Value
PARAM_VALUE 0 therm 4096-ptr_max
PARAM_VALUE 0 therm->attr_get 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 _T->lock

drivers/gpu/drm/nouveau/nouveau_hwmon.c nouveau_temp_read() -> nvkm_therm_temp_get()

Type Parameter Key Value
PARAM_VALUE 0 therm 4096-ptr_max
PARAM_VALUE 0 therm->attr_get 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock