Searched refs:cpylen (Results 1 – 2 of 2) sorted by relevance
108 int cpylen; in block2mtd_read() local112 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read()114 cpylen = len; // this page in block2mtd_read()115 len = len - cpylen; in block2mtd_read()121 memcpy(buf, page_address(page) + offset, cpylen); in block2mtd_read()125 *retlen += cpylen; in block2mtd_read()126 buf += cpylen; in block2mtd_read()142 int cpylen; in _block2mtd_write() local146 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write()148 cpylen = len; // this page in _block2mtd_write()[all …]
1510 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local1523 cpylen = words_num; in qat_uclo_wr_uimage_raw_page()1525 cpylen = UWORD_CPYBUF_SIZE; in qat_uclo_wr_uimage_raw_page()1528 for (i = 0; i < cpylen; i++) in qat_uclo_wr_uimage_raw_page()1536 uw_physical_addr, cpylen, in qat_uclo_wr_uimage_raw_page()1539 uw_physical_addr += cpylen; in qat_uclo_wr_uimage_raw_page()1540 uw_relative_addr += cpylen; in qat_uclo_wr_uimage_raw_page()1541 words_num -= cpylen; in qat_uclo_wr_uimage_raw_page()