Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/pwm-fan.c pwm_fan_cleanup() -> __set_pwm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enable_mode | 2 |
| PARAM_VALUE | 0 | ctx->pwm_shutdown | 1-255 |
| PARAM_VALUE | 0 | ctx->rpm_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | ctx->rpm_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | ctx->rpm_timer.function | 0 |
| PARAM_VALUE | 1 | pwm | 1-255 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ctx->rpm_timer | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctx | unit_byte |
| LOCK2 | &_dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/hwmon/pwm-fan.c pwm_fan_update_enable() -> __set_pwm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->enable_mode | 0 |
| PARAM_VALUE | 0 | ctx->enabled | 1 |
| PARAM_VALUE | 0 | ctx->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | pwm | 0 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ctx->lock | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->enable_mode | 0 |
| UNITS | 0 | ctx | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &ctx->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct pwm_fan_ctx)->lock |
drivers/hwmon/pwm-fan.c set_pwm() -> __set_pwm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ctx->pwm->chip->ops->sizeof_wfhw | 0-2,5,12,16 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx->dev | (-1),1616 |
| BUF_SIZE | 0 | ctx->pwm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx->reg_en | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | &ctx->lock | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | pwm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pwm | 0-255 |
| UNITS | 0 | ctx | unit_byte |
| LOCK2 | 0 | &ctx->lock | |
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct pwm_fan_ctx)->lock |