Lines Matching defs:nbytes
370 size_t nbytes;
374 nbytes = min_t(size_t, size + offset, MAIL_DATA_DWORDS * 4);
377 ALIGN(nbytes, 4));
387 nbytes -= offset;
388 memcpy(buf, dma->buf + offset, nbytes);
390 size -= nbytes;
391 address += nbytes;
392 buf += nbytes;
425 u32 nbytes = min_t(u32, size, MAIL_DATA_DWORDS * 4);
428 memcpy(dma->buf + offset, buf, nbytes);
430 ret = dma_port_flash_write_block(dma, address, buf, nbytes);
440 size -= nbytes;
441 address += nbytes;
442 buf += nbytes;