Home
last modified time | relevance | path

Searched refs:cpylen (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/devices/
H A Dblock2mtd.c112 int cpylen; in block2mtd_read() local
116 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read()
118 cpylen = len; // this page in block2mtd_read()
119 len = len - cpylen; in block2mtd_read()
129 *retlen += cpylen; in block2mtd_read()
130 buf += cpylen; in block2mtd_read()
146 int cpylen; in _block2mtd_write() local
152 cpylen = len; // this page in _block2mtd_write()
153 len = len - cpylen; in _block2mtd_write()
169 *retlen += cpylen; in _block2mtd_write()
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_uclo.c1978 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local
1990 cpylen = min(words_num, UWORD_CPYBUF_SIZE); in qat_uclo_wr_uimage_raw_page()
1993 for (i = 0; i < cpylen; i++) in qat_uclo_wr_uimage_raw_page()
2001 uw_physical_addr, cpylen, in qat_uclo_wr_uimage_raw_page()
2004 uw_physical_addr += cpylen; in qat_uclo_wr_uimage_raw_page()
2005 uw_relative_addr += cpylen; in qat_uclo_wr_uimage_raw_page()
2006 words_num -= cpylen; in qat_uclo_wr_uimage_raw_page()