Lines Matching refs:ipmdev

47 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()
167 static inline void ipm_register_callback(const struct device *ipmdev, in ipm_register_callback() argument
171 (const struct ipm_driver_api *)ipmdev->api; in ipm_register_callback()
173 api->register_callback(ipmdev, cb, user_data); in ipm_register_callback()
186 __syscall int ipm_max_data_size_get(const struct device *ipmdev);
188 static inline int z_impl_ipm_max_data_size_get(const struct device *ipmdev) in z_impl_ipm_max_data_size_get() argument
191 (const struct ipm_driver_api *)ipmdev->api; in z_impl_ipm_max_data_size_get()
193 return api->max_data_size_get(ipmdev); in z_impl_ipm_max_data_size_get()
207 __syscall uint32_t ipm_max_id_val_get(const struct device *ipmdev);
209 static inline uint32_t z_impl_ipm_max_id_val_get(const struct device *ipmdev) in z_impl_ipm_max_id_val_get() argument
212 (const struct ipm_driver_api *)ipmdev->api; in z_impl_ipm_max_id_val_get()
214 return api->max_id_val_get(ipmdev); in z_impl_ipm_max_id_val_get()
226 __syscall int ipm_set_enabled(const struct device *ipmdev, int enable);
228 static inline int z_impl_ipm_set_enabled(const struct device *ipmdev, in z_impl_ipm_set_enabled() argument
232 (const struct ipm_driver_api *)ipmdev->api; in z_impl_ipm_set_enabled()
234 return api->set_enabled(ipmdev, enable); in z_impl_ipm_set_enabled()
251 __syscall void ipm_complete(const struct device *ipmdev);
253 static inline void z_impl_ipm_complete(const struct device *ipmdev) in z_impl_ipm_complete() argument
257 (const struct ipm_driver_api *)ipmdev->api; in z_impl_ipm_complete()
260 api->complete(ipmdev); in z_impl_ipm_complete()