Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpio-aspeed.c aspeed_gpio_copro_grab_gpio() -> aspeed_gpio_change_cmd_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->cf_copro_bankmap | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-u16max |
| PARAM_VALUE | 2 | cmdsrc | 2 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio->cf_copro_bankmap | 0-8191,u64max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | gpio | r gpiochip_get_data |
| DATA_SOURCE | 1 | offset | r gpiod_hwgpio |
| PARAM_COMPARE | 0 | gpio->chip.ngpio | >= $1 |
| PARAM_COMPARE | 1 | offset | <= $0->chip.ngpio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &master->lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock | ||
| TYPE_LOCK | (struct fsi_master_acf)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_copro_release_gpio() -> aspeed_gpio_change_cmd_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->cf_copro_bankmap | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-u16max |
| PARAM_VALUE | 2 | cmdsrc | 0 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | gpio | r gpiochip_get_data |
| DATA_SOURCE | 1 | offset | r gpiod_hwgpio |
| PARAM_COMPARE | 0 | gpio->chip.ngpio | >= $1 |
| PARAM_COMPARE | 1 | offset | <= $0->chip.ngpio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | &master->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |