Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/max16065.c max16065_limit_store() -> LIMIT_TO_MV()

Type Parameter Key Value
PARAM_VALUE 0 limit 0-2573
PARAM_VALUE 1 range 0,1390,2780,5560,7000,14000
DATA_SOURCE 0 limit r MV_TO_LIMIT
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 limit 1-2573[c]
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 max16065_data)->update_lock

drivers/hwmon/max16065.c max16065_probe() -> LIMIT_TO_MV()

Type Parameter Key Value
PARAM_VALUE 0 limit 0-255
PARAM_VALUE 1 range 0,1390,2780,5560,7000,14000
DATA_SOURCE 0 limit r i2c_smbus_read_byte_data
RX_PATH
TASK_NOT_RUNNING