Lines Matching refs:descr
251 uint32_t descr, ifm, qstatus; in qmspi_tx_dummy_clocks() local
254 descr = ifm | MCHP_QMSPI_C_TX_DIS | MCHP_QMSPI_C_XFR_UNITS_BITS in qmspi_tx_dummy_clocks()
262 descr |= (nclocks << MCHP_QMSPI_C_XFR_NUNITS_POS); in qmspi_tx_dummy_clocks()
264 descr_wr(regs, 0, descr); in qmspi_tx_dummy_clocks()
330 uint32_t descr, qshift, n, nu; in qmspi_descr_alloc() local
342 descr = (regs->CTRL & MCHP_QMSPI_C_IFM_MASK); in qmspi_descr_alloc()
344 descr |= MCHP_QMSPI_C_TX_DATA; in qmspi_descr_alloc()
346 descr |= MCHP_QMSPI_C_RX_EN; in qmspi_descr_alloc()
352 descr |= get_qunits(qshift); in qmspi_descr_alloc()
355 descr &= 0x0FFFul; in qmspi_descr_alloc()
359 descr |= ((dn & MCHP_QMSPI_C_NEXT_DESCR_MASK0) << in qmspi_descr_alloc()
367 descr |= (n << MCHP_QMSPI_C_XFR_NUNITS_POS); in qmspi_descr_alloc()
368 descr_wr(regs, didx, descr); in qmspi_descr_alloc()
387 uint32_t descr; in qmspi_tx() local
408 descr = descr_rd(regs, didx) | MCHP_QMSPI_C_DESCR_LAST; in qmspi_tx()
410 descr |= MCHP_QMSPI_C_CLOSE; in qmspi_tx()
412 descr_wr(regs, didx, descr); in qmspi_tx()
461 uint32_t descr; in qmspi_rx() local
478 descr = descr_rd(regs, didx) | MCHP_QMSPI_C_DESCR_LAST; in qmspi_rx()
480 descr |= MCHP_QMSPI_C_CLOSE; in qmspi_rx()
482 descr_wr(regs, didx, descr); in qmspi_rx()
526 uint32_t descr, last_didx; in qmspi_transceive() local
570 descr = descr_rd(regs, last_didx) | MCHP_QMSPI_C_CLOSE; in qmspi_transceive()
571 descr_wr(regs, last_didx, descr); in qmspi_transceive()