Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/pinctrl/pinconf.h, line 206 (as a function)
- drivers/pinctrl/pinctrl-generic.c, line 20 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/pinctrl/pinctrl-generic-mux.c mux_pinmux_dt_node_to_map() -> pinctrl_generic_to_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->dt_node_to_map | 1-u64max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->phandle | 1-u32max |
| PARAM_VALUE | 2 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | np->phandle | 1-u32max |
| PARAM_VALUE | 3 | maps | 11709895247597568 |
| PARAM_VALUE | 4 | num_maps | 2867221068975386624 |
| PARAM_VALUE | 5 | num_reserved_maps | 4594525439093108736 |
| PARAM_VALUE | 5 | *num_reserved_maps | 0 |
| PARAM_VALUE | 6 | group_names | 1-u64max |
| PARAM_VALUE | 7 | ngroups | 0 |
| PARAM_VALUE | 8 | data | 4096-ptr_max |
| PARAM_VALUE | 9 | pins | 0 |
| PARAM_VALUE | 10 | npins | 0 |
| BUF_SIZE | 6 | group_names | 8 |
| BUF_SIZE | 8 | data | 8 |
| CAPPED_DATA | 1 | parent->phandle | 1 |
| CAPPED_DATA | 2 | np->phandle | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| DATA_SOURCE | 2 | np | $1 |
| DATA_SOURCE | 3 | maps | $2 |
| DATA_SOURCE | 4 | num_maps | $3 |
| DATA_SOURCE | 6 | group_names | r devm_kcalloc |
| MEM_ZERO | 6 | group_names | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/pinctrl-generic.c pinctrl_generic_pinmux_dt_subnode_to_map() -> pinctrl_generic_to_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->dt_node_to_map | 1-u64max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->phandle | 1-u32max |
| PARAM_VALUE | 1 | parent->properties | 0,4096-ptr_max |
| PARAM_VALUE | 2 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 3 | maps | 11709895247597568 |
| PARAM_VALUE | 4 | num_maps | 2867221068975386624 |
| PARAM_VALUE | 5 | num_reserved_maps | 3972007981098561536 |
| PARAM_VALUE | 6 | group_names | 1-u64max |
| PARAM_VALUE | 7 | ngroups | 0-s32max |
| PARAM_VALUE | 8 | data | 4096-ptr_max |
| PARAM_VALUE | 9 | pins | 4096-ptr_max |
| PARAM_VALUE | 10 | npins | 1-s32max |
| BUF_SIZE | 6 | group_names | (-1),8 |
| BUF_SIZE | 6 | group_names | (-1),8 |
| BUF_SIZE | 8 | data | 4-8589934588 |
| BUF_SIZE | 9 | pins | 4-8589934588 |
| BUF_SIZE | 9 | pins | 4-8589934588 |
| CAPPED_DATA | 1 | parent->phandle | 1 |
| CAPPED_DATA | 10 | npins | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| DATA_SOURCE | 2 | np | $2 |
| DATA_SOURCE | 3 | maps | $3 |
| DATA_SOURCE | 4 | num_maps | $4 |
| DATA_SOURCE | 5 | num_reserved_maps | $5 |
| DATA_SOURCE | 6 | group_names | $6 |
| DATA_SOURCE | 7 | ngroups | $7 |
| DATA_SOURCE | 8 | data | r devm_kcalloc |
| DATA_SOURCE | 9 | pins | r devm_kcalloc |
| DATA_SOURCE | 10 | npins | r of_property_count_u32_elems |
| MEM_ZERO | 6 | group_names | |
| MEM_ZERO | 9 | pins | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 7 | ngroups | |
| NO_OVERFLOW_SIMPLE | 10 | npins | |
| UNITS | 7 | ngroups | unit_array_size |
| UNITS | 10 | npins | unit_array_size |
drivers/pinctrl/pinctrl-generic.c pinctrl_generic_pins_function_dt_subnode_to_map() -> pinctrl_generic_to_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pctldev | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->desc->pctlops->dt_node_to_map | 1-u64max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pctldev->dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->phandle | 1-u32max |
| PARAM_VALUE | 1 | parent->properties | 0,4096-ptr_max |
| PARAM_VALUE | 2 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 3 | maps | 11709895247597568 |
| PARAM_VALUE | 4 | num_maps | 2867221068975386624 |
| PARAM_VALUE | 5 | num_reserved_maps | 3972007981098561536 |
| PARAM_VALUE | 6 | group_names | 1-u64max |
| PARAM_VALUE | 7 | ngroups | 0-s32max |
| PARAM_VALUE | 8 | data | 4096-ptr_max |
| PARAM_VALUE | 9 | pins | 4096-ptr_max |
| PARAM_VALUE | 10 | npins | 1-s32max |
| BUF_SIZE | 6 | group_names | (-1),8 |
| BUF_SIZE | 6 | group_names | (-1),8 |
| BUF_SIZE | 8 | data | 8-17179869176 |
| BUF_SIZE | 9 | pins | 4-8589934588 |
| BUF_SIZE | 9 | pins | 4-8589934588 |
| CAPPED_DATA | 1 | parent->phandle | 1 |
| CAPPED_DATA | 10 | npins | 1 |
| DATA_SOURCE | 0 | pctldev | $0 |
| DATA_SOURCE | 1 | parent | $1 |
| DATA_SOURCE | 2 | np | $2 |
| DATA_SOURCE | 3 | maps | $3 |
| DATA_SOURCE | 4 | num_maps | $4 |
| DATA_SOURCE | 5 | num_reserved_maps | $5 |
| DATA_SOURCE | 6 | group_names | $6 |
| DATA_SOURCE | 7 | ngroups | $7 |
| DATA_SOURCE | 8 | data | r devm_kcalloc |
| DATA_SOURCE | 9 | pins | r devm_kcalloc |
| DATA_SOURCE | 10 | npins | r of_property_count_u32_elems |
| MEM_ZERO | 6 | group_names | |
| MEM_ZERO | 9 | pins | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 7 | ngroups | |
| NO_OVERFLOW_SIMPLE | 10 | npins | |
| UNITS | 7 | ngroups | unit_array_size |
| UNITS | 10 | npins | unit_array_size |