Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adc_tm5_gen3_configure() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->base 4096-ptr_max
PARAM_VALUE 0 adc->regmap 4096-ptr_max
PARAM_VALUE 0 adc->regmap->cache_dirty 0-1
PARAM_VALUE 0 *adc->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 offset 79
PARAM_VALUE 3 data 7681686806474092544
PARAM_VALUE 4 len 12
BUF_SIZE 3 data 12
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
LOCK2 &adc_tm5->dev->parent->driver_data->priv->lock
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-gen3.c adctm5_gen3_isr() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->num_sdams 1-s32max
PARAM_VALUE 1 sdam_index 0-s32max
PARAM_VALUE 2 offset 70
PARAM_VALUE 3 data 1036221036735496192
PARAM_VALUE 4 len 1
CAPPED_DATA 0 adc->num_sdams 1
CAPPED_DATA 1 sdam_index 1
DATA_SOURCE 1 sdam_index r get_sdam_from_irq
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adctm5_gen3_isr() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->base 4096-ptr_max
PARAM_VALUE 0 adc->num_sdams 1-s32max
PARAM_VALUE 0 adc->regmap 4096-ptr_max
PARAM_VALUE 0 *adc->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 sdam_index 0-s32max
PARAM_VALUE 2 offset 72
PARAM_VALUE 3 data 7342279726078177280
PARAM_VALUE 4 len 2
BUF_SIZE 3 data 2
CAPPED_DATA 0 adc->num_sdams 1
CAPPED_DATA 1 sdam_index 1
DATA_SOURCE 1 sdam_index r get_sdam_from_irq
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adctm5_gen3_isr_thread() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->num_sdams 1-s32max
PARAM_VALUE 1 sdam_index 0-s32max
PARAM_VALUE 2 offset 72
PARAM_VALUE 3 data 6655939905105809408
PARAM_VALUE 4 len 2
BUF_SIZE 3 data 2
CAPPED_DATA 0 adc->num_sdams 1
CAPPED_DATA 1 sdam_index 1
DATA_SOURCE 1 sdam_index r get_sdam_from_irq
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
LOCK2 &adc_tm5->dev->parent->driver_data->priv->lock

drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_configure() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->base 4096-ptr_max
PARAM_VALUE 0 adc->regmap 4096-ptr_max
PARAM_VALUE 1 sdam_index 0
PARAM_VALUE 2 offset 79
PARAM_VALUE 3 data 5382385878097989632
PARAM_VALUE 4 len 7
BUF_SIZE 3 data 7
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
LOCK2 _T->lock

drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_isr() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 1 sdam_index 0
PARAM_VALUE 2 offset 70
PARAM_VALUE 3 data 1955201335670284288
PARAM_VALUE 4 len 1
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte

drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_isr() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->base 4096-ptr_max
PARAM_VALUE 0 adc->regmap 4096-ptr_max
PARAM_VALUE 1 sdam_index 0
PARAM_VALUE 2 offset 74
PARAM_VALUE 3 data 1659030885127319552
PARAM_VALUE 4 len 1
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte

drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_poll_wait_hs() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 2 offset 69
PARAM_VALUE 3 data 3564194127072542720
PARAM_VALUE 4 len 1
DATA_SOURCE 0 adc $0
DATA_SOURCE 1 sdam_index $1
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
HALF_LOCKED2 &adc_tm5->dev->parent->driver_data->priv->lock
HALF_LOCKED2 _T->lock

drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_poll_wait_hs() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->base 4096-ptr_max
PARAM_VALUE 0 adc->regmap 4096-ptr_max
PARAM_VALUE 0 *adc->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 offset 229
PARAM_VALUE 3 data 2326599373442957312
PARAM_VALUE 3 *data 1-255
PARAM_VALUE 4 len 1
DATA_SOURCE 0 adc $0
DATA_SOURCE 1 sdam_index $1
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
HALF_LOCKED2 &adc_tm5->dev->parent->driver_data->priv->lock
HALF_LOCKED2 _T->lock

drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_read_voltage_data() -> adc5_gen3_read()

Type Parameter Key Value
PARAM_VALUE 0 adc 4096-ptr_max
PARAM_VALUE 0 adc->base 4096-ptr_max
PARAM_VALUE 0 adc->regmap 4096-ptr_max
PARAM_VALUE 1 sdam_index 0
PARAM_VALUE 2 offset 92
PARAM_VALUE 3 data 6110932896147341312
PARAM_VALUE 4 len 2
BUF_SIZE 3 data 2
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
LOCK2 _T->lock