Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_configure() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 data 6952406497563189248
PARAM_VALUE 3 len 8
BUF_SIZE 2 data 8
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_enable() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 70
PARAM_VALUE 2 data 8504026089940652032
PARAM_VALUE 2 *data 128
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $0
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_enable() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 71
PARAM_VALUE 2 data 8504026089940652032
PARAM_VALUE 2 *data 128
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $0
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_configure() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adc_tm->adc_mutex_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 64
PARAM_VALUE 2 data 5784308095899688960
PARAM_VALUE 3 len 14
BUF_SIZE 2 data 14
CAPPED_DATA 0 &adc_tm->adc_mutex_lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
LOCK2 &tz->lock
LOCK2 0 &adc_tm->adc_mutex_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct adc_tm5_chip)->adc_mutex_lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_conv_req() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adc_tm->adc_mutex_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 70
PARAM_VALUE 2 data 8694858779829616640
PARAM_VALUE 2 *data 128
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chip->adc_mutex_lock
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct adc_tm5_chip)->adc_mutex_lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_conv_req() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adc_tm->adc_mutex_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 13
PARAM_VALUE 2 data 8694858779829616640
PARAM_VALUE 2 *data 1
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chip->adc_mutex_lock
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct adc_tm5_chip)->adc_mutex_lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_conv_req() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adc_tm->adc_mutex_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 71
PARAM_VALUE 2 data 8694858779829616640
PARAM_VALUE 2 *data 128
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chip->adc_mutex_lock
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct adc_tm5_chip)->adc_mutex_lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_disable_channel() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adc_tm->adc_mutex_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 65
PARAM_VALUE 2 data 2231199958234931200
PARAM_VALUE 3 len 1
CAPPED_DATA 0 &adc_tm->adc_mutex_lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
LOCK2 0 &adc_tm->adc_mutex_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct adc_tm5_chip)->adc_mutex_lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_disable_channel() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adc_tm->adc_mutex_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adc_tm->adc_mutex_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 77
PARAM_VALUE 2 data 2231199958234931200
PARAM_VALUE 2 *data 0
PARAM_VALUE 3 len 1
CAPPED_DATA 0 &adc_tm->adc_mutex_lock 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
LOCK2 0 &adc_tm->adc_mutex_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct adc_tm5_chip)->adc_mutex_lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_isr() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 10
PARAM_VALUE 2 data 6416372181874696192
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_gen2_isr() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 12
PARAM_VALUE 2 data 5105974290840117248
PARAM_VALUE 3 len 1
DATA_SOURCE 0 adc_tm $1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm5_init() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->avg_samples 0-s32max
PARAM_VALUE 0 adc_tm->channels 4096-ptr_max
PARAM_VALUE 0 adc_tm->channels->avg_samples 0-s32max
PARAM_VALUE 0 adc_tm->channels->cal_method 0-2
PARAM_VALUE 0 adc_tm->channels->channel 0-7
PARAM_VALUE 0 adc_tm->channels->chip 0
PARAM_VALUE 0 adc_tm->channels->decimation 0-2
PARAM_VALUE 0 adc_tm->channels->high_thr_en 0
PARAM_VALUE 0 adc_tm->channels->hw_settle_time 0-15
PARAM_VALUE 0 adc_tm->channels->iio 0,4096-ptr_max
PARAM_VALUE 0 adc_tm->channels->low_thr_en 0
PARAM_VALUE 0 adc_tm->channels->meas_en 0
PARAM_VALUE 0 adc_tm->channels->prescale 0-8
PARAM_VALUE 0 adc_tm->channels->tzd 0
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->data->configure 4023742462208540672
PARAM_VALUE 0 adc_tm->data->decimation 4096-ptr_max
PARAM_VALUE 0 adc_tm->data->disable_channel 971349344450895872
PARAM_VALUE 0 adc_tm->data->full_scale_code_volt 28900
PARAM_VALUE 0 adc_tm->data->gen 0
PARAM_VALUE 0 adc_tm->data->hw_settle 4096-ptr_max
PARAM_VALUE 0 adc_tm->data->init 2941353351896264704
PARAM_VALUE 0 adc_tm->data->irq_name 6911951351952093184
PARAM_VALUE 0 adc_tm->data->isr 3613047677340856320
PARAM_VALUE 0 adc_tm->decimation 0-2
PARAM_VALUE 0 adc_tm->dev 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->of_node 0
PARAM_VALUE 0 adc_tm->dev->parent 0
PARAM_VALUE 0 adc_tm->nchannels 1-s32max
PARAM_VALUE 0 adc_tm->regmap 4096-ptr_max
PARAM_VALUE 0 adc_tm->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc_tm->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 offset 66
PARAM_VALUE 2 data 4096-ptr_max
PARAM_VALUE 3 len 4
BUF_SIZE 0 adc_tm 200
BUF_SIZE 0 adc_tm->dev 1616
BUF_SIZE 2 data 4
CAPPED_DATA 0 adc_tm->nchannels 1
DATA_SOURCE 0 adc_tm $0
MEM_ZERO 0 adc_tm
MEM_ZERO 0 adc_tm->dev
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adc_tm->nchannels
UNITS 3 len unit_byte

