Lines Matching refs:ll_state
33 if (st_data->ll_state != ST_LL_AWAKE) in ll_device_want_to_sleep()
35 "in state %ld", st_data->ll_state); in ll_device_want_to_sleep()
39 st_data->ll_state = ST_LL_ASLEEP; in ll_device_want_to_sleep()
54 switch (st_data->ll_state) { in ll_device_want_to_wakeup()
72 st_data->ll_state = ST_LL_AWAKE; in ll_device_want_to_wakeup()
88 ll->ll_state = ST_LL_AWAKE; in st_ll_enable()
95 ll->ll_state = ST_LL_INVALID; in st_ll_disable()
101 if (likely(ll->ll_state != ST_LL_AWAKE)) { in st_ll_wakeup()
103 ll->ll_state = ST_LL_ASLEEP_TO_AWAKE; in st_ll_wakeup()
113 pr_debug(" returning state %ld", ll->ll_state); in st_ll_getstate()
114 return ll->ll_state; in st_ll_getstate()
135 st_data->ll_state = ST_LL_AWAKE; in st_ll_sleep_state()
148 ll->ll_state = ST_LL_INVALID; in st_ll_init()