Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpio-aspeed.c aspeed_g4_privilege_ctrl() -> aspeed_g4_reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,3833364297894461440 |
| PARAM_VALUE | 0 | gpio->config->llops->copro_request | 0,8493682582973140992 |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_ctrl | 0,5532999894927953920 |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_init | 0,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->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 | 1 | offset | 0,8-u32max |
| PARAM_VALUE | 2 | reg | 12 |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gpio->cf_copro_bankmap | (-1)-8191 |
| BUF_SIZE | 0 | gpio->chip.label | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | gpio->chip.parent | (-1),1616 |
| BUF_SIZE | 0 | gpio->clk | (-1)-s32max |
| BUF_SIZE | 0 | gpio->dcache | (-1)-8192 |
| BUF_SIZE | 0 | gpio->dev | (-1),1616 |
| DATA_SOURCE | 0 | gpio | $0 |
| BIT_INFO | 1 | offset | 0x0,0xfffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &gpio->lock |
drivers/gpio/gpio-aspeed.c aspeed_g4_privilege_ctrl() -> aspeed_g4_reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,3833364297894461440 |
| PARAM_VALUE | 0 | gpio->config->llops->copro_request | 0,8493682582973140992 |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_ctrl | 0,5532999894927953920 |
| PARAM_VALUE | 0 | gpio->config->llops->privilege_init | 0,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->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 | 1 | offset | 0,8-u32max |
| PARAM_VALUE | 2 | reg | 11 |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gpio->cf_copro_bankmap | (-1)-8191 |
| BUF_SIZE | 0 | gpio->chip.label | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | gpio->chip.parent | (-1),1616 |
| BUF_SIZE | 0 | gpio->clk | (-1)-s32max |
| BUF_SIZE | 0 | gpio->dcache | (-1)-8192 |
| BUF_SIZE | 0 | gpio->dev | (-1),1616 |
| DATA_SOURCE | 0 | gpio | $0 |
| BIT_INFO | 1 | offset | 0x0,0xfffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &gpio->lock |
drivers/gpio/gpio-aspeed.c __aspeed_gpio_set() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gpio | r gpiochip_get_data |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 3 | val | $2 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | val | 0-1[c] |
| LOCK2 | &gpio->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_dir_in() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 2 |
| PARAM_VALUE | 3 | val | 0 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gpio | r gpiochip_get_data |
| DATA_SOURCE | 1 | offset | $1 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_dir_out() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 2 |
| PARAM_VALUE | 3 | val | 1 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gpio | r gpiochip_get_data |
| DATA_SOURCE | 1 | offset | $1 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_irq_ack() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 7 |
| PARAM_VALUE | 3 | val | 1 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_irq_set_mask() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 3 |
| DATA_SOURCE | 3 | val | $1 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_reset_tolerance() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 10 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gpio | r gpiochip_get_data |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 3 | val | $2 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | val | 0-1[c] |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_set_type() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 4 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | global &probing_active | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_set_type() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 5 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | global &probing_active | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_set_type() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 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 | 0,8493682582973140992 |
| PARAM_VALUE | 2 | reg | 6 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | global &probing_active | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c configure_timer() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->offset_timer | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 8 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gpio | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |
drivers/gpio/gpio-aspeed.c configure_timer() -> (struct aspeed_gpio_llops)->reg_bit_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpio | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->config->llops | 4096-ptr_max |
| PARAM_VALUE | 0 | gpio->offset_timer | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 9 |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gpio | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | gpio | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| CONTAINER | 0 | -0-16-608+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &gpio->lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct aspeed_gpio)->lock |