Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 285 (as a function)
- include/linux/gpio/driver.h, line 842 (as a function)
Referenced in 5 files:
- drivers/gpio/gpiolib-sysfs.c, line 931
- drivers/gpio/gpiolib.c
- drivers/hte/hte-tegra194.c, line 772
- drivers/i2c/muxes/i2c-mux-gpio.c, line 205
- drivers/pinctrl/core.c, line 1787
Smatch caller information:
drivers/pinctrl/core.c pinctrl_pins_show() -> gpiod_to_gpio_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pctldev->mutex | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct pinctrl_dev)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/hte/hte-tegra194.c tegra_hte_match_from_linedata() -> gpiod_to_gpio_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | desc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hte_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpio/gpiolib-sysfs.c gpiod_unexport_unlocked() -> gpiod_to_gpio_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| DATA_SOURCE | 0 | desc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | desc | unit_byte |
| LOCK2 | _T->lock |
drivers/gpio/gpiolib.c gpiod_get_array() -> gpiod_to_gpio_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | desc | r gpiod_get_index |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/i2c/muxes/i2c-mux-gpio.c i2c_mux_gpio_probe() -> gpiod_to_gpio_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get_index |
| RX_PATH | |||
| TASK_NOT_RUNNING |