Lines Matching refs:ll_state
46 if (st_data->ll_state != ST_LL_AWAKE) in ll_device_want_to_sleep()
48 "in state %ld", st_data->ll_state); in ll_device_want_to_sleep()
52 st_data->ll_state = ST_LL_ASLEEP; in ll_device_want_to_sleep()
67 switch (st_data->ll_state) { in ll_device_want_to_wakeup()
85 st_data->ll_state = ST_LL_AWAKE; in ll_device_want_to_wakeup()
101 ll->ll_state = ST_LL_AWAKE; in st_ll_enable()
108 ll->ll_state = ST_LL_INVALID; in st_ll_disable()
114 if (likely(ll->ll_state != ST_LL_AWAKE)) { in st_ll_wakeup()
116 ll->ll_state = ST_LL_ASLEEP_TO_AWAKE; in st_ll_wakeup()
126 pr_debug(" returning state %ld", ll->ll_state); in st_ll_getstate()
127 return ll->ll_state; in st_ll_getstate()
148 st_data->ll_state = ST_LL_AWAKE; in st_ll_sleep_state()
161 ll->ll_state = ST_LL_INVALID; in st_ll_init()