Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 3709 (as a function)
- include/linux/gpio/consumer.h, line 369 (as a function)
Referenced in 4 files:
- drivers/gpio/gpio-aggregator.c, line 315
- drivers/gpio/gpio-sloppy-logic-analyzer.c, line 60
- drivers/gpio/gpio-virtuser.c, line 124
- drivers/gpio/gpiolib.c, line 3720
Smatch caller information:
drivers/gpio/gpio-virtuser.c gpio_virtuser_get_value_array_atomic() -> gpiod_get_array_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | array_size | unit_array_size |
drivers/gpio/gpio-aggregator.c gpio_fwd_get_multiple() -> gpiod_get_array_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | array_info | 0 |
| PARAM_VALUE | 3 | value_bitmap | 4096-ptr_max |
| BUF_SIZE | 3 | value_bitmap | 16-s32max |
| BUF_SIZE | 3 | value_bitmap | 16-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fwd->mlock | ||
| HALF_LOCKED2 | &fwd->slock | ||
| HALF_LOCKED2 | flags |
drivers/gpio/gpio-sloppy-logic-analyzer.c gpio_la_get_array() -> gpiod_get_array_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | value_bitmap | 62244721360654336 |
| DATA_SOURCE | 3 | value_bitmap | $1 |
| PREEMPT_ADD | |||
| HOST_DATA | 3 | *value_bitmap | 0-u64max |
| UNITS | 0 | array_size | unit_array_size |
| LOCK2 | &attr->mutex | ||
| LOCK2 | &priv->blob_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct gpio_la_poll_priv)->blob_lock | ||
| TYPE_LOCK | (struct simple_attr)->mutex |