Lines Matching refs:primary

276 		header->primary | SKL_ADSP_REG_HIPCI_BUSY);  in skl_ipc_tx_msg()
287 header->primary); in skl_ipc_reply_get_msg()
303 if (IPC_GLB_NOTIFY_MSG_TYPE(header.primary)) { in skl_ipc_process_notification()
304 switch (IPC_GLB_NOTIFY_TYPE(header.primary)) { in skl_ipc_process_notification()
307 dev_err(ipc->dev, "FW Underrun %x\n", header.primary); in skl_ipc_process_notification()
312 header.primary); in skl_ipc_process_notification()
322 header.primary); in skl_ipc_process_notification()
334 u32 reply = header.primary & IPC_GLB_REPLY_STATUS_MASK; in skl_ipc_process_reply()
346 dev_info(ipc->dev, "ipc FW reply %x: success\n", header.primary); in skl_ipc_process_reply()
350 dev_err(ipc->dev, "ipc fw reply: %x: no memory\n", header.primary); in skl_ipc_process_reply()
355 dev_err(ipc->dev, "ipc fw reply: %x: Busy\n", header.primary); in skl_ipc_process_reply()
413 header.primary = hipct; in skl_dsp_irq_thread_handler()
416 header.primary); in skl_dsp_irq_thread_handler()
420 if (IPC_GLB_NOTIFY_RSP_TYPE(header.primary)) { in skl_dsp_irq_thread_handler()
528 header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); in skl_ipc_create_pipeline()
529 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_create_pipeline()
530 header.primary |= IPC_GLB_TYPE(IPC_GLB_CREATE_PPL); in skl_ipc_create_pipeline()
531 header.primary |= IPC_INSTANCE_ID(instance_id); in skl_ipc_create_pipeline()
532 header.primary |= IPC_PPL_TYPE(ppl_type); in skl_ipc_create_pipeline()
533 header.primary |= IPC_PPL_MEM_SIZE(ppl_mem_size); in skl_ipc_create_pipeline()
535 dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); in skl_ipc_create_pipeline()
552 header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); in skl_ipc_delete_pipeline()
553 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_delete_pipeline()
554 header.primary |= IPC_GLB_TYPE(IPC_GLB_DELETE_PPL); in skl_ipc_delete_pipeline()
555 header.primary |= IPC_INSTANCE_ID(instance_id); in skl_ipc_delete_pipeline()
557 dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); in skl_ipc_delete_pipeline()
575 header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); in skl_ipc_set_pipeline_state()
576 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_set_pipeline_state()
577 header.primary |= IPC_GLB_TYPE(IPC_GLB_SET_PPL_STATE); in skl_ipc_set_pipeline_state()
578 header.primary |= IPC_INSTANCE_ID(instance_id); in skl_ipc_set_pipeline_state()
579 header.primary |= IPC_PPL_STATE(state); in skl_ipc_set_pipeline_state()
581 dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); in skl_ipc_set_pipeline_state()
598 header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); in skl_ipc_save_pipeline()
599 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_save_pipeline()
600 header.primary |= IPC_GLB_TYPE(IPC_GLB_SAVE_PPL); in skl_ipc_save_pipeline()
601 header.primary |= IPC_INSTANCE_ID(instance_id); in skl_ipc_save_pipeline()
604 dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); in skl_ipc_save_pipeline()
621 header.primary = IPC_MSG_TARGET(IPC_FW_GEN_MSG); in skl_ipc_restore_pipeline()
622 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_restore_pipeline()
623 header.primary |= IPC_GLB_TYPE(IPC_GLB_RESTORE_PPL); in skl_ipc_restore_pipeline()
624 header.primary |= IPC_INSTANCE_ID(instance_id); in skl_ipc_restore_pipeline()
626 dev_dbg(ipc->dev, "In %s header=%d\n", __func__, header.primary); in skl_ipc_restore_pipeline()
644 header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); in skl_ipc_set_dx()
645 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_set_dx()
646 header.primary |= IPC_GLB_TYPE(IPC_MOD_SET_DX); in skl_ipc_set_dx()
647 header.primary |= IPC_MOD_INSTANCE_ID(instance_id); in skl_ipc_set_dx()
648 header.primary |= IPC_MOD_ID(module_id); in skl_ipc_set_dx()
651 header.primary, header.extension); in skl_ipc_set_dx()
676 header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); in skl_ipc_init_instance()
677 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_init_instance()
678 header.primary |= IPC_GLB_TYPE(IPC_MOD_INIT_INSTANCE); in skl_ipc_init_instance()
679 header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); in skl_ipc_init_instance()
680 header.primary |= IPC_MOD_ID(msg->module_id); in skl_ipc_init_instance()
687 header.primary, header.extension); in skl_ipc_init_instance()
708 header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); in skl_ipc_bind_unbind()
709 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_bind_unbind()
710 header.primary |= IPC_GLB_TYPE(bind_unbind); in skl_ipc_bind_unbind()
711 header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); in skl_ipc_bind_unbind()
712 header.primary |= IPC_MOD_ID(msg->module_id); in skl_ipc_bind_unbind()
719 dev_dbg(ipc->dev, "In %s hdr=%x ext=%x\n", __func__, header.primary, in skl_ipc_bind_unbind()
739 header.primary = IPC_MSG_TARGET(IPC_MOD_MSG); in skl_ipc_set_large_config()
740 header.primary |= IPC_MSG_DIR(IPC_MSG_REQUEST); in skl_ipc_set_large_config()
741 header.primary |= IPC_GLB_TYPE(IPC_MOD_LARGE_CONFIG_SET); in skl_ipc_set_large_config()
742 header.primary |= IPC_MOD_INSTANCE_ID(msg->instance_id); in skl_ipc_set_large_config()
743 header.primary |= IPC_MOD_ID(msg->module_id); in skl_ipc_set_large_config()
759 header.primary, header.extension); in skl_ipc_set_large_config()