Home
last modified time | relevance | path

Searched refs:thislen (Results 1 – 13 of 13) sorted by relevance

/drivers/mtd/maps/
A Dsbc_gxx.c115 unsigned long thislen = len; in sbc_gxx_copy_from() local
117 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); in sbc_gxx_copy_from()
123 to += thislen; in sbc_gxx_copy_from()
124 from += thislen; in sbc_gxx_copy_from()
125 len -= thislen; in sbc_gxx_copy_from()
140 unsigned long thislen = len; in sbc_gxx_copy_to() local
142 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); in sbc_gxx_copy_to()
146 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen); in sbc_gxx_copy_to()
148 to += thislen; in sbc_gxx_copy_to()
149 from += thislen; in sbc_gxx_copy_to()
[all …]
/drivers/mtd/nand/onenand/
A Donenand_base.c1052 int thislen) in onenand_transfer_auto_oob() argument
1186 buf += thislen; in onenand_mlc_read_ops_nolock()
1307 buf += thislen; in onenand_read_ops_nolock()
1384 thislen = min_t(int, thislen, len); in onenand_read_oob_nolock()
1410 buf += thislen; in onenand_read_oob_nolock()
1571 thislen = min_t(int, thislen, len); in onenand_bbt_read_oob()
1589 buf += thislen; in onenand_bbt_read_oob()
1668 len -= thislen; in onenand_verify()
1669 buf += thislen; in onenand_verify()
1767 to += thislen; in onenand_panic_write()
[all …]
/drivers/net/ethernet/i825xx/
A Dether1.c138 thislen = length; in ether1_writebuffer()
144 length -= thislen; in ether1_writebuffer()
181 thislen = length; in ether1_writebuffer()
182 if (thislen > 4096) in ether1_writebuffer()
183 thislen = 4096; in ether1_writebuffer()
185 } while (thislen); in ether1_writebuffer()
201 thislen = length; in ether1_readbuffer()
207 length -= thislen; in ether1_readbuffer()
244 thislen = length; in ether1_readbuffer()
246 thislen = 4096; in ether1_readbuffer()
[all …]
/drivers/mtd/chips/
A Dcfi_cmdset_0020.c397 unsigned long thislen; in cfi_staa_read() local
405 thislen = len; in cfi_staa_read()
411 *retlen += thislen; in cfi_staa_read()
412 len -= thislen; in cfi_staa_read()
413 buf += thislen; in cfi_staa_read()
668 size_t totlen = 0, thislen; in cfi_staa_writev() local
697 totlen += thislen; in cfi_staa_writev()
706 &thislen, elem_base); in cfi_staa_writev()
707 totlen += thislen; in cfi_staa_writev()
710 to += thislen; in cfi_staa_writev()
[all …]
A Dcfi_cmdset_0001.c1423 unsigned long thislen; in cfi_intelext_point() local
1437 thislen = len; in cfi_intelext_point()
1443 *retlen += thislen; in cfi_intelext_point()
1444 len -= thislen; in cfi_intelext_point()
1467 unsigned long thislen; in cfi_intelext_unpoint() local
1477 thislen = len; in cfi_intelext_unpoint()
1492 len -= thislen; in cfi_intelext_unpoint()
1553 thislen = len; in cfi_intelext_read()
1559 *retlen += thislen; in cfi_intelext_read()
1560 len -= thislen; in cfi_intelext_read()
[all …]
A Dcfi_cmdset_0002.c1248 unsigned long thislen; in cfi_amdstd_read() local
1256 thislen = len; in cfi_amdstd_read()
1262 *retlen += thislen; in cfi_amdstd_read()
1263 len -= thislen; in cfi_amdstd_read()
1264 buf += thislen; in cfi_amdstd_read()
1357 unsigned long thislen; in cfi_amdstd_secsi_read() local
1363 thislen = (1<<3) - ofs; in cfi_amdstd_secsi_read()
1365 thislen = len; in cfi_amdstd_secsi_read()
1372 *retlen += thislen; in cfi_amdstd_secsi_read()
1373 len -= thislen; in cfi_amdstd_secsi_read()
[all …]
/drivers/mtd/
A Dnftlcore.c479 u16 ChainLength = 0, thislen; in NFTL_makefreeblock() local
484 thislen = 0; in NFTL_makefreeblock()
487 thislen++; in NFTL_makefreeblock()
490 if (thislen > 0xff00) { in NFTL_makefreeblock()
494 if (thislen > 0xff10) { in NFTL_makefreeblock()
497 thislen = 0; in NFTL_makefreeblock()
502 if (thislen > ChainLength) { in NFTL_makefreeblock()
504 ChainLength = thislen; in NFTL_makefreeblock()
A Dinftlcore.c406 u16 ChainLength = 0, thislen; in INFTL_makefreeblock() local
414 thislen = 0; in INFTL_makefreeblock()
417 thislen++; in INFTL_makefreeblock()
419 if (thislen > 0xff00) { in INFTL_makefreeblock()
427 thislen = 0; in INFTL_makefreeblock()
432 if (thislen > ChainLength) { in INFTL_makefreeblock()
433 ChainLength = thislen; in INFTL_makefreeblock()
A Dmtdcore.c2383 size_t totlen = 0, thislen; in default_mtd_writev() local
2389 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev()
2391 totlen += thislen; in default_mtd_writev()
2392 if (ret || thislen != vecs[i].iov_len) in default_mtd_writev()
/drivers/mtd/lpddr/
A Dlpddr_cmds.c550 unsigned long thislen; in lpddr_point() local
562 thislen = (1<<lpddr->chipshift) - ofs; in lpddr_point()
564 thislen = len; in lpddr_point()
574 *retlen += thislen; in lpddr_point()
575 len -= thislen; in lpddr_point()
596 unsigned long thislen; in lpddr_unpoint() local
604 thislen = (1<<lpddr->chipshift) - ofs; in lpddr_unpoint()
606 thislen = len; in lpddr_unpoint()
622 len -= thislen; in lpddr_unpoint()
/drivers/scsi/esas2r/
A Desas2r_flash.c284 u32 thislen; in fix_efi() local
291 thislen = (u32)le16_to_cpu(bh->image_length) * 512; in fix_efi()
293 if (thislen > len) in fix_efi()
296 len -= thislen; in fix_efi()
297 offset += thislen; in fix_efi()
1167 u32 thislen; in esas2r_read_image_type() local
1170 thislen = (u32)le16_to_cpu(bh->image_length) * 512; in esas2r_read_image_type()
1171 if (thislen == 0 in esas2r_read_image_type()
1172 || thislen + offset > len in esas2r_read_image_type()
1176 offset += thislen; in esas2r_read_image_type()
/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_fcoe.c149 unsigned int thislen = 0; in ixgbe_fcoe_ddp_setup() local
218 thislen = min((bufflen - thisoff), len); in ixgbe_fcoe_ddp_setup()
230 if (((i != (dmacount - 1)) || (thislen != len)) in ixgbe_fcoe_ddp_setup()
231 && ((thislen + thisoff) != bufflen)) in ixgbe_fcoe_ddp_setup()
238 len -= thislen; in ixgbe_fcoe_ddp_setup()
239 addr += thislen; in ixgbe_fcoe_ddp_setup()
244 lastsize = thisoff + thislen; in ixgbe_fcoe_ddp_setup()
/drivers/usb/atm/
A Dspeedtch.c269 int thislen = min_t(int, PAGE_SIZE, fw1->size - offset); in speedtch_upload_firmware() local
270 memcpy(buffer, fw1->data + offset, thislen); in speedtch_upload_firmware()
273 buffer, thislen, &actual_length, DATA_TIMEOUT); in speedtch_upload_firmware()
296 int thislen = min_t(int, PAGE_SIZE, fw2->size - offset); in speedtch_upload_firmware() local
297 memcpy(buffer, fw2->data + offset, thislen); in speedtch_upload_firmware()
300 buffer, thislen, &actual_length, DATA_TIMEOUT); in speedtch_upload_firmware()

Completed in 673 milliseconds