Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_config_dbg_show() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | addr | 70 |
| BUF_SIZE | 0 | state | 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 | state | 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 | 1 | pad | 4,12,40 |
| BUF_SIZE | 1 | pad | 4,12,40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_config_dbg_show() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->input_enabled | 1 |
| PARAM_VALUE | 2 | addr | 16 |
| BUF_SIZE | 0 | state | 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 | state | 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 | 1 | pad | 4,12,40 |
| BUF_SIZE | 1 | pad | 4,12,40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_get() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ctrl->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | state->ctrl->desc->pins | 4096-ptr_max |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->input_enabled | 1 |
| PARAM_VALUE | 1 | pad->is_enabled | 1 |
| PARAM_VALUE | 2 | addr | 16 |
| BUF_SIZE | 0 | state | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | state | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | pad | 4,12,40 |
| BUF_SIZE | 1 | pad | 4,12,40 |
| DATA_SOURCE | 0 | state | r gpiochip_get_data |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 4 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 5 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 2 | addr | 68 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->function | 0-15 |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 2 | addr | 64 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 2 | addr | 64 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->analog_pass | 1 |
| PARAM_VALUE | 1 | pad->function | 0-15 |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 2 | addr | 65 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->analog_pass | 1 |
| PARAM_VALUE | 1 | pad->function | 0-15 |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 1 | pad->power_source | 0-7 |
| PARAM_VALUE | 2 | addr | 66 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->analog_pass | 1 |
| PARAM_VALUE | 1 | pad->function | 0-15 |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 1 | pad->power_source | 0-7 |
| PARAM_VALUE | 1 | pad->pullup | 0-7 |
| PARAM_VALUE | 2 | addr | 67 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->analog_pass | 1 |
| PARAM_VALUE | 1 | pad->function | 0-15 |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 1 | pad->power_source | 0-7 |
| PARAM_VALUE | 1 | pad->pullup | 0-7 |
| PARAM_VALUE | 2 | addr | 69 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| BIT_INFO | 1 | pad->dtest_buffer | 0x0,0x7fffffff |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pmic_gpio_populate() -> pmic_gpio_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | state->map | 4096-ptr_max |
| PARAM_VALUE | 0 | *state->map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | pad | 4096-ptr_max |
| PARAM_VALUE | 1 | pad->analog_pass | 1 |
| PARAM_VALUE | 1 | pad->buffer_type | 0-3 |
| PARAM_VALUE | 1 | pad->function | 0-15 |
| PARAM_VALUE | 1 | pad->have_buffer | 1 |
| PARAM_VALUE | 1 | pad->lv_mv_type | 1 |
| PARAM_VALUE | 1 | pad->num_sources | 1-4,8 |
| PARAM_VALUE | 1 | pad->power_source | 0-7 |
| PARAM_VALUE | 1 | pad->pullup | 0-7 |
| PARAM_VALUE | 1 | pad->strength | 0-3 |
| PARAM_VALUE | 2 | addr | 74 |
| BUF_SIZE | 0 | state | 544 |
| BUF_SIZE | 0 | state->dev | 1616 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | pad | $1 |
| FUZZY_MAX | 1 | pad->num_sources | 8 |
| BIT_INFO | 1 | pad->dtest_buffer | 0x0,0x7fffffff |
| HARD_MAX | 1 | pad->num_sources | 8 |
| MEM_ZERO | 0 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |