Home
last modified time | relevance | path

Searched refs:mspicfg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/mspi/
Dmspi_emul.c47 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()
[all …]
Dmspi_ambiq_ap3.c51 struct mspi_cfg mspicfg; member
276 int device_index = cfg->mspicfg.num_periph; in mspi_verify_device()
279 for (int i = 0; i < cfg->mspicfg.num_periph; i++) { in mspi_verify_device()
280 if (dev_id->ce.port == cfg->mspicfg.ce_group[i].port && in mspi_verify_device()
281 dev_id->ce.pin == cfg->mspicfg.ce_group[i].pin && in mspi_verify_device()
282 dev_id->ce.dt_flags == cfg->mspicfg.ce_group[i].dt_flags) { in mspi_verify_device()
287 if (device_index >= cfg->mspicfg.num_periph || in mspi_verify_device()
548 !cfg->mspicfg.sw_multi_periph) { in mspi_ambiq_dev_config()
675 if (dev_cfg->dqs_enable && !cfg->mspicfg.dqs_support) { in mspi_ambiq_dev_config()
1317 .config = cfg->mspicfg, in mspi_ambiq_init()
[all …]