Lines Matching refs:chunk_len
538 int rc, chunk_len, n; in saf_read() local
550 chunk_len = 64; in saf_read()
552 chunk_len = n; in saf_read()
555 saf_pkt.len = chunk_len; in saf_read()
561 __func__, rc, chunk_len, spi_addr); in saf_read()
565 saf_pkt.flash_addr += chunk_len; in saf_read()
566 saf_pkt.buf += chunk_len; in saf_read()
567 n -= chunk_len; in saf_read()
616 int rc, chunk_len, n; in saf_page_prog() local
632 chunk_len = 64; in saf_page_prog()
634 chunk_len = n; in saf_page_prog()
637 saf_pkt.len = (uint32_t)chunk_len; in saf_page_prog()
646 saf_pkt.flash_addr += chunk_len; in saf_page_prog()
647 saf_pkt.buf += chunk_len; in saf_page_prog()
648 n -= chunk_len; in saf_page_prog()