Home
last modified time | relevance | path

Searched refs:qmode (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.6.0/drivers/espi/
Despi_saf_mchp_xec.c210 uint32_t qmode, cstim, n; in saf_qmspi_init() local
214 qmode = regs->MODE; in saf_qmspi_init()
215 if (!(qmode & MCHP_QMSPI_M_ACTIVATE)) { in saf_qmspi_init()
219 qmode = regs->MODE & (MCHP_QMSPI_M_FDIV_MASK | MCHP_QMSPI_M_SIG_MASK); in saf_qmspi_init()
238 qmode |= (MCHP_QMSPI_M_SAF_DMA_MODE_EN | MCHP_QMSPI_M_CS0 | in saf_qmspi_init()
242 qmode = (qmode & ~(MCHP_QMSPI_M_SIG_MASK)) | in saf_qmspi_init()
248 qmode = (qmode & ~(MCHP_QMSPI_M_FDIV_MASK)) | in saf_qmspi_init()
256 regs->MODE = qmode; in saf_qmspi_init()
Despi_saf_mchp_xec_v2.c227 uint32_t qmode, qfdiv, cstim, n; in saf_qmspi_init() local
232 qmode = qregs->MODE; in saf_qmspi_init()
233 if (!(qmode & MCHP_QMSPI_M_ACTIVATE)) { in saf_qmspi_init()
237 qmode = qregs->MODE & (MCHP_QMSPI_M_FDIV_MASK | MCHP_QMSPI_M_SIG_MASK); in saf_qmspi_init()
257 qmode |= (MCHP_QMSPI_M_SAF_DMA_MODE_EN | MCHP_QMSPI_M_CS0 | in saf_qmspi_init()
261 qmode = (qmode & ~(MCHP_QMSPI_M_SIG_MASK)) | in saf_qmspi_init()
272 qfdiv = (qmode & MCHP_QMSPI_M_FDIV_MASK) >> MCHP_QMSPI_M_FDIV_POS; in saf_qmspi_init()
289 qmode |= MCHP_QMSPI_M_LDMA_RX_EN | MCHP_QMSPI_M_LDMA_TX_EN; in saf_qmspi_init()
291 qregs->MODE = qmode; in saf_qmspi_init()
576 uint32_t qmode = qregs->MODE; in saf_qmspi_ldma_cfg() local
[all …]
/Zephyr-Core-3.6.0/drivers/spi/
Dspi_xec_qmspi.c73 uint32_t div, qmode; in qmspi_set_frequency() local
86 qmode = regs->MODE & ~(MCHP_QMSPI_M_FDIV_MASK); in qmspi_set_frequency()
87 qmode |= (div << MCHP_QMSPI_M_FDIV_POS) & MCHP_QMSPI_M_FDIV_MASK; in qmspi_set_frequency()
88 regs->MODE = qmode; in qmspi_set_frequency()