Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_xec_qmspi_ldma.c113 uint32_t xfrlen; member
510 static uint32_t qmspi_unit_size(size_t xfrlen) in qmspi_unit_size() argument
512 if ((xfrlen & 0xfu) == 0u) { in qmspi_unit_size()
514 } else if ((xfrlen & 0x3u) == 0u) { in qmspi_unit_size()
540 uint32_t ctrl, ldctrl, mstart, qunits, qxfru, xfrlen; in q_ldma_cfg() local
562 xfrlen = qxfru * qunits; in q_ldma_cfg()
567 qdata->xfrlen = xfrlen; in q_ldma_cfg()
572 ldctrl = qmspi_ldma_encode_unit_size(mstart, xfrlen); in q_ldma_cfg()
575 regs->LDTX[0].LEN = xfrlen; in q_ldma_cfg()
584 ldctrl |= qmspi_ldma_encode_unit_size(mstart, xfrlen); in q_ldma_cfg()
[all …]