Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpiolib-of.c of_gpiochip_match_node_and_xlate() -> (struct gpio_chip)->of_xlate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev->dev.of_node | 1-u64max |
| PARAM_VALUE | 0 | gc->of_xlate | 1-u64max |
| PARAM_VALUE | 1 | gpiospec | 4096-ptr_max |
| PARAM_VALUE | 1 | gpiospec->np | 1-u64max |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 1 | gpiospec | (-1),18,33 |
| BUF_SIZE | 1 | gpiospec | (-1),18,33 |
| CAPPED_DATA | 0 | gc->gpiodev->dev.of_node | 1 |
| CAPPED_DATA | 1 | gpiospec->np | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| DATA_SOURCE | 1 | gpiospec | $1 |
| STR_LEN | 0 | gc | (-1),17,32 |
| STR_LEN | 0 | gc | (-1),17,32 |
| STR_LEN | 1 | gpiospec | (-1),17,32 |
| STR_LEN | 1 | gpiospec | (-1),17,32 |
| CONTAINER | 0 | -504+0 | $(-1) |
| PARAM_COMPARE | 0 | gc->gpiodev->dev.of_node | == $1->np |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/gpio/gpiolib-of.c of_xlate_and_get_gpiod_flags() -> (struct gpio_chip)->of_xlate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 1 | gpiospec | 237399028670353408,9033438143985602560 |
| PARAM_VALUE | 1 | gpiospec->np | 0,4096-ptr_max |
| PARAM_VALUE | 2 | flags | 3845512775725813760,4748647468488355840 |
| CAPPED_DATA | 0 | gc->of_gpio_n_cells | 1 |
| CAPPED_DATA | 1 | gpiospec->args_count | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| DATA_SOURCE | 1 | gpiospec | $1 |
| DATA_SOURCE | 2 | flags | $2 |
| CONTAINER | 0 | -504+0 | $(-1) |
| PARAM_COMPARE | 0 | gc->of_gpio_n_cells | == $1->args_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpio/gpiolib-shared.c gpiochip_setup_shared() -> (struct gpio_chip)->of_xlate()
| 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->irq.chip | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gc->names | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gc->ngpio | 1-u16max |
| PARAM_VALUE | 0 | gc->of_xlate | 1-u64max |
| PARAM_VALUE | 0 | gc->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | gpiospec | 5988738194794401792 |
| PARAM_VALUE | 1 | gpiospec->args_count | 2 |
| PARAM_VALUE | 1 | gpiospec->np | 0,4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| 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 | 1 |
| CAPPED_DATA | 0 | gc->base | 1 |
| CAPPED_DATA | 0 | gc->ngpio | 1 |
| DATA_SOURCE | 0 | gc | $0 |
| STR_LEN | 0 | gc->label | (-1),9-10,12,15 |
| CONTAINER | 0 | -504+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | gc->irq.domain->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | gc->irq.domain->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | gc->ngpio | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |