Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_gpio_set() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pctl | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pctl | r gpiochip_get_data |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_driving() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| PARAM_VALUE | 1 | pin | 0-243,248-278 |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| CAPPED_DATA | 0 | pctl->devdata->n_pin_drv_grps | 1 |
| CAPPED_DATA | 1 | pin | 1 |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| PARAM_COMPARE | 0 | pctl->devdata->npins | > $1 |
| PARAM_COMPARE | 1 | pin | < $0->devdata->npins |
| CONSTRAINT | 1 | pin | <2367 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_ies_smt() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | (-1),24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | (-1),24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_ies_smt() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | (-1),24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | (-1),24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_pull_select() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_pull_select() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_pull_select() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_set_pull_select() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| CAPPED_DATA | 0 | pctl->devdata->type1_start | 1 |
| DATA_SOURCE | 0 | pctl | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_gpio_set_direction() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 1 | pin | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_set_mode() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_set_mode() -> mtk_get_regmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctl | 4096-ptr_max |
| PARAM_VALUE | 0 | pctl->devdata | 4096-ptr_max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| BUF_SIZE | 0 | pctl | 24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168,176,192,208,216-s32max |
| DATA_SOURCE | 1 | pin | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
| HALF_LOCKED2 | &pctldev->mutex | ||
| HALF_LOCKED2 | _T->lock |