Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/espi/
Despi_saf_mchp_xec.c214 uint32_t qmode, cstim, n; in saf_qmspi_init() local
218 qmode = regs->MODE; in saf_qmspi_init()
219 if (!(qmode & MCHP_QMSPI_M_ACTIVATE)) { in saf_qmspi_init()
223 qmode = regs->MODE & (MCHP_QMSPI_M_FDIV_MASK | MCHP_QMSPI_M_SIG_MASK); in saf_qmspi_init()
242 qmode |= (MCHP_QMSPI_M_SAF_DMA_MODE_EN | MCHP_QMSPI_M_CS0 | in saf_qmspi_init()
246 qmode = (qmode & ~(MCHP_QMSPI_M_SIG_MASK)) | in saf_qmspi_init()
252 qmode = (qmode & ~(MCHP_QMSPI_M_FDIV_MASK)) | in saf_qmspi_init()
260 regs->MODE = qmode; in saf_qmspi_init()
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_xec_qmspi.c70 uint32_t div, qmode; in qmspi_set_frequency() local
83 qmode = regs->MODE & ~(MCHP_QMSPI_M_FDIV_MASK); in qmspi_set_frequency()
84 qmode |= (div << MCHP_QMSPI_M_FDIV_POS) & MCHP_QMSPI_M_FDIV_MASK; in qmspi_set_frequency()
85 regs->MODE = qmode; in qmspi_set_frequency()