Lines Matching refs:controller
429 const struct device *controller; member
476 typedef int (*mspi_api_dev_config)(const struct device *controller,
481 typedef int (*mspi_api_get_channel_status)(const struct device *controller, uint8_t ch);
483 typedef int (*mspi_api_transceive)(const struct device *controller,
487 typedef int (*mspi_api_register_callback)(const struct device *controller,
493 typedef int (*mspi_api_xip_config)(const struct device *controller,
497 typedef int (*mspi_api_scramble_config)(const struct device *controller,
501 typedef int (*mspi_api_timing_config)(const struct device *controller,
578 __syscall int mspi_dev_config(const struct device *controller,
583 static inline int z_impl_mspi_dev_config(const struct device *controller, in z_impl_mspi_dev_config() argument
588 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in z_impl_mspi_dev_config()
590 return api->dev_config(controller, dev_id, param_mask, cfg); in z_impl_mspi_dev_config()
604 __syscall int mspi_get_channel_status(const struct device *controller, uint8_t ch);
606 static inline int z_impl_mspi_get_channel_status(const struct device *controller, uint8_t ch) in z_impl_mspi_get_channel_status() argument
608 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in z_impl_mspi_get_channel_status()
610 return api->get_channel_status(controller, ch); in z_impl_mspi_get_channel_status()
644 __syscall int mspi_transceive(const struct device *controller,
648 static inline int z_impl_mspi_transceive(const struct device *controller, in z_impl_mspi_transceive() argument
652 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in z_impl_mspi_transceive()
658 return api->transceive(controller, dev_id, req); in z_impl_mspi_transceive()
682 __syscall int mspi_xip_config(const struct device *controller,
686 static inline int z_impl_mspi_xip_config(const struct device *controller, in z_impl_mspi_xip_config() argument
690 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in z_impl_mspi_xip_config()
696 return api->xip_config(controller, dev_id, cfg); in z_impl_mspi_xip_config()
714 __syscall int mspi_scramble_config(const struct device *controller,
718 static inline int z_impl_mspi_scramble_config(const struct device *controller, in z_impl_mspi_scramble_config() argument
722 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in z_impl_mspi_scramble_config()
728 return api->scramble_config(controller, dev_id, cfg); in z_impl_mspi_scramble_config()
747 __syscall int mspi_timing_config(const struct device *controller,
751 static inline int z_impl_mspi_timing_config(const struct device *controller, in z_impl_mspi_timing_config() argument
755 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in z_impl_mspi_timing_config()
761 return api->timing_config(controller, dev_id, param_mask, cfg); in z_impl_mspi_timing_config()
786 static inline int mspi_register_callback(const struct device *controller, in mspi_register_callback() argument
792 const struct mspi_driver_api *api = (const struct mspi_driver_api *)controller->api; in mspi_register_callback()
798 return api->register_callback(controller, dev_id, evt_type, cb, ctx); in mspi_register_callback()