Home
last modified time | relevance | path

Searched refs:ipmdev (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/
Dipm.h47 typedef void (*ipm_callback_t)(const struct device *ipmdev, void *user_data,
56 typedef int (*ipm_send_t)(const struct device *ipmdev, int wait, uint32_t id,
64 typedef int (*ipm_max_data_size_get_t)(const struct device *ipmdev);
72 typedef uint32_t (*ipm_max_id_val_get_t)(const struct device *ipmdev);
90 typedef int (*ipm_set_enabled_t)(const struct device *ipmdev, int enable);
98 typedef void (*ipm_complete_t)(const struct device *ipmdev);
146 __syscall int ipm_send(const struct device *ipmdev, int wait, uint32_t id,
149 static inline int z_impl_ipm_send(const struct device *ipmdev, int wait, in z_impl_ipm_send() argument
154 (const struct ipm_driver_api *)ipmdev->api; in z_impl_ipm_send()
156 return api->send(ipmdev, wait, id, data, size); in z_impl_ipm_send()
[all …]
/Zephyr-latest/drivers/ipm/
Dipm_mbox.c31 const struct device *ipmdev = user_data; in ipm_mbox_callback() local
32 struct ipm_mbox_data *ipm_mbox_data = ipmdev->data; in ipm_mbox_callback()
34 ipm_mbox_data->callback(ipmdev, ipm_mbox_data->user_data, channel_id, (void *)data->data); in ipm_mbox_callback()
37 static int ipm_mbox_send(const struct device *ipmdev, int wait, uint32_t id, in ipm_mbox_send() argument
40 const struct ipm_mbox_config *config = ipmdev->config; in ipm_mbox_send()
50 static void ipm_mbox_register_callback(const struct device *ipmdev, in ipm_mbox_register_callback() argument
54 struct ipm_mbox_data *data = ipmdev->data; in ipm_mbox_register_callback()
60 static int ipm_mbox_get_max_data_size(const struct device *ipmdev) in ipm_mbox_get_max_data_size() argument
62 const struct ipm_mbox_config *config = ipmdev->config; in ipm_mbox_get_max_data_size()
67 static uint32_t ipm_mbox_get_max_id(const struct device *ipmdev) in ipm_mbox_get_max_id() argument
[all …]
Dipm_cavs_host.c105 struct device *ipmdev = arg; in ipc_handler() local
106 struct ipm_cavs_host_data *devdata = ipmdev->data; in ipc_handler()
127 devdata->callback(ipmdev, devdata->user_data, in ipc_handler()
135 static int max_data_size_get(const struct device *ipmdev) in max_data_size_get() argument
140 static uint32_t max_id_val_get(const struct device *ipmdev) in max_id_val_get() argument
156 static int set_enabled(const struct device *ipmdev, int enable) in set_enabled() argument
165 struct ipm_cavs_host_data *data = ipmdev->data; in set_enabled()
171 static void complete(const struct device *ipmdev) in complete() argument
Dipm_xlnx_ipi.c114 static int xlnx_ipi_send(const struct device *ipmdev, int wait, uint32_t id, const void *data, in xlnx_ipi_send() argument
118 const struct xlnx_ipi_child_config *config = ipmdev->config; in xlnx_ipi_send()
156 static int xlnx_ipi_max_data_size_get(const struct device *ipmdev) in xlnx_ipi_max_data_size_get() argument
161 static uint32_t xlnx_ipi_max_id_val_get(const struct device *ipmdev) in xlnx_ipi_max_id_val_get() argument
166 static int xlnx_ipi_set_enabled(const struct device *ipmdev, int enable) in xlnx_ipi_set_enabled() argument
168 const struct xlnx_ipi_child_config *config = ipmdev->config; in xlnx_ipi_set_enabled()
169 struct xlnx_ipi_child_data *data = ipmdev->data; in xlnx_ipi_set_enabled()
Dipm_sedi.c229 static int ipm_sedi_get_max_data_size(const struct device *ipmdev) in ipm_sedi_get_max_data_size() argument
231 ARG_UNUSED(ipmdev); in ipm_sedi_get_max_data_size()
235 static uint32_t ipm_sedi_get_max_id(const struct device *ipmdev) in ipm_sedi_get_max_id() argument
237 ARG_UNUSED(ipmdev); in ipm_sedi_get_max_id()
/Zephyr-latest/samples/drivers/ipm/ipm_ivshmem/src/
Dmain.c13 static void ipm_receive_callback(const struct device *ipmdev, void *user_data, in ipm_receive_callback() argument
16 ARG_UNUSED(ipmdev); in ipm_receive_callback()
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/src/
Dmain.c19 static void ipm_receive_callback(const struct device *ipmdev, void *user_data, uint32_t id, in ipm_receive_callback() argument
22 ARG_UNUSED(ipmdev); in ipm_receive_callback()
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/
Dipm.c21 static void ipm_msg(const struct device *ipmdev, void *user_data, in ipm_msg() argument
24 zassert_equal(ipmdev, IPM_DEV, "wrong device"); in ipm_msg()
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/remote/src/
Dmain.c17 static void ipm_receive_callback(const struct device *ipmdev, void *user_data, uint32_t id, in ipm_receive_callback() argument