Lines Matching refs:br_state
267 void smp_set_br_state(tSMP_BR_STATE br_state) in smp_set_br_state() argument
269 if (br_state < SMP_BR_STATE_MAX) in smp_set_br_state()
272 smp_get_br_state_name(smp_cb.br_state), smp_cb.br_state, in smp_set_br_state()
273 smp_get_br_state_name(br_state), br_state ); in smp_set_br_state()
274 smp_cb.br_state = br_state; in smp_set_br_state()
278 SMP_TRACE_DEBUG("%s invalid br_state =%d", __FUNCTION__,br_state ); in smp_set_br_state()
288 return smp_cb.br_state; in smp_get_br_state()
295 const char *smp_get_br_state_name(tSMP_BR_STATE br_state) in smp_get_br_state_name() argument
299 if (br_state < SMP_BR_STATE_MAX) in smp_get_br_state_name()
300 p_str = smp_br_state_name[br_state]; in smp_get_br_state_name()
335 tSMP_BR_STATE curr_state = p_cb->br_state; in smp_br_state_machine_event()
349 smp_get_br_state_name( p_cb->br_state), in smp_br_state_machine_event()
350 p_cb->br_state, smp_get_br_event_name(event), event) ; in smp_br_state_machine_event()
396 SMP_TRACE_DEBUG( "result state = %s", smp_get_br_state_name( p_cb->br_state ) ) ; in smp_br_state_machine_event()