Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spmi/spmi-pmic-arb.c pmic_arb_fmt_read_cmd() -> (struct pmic_arb_ver_ops)->offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb->ver_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | ch_type | 1 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | sid | $2 |
| DATA_SOURCE | 2 | addr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spmi/spmi-pmic-arb.c pmic_arb_fmt_write_cmd() -> (struct pmic_arb_ver_ops)->offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb->ee | 0-7 |
| PARAM_VALUE | 0 | bus->pmic_arb->ver_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb->ver_ops->offset | 4096-ptr_max |
| PARAM_VALUE | 3 | ch_type | 0 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | sid | $2 |
| DATA_SOURCE | 2 | addr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | addr | 4-277[c] |
| USER_DATA | 2 | addr | 1-277[c][u] |
drivers/spmi/spmi-pmic-arb.c pmic_arb_non_data_cmd_v1() -> (struct pmic_arb_ver_ops)->offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb->ver_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | ch_type | 0 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | sid | $2 |
drivers/spmi/spmi-pmic-arb.c pmic_arb_wait_for_done() -> (struct pmic_arb_ver_ops)->offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->pmic_arb->ver_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | ch_type | 0-1 |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bus | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | sid | $2 |
| DATA_SOURCE | 2 | addr | $3 |
| DATA_SOURCE | 3 | ch_type | $4 |
| HARD_MAX | 3 | ch_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | addr | 4-277[c] |
| USER_DATA | 2 | addr | 1-277[c][u] |
| LOCK2 | &bus->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct spmi_pmic_arb_bus)->lock |