Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/pinctrl/mediatek/pinctrl-moore.c mtk_moore_pinctrl_probe() -> mtk_build_gpiochip()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->base 4096-ptr_max
PARAM_VALUE 0 hw->dev 4096-ptr_max
PARAM_VALUE 0 hw->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hw->eint->gpio_xlate->get_gpio_n 905996420648022016,3772659519249530880
PARAM_VALUE 0 hw->eint->gpio_xlate->get_gpio_state 3961194901329403904,8207099133010604032
PARAM_VALUE 0 hw->eint->gpio_xlate->set_gpio_as_eint 3475814424667545600,8296227884272099328
PARAM_VALUE 0 hw->eint->hw->ap_num 0,57,79,84,101,103,143,160,169,192,195,210,212,216-217,224-225,229,293
PARAM_VALUE 0 hw->eint->hw->db_cnt 0,13,16,20,32,36,40,64,160
PARAM_VALUE 0 hw->eint->hw->db_time 0,4236988905115955200,4275752254385385472,7011414103116029952,7459731507395534848
PARAM_VALUE 0 hw->eint->hw->port_mask 0,6-7,15,31
PARAM_VALUE 0 hw->eint->hw->ports 0-1,3,5-8
PARAM_VALUE 0 hw->eint->regs->ack 64
PARAM_VALUE 0 hw->eint->regs->dbnc_clr 1792
PARAM_VALUE 0 hw->eint->regs->dbnc_ctrl 1280
PARAM_VALUE 0 hw->eint->regs->dbnc_set 1536
PARAM_VALUE 0 hw->eint->regs->dom_en 1024
PARAM_VALUE 0 hw->eint->regs->mask 128
PARAM_VALUE 0 hw->eint->regs->mask_clr 256
PARAM_VALUE 0 hw->eint->regs->mask_set 192
PARAM_VALUE 0 hw->eint->regs->pol 768
PARAM_VALUE 0 hw->eint->regs->pol_clr 896
PARAM_VALUE 0 hw->eint->regs->pol_set 832
PARAM_VALUE 0 hw->eint->regs->sens 320
PARAM_VALUE 0 hw->eint->regs->sens_clr 448
PARAM_VALUE 0 hw->eint->regs->sens_set 384
PARAM_VALUE 0 hw->eint->regs->soft 512
PARAM_VALUE 0 hw->eint->regs->soft_clr 640
PARAM_VALUE 0 hw->eint->regs->soft_set 576
PARAM_VALUE 0 hw->pctrl 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->device_root 4096-u64max
PARAM_VALUE 0 hw->pctrl->driver_data s64min-(-4096),4096-s64max
PARAM_VALUE 0 hw->pctrl->hog_default 4096-ptr_max,(-19),(-12)
PARAM_VALUE 0 hw->pctrl->hog_sleep 4096-ptr_max,(-19),(-12)
PARAM_VALUE 0 hw->pctrl->p 4096-ptr_max,(-19)
PARAM_VALUE 0 hw->pctrl->p->dev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.next->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->node.next 6512079319328243712
PARAM_VALUE 0 hw->pctrl->p->node.prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.next->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->users.refcount.refs.counter 1
PARAM_VALUE 0 hw->pctrl->pin_function_tree.xa_flags 0,3264,33554432-4294967295
PARAM_VALUE 0 hw->pctrl->pin_group_tree.xa_flags 0,3264,33554432-4294967295
PARAM_VALUE 0 hw->soc 1800326560037191680,2473219771944251392,4184908319523815424,6032676533353259008,8307520102727000064,8811314859211259904,9105472683300585472
PARAM_VALUE 0 hw->soc->base_names 4096-ptr_max
PARAM_VALUE 0 hw->soc->nbase_names 1-s32max
PARAM_VALUE 0 hw->soc->nfuncs 0-s32max
PARAM_VALUE 0 hw->soc->ngrps 0-s32max
PARAM_VALUE 0 hw->soc->npins 0-s32max
BUF_SIZE 0 hw 656
BUF_SIZE 0 hw->base 8-34359738360
BUF_SIZE 0 hw->dev 1616
CAPPED_DATA 0 hw->nbase 1
CAPPED_DATA 0 hw->pctrl->p 1
CAPPED_DATA 0 hw->soc->nbase_names 1
CAPPED_DATA 0 hw->soc->nfuncs 1
CAPPED_DATA 0 hw->soc->ngrps 1
CAPPED_DATA 0 hw->soc->npins 1
DATA_SOURCE 0 hw r devm_kzalloc
MEM_ZERO 0 hw
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->eint->nbase
NO_OVERFLOW_SIMPLE 0 hw->eint->num_db_time
NO_OVERFLOW_SIMPLE 0 hw->nbase
NO_OVERFLOW_SIMPLE 0 hw->soc->nbase_names
NO_OVERFLOW_SIMPLE 0 hw->soc->npins

