Lines Matching refs:mspicfg
47 struct mspi_cfg mspicfg; member
80 int device_index = data->mspicfg.num_periph; in mspi_verify_device()
83 if (data->mspicfg.num_ce_gpios != 0) { in mspi_verify_device()
84 for (int i = 0; i < data->mspicfg.num_periph; i++) { in mspi_verify_device()
85 if (dev_id->ce.port == data->mspicfg.ce_group[i].port && in mspi_verify_device()
86 dev_id->ce.pin == data->mspicfg.ce_group[i].pin && in mspi_verify_device()
87 dev_id->ce.dt_flags == data->mspicfg.ce_group[i].dt_flags) { in mspi_verify_device()
92 if (device_index >= data->mspicfg.num_periph || in mspi_verify_device()
98 if (dev_id->dev_idx >= data->mspicfg.num_periph) { in mspi_verify_device()
265 if (dev_cfg->dqs_enable && !data->mspicfg.dqs_support) { in mspi_dev_cfg_check_save()
491 data->mspicfg = *config; in mspi_emul_config()
532 !data->mspicfg.sw_multi_periph) { in mspi_emul_dev_config()
810 .config = data->mspicfg, in mspi_emul_init()
884 .mspicfg = MSPI_CONFIG(n), \
885 .mspicfg.ce_group = (struct gpio_dt_spec *)ce_gpios##n, \
886 .mspicfg.num_ce_gpios = ARRAY_SIZE(ce_gpios##n), \
887 .mspicfg.num_periph = DT_INST_CHILD_NUM(n), \
888 .mspicfg.re_init = false, \