Lines Matching refs:d

19 static enum ipm_mhu_cpu_id_t ipm_mhu_get_cpu_id(const struct device *d)  in ipm_mhu_get_cpu_id()  argument
24 p_mhu_dev_base = (volatile uint32_t *)IPM_MHU_REGS(d); in ipm_mhu_get_cpu_id()
33 static uint32_t ipm_mhu_get_status(const struct device *d, in ipm_mhu_get_status() argument
43 p_mhu_dev = (struct ipm_mhu_reg_map_t *)IPM_MHU_REGS(d); in ipm_mhu_get_status()
58 static int ipm_mhu_send(const struct device *d, int wait, uint32_t cpu_id, in ipm_mhu_send() argument
75 p_mhu_dev = (struct ipm_mhu_reg_map_t *)IPM_MHU_REGS(d); in ipm_mhu_send()
90 static void ipm_mhu_clear_val(const struct device *d, in ipm_mhu_clear_val() argument
96 p_mhu_dev = (struct ipm_mhu_reg_map_t *)IPM_MHU_REGS(d); in ipm_mhu_clear_val()
109 static uint32_t ipm_mhu_max_id_val_get(const struct device *d) in ipm_mhu_max_id_val_get() argument
111 ARG_UNUSED(d); in ipm_mhu_max_id_val_get()
116 static int ipm_mhu_init(const struct device *d) in ipm_mhu_init() argument
118 const struct ipm_mhu_device_config *config = d->config; in ipm_mhu_init()
120 config->irq_config_func(d); in ipm_mhu_init()
125 static void ipm_mhu_isr(const struct device *d) in ipm_mhu_isr() argument
127 struct ipm_mhu_data *driver_data = d->data; in ipm_mhu_isr()
131 cpu_id = ipm_mhu_get_cpu_id(d); in ipm_mhu_isr()
133 ipm_mhu_get_status(d, cpu_id, &ipm_mhu_status); in ipm_mhu_isr()
134 ipm_mhu_clear_val(d, cpu_id, ipm_mhu_status); in ipm_mhu_isr()
137 driver_data->callback(d, driver_data->user_data, cpu_id, in ipm_mhu_isr()
142 static int ipm_mhu_set_enabled(const struct device *d, int enable) in ipm_mhu_set_enabled() argument
144 ARG_UNUSED(d); in ipm_mhu_set_enabled()
149 static int ipm_mhu_max_data_size_get(const struct device *d) in ipm_mhu_max_data_size_get() argument
151 ARG_UNUSED(d); in ipm_mhu_max_data_size_get()
156 static void ipm_mhu_register_cb(const struct device *d, in ipm_mhu_register_cb() argument
160 struct ipm_mhu_data *driver_data = d->data; in ipm_mhu_register_cb()
174 static void ipm_mhu_irq_config_func_0(const struct device *d);
194 static void ipm_mhu_irq_config_func_0(const struct device *d) in ipm_mhu_irq_config_func_0() argument
196 ARG_UNUSED(d); in ipm_mhu_irq_config_func_0()
205 static void ipm_mhu_irq_config_func_1(const struct device *d);
225 static void ipm_mhu_irq_config_func_1(const struct device *d) in ipm_mhu_irq_config_func_1() argument
227 ARG_UNUSED(d); in ipm_mhu_irq_config_func_1()