drivers/pinctrl/mediatek/pinctrl-paris.c mtk_paris_pinctrl_probe() -> mtk_build_gpiochip()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->base 4096-ptr_max
PARAM_VALUE 0 hw->dev 4096-ptr_max
PARAM_VALUE 0 hw->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hw->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 hw->dev->of_node 0,4096-ptr_max
PARAM_VALUE 0 hw->eint->gpio_xlate->get_gpio_n 905996420648022016,3772659519249530880
PARAM_VALUE 0 hw->eint->gpio_xlate->get_gpio_state 3961194901329403904,8207099133010604032
PARAM_VALUE 0 hw->eint->gpio_xlate->set_gpio_as_eint 3475814424667545600,8296227884272099328
PARAM_VALUE 0 hw->eint->hw->ap_num 0,57,79,84,101,103,143,160,169,192,195,210,212,216-217,224-225,229,293
PARAM_VALUE 0 hw->eint->hw->db_cnt 0,13,16,20,32,36,40,64,160
PARAM_VALUE 0 hw->eint->hw->db_time 0,4236988905115955200,4275752254385385472,7011414103116029952,7459731507395534848
PARAM_VALUE 0 hw->eint->hw->port_mask 0,6-7,15,31
PARAM_VALUE 0 hw->eint->hw->ports 0-1,3,5-8
PARAM_VALUE 0 hw->eint->regs->ack 64
PARAM_VALUE 0 hw->eint->regs->dbnc_clr 1792
PARAM_VALUE 0 hw->eint->regs->dbnc_ctrl 1280
PARAM_VALUE 0 hw->eint->regs->dbnc_set 1536
PARAM_VALUE 0 hw->eint->regs->dom_en 1024
PARAM_VALUE 0 hw->eint->regs->mask 128
PARAM_VALUE 0 hw->eint->regs->mask_clr 256
PARAM_VALUE 0 hw->eint->regs->mask_set 192
PARAM_VALUE 0 hw->eint->regs->pol 768
PARAM_VALUE 0 hw->eint->regs->pol_clr 896
PARAM_VALUE 0 hw->eint->regs->pol_set 832
PARAM_VALUE 0 hw->eint->regs->sens 320
PARAM_VALUE 0 hw->eint->regs->sens_clr 448
PARAM_VALUE 0 hw->eint->regs->sens_set 384
PARAM_VALUE 0 hw->eint->regs->soft 512
PARAM_VALUE 0 hw->eint->regs->soft_clr 640
PARAM_VALUE 0 hw->eint->regs->soft_set 576
PARAM_VALUE 0 hw->pctrl 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->device_root 4096-u64max
PARAM_VALUE 0 hw->pctrl->driver_data s64min-(-4096),4096-s64max
PARAM_VALUE 0 hw->pctrl->hog_default 4096-ptr_max,(-19),(-12)
PARAM_VALUE 0 hw->pctrl->hog_sleep 4096-ptr_max,(-19),(-12)
PARAM_VALUE 0 hw->pctrl->p 4096-ptr_max,(-19)
PARAM_VALUE 0 hw->pctrl->p->dev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.next->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->dt_maps.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->node.next 6512079319328243712
PARAM_VALUE 0 hw->pctrl->p->node.prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.next->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->states.prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->pctrl->p->users.refcount.refs.counter 1
PARAM_VALUE 0 hw->pctrl->pin_function_tree.xa_flags 3264
PARAM_VALUE 0 hw->pctrl->pin_function_tree.xa_head 0
PARAM_VALUE 0 hw->pctrl->pin_group_tree.xa_flags 3264
PARAM_VALUE 0 hw->pctrl->pin_group_tree.xa_head 0
PARAM_VALUE 0 hw->soc 4096-ptr_max
PARAM_VALUE 0 hw->soc->base_names 4096-ptr_max
PARAM_VALUE 0 hw->soc->nbase_names 1-s32max
PARAM_VALUE 0 hw->soc->npins 0-s32max
BUF_SIZE 0 hw 656
BUF_SIZE 0 hw->base 8-34359738360
BUF_SIZE 0 hw->dev 1616
CAPPED_DATA 0 hw->nbase 1
CAPPED_DATA 0 hw->pctrl->p 1
CAPPED_DATA 0 hw->soc->nbase_names 1
CAPPED_DATA 0 hw->soc->npins 1
DATA_SOURCE 0 hw r devm_kzalloc
MEM_ZERO 0 hw
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->eint->nbase
NO_OVERFLOW_SIMPLE 0 hw->eint->num_db_time
NO_OVERFLOW_SIMPLE 0 hw->nbase
NO_OVERFLOW_SIMPLE 0 hw->soc->nbase_names
NO_OVERFLOW_SIMPLE 0 hw->soc->npins