Lines Matching refs:smode
123 static void qmspi_set_signalling_mode(QMSPI_Type *regs, uint32_t smode) in qmspi_set_signalling_mode() argument
134 m = (uint32_t)ptbl[smode & 0x03]; in qmspi_set_signalling_mode()
182 uint32_t smode; in qmspi_configure() local
197 smode = qmspi_config_get_lines(config); in qmspi_configure()
198 if (smode == 0xff) { in qmspi_configure()
202 regs->CTRL = smode; in qmspi_configure()
207 smode = 0; in qmspi_configure()
209 smode |= (1ul << 0); in qmspi_configure()
213 smode |= (1ul << 1); in qmspi_configure()
216 qmspi_set_signalling_mode(regs, smode); in qmspi_configure()
223 smode = regs->MODE & ~(MCHP_QMSPI_M_CS_MASK); in qmspi_configure()
225 smode |= MCHP_QMSPI_M_CS0; in qmspi_configure()
227 smode |= MCHP_QMSPI_M_CS1; in qmspi_configure()
229 regs->MODE = smode; in qmspi_configure()