Lines Matching defs:state
254 * sdma_state_name() - return state string from enum
255 * @state: state
257 static const char *sdma_state_name(enum sdma_states state)
259 return sdma_state_names[state];
398 * - Directly from the state machine just before setting the
399 * state to running
531 if (curr_sde->state.current_state != sdma_state_s99_running) {
657 struct sdma_state *ss = &sde->state;
659 /* Releasing this reference means the state machine has stopped. */
675 struct sdma_state *ss = &sde->state;
1451 kref_init(&sde->state.kref);
1452 init_completion(&sde->state.comp);
1551 * This routine moves all engines to the running state.
1569 * This routine moves all engines to the idle state.
1584 * sdma_start() - called to kick off state processing for all engines
1587 * This routine is for kicking off the state processing for all required
1596 /* kick off the engines state processing */
1623 * This waits for the state machine to exit so it is not
1627 sdma_finalput(&sde->state);
1920 dd_dev_err(sde->dd, "CONFIG SDMA(%u) error status 0x%llx state %s\n",
1923 sdma_state_names[sde->state.current_state]);
1931 "SDMA (%u) engine error: 0x%llx state %s\n",
1934 sdma_state_names[sde->state.current_state]);
2017 * This is called when changing to state s10_hw_start_up_halt_wait as
2224 sdma_state_name(sde->state.current_state),
2393 * -EIOCBQUEUED - tx queued to iowait, -ECOMM bad sdma state
2454 * which are added to SDMA engine flush list if the SDMA engine state is
2472 * -EIOCBQUEUED - tx queued to iowait, -ECOMM bad sdma state
2553 if (sde->state.current_state == sdma_state_s99_running)
2563 struct sdma_state *ss = &sde->state;
2589 /* This reference means the state machine is started */
2590 sdma_get(&sde->state);
3365 * Make sure all engines have moved out of the running state before
3397 * frozen, but then we'd have to add another state to wait for the unfreeze.