drivers/thermal/qcom/qcom-spmi-adc-tm5.c adc_tm_hc_init() -> adc_tm5_write()

Type Parameter Key Value
PARAM_VALUE 0 adc_tm 4096-ptr_max
PARAM_VALUE 0 adc_tm->avg_samples 0-s32max
PARAM_VALUE 0 adc_tm->channels 4096-ptr_max
PARAM_VALUE 0 adc_tm->channels->avg_samples 0-s32max
PARAM_VALUE 0 adc_tm->channels->cal_method 0-2
PARAM_VALUE 0 adc_tm->channels->channel 0-7
PARAM_VALUE 0 adc_tm->channels->chip 0
PARAM_VALUE 0 adc_tm->channels->decimation 0-2
PARAM_VALUE 0 adc_tm->channels->high_thr_en 0
PARAM_VALUE 0 adc_tm->channels->hw_settle_time 0-15
PARAM_VALUE 0 adc_tm->channels->iio 0,4096-ptr_max
PARAM_VALUE 0 adc_tm->channels->low_thr_en 0
PARAM_VALUE 0 adc_tm->channels->meas_en 0
PARAM_VALUE 0 adc_tm->channels->prescale 0-8
PARAM_VALUE 0 adc_tm->channels->tzd 0
PARAM_VALUE 0 adc_tm->data 4096-ptr_max
PARAM_VALUE 0 adc_tm->data->configure 4023742462208540672
PARAM_VALUE 0 adc_tm->data->decimation 4096-ptr_max
PARAM_VALUE 0 adc_tm->data->disable_channel 971349344450895872
PARAM_VALUE 0 adc_tm->data->full_scale_code_volt 28900
PARAM_VALUE 0 adc_tm->data->gen 0
PARAM_VALUE 0 adc_tm->data->hw_settle 4096-ptr_max
PARAM_VALUE 0 adc_tm->data->init 2941353351896264704
PARAM_VALUE 0 adc_tm->data->irq_name 6911951351952093184
PARAM_VALUE 0 adc_tm->data->isr 3613047677340856320
PARAM_VALUE 0 adc_tm->decimation 0-2
PARAM_VALUE 0 adc_tm->dev 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 adc_tm->dev->of_node 0
PARAM_VALUE 0 adc_tm->dev->parent 0
PARAM_VALUE 0 adc_tm->nchannels 1-s32max
PARAM_VALUE 0 adc_tm->regmap 1-u64max
PARAM_VALUE 1 offset 66
PARAM_VALUE 2 data 4096-ptr_max
PARAM_VALUE 3 len 2
BUF_SIZE 0 adc_tm 200
BUF_SIZE 0 adc_tm->dev 1616
BUF_SIZE 2 data 2
CAPPED_DATA 0 adc_tm->nchannels 1
DATA_SOURCE 0 adc_tm $0
MEM_ZERO 0 adc_tm
MEM_ZERO 0 adc_tm->dev
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adc_tm->nchannels
UNITS 3 len unit_byte