Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/core.c, line 5278 (as a function)
- include/linux/regulator/consumer.h, line 602 (as a function)
Referenced in 6 files:
- drivers/hwmon/sht15.c, line 956
- drivers/iio/adc/rockchip_saradc.c, line 561
- drivers/mmc/core/regulator.c, line 322
- drivers/regulator/core.c
- drivers/regulator/devres.c, line 661
- drivers/soc/rockchip/io-domain.c, line 704
Smatch caller information:
drivers/mmc/core/regulator.c mmc_regulator_register_undervoltage_notifier() -> regulator_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 1-ptr_max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 6725856857977544704 |
| LOCK2 | &pool->lock |
drivers/regulator/devres.c devm_regulator_register_notifier() -> regulator_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | regulator | $0 |
| DATA_SOURCE | 1 | nb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/regulator/core.c register_regulator_event_forwarding() -> regulator_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | regulator->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | regulator->debugfs->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | regulator->debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | regulator->debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | regulator->debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | regulator->debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | regulator->debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | regulator->debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | regulator->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->supply_name | 1-u64max |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 7689597362385813504 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/rockchip/io-domain.c rockchip_iodomain_probe() -> regulator_register_notifier()
| 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->reg_data->lock.dep_map->name | 0-255 |
| 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_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 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 1394994893047091200 |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | regulator | r devm_regulator_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/sht15.c sht15_probe() -> regulator_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->enable_count | 0-4294967295 |
| 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->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->load_updated | 0-1 |
| 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.dep_map->name | 0-255 |
| 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->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| 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->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->use_count | 0-4294967295 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 8125970178837954560 |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | regulator->rdev | 1 |
| CAPPED_DATA | 0 | regulator->rdev->coupling_desc.n_coupled | 1 |
| DATA_SOURCE | 0 | regulator | r devm_regulator_get_optional |
| MEM_ZERO | 1 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/adc/rockchip_saradc.c rockchip_saradc_probe() -> regulator_register_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->enable_count | 0-4294967295 |
| 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->notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->load | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->load_updated | 0-1 |
| 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.dep_map->name | 0-255 |
| 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->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->reg_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| 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->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | regulator->rdev->supply->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | regulator->rdev->use_count | 0-4294967295 |
| 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 |
| PARAM_VALUE | 1 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | nb->notifier_call | 391739914536366080 |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| BUF_SIZE | 0 | regulator | s32min,(-1)-s32max |
| CAPPED_DATA | 0 | regulator->rdev | 1 |
| CAPPED_DATA | 0 | regulator->rdev->coupling_desc.n_coupled | 1 |
| DATA_SOURCE | 0 | regulator | r devm_regulator_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |