Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/core.c, line 2579 (as a function)
- include/linux/regulator/consumer.h, line 294 (as a function)
Referenced in 24 files:
- arch/arm/mach-omap1/board-ams-delta.c, line 806
- drivers/ata/libahci_platform.c, line 409
- drivers/clk/tegra/clk-tegra124-dfll-fcpu.c, line 644
- drivers/cpufreq/imx6q-cpufreq.c
- drivers/cpufreq/pxa2xx-cpufreq.c, line 130
- drivers/cpufreq/s3c64xx-cpufreq.c, line 161
- drivers/cpufreq/s5pv210-cpufreq.c
- drivers/dma/ste_dma40.c, line 3596
- drivers/input/misc/max8997_haptic.c, line 297
- drivers/mfd/arizona-core.c, line 1019
- drivers/mfd/madera-core.c, line 550
- drivers/mmc/host/sdhci-omap.c, line 948
- drivers/net/pse-pd/pse_core.c, line 984
- drivers/phy/tegra/xusb.c, line 780
- drivers/pinctrl/sunxi/pinctrl-sunxi.c, line 907
- drivers/power/supply/charger-manager.c, line 1025
- drivers/regulator/core.c, line 2583
- drivers/regulator/of_regulator.c, line 960
- drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
- drivers/ufs/host/ufs-mediatek.c, line 683
- drivers/usb/phy/phy-twl6030-usb.c, line 155
- rust/helpers/regulator.c, line 26
- sound/soc/codecs/cx20442.c, line 355
- sound/soc/ti/omap3pandora.c, line 262
Smatch caller information:
drivers/mfd/madera-core.c madera_dev_init() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 8133125848953614336 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/phy/phy-twl6030-usb.c twl6030_usb_ldo_init() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | id | 5815252643811360768 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 4 |
| STR_LEN | 0 | dev | 3 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c gmin_subdev_add() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,527,50235921770707435,2528523692154392576,3617072262637035520 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,632,48484213451719352,2506261230157742080,4169194063996235776 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,663,58722010135957667,2118452656510775296,2518538481676259328 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,775,62571895156780032,3634718672199266304,5690836758666383360 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,892,86767622481470668,1256335292805263360,8472845699660435456 |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | id | 7252741876859285504 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c gmin_subdev_add() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,527,50235921770707435,2528523692154392576,3617072262637035520 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,632,48484213451719352,2506261230157742080,4169194063996235776 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,663,58722010135957667,2118452656510775296,2518538481676259328 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,775,62571895156780032,3634718672199266304,5690836758666383360 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,892,86767622481470668,1256335292805263360,8472845699660435456 |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 8039160397010124800 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c gmin_subdev_add() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,527,50235921770707435,2528523692154392576,3617072262637035520 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,632,48484213451719352,2506261230157742080,4169194063996235776 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,663,58722010135957667,2118452656510775296,2518538481676259328 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,775,62571895156780032,3634718672199266304,5690836758666383360 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,892,86767622481470668,1256335292805263360,8472845699660435456 |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 2989513206409375744 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/s5pv210-cpufreq.c s5pv210_cpufreq_probe() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | id | 2027048285035913216 |
| BUF_SIZE | 1 | id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/s5pv210-cpufreq.c s5pv210_cpufreq_probe() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | id | 991585534256398336 |
| BUF_SIZE | 1 | id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/misc/max8997_haptic.c max8997_haptic_probe() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 154984866648481792 |
| BUF_SIZE | 1 | id | 8 |
| STR_LEN | 0 | dev | 7 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/host/sdhci-omap.c sdhci_omap_regulator_get_caps() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 2715453598695583744,3630245445723144192 |
| BUF_SIZE | 1 | id | 6 |
| BUF_SIZE | 1 | id | 6 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | id | $1 |
| STR_LEN | 0 | dev | 5 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/of_regulator.c of_regulator_bulk_get_all() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 6181168167893524480 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 64 |
| DATA_SOURCE | 0 | dev | $0 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/pse-pd/pse_core.c pse_register_pw_ds() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 1 | id | s32min,(-10),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pse_pw_d_mutex |
drivers/cpufreq/pxa2xx-cpufreq.c pxa_cpufreq_init_voltages() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | id | 4461054024850411520 |
| BUF_SIZE | 1 | id | 9 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
sound/soc/codecs/cx20442.c cx20442_component_probe() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | id | 2529477929667993600 |
| BUF_SIZE | 1 | id | 4 |
| STR_LEN | 0 | dev | 3 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/power/supply/charger-manager.c charger_manager_get_regulators() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ata/libahci_platform.c ahci_platform_get_regulator() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 3079799115295019008 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | id | 7 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $2 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/s3c64xx-cpufreq.c s3c64xx_cpufreq_driver_init() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | id | 2027048285035913216 |
| BUF_SIZE | 1 | id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/mfd/arizona-core.c arizona_dev_init() -> regulator_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 8133125848953614336 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |