Lines Matching refs:smode
255 struct qmspi_regs *regs, uint32_t smode) in qmspi_set_signalling_mode() argument
265 m = (uint32_t)ptbl[smode & 0x03]; in qmspi_set_signalling_mode()
351 uint32_t smode; in qmspi_configure() local
371 smode = encode_lines(config); in qmspi_configure()
372 if (smode == 0xff) { in qmspi_configure()
378 smode = MCHP_QMSPI_C_IFM_1X; in qmspi_configure()
381 regs->CTRL = smode; in qmspi_configure()
383 smode = 0; in qmspi_configure()
385 smode |= BIT(0); in qmspi_configure()
389 smode |= BIT(1); in qmspi_configure()
392 qmspi_set_signalling_mode(qdata, regs, smode); in qmspi_configure()
395 smode = regs->MODE & ~(MCHP_QMSPI_M_CS_MASK); in qmspi_configure()
397 smode |= MCHP_QMSPI_M_CS0; in qmspi_configure()
399 smode |= MCHP_QMSPI_M_CS1; in qmspi_configure()
401 regs->MODE = smode; in qmspi_configure()