Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 315 (as a function)
- include/linux/gpio/driver.h, line 854 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/pinctrl/core.c pinctrl_pins_show() -> gpio_device_get_label()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gdev | 4096-ptr_max |
| DATA_SOURCE | 0 | gdev | r gpiod_to_gpio_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pctldev->mutex | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct pinctrl_dev)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpio/gpiolib-shared.c devm_gpiod_shared_get() -> gpio_device_get_label()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/gpio/gpiolib-shared.c gpio_shared_make_adev() -> gpio_device_get_label()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gdev | 4096-ptr_max |
| BUF_SIZE | 0 | gdev | 2416 |
| DATA_SOURCE | 0 | gdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/gpio/gpiolib-shared.c gpiochip_setup_shared() -> gpio_device_get_label()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gdev | 4096-ptr_max |
| BUF_SIZE | 0 | gdev | 2416 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |