Home
last modified time | relevance | path

Searched refs:STATE_SUSPENDED (Results 1 – 9 of 9) sorted by relevance

/openbmc/hiomapd/
H A Dcontrol.c21 return (context->state & STATE_SUSPENDED) ? in control_daemon_state()
40 if (context->state & STATE_SUSPENDED) { in control_reset()
80 if (context->state & STATE_SUSPENDED) { in control_suspend()
91 context->state |= STATE_SUSPENDED; in control_suspend()
100 if (!(context->state & STATE_SUSPENDED)) { in control_resume()
115 context->state &= ~STATE_SUSPENDED; in control_resume()
126 if (context->state & STATE_SUSPENDED) in control_set_backend()
H A Dmboxd.h58 #define STATE_SUSPENDED (1 << 7) macro
66 SUSPEND_MAPS_FLASH = STATE_SUSPENDED | MAPS_FLASH,
70 SUSPEND_MAPS_MEM = STATE_SUSPENDED | MAPS_MEM
H A Dlpc.c120 if (context->state & STATE_SUSPENDED) { in lpc_map_flash()
178 context->state = MAPS_MEM | (context->state & STATE_SUSPENDED); in lpc_map_memory()
H A Dtransport_mbox.c506 if (context->state & STATE_SUSPENDED) { in check_req_valid()
/openbmc/phosphor-mboxd/
H A Dmboxd_dbus.c69 resp->args[0] = (context->state & STATE_SUSPENDED) ? in dbus_handle_daemon_state()
115 if (context->state & STATE_SUSPENDED) { in dbus_handle_reset()
189 if (context->state & STATE_SUSPENDED) { in dbus_handle_suspend()
200 context->state |= STATE_SUSPENDED; in dbus_handle_suspend()
222 if (!(context->state & STATE_SUSPENDED)) { in dbus_handle_resume()
238 context->state &= ~STATE_SUSPENDED; in dbus_handle_resume()
H A Dmbox.h90 #define STATE_SUSPENDED (1 << 7) macro
97 SUSPEND_MAPS_FLASH = STATE_SUSPENDED | MAPS_FLASH,
101 SUSPEND_MAPS_MEM = STATE_SUSPENDED | MAPS_MEM
H A Dmboxd_lpc.c120 if (context->state & STATE_SUSPENDED) { in point_to_flash()
177 context->state = MAPS_MEM | (context->state & STATE_SUSPENDED); in point_to_memory()
H A Dmboxd_msg.c695 if (context->state & STATE_SUSPENDED) { in check_req_valid()
/openbmc/linux/drivers/bluetooth/
H A Dhci_intel.c35 #define STATE_SUSPENDED 7 macro
159 test_bit(STATE_SUSPENDED, &intel->flags)) in intel_lpm_suspend()
187 if (!test_bit(STATE_SUSPENDED, &intel->flags)) { in intel_lpm_suspend()
205 !test_bit(STATE_SUSPENDED, &intel->flags)) in intel_lpm_resume()
231 if (test_bit(STATE_SUSPENDED, &intel->flags)) { in intel_lpm_resume()
250 clear_bit(STATE_SUSPENDED, &intel->flags); in intel_lpm_host_wake()
935 set_bit(STATE_SUSPENDED, &intel->flags); in intel_recv_lpm()
940 clear_bit(STATE_SUSPENDED, &intel->flags); in intel_recv_lpm()