/Zephyr-latest/drivers/dai/nxp/sai/ |
D | sai.h | 442 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 …]
|
D | sai.c | 584 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/ |
D | esai.h | 383 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/ |
D | can_mcp2515.h | 46 enum can_state old_state; member
|
D | can_mcp2515.c | 784 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/ |
D | phy_adin2111.c | 393 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()
|
D | phy_microchip_ksz8081.c | 151 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()
|
D | phy_ti_dp83825.c | 171 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()
|
D | phy_realtek_rtl8211f.c | 212 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/ |
D | bap_unicast_client.c | 943 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 …]
|
D | bap_broadcast_source.c | 86 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()
|
D | ascs.c | 521 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 …]
|
D | bap_broadcast_sink.c | 212 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/ |
D | conn.c | 1172 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/ |
D | rfcomm.c | 248 uint8_t old_state = dlc->state; in rfcomm_dlc_disconnect() local 258 switch (old_state) { in rfcomm_dlc_disconnect()
|