Lines Matching full:dsp
15 * Hardware interface for generic Intel audio DSP HDA IP
30 "SOF HDA enable trace when the DSP is in D0I3 in S0");
34 * DSP Core control.
147 dev_err(sdev->dev, "error: DSP start core failed: core_mask %x\n", in hda_dsp_core_run()
234 dev_dbg(sdev->dev, "DSP core(s) enabled? %d : core_mask %x\n", in hda_dsp_core_is_enabled()
256 dev_err(sdev->dev, "error: dsp core power up failed: core_mask %x\n", in hda_dsp_enable_core()
281 dev_err(sdev->dev, "error: dsp core reset failed: core_mask %x\n", in hda_dsp_core_reset_power_down()
289 dev_err(sdev->dev, "error: dsp core power down fail mask %x: %d\n", in hda_dsp_core_reset_power_down()
296 dev_err(sdev->dev, "error: dsp core disable fail mask %x: %d\n", in hda_dsp_core_reset_power_down()
359 /* send pm_gate ipc to dsp */ in hda_dsp_send_pm_gate_ipc()
425 * Trace DMA need to be disabled when the DSP enters in hda_dsp_set_D0_state()
427 * when the DSP enters D0I3 while the system is in S0 in hda_dsp_set_D0_state()
445 * Notify the DSP of the state change. in hda_dsp_set_D0_state()
471 /* helper to log DSP state */
478 dev_dbg(sdev->dev, "Current DSP power state: D0I0\n"); in hda_dsp_state_log()
481 dev_dbg(sdev->dev, "Current DSP power state: D0I3\n"); in hda_dsp_state_log()
484 dev_dbg(sdev->dev, "Unknown DSP D0 substate: %d\n", in hda_dsp_state_log()
490 dev_dbg(sdev->dev, "Current DSP power state: D1\n"); in hda_dsp_state_log()
493 dev_dbg(sdev->dev, "Current DSP power state: D2\n"); in hda_dsp_state_log()
496 dev_dbg(sdev->dev, "Current DSP power state: D3_HOT\n"); in hda_dsp_state_log()
499 dev_dbg(sdev->dev, "Current DSP power state: D3\n"); in hda_dsp_state_log()
502 dev_dbg(sdev->dev, "Current DSP power state: D3_COLD\n"); in hda_dsp_state_log()
505 dev_dbg(sdev->dev, "Unknown DSP power state: %d\n", in hda_dsp_state_log()
512 * All DSP power state transitions are initiated by the driver.
515 * is called again either because of a new IPC sent to the DSP or
524 * When the DSP is already in D0I3 and the target state is D0I3, in hda_dsp_set_power_state()
525 * it could be the case that the DSP is in D0I3 during S0 in hda_dsp_set_power_state()
536 * the DSP is already in the target state. in hda_dsp_set_power_state()
564 "failed to set requested target DSP state %d substate %d\n", in hda_dsp_set_power_state()
575 * Audio DSP states may transform as below:-
599 * S0IX suspend: The DSP is in D0I3 if any D0I3-compatible streams
600 * ignored the suspend trigger. Otherwise the DSP
626 /* power down DSP */ in hda_suspend()
744 /* Set DSP power state */ in hda_dsp_resume()
747 dev_err(sdev->dev, "error: setting dsp state %d substate %d\n", in hda_dsp_resume()
764 /* init hda controller. DSP cores will be powered up during fw boot */ in hda_dsp_resume()
779 /* init hda controller. DSP cores will be powered up during fw boot */ in hda_dsp_runtime_resume()
807 /* stop hda controller and power dsp off */ in hda_dsp_runtime_suspend()
827 /* cancel any attempt for DSP D0I3 */ in hda_dsp_suspend()
834 /* Set DSP power state */ in hda_dsp_suspend()
837 dev_err(sdev->dev, "error: setting dsp state %d substate %d\n", in hda_dsp_suspend()
871 /* stop hda controller and power dsp off */ in hda_dsp_suspend()
874 dev_err(bus->dev, "error: suspending dsp\n"); in hda_dsp_suspend()
935 /* DSP can enter D0I3 iff only D0I3-compatible streams are active */ in hda_dsp_d0i3_work()
949 "error: failed to set DSP state %d substate %d\n", in hda_dsp_d0i3_work()