Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 4894 (as a function)
- include/linux/gpio/consumer.h, line 554 (as a function)
Referenced in 20 files:
- arch/arm/mach-mvebu/pm-board.c, line 99
- arch/powerpc/platforms/44x/warp.c, line 178
- arch/powerpc/platforms/85xx/sgy_cts1000.c, line 68
- drivers/extcon/extcon-rtk-type-c.c, line 1351
- drivers/gpio/gpiolib.c, line 4902
- drivers/i2c/i2c-core-of-prober.c, line 266
- drivers/net/phy/phylink.c, line 691
- drivers/power/supply/mt6370-charger.c, line 240
- drivers/power/supply/rt9467-charger.c, line 290
- drivers/regulator/da9121-regulator.c, line 399
- drivers/regulator/max77686-regulator.c, line 227
- drivers/regulator/mt6370-regulator.c, line 156
- drivers/regulator/s2mps11.c, line 362
- drivers/regulator/slg51000-regulator.c, line 203
- drivers/usb/gadget/udc/at91_udc.c
- include/linux/gpio/consumer.h, line 612
- sound/hda/codecs/side-codecs/cs35l41_hda.c, line 1845
- sound/hda/codecs/side-codecs/cs35l41_hda_property.c, line 338
- sound/hda/codecs/side-codecs/tas2781_hda_i2c.c, line 132
- sound/soc/codecs/cs35l56.c, line 1922
Smatch caller information:
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_probe() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 4292873881452580864 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 7 |
| PARAM_VALUE | 4 | label | 227120093478551552 |
| BUF_SIZE | 0 | fwnode | 0,64 |
| BUF_SIZE | 1 | con_id | 22 |
| BUF_SIZE | 4 | label | 13 |
| STR_LEN | 0 | fwnode | 21 |
| STR_LEN | 1 | con_id | 12 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/hda/codecs/side-codecs/cs35l41_hda.c cs35l41_hda_parse_acpi() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 3361649541988134912 |
| PARAM_VALUE | 2 | index | 0-3 |
| PARAM_VALUE | 3 | flags | 3 |
| PARAM_VALUE | 4 | label | 6050493814769020928 |
| BUF_SIZE | 1 | con_id | 6 |
| BUF_SIZE | 4 | label | 14 |
| CAPPED_DATA | 2 | index | 1 |
| STR_LEN | 0 | fwnode | 5 |
| STR_LEN | 1 | con_id | 13 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
drivers/power/supply/mt6370-charger.c mt6370_chg_otg_of_parse_cb() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 19 |
| BUF_SIZE | 1 | con_id | 7 |
| BUF_SIZE | 4 | label | s32min,(-10),1-s32max |
| STR_LEN | 0 | fwnode | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/max77686-regulator.c max77686_of_parse_cb() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 5960817138859597824 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 23 |
| PARAM_VALUE | 4 | label | 2674289937900572672 |
| BUF_SIZE | 1 | con_id | 10 |
| BUF_SIZE | 4 | label | 19 |
| STR_LEN | 0 | fwnode | 9 |
| STR_LEN | 1 | con_id | 18 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/rt9467-charger.c rt9467_otg_of_parse_cb() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 19 |
| BUF_SIZE | 1 | con_id | 7 |
| BUF_SIZE | 4 | label | s32min,(-10),1-s32max |
| STR_LEN | 0 | fwnode | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/phy/phylink.c phylink_parse_fixedlink() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 5158629417436008448 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 1 |
| PARAM_VALUE | 4 | label | 8921172543258488832 |
| BUF_SIZE | 1 | con_id | 5 |
| BUF_SIZE | 4 | label | 2 |
| DATA_SOURCE | 0 | fwnode | r fwnode_get_named_child_node |
| STR_LEN | 0 | fwnode | 4 |
| STR_LEN | 1 | con_id | 1 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
sound/soc/codecs/cs35l56.c cs35l56_try_get_broken_sdca_spkid_gpio() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 7559991510701166592 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 1 |
| PARAM_VALUE | 4 | label | 0 |
| BUF_SIZE | 1 | con_id | 7 |
| DATA_SOURCE | 0 | fwnode | r device_get_named_child_node |
| STR_LEN | 0 | fwnode | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/slg51000-regulator.c slg51000_of_parse_cb() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 19 |
| PARAM_VALUE | 4 | label | 4962035813337288704 |
| BUF_SIZE | 1 | con_id | 7 |
| BUF_SIZE | 4 | label | 12 |
| STR_LEN | 0 | fwnode | 6 |
| STR_LEN | 1 | con_id | 11 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/s2mps11.c s2mps11_of_parse_gpiod() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 2784799798332141568,6521256557487935488 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 23 |
| PARAM_VALUE | 4 | label | 1-u64max |
| BUF_SIZE | 1 | con_id | 7,20 |
| BUF_SIZE | 1 | con_id | 7,20 |
| BUF_SIZE | 4 | label | s32min,(-10),1-s32max |
| DATA_SOURCE | 1 | con_id | $1 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/hda/codecs/side-codecs/cs35l41_hda_property.c generic_dsd_config() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 3361649541988134912 |
| PARAM_VALUE | 3 | flags | 3 |
| PARAM_VALUE | 4 | label | 6050493814769020928 |
| BUF_SIZE | 1 | con_id | 6 |
| BUF_SIZE | 4 | label | 14 |
| STR_LEN | 0 | fwnode | 5 |
| STR_LEN | 1 | con_id | 13 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c tas2781_read_acpi() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 1829470900163260416 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 1 |
| PARAM_VALUE | 4 | label | 0 |
| BUF_SIZE | 1 | con_id | 10 |
| STR_LEN | 0 | fwnode | 9 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/i2c/i2c-core-of-prober.c i2c_of_probe_simple_get_gpiod() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 0,4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 0,4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | label | 612460757531328512 |
| BUF_SIZE | 0 | fwnode | 0,64 |
| BUF_SIZE | 0 | fwnode | 0,64 |
| BUF_SIZE | 4 | label | 14 |
| STR_LEN | 0 | fwnode | 13 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/mt6370-regulator.c mt6370_of_parse_cb() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 23 |
| PARAM_VALUE | 4 | label | 1-u64max |
| BUF_SIZE | 1 | con_id | 7 |
| BUF_SIZE | 4 | label | s32min,(-10),1-s32max |
| STR_LEN | 0 | fwnode | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/da9121-regulator.c da9121_of_parse_cb() -> fwnode_gpiod_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | flags | 23 |
| PARAM_VALUE | 4 | label | 7084271976993853440 |
| BUF_SIZE | 1 | con_id | 7 |
| BUF_SIZE | 4 | label | 14 |
| STR_LEN | 0 | fwnode | 6 |
| STR_LEN | 1 | con_id | 13 |
| TERMINATED | 1 | con_id | 1 |
| TERMINATED | 4 | label | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |