Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_gpio_get() -> mtk_get_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_gpio_get_direction() -> mtk_get_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | |||
| NO_OVERFLOW_SIMPLE | 1 | pin | |
| HALF_LOCKED2 | _T->lock |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_gpio_set() -> mtk_get_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_ies_smt() -> mtk_get_port()
| 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_port()
| 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_port()
| 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_port()
| 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_port()
| 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_port()
| 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_port()
| 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_port()
| 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_pmx_gpio_set_direction() -> mtk_get_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |