Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_gen1_get_temp_stage() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | addr | 8 |
| PARAM_VALUE | 2 | data | 3778372807919788032 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip->data | (-1),40 |
| BUF_SIZE | 0 | chip->dev | (-1),1616 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock | ||
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_gen2_get_temp_stage() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | addr | 8 |
| PARAM_VALUE | 2 | data | 519926067733327872 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip->data | (-1),40 |
| BUF_SIZE | 0 | chip->dev | (-1),1616 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock | ||
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_gen2_rev2_sync_thresholds() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4656235181596225536,5093968512025358336,7063850403372396544,8253976154031063040,8831273352837099520 |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->subtype | 8-9,192 |
| PARAM_VALUE | 0 | chip->temp_thresh_map | 0 |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 71-73 |
| PARAM_VALUE | 2 | data | 9013764679513300992 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->data | 40 |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->data | 0x4000000000000000,0xffffffffffffffff |
| BIT_INFO | 0 | chip->subtype | 0x0,0xc9 |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_lite_get_temp_stage() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | addr | 16 |
| PARAM_VALUE | 2 | data | 6029682373956907008 |
| PARAM_VALUE | 2 | *data | 0 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip->data | (-1),40 |
| BUF_SIZE | 0 | chip->dev | (-1),1616 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock | ||
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_lite_set_temp_thresh() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->temp_thresh_map | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 80-81 |
| PARAM_VALUE | 2 | data | 2717779538422345728 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| BUF_SIZE | 0 | chip | (-1),8,16,24,32,39-40,48,96,104,112,136,200,216,232,256,320,376 |
| DATA_SOURCE | 0 | chip | $0 |
| FUZZY_MAX | 1 | addr | 81 |
| BIT_INFO | 1 | addr | 0x50,0x51 |
| HARD_MAX | 1 | addr | 81 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chip->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tz->lock | ||
| TYPE_LOCK | (struct qpnp_tm_chip)->lock |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_lite_sync_thresholds() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4656235181596225536,5093968512025358336,7063850403372396544,8253976154031063040,8831273352837099520 |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->subtype | 8-9,192 |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 80 |
| PARAM_VALUE | 2 | data | 6439855476445069312 |
| PARAM_VALUE | 2 | *data | 0 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->data | 40 |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->data | 0x4000000000000000,0x7ebffffffffbf000 |
| BIT_INFO | 0 | chip->subtype | 0x0,0xc9 |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_lite_sync_thresholds() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4656235181596225536,5093968512025358336,7063850403372396544,8253976154031063040,8831273352837099520 |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->subtype | 8-9,192 |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 81 |
| PARAM_VALUE | 2 | data | 6439855476445069312 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->data | 40 |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->data | 0x4000000000000000,0xffffffffffffffff |
| BIT_INFO | 0 | chip->subtype | 0x0,0xc9 |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_probe() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0-ptr_max |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 1-u64max |
| PARAM_VALUE | 1 | addr | 4 |
| PARAM_VALUE | 2 | data | 6993872356066013184 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->adc | s32min-s32max |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | r devm_kzalloc |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_probe() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0-ptr_max |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 5 |
| PARAM_VALUE | 2 | data | 2964516380799860736 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->adc | s32min-s32max |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | r devm_kzalloc |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_probe() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0-ptr_max |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 1 |
| PARAM_VALUE | 2 | data | 5599369941342167040 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->adc | s32min-s32max |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | r devm_kzalloc |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_probe() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0-ptr_max |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | data | 605836198947192832 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->adc | s32min-s32max |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | r devm_kzalloc |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/qcom/qcom-spmi-temp-alarm.c qpnp_tm_sync_thresholds() -> qpnp_tm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->adc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->data | 4656235181596225536,5093968512025358336,7063850403372396544,8253976154031063040,8831273352837099520 |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->map | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->subtype | 8-9,192 |
| PARAM_VALUE | 0 | *chip->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | data | 3391674724170911744 |
| BUF_SIZE | 0 | chip | 256 |
| BUF_SIZE | 0 | chip->data | 40 |
| BUF_SIZE | 0 | chip->dev | 1616 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->data | 0x4000000000000000,0x7ebffffffffbf000 |
| BIT_INFO | 0 | chip->subtype | 0x0,0xc9 |
| MEM_ZERO | 0 | chip | |
| RX_PATH | |||
| TASK_NOT_RUNNING |