Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c nvkm_therm_threshold_hyst_polling() -> nvkm_therm_sensor_event()

Type Parameter Key Value
PARAM_VALUE 0 therm 4096-ptr_max
PARAM_VALUE 0 therm->func 4096-ptr_max
PARAM_VALUE 0 therm->func->temp_get 4096-ptr_max
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
PARAM_VALUE 0 therm->subdev.device 4096-ptr_max
PARAM_VALUE 0 *therm->sensor.alarm_state 0-4294967295
PARAM_VALUE 1 thrs 0-3
PARAM_VALUE 2 dir 0-1
DATA_SOURCE 0 therm $0
DATA_SOURCE 1 thrs $2
FUZZY_MAX 2 dir 1
HARD_MAX 1 thrs 3
HARD_MAX 2 dir 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_threshold_hyst_emulation() -> nvkm_therm_sensor_event()

Type Parameter Key Value
PARAM_VALUE 0 therm 6468162874954444800
PARAM_VALUE 0 therm->func 905242071658053632
PARAM_VALUE 0 therm->func->intr 1210090681798008832,8117094979730853888
PARAM_VALUE 0 therm->func->temp_get 4096-ptr_max
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
PARAM_VALUE 0 therm->subdev.device 4096-ptr_max
PARAM_VALUE 0 therm->subdev.device->pri 4096-ptr_max
PARAM_VALUE 0 *therm->sensor.alarm_state 0-4294967295
PARAM_VALUE 1 thrs 0-3
PARAM_VALUE 2 dir 0-1
DATA_SOURCE 0 therm $0
DATA_SOURCE 1 thrs $4
FUZZY_MAX 2 dir 1
HARD_MAX 1 thrs 3
HARD_MAX 2 dir 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