Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.h442 enum dai_state old_state = sai_get_state(dir, data); in sai_update_state() local
444 LOG_DBG("attempting to transition from %d to %d", old_state, new_state); in sai_update_state()
452 if (old_state != DAI_STATE_NOT_READY && in sai_update_state()
453 old_state != DAI_STATE_READY && in sai_update_state()
454 old_state != DAI_STATE_STOPPING) { in sai_update_state()
459 if (old_state != DAI_STATE_PAUSED && in sai_update_state()
460 old_state != DAI_STATE_STOPPING && in sai_update_state()
461 old_state != DAI_STATE_READY) { in sai_update_state()
466 if (old_state != DAI_STATE_RUNNING) { in sai_update_state()
471 if (old_state != DAI_STATE_READY && in sai_update_state()
[all …]
Dsai.c584 uint32_t old_state; in sai_trigger_stop() local
588 old_state = sai_get_state(dir, data); in sai_trigger_stop()
605 if (old_state == DAI_STATE_PAUSED) { in sai_trigger_stop()
703 uint32_t old_state; in sai_trigger_start() local
708 old_state = sai_get_state(dir, data); in sai_trigger_start()
724 if (old_state == DAI_STATE_PAUSED) { in sai_trigger_start()
/Zephyr-latest/drivers/dai/nxp/esai/
Desai.h383 enum dai_state old_state = esai_get_state(data, dir); in esai_update_state() local
385 LOG_DBG("attempting state transition from %d to %d", old_state, new_state); in esai_update_state()
392 if (old_state != DAI_STATE_NOT_READY && in esai_update_state()
393 old_state != DAI_STATE_READY && in esai_update_state()
394 old_state != DAI_STATE_STOPPING) { in esai_update_state()
399 if (old_state != DAI_STATE_STOPPING && in esai_update_state()
400 old_state != DAI_STATE_READY) { in esai_update_state()
405 if (old_state != DAI_STATE_RUNNING) { in esai_update_state()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.h46 enum can_state old_state; member
Dcan_mcp2515.c784 if (state_change_cb && dev_data->old_state != state) { in mcp2515_handle_errors()
785 dev_data->old_state = state; in mcp2515_handle_errors()
973 dev_data->old_state = CAN_STATE_ERROR_ACTIVE; in mcp2515_init()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_adin2111.c393 struct phy_link_state old_state; in update_link_state() local
402 old_state = data->state; in update_link_state()
405 if (old_state.speed != data->state.speed || old_state.is_up != data->state.is_up) { in update_link_state()
Dphy_microchip_ksz8081.c151 struct phy_link_state old_state = data->state; in phy_mc_ksz8081_get_link() local
208 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_mc_ksz8081_get_link()
Dphy_ti_dp83825.c171 struct phy_link_state old_state = data->state; in phy_ti_dp83825_get_link() local
228 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_ti_dp83825_get_link()
Dphy_realtek_rtl8211f.c212 struct phy_link_state old_state = data->state; in phy_rt_rtl8211f_get_link() local
266 if (memcmp(&old_state, &new_state, sizeof(struct phy_link_state)) != 0) { in phy_rt_rtl8211f_get_link()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_unicast_client.c943 uint8_t old_state) in unicast_client_ep_qos_state() argument
969 const bool disabled = old_state == BT_BAP_EP_STATE_ENABLING || in unicast_client_ep_qos_state()
970 old_state == BT_BAP_EP_STATE_STREAMING; in unicast_client_ep_qos_state()
976 old_state == BT_BAP_EP_STATE_DISABLING && ops->stopped != NULL) { in unicast_client_ep_qos_state()
1194 uint8_t old_state; in unicast_client_ep_set_status() local
1204 old_state = ep->status.state; in unicast_client_ep_set_status()
1206 state_changed = old_state != ep->status.state; in unicast_client_ep_set_status()
1208 if (state_changed && old_state == BT_BAP_EP_STATE_STREAMING) { in unicast_client_ep_set_status()
1234 status->id, bt_audio_dir_str(ep->dir), bt_bap_ep_state_str(old_state), in unicast_client_ep_set_status()
1242 switch (old_state) { in unicast_client_ep_set_status()
[all …]
Dbap_broadcast_source.c86 uint8_t old_state; in broadcast_source_set_ep_state() local
88 old_state = ep->status.state; in broadcast_source_set_ep_state()
90 LOG_DBG("ep %p id 0x%02x %s -> %s", ep, ep->status.id, bt_bap_ep_state_str(old_state), in broadcast_source_set_ep_state()
93 switch (old_state) { in broadcast_source_set_ep_state()
120 bt_bap_ep_state_str(old_state)); in broadcast_source_set_ep_state()
Dascs.c521 const enum bt_bap_ep_state old_state = ascs_ep_get_state(&ase->ep); in state_transition_work_handler() local
535 ase->ep.status.state = old_state; in state_transition_work_handler()
557 bt_bap_ep_state_str(old_state), bt_bap_ep_state_str(new_state)); in state_transition_work_handler()
559 if (old_state == new_state) { in state_transition_work_handler()
571 switch (old_state) { in state_transition_work_handler()
613 const enum bt_bap_ep_state old_state = ascs_ep_get_state(&ase->ep); in ascs_ep_set_state() local
622 switch (old_state) { in ascs_ep_set_state()
633 switch (old_state) { in ascs_ep_set_state()
653 switch (old_state) { in ascs_ep_set_state()
662 switch (old_state) { in ascs_ep_set_state()
[all …]
Dbap_broadcast_sink.c212 uint8_t old_state; in broadcast_sink_set_ep_state() local
214 old_state = ep->status.state; in broadcast_sink_set_ep_state()
216 LOG_DBG("ep %p id 0x%02x %s -> %s", ep, ep->status.id, bt_bap_ep_state_str(old_state), in broadcast_sink_set_ep_state()
219 switch (old_state) { in broadcast_sink_set_ep_state()
240 bt_bap_ep_state_str(old_state)); in broadcast_sink_set_ep_state()
/Zephyr-latest/subsys/bluetooth/host/
Dconn.c1172 bt_conn_state_t old_state; in bt_conn_set_state() local
1181 old_state = conn->state; in bt_conn_set_state()
1185 switch (old_state) { in bt_conn_set_state()
1255 switch (old_state) { in bt_conn_set_state()
/Zephyr-latest/subsys/bluetooth/host/classic/
Drfcomm.c248 uint8_t old_state = dlc->state; in rfcomm_dlc_disconnect() local
258 switch (old_state) { in rfcomm_dlc_disconnect()