Home
last modified time | relevance | path

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

/drivers/dai/nxp/sai/
A Dsai.h442 enum dai_state old_state = sai_get_state(dir, data); in sai_update_state() local
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()
472 old_state != DAI_STATE_RUNNING && in sai_update_state()
[all …]
A 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()
/drivers/dai/nxp/esai/
A Desai.h421 enum dai_state old_state = esai_get_state(data, dir); in esai_update_state() local
423 LOG_DBG("attempting state transition from %d to %d", old_state, new_state); in esai_update_state()
430 if (old_state != DAI_STATE_NOT_READY && in esai_update_state()
431 old_state != DAI_STATE_READY && in esai_update_state()
432 old_state != DAI_STATE_STOPPING) { in esai_update_state()
437 if (old_state != DAI_STATE_STOPPING && in esai_update_state()
438 old_state != DAI_STATE_READY) { in esai_update_state()
443 if (old_state != DAI_STATE_RUNNING) { in esai_update_state()
/drivers/ethernet/phy/
A Dphy_adin2111.c381 struct phy_link_state old_state; in update_link_state() local
390 old_state = data->state; in update_link_state()
393 if (old_state.speed != data->state.speed || old_state.is_up != data->state.is_up) { in update_link_state()
A Dphy_microchip_ksz8081.c154 struct phy_link_state old_state = data->state; in phy_mc_ksz8081_get_link() local
204 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_mc_ksz8081_get_link()
A Dphy_ti_dp83825.c174 struct phy_link_state old_state = data->state; in phy_ti_dp83825_get_link() local
231 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_ti_dp83825_get_link()
A Dphy_microchip_t1s.c214 struct phy_link_state old_state = data->state; in phy_mc_t1s_get_link() local
227 if (memcmp(&old_state, state, sizeof(struct phy_link_state)) != 0) { in phy_mc_t1s_get_link()
A Dphy_ti_dp83867.c196 struct phy_link_state old_state = data->state; in phy_ti_dp83867_get_link() local
248 if (memcmp(&old_state, &new_state, sizeof(struct phy_link_state)) != 0) { in phy_ti_dp83867_get_link()
A Dphy_realtek_rtl8211f.c215 struct phy_link_state old_state = data->state; in phy_rt_rtl8211f_get_link() local
269 if (memcmp(&old_state, &new_state, sizeof(struct phy_link_state)) != 0) { in phy_rt_rtl8211f_get_link()
/drivers/can/
A Dcan_mcp2515.h46 enum can_state old_state; member
A Dcan_max32.c412 static void can_max32_state_change_handler(const struct device *dev, enum can_state old_state) in can_max32_state_change_handler() argument
422 if (old_state != new_state) { in can_max32_state_change_handler()
579 enum can_state old_state = dev_data->state; in unit_event_callback() local
600 can_max32_state_change_handler(dev, old_state); in unit_event_callback()
A Dcan_mcp2515.c791 if (state_change_cb && dev_data->old_state != state) { in mcp2515_handle_errors()
792 dev_data->old_state = state; in mcp2515_handle_errors()
972 dev_data->old_state = CAN_STATE_ERROR_ACTIVE; in mcp2515_init()

Completed in 36 milliseconds