Searched refs:qmode (Results 1 – 2 of 2) sorted by relevance
214 uint32_t qmode, cstim, n; in saf_qmspi_init() local218 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()
70 uint32_t div, qmode; in qmspi_set_frequency() local83 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()