Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/hwmon/nct6775-core.c store_pwm_enable() -> pwm_enable_to_reg()

Type Parameter Key Value
PARAM_VALUE 0 val 0-5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 val 0-3
NO_OVERFLOW_SIMPLE 0 val
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct nct6775_data)->update_lock

drivers/hwmon/pc87427.c pwm_enable_store() -> pwm_enable_to_reg()

Type Parameter Key Value
PARAM_VALUE 0 val 0-2
FUZZY_MAX 0 val 2
HARD_MAX 0 val 2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 val 0-1
NO_OVERFLOW_SIMPLE 0 val
LOCK2 &data->lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct pc87427_data)->lock