Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/watchdog/mtk_wdt.c mtk_wdt_init() -> mtk_wdt_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdt_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->info | 3042637183389814784,3361488160138113024 |
| PARAM_VALUE | 0 | wdt_dev->max_hw_heartbeat_ms | 31000 |
| PARAM_VALUE | 0 | wdt_dev->ops | 5020608518455898112 |
| PARAM_VALUE | 0 | wdt_dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->pretimeout | 0,15 |
| PARAM_VALUE | 0 | wdt_dev->restart_nb.priority | 128 |
| PARAM_VALUE | 0 | wdt_dev->timeout | 1-4294967 |
| PARAM_VALUE | 1 | timeout | 1-4294967 |
| DATA_SOURCE | 0 | wdt_dev | $0 |
| MEM_ZERO | 0 | wdt_dev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | wdt_dev->timeout | |
| NO_OVERFLOW_SIMPLE | 1 | timeout |
drivers/watchdog/mtk_wdt.c mtk_wdt_set_pretimeout() -> mtk_wdt_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdt_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->info->options | 512-u32max |
| PARAM_VALUE | 0 | wdt_dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->ops->set_pretimeout | 1-u64max |
| DATA_SOURCE | 0 | wdt_dev | $0 |
| BIT_INFO | 0 | wdt_dev->info->options | 0x200,0xffffffffffffffff |
| LOCK2 | &wd_data->lock | ||
| TYPE_LOCK | (struct watchdog_core_data)->lock |
drivers/watchdog/mtk_wdt.c mtk_wdt_start() -> mtk_wdt_set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdt_dev | 4096-ptr_max |
| DATA_SOURCE | 0 | wdt_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wdt_dev->timeout | |
| NO_OVERFLOW_SIMPLE | 1 | timeout | |
| HALF_LOCKED2 | &wd_data->lock |
drivers/watchdog/bcm47xx_wdt.c bcm47xx_wdt_probe() -> (struct watchdog_ops)->set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdt_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->info | 1993355227489009664 |
| PARAM_VALUE | 0 | wdt_dev->ops | 4071712083976896512,6123912033160548352 |
| PARAM_VALUE | 0 | wdt_dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->timeout | 30 |
| CONTAINER | 0 | -40-32+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/watchdog/watchdog_dev.c watchdog_set_timeout() -> (struct watchdog_ops)->set_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdt_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->info | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->info->options | 128-u32max |
| PARAM_VALUE | 0 | wdt_dev->min_timeout | 0-4294967 |
| PARAM_VALUE | 0 | wdt_dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | wdt_dev->ops->set_timeout | 1-u64max |
| PARAM_VALUE | 1 | timeout | 0-4294967 |
| CAPPED_DATA | 0 | wdt_dev->min_timeout | 1 |
| CAPPED_DATA | 1 | timeout | 1 |
| DATA_SOURCE | 0 | wdt_dev | $0 |
| DATA_SOURCE | 1 | timeout | $1 |
| CONTAINER | 0 | -40-32+0 | $(-1) |
| PARAM_COMPARE | 1 | timeout | >= $0->min_timeout |
| BIT_INFO | 0 | wdt_dev->info->options | 0x80,0xffffffffffffffff |
| HARD_MAX | 0 | wdt_dev->min_timeout | 4294967 |
| HARD_MAX | 1 | timeout | 4294967 |
| USER_DATA | 1 | timeout | 0-4294967[c] |
| NO_OVERFLOW_SIMPLE | 1 | timeout | |
| LOCK2 | &wd_data->lock | ||
| TYPE_LOCK | (struct watchdog_core_data)->lock |