Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/core.c, line 5382 (as a function)
- include/linux/regulator/consumer.h, line 439 (as a function)
Referenced in 8 files:
- drivers/mfd/wcd934x.c, line 240
- drivers/mfd/wm8994-core.c, line 379
- drivers/misc/lis3lv02d/lis3lv02d_i2c.c, line 142
- drivers/net/ethernet/smsc/smsc911x.c, line 424
- drivers/pci/controller/pcie-brcmstb.c, line 1493
- drivers/regulator/core.c, line 5387
- sound/soc/codecs/da7219.c, line 1848
- sound/soc/codecs/sgtl5000.c, line 1442
Smatch caller information:
drivers/net/ethernet/smsc/smsc911x.c smsc911x_request_resources() -> regulator_bulk_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | num_consumers | 2 |
| PARAM_VALUE | 2 | consumers | 4096-ptr_max |
| BUF_SIZE | 2 | consumers | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | num_consumers | unit_array_size |
sound/soc/codecs/sgtl5000.c sgtl5000_enable_regulators() -> regulator_bulk_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | num_consumers | 2-3 |
| PARAM_VALUE | 2 | consumers | 4096-ptr_max |
| BUF_SIZE | 2 | consumers | 72 |
| FUZZY_MAX | 1 | num_consumers | 3 |
| HARD_MAX | 1 | num_consumers | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/wcd934x.c wcd934x_slim_probe() -> regulator_bulk_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->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 0 | dev->of_node->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | num_consumers | 5 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | consumers | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/wm8994-core.c wm8994_device_init() -> regulator_bulk_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 | 1 | num_consumers | 7,9 |
| PARAM_VALUE | 2 | consumers | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | consumers | 168,216 |
| BUF_SIZE | 2 | consumers | 168,216 |
| DATA_SOURCE | 2 | consumers | r devm_kcalloc |
| FUZZY_MAX | 1 | num_consumers | 9 |
| BIT_INFO | 1 | num_consumers | 0x1,0xf |
| HARD_MAX | 1 | num_consumers | 9 |
| MEM_ZERO | 2 | consumers | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | num_consumers | |
| UNITS | 1 | num_consumers | unit_array_size |
drivers/pci/controller/pcie-brcmstb.c brcm_pcie_add_bus() -> regulator_bulk_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->of_node | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | consumers | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | num_consumers | unit_array_size |
sound/soc/codecs/da7219.c da7219_handle_supplies() -> regulator_bulk_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 | num_consumers | 3 |
| PARAM_VALUE | 2 | consumers | 4096-ptr_max |
| BUF_SIZE | 2 | consumers | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/misc/lis3lv02d/lis3lv02d_i2c.c lis3lv02d_i2c_probe() -> regulator_bulk_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | num_consumers | 2 |
| PARAM_VALUE | 2 | consumers | 4096-ptr_max |
| BUF_SIZE | 2 | consumers | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | num_consumers | unit_array_size |