Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/pinctrl-stmfx.c stmfx_pinconf_dbg_show() -> stmfx_gpio_get_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 1 | offset | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pctldev->mutex | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct pinctrl_dev)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pinctrl/pinctrl-stmfx.c stmfx_pinconf_get() -> stmfx_gpio_get_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | &s->lock |
drivers/gpio/gpiolib.c gpiochip_add_data_with_key() -> (struct gpio_chip)->get_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->base | 0-s32max |
| PARAM_VALUE | 0 | gc->get_direction | 1-u64max |
| PARAM_VALUE | 0 | gc->gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->names | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gc->ngpio | 1-u16max |
| PARAM_VALUE | 0 | gc->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-65534 |
| BUF_SIZE | 0 | gc | (-1),512 |
| BUF_SIZE | 0 | gc | (-1),512 |
| BUF_SIZE | 0 | gc->fwnode | (-1),64 |
| BUF_SIZE | 0 | gc->gpiodev | 2416 |
| BUF_SIZE | 0 | gc->label | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 0 | gc->names | (-1)-s32max |
| BUF_SIZE | 0 | gc->parent | (-1)-0,24-s32max |
| CAPPED_DATA | 0 | gc->base | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| STR_LEN | 0 | gc->label | (-1),9-10,12,15 |
| CONTAINER | 0 | -56+0 | $(-1) |
| PARAM_COMPARE | 1 | offset | < $0->ngpio |
| CONSTRAINT | 1 | offset | <90 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | gc->ngpio | 1-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | gc->ngpio | |
| NO_OVERFLOW_SIMPLE | 1 | offset | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/gpio/gpiolib.c gpiochip_get_direction() -> (struct gpio_chip)->get_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->get_direction | 1-u64max |
| DATA_SOURCE | 0 | gc | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| CONTAINER | 0 | -56+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |