Home
last modified time | relevance | path

Searched refs:hwcfg (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/drivers/espi/
Despi_saf_mchp_xec.c212 const struct espi_saf_hw_cfg *hwcfg = &cfg->hwcfg; in saf_qmspi_init() local
233 hwcfg->generic_descr[n]; in saf_qmspi_init()
241 if (hwcfg->flags & MCHP_SAF_HW_CFG_FLAG_CPHA) { in saf_qmspi_init()
243 ((hwcfg->qmspi_cpha << MCHP_QMSPI_M_SIG_POS) & in saf_qmspi_init()
247 if (hwcfg->flags & MCHP_SAF_HW_CFG_FLAG_FREQ) { in saf_qmspi_init()
249 qmspi_freq_div(hwcfg->qmspi_freq_hz); in saf_qmspi_init()
252 if (hwcfg->flags & MCHP_SAF_HW_CFG_FLAG_CSTM) { in saf_qmspi_init()
253 cstim = hwcfg->qmspi_cs_timing; in saf_qmspi_init()
431 const struct espi_saf_hw_cfg *hwcfg = &cfg->hwcfg; in saf_tagmap_init() local
434 if (hwcfg->tag_map[i] & MCHP_SAF_HW_CFG_TAGMAP_USE) { in saf_tagmap_init()
[all …]
Despi_saf_mchp_xec_v2.c230 const struct espi_saf_hw_cfg *hwcfg = &cfg->hwcfg; in saf_qmspi_init() local
251 hwcfg->generic_descr[n]; in saf_qmspi_init()
260 if (hwcfg->flags & MCHP_SAF_HW_CFG_FLAG_CPHA) { in saf_qmspi_init()
262 ((hwcfg->qmspi_cpha << MCHP_QMSPI_M_SIG_POS) & in saf_qmspi_init()
277 if (hwcfg->flags & MCHP_SAF_HW_CFG_FLAG_CSTM) { in saf_qmspi_init()
278 cstim = hwcfg->qmspi_cs_timing; in saf_qmspi_init()
554 const struct espi_saf_hw_cfg *hwcfg = &cfg->hwcfg; in saf_tagmap_init() local
557 if (hwcfg->tag_map[i] & MCHP_SAF_HW_CFG_TAGMAP_USE) { in saf_tagmap_init()
558 regs->SAF_TAG_MAP[i] = hwcfg->tag_map[i]; in saf_tagmap_init()
627 const struct espi_saf_hw_cfg *hwcfg = &cfg->hwcfg; in espi_saf_xec_configuration() local
[all …]
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Despi_saf.h105 struct espi_saf_hw_cfg hwcfg; member
/Zephyr-Core-3.7.0/samples/drivers/espi/src/
Dmain.c134 .hwcfg = {.version = 2U, /* TODO */
147 .hwcfg = {.qmspi_freq_hz = 0U,