Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 2460 (as a function)
- include/linux/gpio/driver.h, line 789 (as a function)
Referenced in 3 files:
- drivers/gpio/gpio-tegra186.c, line 488
- drivers/gpio/gpiolib-of.c, line 1034
- drivers/gpio/gpiolib.c, line 2497
Smatch caller information:
drivers/gpio/gpiolib-of.c of_gpiochip_add_pin_range() -> gpiochip_add_pingroup_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->base | 0-s32max |
| PARAM_VALUE | 0 | gc->gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev->dev.of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->names | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gc->ngpio | 1-u16max |
| PARAM_VALUE | 0 | gc->of_gpio_n_cells | 0-16 |
| PARAM_VALUE | 0 | gc->of_xlate | 1-u64max |
| PARAM_VALUE | 0 | gc->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 2 | gpio_offset | 0-131069,2147483648-u32max |
| PARAM_VALUE | 3 | *pin_group | 0-255 |
| BUF_SIZE | 0 | gc->fwnode | (-1)-0,64 |
| BUF_SIZE | 0 | gc->gpiodev | 2416 |
| BUF_SIZE | 0 | gc->irq.chip | (-1)-0,280 |
| 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 | 0 | gc->ngpio | 1 |
| CAPPED_DATA | 0 | gc->offset | 1 |
| CAPPED_DATA | 1 | pctldev->dev->of_node | 1 |
| CAPPED_DATA | 2 | gpio_offset | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| DATA_SOURCE | 1 | pctldev | r of_pinctrl_get |
| FUZZY_MAX | 0 | gc->of_gpio_n_cells | 3 |
| STR_LEN | 0 | gc->label | (-1),5-13,15-16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gc->ngpio | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/gpio/gpio-tegra186.c tegra186_gpio_add_pin_ranges() -> gpiochip_add_pingroup_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->add_pin_ranges | 1-u64max |
| PARAM_VALUE | 0 | gc->base | 0-s32max |
| 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 | pctldev | 4096-ptr_max |
| BUF_SIZE | 0 | gc->fwnode | (-1)-0,64 |
| BUF_SIZE | 0 | gc->gpiodev | 2416 |
| BUF_SIZE | 0 | gc->irq.chip | (-1)-0,280 |
| 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 | 1 |
| CAPPED_DATA | 0 | gc->base | 1 |
| CAPPED_DATA | 0 | gc->ngpio | 1 |
| CAPPED_DATA | 1 | pctldev->dev->of_node | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| DATA_SOURCE | 1 | pctldev | r of_pinctrl_get |
| STR_LEN | 0 | gc->label | (-1),5-13,15-16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gc->ngpio | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |