Lines Matching refs:nbytes
955 uint32_t nbytes = lenb; in mec_hal_qspi_ldma() local
989 while (nbytes && (didx < MEC5_QSPI_NUM_DESCRS)) { in mec_hal_qspi_ldma()
991 nu = nbytes; in mec_hal_qspi_ldma()
1008 nbytes -= (nu << shift); in mec_hal_qspi_ldma()
1018 if (nbytes) { in mec_hal_qspi_ldma()
1136 int mec_hal_qspi_ldma_cfg1(struct mec_qspi_regs *regs, uintptr_t buf_addr, uint32_t nbytes, in mec_hal_qspi_ldma_cfg1() argument
1147 if (!nbytes) { in mec_hal_qspi_ldma_cfg1()
1165 ldma_regs->LEN = nbytes; in mec_hal_qspi_ldma_cfg1()
1173 if (!((buf_addr | nbytes) & 0x3u)) { in mec_hal_qspi_ldma_cfg1()
1192 uint32_t mec_hal_qspi_descrs_cfg1(struct mec_qspi_context *ctx, uint32_t nbytes, uint32_t flags) in mec_hal_qspi_descrs_cfg1() argument
1219 nb = nbytes; in mec_hal_qspi_descrs_cfg1()