Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/watchdog/sprd_wdt.c sprd_wdt_get_timeleft() -> to_sprd_wdt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdd | 4096-ptr_max |
| BUF_SIZE | 0 | wdd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wdd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | wdd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wd_data->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct watchdog_core_data)->lock |
drivers/watchdog/sprd_wdt.c sprd_wdt_set_pretimeout() -> to_sprd_wdt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdd | 4096-ptr_max |
| DATA_SOURCE | 0 | wdd | $0 |
| BIT_INFO | 0 | wdd->info->options | 0x200,0xffffffff |
| LOCK2 | &wd_data->lock | ||
| TYPE_LOCK | (struct watchdog_core_data)->lock |
drivers/watchdog/sprd_wdt.c sprd_wdt_set_timeout() -> to_sprd_wdt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdd | 4096-ptr_max |
| DATA_SOURCE | 0 | wdd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &wd_data->lock |
drivers/watchdog/sprd_wdt.c sprd_wdt_start() -> to_sprd_wdt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdd | 4096-ptr_max |
| DATA_SOURCE | 0 | wdd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wdd->timeout | |
| HALF_LOCKED2 | &wd_data->lock |
drivers/watchdog/sprd_wdt.c sprd_wdt_stop() -> to_sprd_wdt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdd | 4096-ptr_max |
| BUF_SIZE | 0 | wdd->groups | (-1)-0,16 |
| BUF_SIZE | 0 | wdd->info | (-1),40 |
| BUF_SIZE | 0 | wdd->ops | (-1),80 |
| BUF_SIZE | 0 | wdd->parent | (-1),1616 |
| DATA_SOURCE | 0 | wdd | $0 |
| STR_LEN | 0 | wdd->info->identity | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wdd->timeout | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | wdd->timeout |