Defined in 2 files as a function:
- drivers/pinctrl/mediatek/pinctrl-moore.c, line 111 (as a function)
- drivers/pinctrl/mediatek/pinctrl-paris.c, line 129 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/pinctrl/mediatek/pinctrl-moore.c mtk_pinconf_group_get() -> mtk_pinconf_get()
| 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_get | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->get_group_name | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->get_groups_count | 1-u64max |
| PARAM_VALUE | 0 | pctldev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pctldev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | config | 8060468002698911744 |
| PARAM_VALUE | 2 | *config | 0-u32max |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 2 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| LOCK2 | 0 | &pctldev->mutex | |
| HALF_LOCKED2 | &pctldev->mutex | ||
| TYPE_LOCK | (struct pinctrl_dev)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pinctrl/mediatek/pinctrl-paris.c mtk_pconf_group_get() -> mtk_pinconf_get()
| 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_get | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->get_group_name | 1-u64max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->get_groups_count | 1-u64max |
| PARAM_VALUE | 0 | pctldev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pctldev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | pctldev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | config | 8060468002698911744 |
| PARAM_VALUE | 2 | *config | 0-255 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 2 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | pin | unit_array_size |
| LOCK2 | &s->lock | ||
| LOCK2 | 0 | &pctldev->mutex | |
| HALF_LOCKED2 | &pctldev->mutex | ||
| TYPE_LOCK | (struct pinctrl_dev)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pinctrl/pinconf.c pin_config_get_for_pin() -> (struct pinconf_ops)->pin_config_get()
| 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_get | 1-u64max |
| PARAM_VALUE | 2 | config | 5270741614648315904,7409633997621972992,8060468002698911744 |
| PARAM_VALUE | 2 | *config | 0-255 |
| BUF_SIZE | 0 | pctldev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pctldev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 1 | pin | $1 |
| DATA_SOURCE | 2 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | 0 | &pctldev->mutex |