Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_gpio_direction_input() -> mtk_pmx_gpio_set_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | range | 0 |
| PARAM_VALUE | 3 | input | 1 |
| DATA_SOURCE | 2 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_gpio_direction_output() -> mtk_pmx_gpio_set_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | range | 0 |
| PARAM_VALUE | 3 | input | 0 |
| DATA_SOURCE | 2 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_parse_conf() -> mtk_pmx_gpio_set_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops->pin_config_group_set | 1-u64max |
| PARAM_VALUE | 1 | range | 0 |
| PARAM_VALUE | 3 | input | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 2 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | offset | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_parse_conf() -> mtk_pmx_gpio_set_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops->pin_config_group_set | 1-u64max |
| PARAM_VALUE | 1 | range | 0 |
| PARAM_VALUE | 3 | input | 0 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 2 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | offset | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pconf_parse_conf() -> mtk_pmx_gpio_set_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->confops->pin_config_group_set | 1-u64max |
| PARAM_VALUE | 1 | range | 0 |
| PARAM_VALUE | 3 | input | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 2 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | offset | unit_array_size |
drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_xt_set_gpio_as_eint() -> mtk_pmx_gpio_set_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->driver_data->devdata | 4096-ptr_max |
| PARAM_VALUE | 1 | range | 0 |
| PARAM_VALUE | 3 | input | 1 |
| CAPPED_DATA | 0 | pctldev->driver_data->devdata->type1_start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | offset | unit_array_size |
| HALF_LOCKED2 | &desc->request_mutex |