Lines Matching refs:controller

76 static inline int mspi_verify_device(const struct device *controller,  in mspi_verify_device()  argument
79 const struct mspi_emul_data *data = controller->data; in mspi_verify_device()
114 static inline bool mspi_is_inp(const struct device *controller) in mspi_is_inp() argument
116 struct mspi_emul_data *data = controller->data; in mspi_is_inp()
184 static int mspi_xfer_config(const struct device *controller, in mspi_xfer_config() argument
187 struct mspi_emul_data *data = controller->data; in mspi_xfer_config()
206 static inline int mspi_dev_cfg_check_save(const struct device *controller, in mspi_dev_cfg_check_save() argument
210 struct mspi_emul_data *data = controller->data; in mspi_dev_cfg_check_save()
355 static struct mspi_emul *mspi_emul_find(const struct device *controller, in mspi_emul_find() argument
358 struct mspi_emul_data *data = controller->data; in mspi_emul_find()
380 static int emul_mspi_trigger_event(const struct device *controller, in emul_mspi_trigger_event() argument
383 struct mspi_emul_data *data = controller->data; in emul_mspi_trigger_event()
399 evt->evt_data.controller = controller; in emul_mspi_trigger_event()
508 static int mspi_emul_dev_config(const struct device *controller, in mspi_emul_dev_config() argument
513 struct mspi_emul_data *data = controller->data; in mspi_emul_dev_config()
522 ret = mspi_verify_device(controller, dev_id); in mspi_emul_dev_config()
528 while (mspi_is_inp(controller)) { in mspi_emul_dev_config()
541 ret = mspi_dev_cfg_check_save(controller, param_mask, dev_cfg); in mspi_emul_dev_config()
546 ret = mspi_dev_cfg_check_save(controller, param_mask, dev_cfg); in mspi_emul_dev_config()
577 static int mspi_emul_xip_config(const struct device *controller, in mspi_emul_xip_config() argument
581 struct mspi_emul_data *data = controller->data; in mspi_emul_xip_config()
603 static int mspi_emul_scramble_config(const struct device *controller, in mspi_emul_scramble_config() argument
607 struct mspi_emul_data *data = controller->data; in mspi_emul_scramble_config()
610 while (mspi_is_inp(controller)) { in mspi_emul_scramble_config()
634 static int mspi_emul_timing_config(const struct device *controller, in mspi_emul_timing_config() argument
639 struct mspi_emul_data *data = controller->data; in mspi_emul_timing_config()
642 while (mspi_is_inp(controller)) { in mspi_emul_timing_config()
669 static int mspi_emul_get_channel_status(const struct device *controller, uint8_t ch) in mspi_emul_get_channel_status() argument
671 struct mspi_emul_data *data = controller->data; in mspi_emul_get_channel_status()
675 if (mspi_is_inp(controller)) { in mspi_emul_get_channel_status()
698 static int mspi_emul_register_callback(const struct device *controller, in mspi_emul_register_callback() argument
704 struct mspi_emul_data *data = controller->data; in mspi_emul_register_callback()
706 while (mspi_is_inp(controller)) { in mspi_emul_register_callback()
735 static int mspi_emul_transceive(const struct device *controller, in mspi_emul_transceive() argument
739 struct mspi_emul_data *data = controller->data; in mspi_emul_transceive()
747 emul = mspi_emul_find(controller, dev_id->dev_idx); in mspi_emul_transceive()
775 ret = mspi_xfer_config(controller, xfer); in mspi_emul_transceive()