Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/staging/greybus/arche-platform.c arche_platform_coldboot_seq() -> arche_platform_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->state | 0 |
| PARAM_VALUE | 1 | state | 1 |
| BUF_SIZE | 0 | arche_pdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata->dev | (-1),1616 |
| BUF_SIZE | 0 | arche_pdata->svc_ref_clk | (-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata->svc_refclk_req | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata->svc_reset | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata->svc_sysboot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata->wake_detect | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | arche_pdata | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | arche_pdata | unit_byte |
| LOCK2 | 0 | &arche_pdata->platform_state_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct arche_platform_drvdata)->platform_state_mutex |
drivers/staging/greybus/arche-platform.c arche_platform_fw_flashing_seq() -> arche_platform_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->state | 0 |
| PARAM_VALUE | 1 | state | 3 |
| BUF_SIZE | 0 | arche_pdata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | arche_pdata | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | arche_pdata | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | arche_pdata | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &arche_pdata->platform_state_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct arche_platform_drvdata)->platform_state_mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/staging/greybus/arche-platform.c arche_platform_poweroff_seq() -> arche_platform_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->state | 1-u32max |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | arche_pdata | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arche_pdata | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | arche_pdata | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | arche_pdata | unit_byte |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &arche_pdata->platform_state_mutex |
drivers/staging/greybus/arche-platform.c arche_platform_probe() -> arche_platform_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | arche_pdata | 352 |
| BUF_SIZE | 0 | arche_pdata->svc_reset | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | arche_pdata->svc_reset | 1 |
| DATA_SOURCE | 0 | arche_pdata | r devm_kzalloc |
| MEM_ZERO | 0 | arche_pdata | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |