Lines Matching refs:regs

44 	volatile struct intel_adsp_ipc *regs = config->regs;  in z_intel_adsp_ipc_isr()  local
47 if (regs->tdr & INTEL_ADSP_IPC_BUSY) { in z_intel_adsp_ipc_isr()
51 uint32_t msg = regs->tdr & ~INTEL_ADSP_IPC_BUSY; in z_intel_adsp_ipc_isr()
52 uint32_t ext = regs->tdd; in z_intel_adsp_ipc_isr()
57 regs->tdr = INTEL_ADSP_IPC_BUSY; in z_intel_adsp_ipc_isr()
60 regs->tda = INTEL_ADSP_IPC_ACE1X_TDA_DONE; in z_intel_adsp_ipc_isr()
62 regs->tda = INTEL_ADSP_IPC_DONE; in z_intel_adsp_ipc_isr()
68 bool done = (regs->ida & INTEL_ADSP_IPC_DONE); in z_intel_adsp_ipc_isr()
89 regs->ida = INTEL_ADSP_IPC_DONE; in z_intel_adsp_ipc_isr()
108 config->regs->tdr = INTEL_ADSP_IPC_BUSY; in intel_adsp_ipc_init()
109 config->regs->ida = INTEL_ADSP_IPC_DONE; in intel_adsp_ipc_init()
111 config->regs->tda = INTEL_ADSP_IPC_ACE1X_TDA_DONE; in intel_adsp_ipc_init()
113 config->regs->tda = INTEL_ADSP_IPC_DONE; in intel_adsp_ipc_init()
115 config->regs->ctl |= (INTEL_ADSP_IPC_CTL_IDIE | INTEL_ADSP_IPC_CTL_TBIE); in intel_adsp_ipc_init()
126 config->regs->tda = INTEL_ADSP_IPC_ACE1X_TDA_DONE; in intel_adsp_ipc_complete()
128 config->regs->tda = INTEL_ADSP_IPC_DONE; in intel_adsp_ipc_complete()
136 bool not_busy = (config->regs->idr & INTEL_ADSP_IPC_BUSY) == 0; in intel_adsp_ipc_is_complete()
158 if ((config->regs->idr & INTEL_ADSP_IPC_BUSY) != 0 || devdata->tx_ack_pending) { in intel_adsp_ipc_send_message()
167 config->regs->idd = ext_data; in intel_adsp_ipc_send_message()
168 config->regs->idr = data | INTEL_ADSP_IPC_BUSY; in intel_adsp_ipc_send_message()
193 volatile struct intel_adsp_ipc * const regs = config->regs; in intel_adsp_ipc_send_message_emergency() local
197 while (regs->idr & INTEL_ADSP_IPC_BUSY) { in intel_adsp_ipc_send_message_emergency()
204 done = regs->ida & INTEL_ADSP_IPC_DONE; in intel_adsp_ipc_send_message_emergency()
207 regs->ida = INTEL_ADSP_IPC_DONE; in intel_adsp_ipc_send_message_emergency()
210 regs->idd = ext_data; in intel_adsp_ipc_send_message_emergency()
211 regs->idr = data | INTEL_ADSP_IPC_BUSY; in intel_adsp_ipc_send_message_emergency()
339 .regs = (void *)INTEL_ADSP_IPC_REG_ADDRESS,