Home
last modified time | relevance | path

Searched refs:after_suspend (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/can/spi/
Dhi311x.c161 int after_suspend; member
396 priv->after_suspend = HI3110_AFTER_SUSPEND_RESTART; in hi3110_do_set_mode()
601 if (priv->after_suspend) { in hi3110_restart_work_handler()
604 if (priv->after_suspend & HI3110_AFTER_SUSPEND_RESTART) { in hi3110_restart_work_handler()
606 } else if (priv->after_suspend & HI3110_AFTER_SUSPEND_UP) { in hi3110_restart_work_handler()
614 priv->after_suspend = 0; in hi3110_restart_work_handler()
975 priv->after_suspend = HI3110_AFTER_SUSPEND_UP; in hi3110_can_suspend()
977 priv->after_suspend = HI3110_AFTER_SUSPEND_DOWN; in hi3110_can_suspend()
982 priv->after_suspend |= HI3110_AFTER_SUSPEND_POWER; in hi3110_can_suspend()
993 if (priv->after_suspend & HI3110_AFTER_SUSPEND_POWER) in hi3110_can_resume()
[all …]
Dmcp251x.c245 int after_suspend; member
812 priv->after_suspend = AFTER_SUSPEND_RESTART; in mcp251x_do_set_mode()
1025 if (priv->after_suspend) { in mcp251x_restart_work_handler()
1026 if (priv->after_suspend & AFTER_SUSPEND_POWER) { in mcp251x_restart_work_handler()
1034 if (priv->after_suspend & AFTER_SUSPEND_RESTART) { in mcp251x_restart_work_handler()
1036 } else if (priv->after_suspend & AFTER_SUSPEND_UP) { in mcp251x_restart_work_handler()
1044 priv->after_suspend = 0; in mcp251x_restart_work_handler()
1465 priv->after_suspend = AFTER_SUSPEND_UP; in mcp251x_can_suspend()
1467 priv->after_suspend = AFTER_SUSPEND_DOWN; in mcp251x_can_suspend()
1471 priv->after_suspend |= AFTER_SUSPEND_POWER; in mcp251x_can_suspend()
[all …]