Home
last modified time | relevance | path

Searched refs:i_channel (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/mbox/
Dmbox_nxp_imx_mu.c164 for (int i_channel = 0; i_channel < MU_MAX_CHANNELS; i_channel++) { in DT_INST_FOREACH_STATUS_OKAY() local
165 if ((flag & (kMU_Rx0FullFlag >> i_channel)) == (kMU_Rx0FullFlag >> i_channel)) { in DT_INST_FOREACH_STATUS_OKAY()
166 data->received_data = MU_ReceiveMsgNonBlocking(config->base, i_channel); in DT_INST_FOREACH_STATUS_OKAY()
169 if (data->cb[i_channel]) { in DT_INST_FOREACH_STATUS_OKAY()
170 data->cb[i_channel](dev, i_channel, data->user_data[i_channel], in DT_INST_FOREACH_STATUS_OKAY()
173 } else if ((flag & (kMU_GenInt0Flag >> i_channel)) == in DT_INST_FOREACH_STATUS_OKAY()
174 (kMU_GenInt0Flag >> i_channel)) { in DT_INST_FOREACH_STATUS_OKAY()
175 MU_ClearStatusFlags(config->base, (kMU_GenInt0Flag >> i_channel)); in DT_INST_FOREACH_STATUS_OKAY()
176 if (data->cb[i_channel]) { in DT_INST_FOREACH_STATUS_OKAY()
177 data->cb[i_channel](dev, i_channel, data->user_data[i_channel], in DT_INST_FOREACH_STATUS_OKAY()
Dmbox_nxp_mailbox.c80 for (int i_channel = 0; i_channel < MAILBOX_MAX_CHANNELS; i_channel++) { in mailbox_isr() local
82 if (!data->channel_enable[i_channel]) { in mailbox_isr()
86 if ((flags & (DATA0_IRQ_TRIGGER >> i_channel))) { in mailbox_isr()
91 if (data->cb[i_channel]) { in mailbox_isr()
92 data->cb[i_channel](dev, i_channel, data->user_data[i_channel], in mailbox_isr()
95 } else if ((flags & (GEN0_IRQ_TRIGGER >> i_channel))) { in mailbox_isr()
96 if (data->cb[i_channel]) { in mailbox_isr()
97 data->cb[i_channel](dev, i_channel, data->user_data[i_channel], in mailbox_isr()