Searched refs:to_read (Results 1 – 1 of 1) sorted by relevance
142 uint to_read = BS_MIN(nbytes - *n_actual, st->job_pend_length); in nhw_EVDMA_access() local145 memcpy(periph_buf, st->job_buff, to_read); in nhw_EVDMA_access()147 memcpy(st->job_buff, periph_buf, to_read); in nhw_EVDMA_access()149 st->job_pend_length -= to_read; in nhw_EVDMA_access()150 st->job_buff += to_read; in nhw_EVDMA_access()151 *n_actual += to_read; in nhw_EVDMA_access()152 periph_buf += to_read; in nhw_EVDMA_access()