Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/staging/greybus/arche-platform.c arche_platform_poweroff_seq() -> arche_platform_set_wake_detect_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| 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 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | arche_pdata | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &arche_pdata->wake_lock | |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &arche_pdata->platform_state_mutex | |
| TYPE_LOCK | (struct arche_platform_drvdata)->wake_lock |
drivers/staging/greybus/arche-platform.c arche_platform_probe() -> arche_platform_set_wake_detect_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_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 |
| CAPPED_DATA | 0 | arche_pdata->svc_refclk_req | 1 |
| CAPPED_DATA | 0 | arche_pdata->svc_reset | 1 |
| CAPPED_DATA | 0 | arche_pdata->svc_sysboot | 1 |
| CAPPED_DATA | 0 | arche_pdata->wake_detect | 1 |
| DATA_SOURCE | 0 | arche_pdata | r devm_kzalloc |
| MEM_ZERO | 0 | arche_pdata | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/greybus/arche-platform.c arche_platform_wd_irq() -> arche_platform_set_wake_detect_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->wake_detect_state | 1 |
| PARAM_VALUE | 1 | state | 0 |
| DATA_SOURCE | 0 | arche_pdata | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &arche_pdata->wake_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct arche_platform_drvdata)->wake_lock |
drivers/staging/greybus/arche-platform.c arche_platform_wd_irq() -> arche_platform_set_wake_detect_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->wake_detect_state | 1 |
| PARAM_VALUE | 1 | state | 2 |
| DATA_SOURCE | 0 | arche_pdata | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &arche_pdata->wake_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct arche_platform_drvdata)->wake_lock |
drivers/staging/greybus/arche-platform.c arche_platform_wd_irq() -> arche_platform_set_wake_detect_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->wake_detect_state | 0 |
| PARAM_VALUE | 1 | state | 1 |
| DATA_SOURCE | 0 | arche_pdata | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &arche_pdata->wake_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct arche_platform_drvdata)->wake_lock |
drivers/staging/greybus/arche-platform.c arche_platform_wd_irq_thread() -> arche_platform_set_wake_detect_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->wake_detect_state | 2 |
| PARAM_VALUE | 1 | state | 4 |
| DATA_SOURCE | 0 | arche_pdata | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &arche_pdata->wake_lock | |
| TYPE_LOCK | (struct arche_platform_drvdata)->wake_lock |
drivers/staging/greybus/arche-platform.c arche_platform_wd_irq_thread() -> arche_platform_set_wake_detect_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arche_pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | arche_pdata->wake_detect_state | 4 |
| PARAM_VALUE | 1 | state | 0 |
| DATA_SOURCE | 0 | arche_pdata | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &arche_pdata->wake_lock | |
| TYPE_LOCK | (struct arche_platform_drvdata)->wake_lock |