Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/devres.c, line 225 (as a function)
- include/linux/regulator/consumer.h, line 360 (as a function)
Referenced in 4 files:
- drivers/input/touchscreen/stmfts.c, line 660
- drivers/regulator/devres.c
- drivers/regulator/vctrl-regulator.c, line 524
- drivers/video/fbdev/simplefb.c, line 408
Smatch caller information:
drivers/regulator/devres.c _devm_regulator_get_enable() -> devm_regulator_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | regulator->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache_dirty | 0-1 |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | regulator->rdev | 1 |
| DATA_SOURCE | 0 | regulator | r _devm_regulator_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/regulator/devres.c devm_regulator_get_enable_read_voltage() -> devm_regulator_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->desc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->ena_gpio_state | 1 |
| PARAM_VALUE | 0 | regulator->rdev->ena_pin->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->async | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *regulator->rdev->reg_data->mc13xxx->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | *regulator->rdev->reg_data->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | regulator | 1 |
| CAPPED_DATA | 0 | regulator->rdev | 1 |
| DATA_SOURCE | 0 | regulator | r devm_regulator_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/input/touchscreen/stmfts.c stmfts_enable_led() -> devm_regulator_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | regulator | r devm_regulator_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/regulator/vctrl-regulator.c vctrl_probe() -> devm_regulator_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->desc | 4096-ptr_max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | regulator | r devm_regulator_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |