• Home
  • Raw
  • Download

Lines Matching refs:dsp

271 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp)  in skl_ipc_is_dsp_busy()  argument
275 hipci = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCI); in skl_ipc_is_dsp_busy()
285 sst_dsp_outbox_write(ipc->dsp, msg->tx_data, msg->tx_size); in skl_ipc_tx_msg()
286 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCIE, in skl_ipc_tx_msg()
288 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCI, in skl_ipc_tx_msg()
374 sst_dsp_inbox_read(ipc->dsp, msg->rx_data, msg->rx_size); in skl_ipc_process_reply()
396 ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp)); in skl_ipc_process_reply()
405 struct sst_dsp *dsp = context; in skl_dsp_irq_thread_handler() local
406 struct skl_sst *skl = sst_dsp_get_thread_context(dsp); in skl_dsp_irq_thread_handler()
412 if (dsp->intr_status & SKL_ADSPIS_CL_DMA) in skl_dsp_irq_thread_handler()
413 skl_cldma_process_intr(dsp); in skl_dsp_irq_thread_handler()
416 if (!(dsp->intr_status & SKL_ADSPIS_IPC)) in skl_dsp_irq_thread_handler()
419 hipcie = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCIE); in skl_dsp_irq_thread_handler()
420 hipct = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCT); in skl_dsp_irq_thread_handler()
424 sst_dsp_shim_update_bits(dsp, SKL_ADSP_REG_HIPCCTL, in skl_dsp_irq_thread_handler()
428 sst_dsp_shim_update_bits_forced(dsp, SKL_ADSP_REG_HIPCIE, in skl_dsp_irq_thread_handler()
434 sst_dsp_shim_update_bits(dsp, SKL_ADSP_REG_HIPCCTL, in skl_dsp_irq_thread_handler()
440 hipcte = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCTE); in skl_dsp_irq_thread_handler()
443 dev_dbg(dsp->dev, "IPC irq: Firmware respond primary:%x\n", in skl_dsp_irq_thread_handler()
445 dev_dbg(dsp->dev, "IPC irq: Firmware respond extension:%x\n", in skl_dsp_irq_thread_handler()
452 dev_dbg(dsp->dev, "IPC irq: Notification from firmware\n"); in skl_dsp_irq_thread_handler()
456 sst_dsp_shim_update_bits_forced(dsp, SKL_ADSP_REG_HIPCT, in skl_dsp_irq_thread_handler()
464 skl_ipc_int_enable(dsp); in skl_dsp_irq_thread_handler()
519 ipc->dsp = skl->dsp; in skl_ipc_init()
539 sst_dsp_shim_update_bits(ipc->dsp, SKL_ADSP_REG_HIPCCTL, in skl_ipc_free()
543 sst_dsp_shim_update_bits(ipc->dsp, SKL_ADSP_REG_HIPCCTL, in skl_ipc_free()