Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_xec_qmspi.c123 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()
[all …]
Dspi_xec_qmspi_ldma.c255 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()
[all …]