Lines Matching refs:channel
34 static int nxp_imx_mu_send(const struct device *dev, uint32_t channel, const struct mbox_msg *msg) in nxp_imx_mu_send() argument
39 if (channel >= MU_MAX_CHANNELS) { in nxp_imx_mu_send()
45 return MU_TriggerInterrupts(cfg->base, kMU_GenInt0InterruptTrigger >> channel); in nxp_imx_mu_send()
56 MU_SendMsg(cfg->base, channel, data32); in nxp_imx_mu_send()
60 static int nxp_imx_mu_register_callback(const struct device *dev, uint32_t channel, in nxp_imx_mu_register_callback() argument
65 if (channel >= MU_MAX_CHANNELS) { in nxp_imx_mu_register_callback()
69 data->cb[channel] = cb; in nxp_imx_mu_register_callback()
70 data->user_data[channel] = user_data; in nxp_imx_mu_register_callback()
87 static int nxp_imx_mu_set_enabled(const struct device *dev, uint32_t channel, bool enable) in nxp_imx_mu_set_enabled() argument
92 if (channel >= MU_MAX_CHANNELS) { in nxp_imx_mu_set_enabled()
97 if (data->cb[channel] == NULL) { in nxp_imx_mu_set_enabled()