Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hwmon/dme1737.c dme1737_create_files() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/dme1737.c dme1737_init_device() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/dme1737.c set_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_pwm() -> PWM_EN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |