Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c nvkm_fanpwm_set() -> (struct nvkm_therm_func)->pwm_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 therm 4096-ptr_max
PARAM_VALUE 0 therm->fan 4096-ptr_max
PARAM_VALUE 0 therm->fan->func.log 4096-ptr_max
PARAM_VALUE 0 therm->func 4096-ptr_max
PARAM_VALUE 0 therm->func->pwm_clock 0,3290908947627094016,5887947559551496192,8507321783113936896
PARAM_VALUE 0 therm->subdev.device 4096-ptr_max
PARAM_VALUE 2 enable 1
DATA_SOURCE 0 therm $0
CONTAINER 0 -24-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fan->lock
LOCK2 flags
TYPE_LOCK (struct nvkm_fan)->lock

drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c nvkm_fantog_create() -> (struct nvkm_therm_func)->pwm_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 therm 8767693388977311736
PARAM_VALUE 0 therm->func 4096-ptr_max
PARAM_VALUE 0 therm->func->pwm_ctrl 4096-ptr_max
PARAM_VALUE 0 therm->subdev.device 4096-ptr_max
PARAM_VALUE 0 therm->subdev.device->bios 4096-ptr_max
PARAM_VALUE 0 therm->subdev.device->i2c 4096-ptr_max
PARAM_VALUE 2 enable 0
DATA_SOURCE 0 therm $0
CONTAINER 0 -24-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subdev->use.mutex
TYPE_LOCK (struct nvkm_subdev)->use.mutex

drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c nvkm_fantog_set() -> (struct nvkm_therm_func)->pwm_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 therm 4096-ptr_max
PARAM_VALUE 0 therm->fan 4096-ptr_max
PARAM_VALUE 0 therm->func 4096-ptr_max
PARAM_VALUE 0 therm->func->pwm_ctrl 1869426221217685504,7002272219476795392,8172089254192209920,9095864007008182272
PARAM_VALUE 0 therm->subdev.device 4096-ptr_max
PARAM_VALUE 2 enable 0
DATA_SOURCE 0 therm $0
CONTAINER 0 -24-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &fan->lock
LOCK2 flags
TYPE_LOCK (struct nvkm_fan)->lock