Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/pmbus/pmbus_core.c pmbus_get_boolean() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 1 sensor 4096-ptr_max
PARAM_VALUE 1 sensor->data 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &client->dev.driver_data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/pmbus/pmbus_core.c pmbus_get_boolean() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 1 sensor 4096-ptr_max
PARAM_VALUE 1 sensor->data 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &client->dev.driver_data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/pmbus/pmbus_core.c pmbus_regulator_get_high_margin() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 sensor 9078110623459270656
PARAM_VALUE 1 sensor->class 1
PARAM_VALUE 1 sensor->convert 1
PARAM_VALUE 1 sensor->data 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &client->dev.driver_data->update_lock

drivers/hwmon/pmbus/pmbus_core.c pmbus_regulator_get_low_margin() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 sensor 407887038986043392
PARAM_VALUE 1 sensor->class 1
PARAM_VALUE 1 sensor->convert 1
PARAM_VALUE 1 sensor->data 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &client->dev.driver_data->update_lock

drivers/hwmon/pmbus/pmbus_core.c pmbus_regulator_get_voltage() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 1 sensor 9145094546259595264
PARAM_VALUE 1 sensor->class 1
PARAM_VALUE 1 sensor->convert 1
PARAM_VALUE 1 sensor->data 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
LOCK2 &client->dev.driver_data->update_lock

drivers/hwmon/pmbus/pmbus_core.c pmbus_show_sensor() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 1 sensor 4096-ptr_max
PARAM_VALUE 1 sensor->data 0-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
BUF_SIZE 0 data s32min-(-2),1-s32max
FUZZY_MAX 1 sensor->data 0
UNITS 0 data unit_byte
LOCK2 &client->dev.driver_data->update_lock

drivers/hwmon/pmbus/pmbus_core.c pmbus_thermal_get_temp() -> pmbus_reg2data()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 sensor 4096-ptr_max
PARAM_VALUE 1 sensor->data 0-s32max
FUZZY_MAX 1 sensor->data 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &client->dev.driver_data->update_lock
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock