Lines Matching refs:state

115 	enum cds_driver_state state = cds_get_driver_state();  in cds_is_driver_loading()  local
117 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_LOADING); in cds_is_driver_loading()
127 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_unloading() local
129 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_UNLOADING); in cds_is_driver_unloading()
139 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_recovering() local
141 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_RECOVERING); in cds_is_driver_recovering()
151 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_in_bad_state() local
153 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_BAD); in cds_is_driver_in_bad_state()
163 enum cds_driver_state state = cds_get_driver_state(); in cds_is_load_or_unload_in_progress() local
165 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_LOADING) || in cds_is_load_or_unload_in_progress()
166 __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_UNLOADING); in cds_is_load_or_unload_in_progress()
176 enum cds_driver_state state = cds_get_driver_state(); in cds_is_target_ready() local
178 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_FW_READY); in cds_is_target_ready()
188 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_state_module_stop() local
190 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_MODULE_STOP); in cds_is_driver_state_module_stop()
299 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_loaded() local
301 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_LOADED); in cds_is_driver_loaded()
326 enum cds_driver_state state = cds_get_driver_state(); in cds_is_target_asserting() local
328 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_ASSERTING_TARGET); in cds_is_target_asserting()
645 enum cds_driver_state state = cds_get_driver_state(); in cds_is_driver_transitioning() local
647 return __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_LOADING) || in cds_is_driver_transitioning()
648 __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_UNLOADING) || in cds_is_driver_transitioning()
649 __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_RECOVERING) || in cds_is_driver_transitioning()
650 __CDS_IS_DRIVER_STATE(state, CDS_DRIVER_STATE_BAD); in cds_is_driver_transitioning()