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_write()
| 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 | 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 adc_tm5_gen3_configure() -> adc5_gen3_write()
| 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 | 2 | offset | 229 |
| PARAM_VALUE | 3 | data | 835789166637883392 |
| PARAM_VALUE | 3 | *data | 1 |
| PARAM_VALUE | 4 | len | 1 |
| 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 adc_tm5_gen3_disable_channel() -> adc5_gen3_write()
| 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 | 76 |
| PARAM_VALUE | 3 | data | 8958357884167016448 |
| PARAM_VALUE | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &adc_tm5->dev->parent->driver_data->priv->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adc_tm5_gen3_disable_channel() -> adc5_gen3_write()
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | offset | 77 |
| PARAM_VALUE | 3 | data | 8958357884167016448 |
| PARAM_VALUE | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &adc_tm5->dev->parent->driver_data->priv->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adc_tm5_gen3_disable_channel() -> adc5_gen3_write()
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | offset | 81 |
| PARAM_VALUE | 3 | data | 8958357884167016448 |
| PARAM_VALUE | 3 | *data | 0 |
| PARAM_VALUE | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &adc_tm5->dev->parent->driver_data->priv->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adc_tm5_gen3_disable_channel() -> adc5_gen3_write()
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | offset | 80 |
| PARAM_VALUE | 3 | data | 8958357884167016448 |
| PARAM_VALUE | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &adc_tm5->dev->parent->driver_data->priv->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c adc_tm5_gen3_disable_channel() -> adc5_gen3_write()
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | offset | 229 |
| PARAM_VALUE | 3 | data | 8958357884167016448 |
| PARAM_VALUE | 3 | *data | 1 |
| PARAM_VALUE | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &adc_tm5->dev->parent->driver_data->priv->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_configure() -> adc5_gen3_write()
| 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_configure() -> adc5_gen3_write()
| 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 | 229 |
| PARAM_VALUE | 3 | data | 3526154058142842880 |
| PARAM_VALUE | 3 | *data | 1 |
| PARAM_VALUE | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | _T->lock |
drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_status_clear() -> adc5_gen3_write()
| 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-s32max |
| PARAM_VALUE | 2 | offset | 75-76,78 |
| PARAM_VALUE | 3 | data | 2992000907016372224,3235018885971693568,6655939905105809408,7957278920356524032 |
| PARAM_VALUE | 4 | len | 1-2 |
| BUF_SIZE | 3 | data | (-1),2 |
| BUF_SIZE | 3 | data | (-1),2 |
| CAPPED_DATA | 1 | sdam_index | 1 |
| DATA_SOURCE | 0 | adc | $0 |
| DATA_SOURCE | 1 | sdam_index | $1 |
| DATA_SOURCE | 2 | offset | $2 |
| DATA_SOURCE | 3 | data | $3 |
| DATA_SOURCE | 4 | len | $4 |
| HARD_MAX | 2 | offset | 78 |
| HARD_MAX | 4 | len | 2 |
| 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_status_clear() -> adc5_gen3_write()
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sdam_index | 0-s32max |
| PARAM_VALUE | 2 | offset | 80 |
| PARAM_VALUE | 3 | data | 655604584204599296 |
| PARAM_VALUE | 3 | *data | 0 |
| PARAM_VALUE | 4 | len | 1 |
| CAPPED_DATA | 1 | sdam_index | 1 |
| DATA_SOURCE | 0 | adc | $0 |
| DATA_SOURCE | 1 | sdam_index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/qcom-spmi-adc5-gen3.c adc5_gen3_status_clear() -> adc5_gen3_write()
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sdam_index | 0-s32max |
| PARAM_VALUE | 2 | offset | 229 |
| PARAM_VALUE | 3 | data | 655604584204599296 |
| PARAM_VALUE | 3 | *data | 1 |
| PARAM_VALUE | 4 | len | 1 |
| CAPPED_DATA | 1 | sdam_index | 1 |
| DATA_SOURCE | 0 | adc | $0 |
| DATA_SOURCE | 1 | sdam_index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| HALF_LOCKED2 | _T->lock |