Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpio-ljca.c ljca_gpio_irq_init_valid_mask() -> ljca_gpio_init_valid_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base | 0-s32max |
| PARAM_VALUE | 0 | chip->gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->irq.init_valid_mask | 1-u64max |
| PARAM_VALUE | 0 | chip->irq.valid_mask | 16,4096-ptr_max |
| PARAM_VALUE | 0 | chip->names | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ngpio | 1-u16max |
| PARAM_VALUE | 0 | chip->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | valid_mask | 16,4096-ptr_max |
| PARAM_VALUE | 2 | ngpios | 1-u16max |
| BUF_SIZE | 0 | chip->fwnode | (-1)-0,64 |
| BUF_SIZE | 0 | chip->gpiodev | 2416 |
| BUF_SIZE | 0 | chip->irq.chip | (-1)-0,280 |
| BUF_SIZE | 0 | chip->label | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 0 | chip->names | (-1)-s32max |
| BUF_SIZE | 0 | chip->parent | (-1)-0,24-s32max |
| CAPPED_DATA | 0 | chip | 1 |
| CAPPED_DATA | 0 | chip->base | 1 |
| CAPPED_DATA | 0 | chip->ngpio | 1 |
| CAPPED_DATA | 2 | ngpios | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | valid_mask | $1 |
| DATA_SOURCE | 2 | ngpios | $2 |
| STR_LEN | 0 | chip->label | (-1),5-13,15-16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->ngpio | |
| NO_OVERFLOW_SIMPLE | 2 | ngpios | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/gpio/gpiolib.c gpiochip_init_valid_mask() -> (struct gpio_chip)->init_valid_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base | 0-s32max |
| PARAM_VALUE | 0 | chip->gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->gpiodev->valid_mask | 16,4096-ptr_max |
| PARAM_VALUE | 0 | chip->init_valid_mask | 1-u64max |
| PARAM_VALUE | 0 | chip->names | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ngpio | 1-u16max |
| PARAM_VALUE | 0 | chip->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | valid_mask | 16,4096-ptr_max |
| PARAM_VALUE | 2 | ngpios | 1-u16max |
| BUF_SIZE | 0 | chip | (-1),512 |
| BUF_SIZE | 0 | chip | (-1),512 |
| BUF_SIZE | 0 | chip->fwnode | (-1),64 |
| BUF_SIZE | 0 | chip->gpiodev | 2416 |
| BUF_SIZE | 0 | chip->label | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 0 | chip->names | (-1)-s32max |
| BUF_SIZE | 0 | chip->parent | (-1)-0,24-s32max |
| CAPPED_DATA | 0 | chip->base | 1 |
| CAPPED_DATA | 0 | chip->ngpio | 1 |
| CAPPED_DATA | 2 | ngpios | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | valid_mask | r gpiochip_allocate_mask |
| STR_LEN | 0 | chip->label | (-1),9-10,12,15 |
| CONTAINER | 0 | -136+0 | $(-1) |
| CONTAINER | 1 | *(-136+1936+8) | $(-1) |
| CONTAINER | 2 | *(-136+172) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->ngpio | 1-u16max[c] |
| HOST_DATA | 2 | ngpios | 1-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | chip->ngpio | |
| NO_OVERFLOW_SIMPLE | 2 | ngpios | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |