Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/occ/common.c occ_active() -> occ_setup_sensor_attrs()

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
PARAM_VALUE 0 occ->active 1
PARAM_VALUE 0 occ->bus_dev 0,4096-ptr_max
PARAM_VALUE 0 occ->bus_dev->bus 0,4096-ptr_max
PARAM_VALUE 0 occ->bus_dev->class 0,4096-ptr_max
PARAM_VALUE 0 occ->bus_dev->driver 0,4096-ptr_max
PARAM_VALUE 0 occ->error (-112),0
PARAM_VALUE 0 occ->error_count 0
PARAM_VALUE 0 occ->hwmon_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->hwmon_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 occ->hwmon_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->hwmon_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->hwmon_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->hwmon_lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->hwmon_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 occ->last_error 0
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 occ->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 occ->poll_cmd_data 0,16,32
PARAM_VALUE 0 occ->powr_sample_time_us 0,250,500
PARAM_VALUE 0 occ->prev_error s32min-0
PARAM_VALUE 0 occ->resp.data 4096-ptr_max
PARAM_VALUE 0 occ->send_cmd 2958491065109020672,3464263004002525184
PARAM_VALUE 0 occ->sensors.caps.data 0
PARAM_VALUE 0 occ->sensors.caps.num_sensors 0
PARAM_VALUE 0 occ->sensors.caps.version 0
PARAM_VALUE 0 occ->sensors.extended.data 0
PARAM_VALUE 0 occ->sensors.extended.num_sensors 0
PARAM_VALUE 0 occ->sensors.extended.version 0
PARAM_VALUE 0 occ->sensors.freq.data 0
PARAM_VALUE 0 occ->sensors.freq.num_sensors 0
PARAM_VALUE 0 occ->sensors.freq.version 0
PARAM_VALUE 0 occ->sensors.power.data 0
PARAM_VALUE 0 occ->sensors.power.num_sensors 0
PARAM_VALUE 0 occ->sensors.power.version 0
PARAM_VALUE 0 occ->sensors.temp.data 0
PARAM_VALUE 0 occ->sensors.temp.num_sensors 0
PARAM_VALUE 0 occ->sensors.temp.version 0
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ->bus_dev (-1),1616
CAPPED_DATA 0 &occ->hwmon_lock 1
CAPPED_DATA 0 &occ->lock 1
DATA_SOURCE 0 occ $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 occ unit_byte
LOCK2 0 &occ->hwmon_lock
LOCK2 0 &occ->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct occ)->hwmon_lock
TYPE_LOCK (struct occ)->lock