Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpio-aspeed.c aspeed_g4_copro_release() -> aspeed_g4_privilege_ctrl()
| 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 | 0 | gpio->config->llops->copro_release | 3833364297894461440 |
| PARAM_VALUE | 0 | gpio->config->llops->copro_request | 0,8493682582973140992 |
| PARAM_VALUE | 0 | gpio->config->props->input | 0,15,255,u16max,16777215,268435455,u32max |
| PARAM_VALUE | 0 | gpio->config->props->output | 0,255,u16max,16711680,16777215,268435215,268435455,4294967040 |
| PARAM_VALUE | 2 | cmdsrc | 2 |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gpio | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_g4_copro_request() -> aspeed_g4_privilege_ctrl()
| 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 | 0 | gpio->config->llops->copro_request | 8493682582973140992 |
| PARAM_VALUE | 0 | gpio->config->props->input | 0,15,255,u16max,16777215,268435455,u32max |
| PARAM_VALUE | 0 | gpio->config->props->output | 0,255,u16max,16711680,16777215,268435215,268435455,4294967040 |
| PARAM_VALUE | 2 | cmdsrc | 0 |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gpio | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_g4_privilege_init() -> aspeed_g4_privilege_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->base | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.base | (-1) |
| PARAM_VALUE | 0 | gpio->chip.direction_input | 4824562461743960064 |
| PARAM_VALUE | 0 | gpio->chip.direction_output | 6192281727490310144 |
| PARAM_VALUE | 0 | gpio->chip.free | 3375250717213790208 |
| PARAM_VALUE | 0 | gpio->chip.get | 9048051705209610240 |
| PARAM_VALUE | 0 | gpio->chip.get_direction | 282341081635926016 |
| PARAM_VALUE | 0 | gpio->chip.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.request | 2472742297177112576 |
| PARAM_VALUE | 0 | gpio->chip.set | 1067780727152594944 |
| PARAM_VALUE | 0 | gpio->chip.set_config | 2455347615889473536 |
| PARAM_VALUE | 0 | gpio->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_init | 1297653554194616320 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bank_get | 3580377981434015744,6625072310466592768 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_get | 4792128438636974080,5809866376091197440 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_set | 5097094445775720448,6230036345645371392 |
| PARAM_VALUE | 0 | gpio->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->lock.magic | 3735899821 |
| PARAM_VALUE | 0 | gpio->lock.owner | (-1) |
| PARAM_VALUE | 0 | gpio->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | offset | 0,32-4294967264 |
| PARAM_VALUE | 2 | cmdsrc | 0 |
| BUF_SIZE | 0 | gpio | 664 |
| BUF_SIZE | 0 | gpio->chip.label | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | gpio->chip.parent | 1616 |
| BUF_SIZE | 0 | gpio->clk | (-1)-s32max |
| BUF_SIZE | 0 | gpio->dcache | 0-8192 |
| BUF_SIZE | 0 | gpio->dev | 1616 |
| DATA_SOURCE | 0 | gpio | $0 |
| MEM_ZERO | 0 | gpio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpio-aspeed.c aspeed_g4_privilege_init() -> aspeed_g4_privilege_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->base | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.base | (-1) |
| PARAM_VALUE | 0 | gpio->chip.direction_input | 4824562461743960064 |
| PARAM_VALUE | 0 | gpio->chip.direction_output | 6192281727490310144 |
| PARAM_VALUE | 0 | gpio->chip.free | 3375250717213790208 |
| PARAM_VALUE | 0 | gpio->chip.get | 9048051705209610240 |
| PARAM_VALUE | 0 | gpio->chip.get_direction | 282341081635926016 |
| PARAM_VALUE | 0 | gpio->chip.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.request | 2472742297177112576 |
| PARAM_VALUE | 0 | gpio->chip.set | 1067780727152594944 |
| PARAM_VALUE | 0 | gpio->chip.set_config | 2455347615889473536 |
| PARAM_VALUE | 0 | gpio->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_init | 1297653554194616320 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bank_get | 3580377981434015744,6625072310466592768 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_get | 4792128438636974080,5809866376091197440 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_set | 5097094445775720448,6230036345645371392 |
| PARAM_VALUE | 0 | gpio->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->lock.magic | 3735899821 |
| PARAM_VALUE | 0 | gpio->lock.owner | (-1) |
| PARAM_VALUE | 0 | gpio->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | offset | 8,40-4294967272 |
| PARAM_VALUE | 2 | cmdsrc | 0 |
| BUF_SIZE | 0 | gpio | 664 |
| BUF_SIZE | 0 | gpio->chip.label | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | gpio->chip.parent | 1616 |
| BUF_SIZE | 0 | gpio->clk | (-1)-s32max |
| BUF_SIZE | 0 | gpio->dcache | 0-8192 |
| BUF_SIZE | 0 | gpio->dev | 1616 |
| DATA_SOURCE | 0 | gpio | $0 |
| MEM_ZERO | 0 | gpio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpio-aspeed.c aspeed_g4_privilege_init() -> aspeed_g4_privilege_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->base | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.base | (-1) |
| PARAM_VALUE | 0 | gpio->chip.direction_input | 4824562461743960064 |
| PARAM_VALUE | 0 | gpio->chip.direction_output | 6192281727490310144 |
| PARAM_VALUE | 0 | gpio->chip.free | 3375250717213790208 |
| PARAM_VALUE | 0 | gpio->chip.get | 9048051705209610240 |
| PARAM_VALUE | 0 | gpio->chip.get_direction | 282341081635926016 |
| PARAM_VALUE | 0 | gpio->chip.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.request | 2472742297177112576 |
| PARAM_VALUE | 0 | gpio->chip.set | 1067780727152594944 |
| PARAM_VALUE | 0 | gpio->chip.set_config | 2455347615889473536 |
| PARAM_VALUE | 0 | gpio->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_init | 1297653554194616320 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bank_get | 3580377981434015744,6625072310466592768 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_get | 4792128438636974080,5809866376091197440 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_set | 5097094445775720448,6230036345645371392 |
| PARAM_VALUE | 0 | gpio->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->lock.magic | 3735899821 |
| PARAM_VALUE | 0 | gpio->lock.owner | (-1) |
| PARAM_VALUE | 0 | gpio->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | offset | 16,48-4294967280 |
| PARAM_VALUE | 2 | cmdsrc | 0 |
| BUF_SIZE | 0 | gpio | 664 |
| BUF_SIZE | 0 | gpio->chip.label | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | gpio->chip.parent | 1616 |
| BUF_SIZE | 0 | gpio->clk | (-1)-s32max |
| BUF_SIZE | 0 | gpio->dcache | 0-8192 |
| BUF_SIZE | 0 | gpio->dev | 1616 |
| DATA_SOURCE | 0 | gpio | $0 |
| MEM_ZERO | 0 | gpio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpio-aspeed.c aspeed_g4_privilege_init() -> aspeed_g4_privilege_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->base | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.base | (-1) |
| PARAM_VALUE | 0 | gpio->chip.direction_input | 4824562461743960064 |
| PARAM_VALUE | 0 | gpio->chip.direction_output | 6192281727490310144 |
| PARAM_VALUE | 0 | gpio->chip.free | 3375250717213790208 |
| PARAM_VALUE | 0 | gpio->chip.get | 9048051705209610240 |
| PARAM_VALUE | 0 | gpio->chip.get_direction | 282341081635926016 |
| PARAM_VALUE | 0 | gpio->chip.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->chip.request | 2472742297177112576 |
| PARAM_VALUE | 0 | gpio->chip.set | 1067780727152594944 |
| PARAM_VALUE | 0 | gpio->chip.set_config | 2455347615889473536 |
| PARAM_VALUE | 0 | gpio->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_init | 1297653554194616320 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bank_get | 3580377981434015744,6625072310466592768 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_get | 4792128438636974080,5809866376091197440 |
| PARAM_VALUE | 0 | gpio->config->llops->reg_bit_set | 5097094445775720448,6230036345645371392 |
| PARAM_VALUE | 0 | gpio->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->lock.magic | 3735899821 |
| PARAM_VALUE | 0 | gpio->lock.owner | (-1) |
| PARAM_VALUE | 0 | gpio->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | offset | 24,56-4294967288 |
| PARAM_VALUE | 2 | cmdsrc | 0 |
| BUF_SIZE | 0 | gpio | 664 |
| BUF_SIZE | 0 | gpio->chip.label | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | gpio->chip.parent | 1616 |
| BUF_SIZE | 0 | gpio->clk | (-1)-s32max |
| BUF_SIZE | 0 | gpio->dcache | 0-8192 |
| BUF_SIZE | 0 | gpio->dev | 1616 |
| DATA_SOURCE | 0 | gpio | $0 |
| MEM_ZERO | 0 | gpio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpio-aspeed.c aspeed_gpio_change_cmd_source() -> (struct aspeed_gpio_llops)->privilege_ctrl()
| 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 | 0 | gpio->config->llops->privilege_ctrl | 5532999894927953920 |
| PARAM_VALUE | 1 | offset | 0-u16max |
| PARAM_VALUE | 2 | cmdsrc | 0,2 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio->cf_copro_bankmap | (-1)-8191 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | gpio | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 2 | cmdsrc | $2 |
| CONTAINER | 0 | -24-16-608+0 | $(-1) |
| HARD_MAX | 2 | cmdsrc | 2 |
| 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 |