Home
last modified time | relevance | path

Searched refs:bufnum (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dfsl_ifc_spl.c35 unsigned int bufnum, int page_size) in check_read_ecc() argument
37 u32 reg = eccstat[bufnum / 4]; in check_read_ecc()
38 int errors = (reg >> ((3 - bufnum % 4) * 8)) & 0xf; in check_read_ecc()
67 static inline void nand_wait(uchar *buf, int bufnum, int page_size) in nand_wait() argument
75 bufnum *= bufperpage; in nand_wait()
76 bufnum_end = bufnum + bufperpage - 1; in nand_wait()
88 for (i = bufnum / 4; i <= bufnum_end / 4; i++) in nand_wait()
91 for (i = bufnum; i <= bufnum_end; i++) { in nand_wait()
117 int bufnum_mask, bufnum, ver = 0; in nand_spl_load_image() local
203 bufnum = pg_no & bufnum_mask; in nand_spl_load_image()
[all …]
Dfsl_ifc_nand.c246 unsigned int bufnum) in is_blank() argument
250 u8 __iomem *addr = priv->vbase + bufnum * (mtd->writesize * 2); in is_blank()
272 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument
274 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc()
317 int bufnum = ctrl->page & priv->bufnum_mask; in fsl_ifc_run_command() local
318 int sector_start = bufnum * chip->ecc.steps; in fsl_ifc_run_command()
340 if (!is_blank(mtd, ctrl, bufnum)) in fsl_ifc_run_command()
/external/ltp/testcases/kernel/fs/fs_di/
Dcreate_datafile.c42 long bufnum; in main() local
52 bufnum = strtol(argv[1], NULL, 0); in main()
53 printf("Started building a %lu megabyte file\n", bufnum); in main()
62 for (i = 0; i < bufnum; i++) { in main()
72 printf("\nFinished building a %lu megabyte file\n", bufnum); in main()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs04_create_file.c42 long bufnum; in main() local
52 bufnum = strtol(argv[1], NULL, 0); in main()
53 printf("Started building a %lu megabyte file\n", bufnum); in main()
62 for (i = 0; i < bufnum; i++) { in main()
72 printf("\nFinished building a %lu megabyte file\n", bufnum); in main()
/external/ltp/testcases/kernel/fs/lftest/
Dlftest.c46 long bufnum; in main() local
57 bufnum = strtol(argv[1], NULL, 0); in main()
58 printf("Started building a %lu megabyte file @ %s\n", bufnum, in main()
69 for (i = 0; i < bufnum; i++) { in main()
85 printf("\nFinished building a %lu megabyte file @ %s\n", bufnum, in main()
/external/boringssl/src/crypto/conf/
Dconf.c525 int bufnum = 0, i, ii; in def_load_bio() local
553 bufnum = 0; in def_load_bio()
556 if (!BUF_MEM_grow(buff, bufnum + CONFBUFSIZE)) { in def_load_bio()
560 p = &(buff->data[bufnum]); in def_load_bio()
588 bufnum += i; in def_load_bio()
592 if (bufnum >= 1) { in def_load_bio()
595 p = &(buff->data[bufnum - 1]); in def_load_bio()
596 if (IS_ESC(conf, p[0]) && ((bufnum <= 1) || !IS_ESC(conf, p[-1]))) { in def_load_bio()
597 bufnum--; in def_load_bio()
604 bufnum = 0; in def_load_bio()
/external/u-boot/fs/fat/
Dfat_write.c367 __u32 bufnum, offset, off16; in set_fatent_value() local
372 bufnum = entry / FAT32BUFSIZE; in set_fatent_value()
373 offset = entry - bufnum * FAT32BUFSIZE; in set_fatent_value()
376 bufnum = entry / FAT16BUFSIZE; in set_fatent_value()
377 offset = entry - bufnum * FAT16BUFSIZE; in set_fatent_value()
380 bufnum = entry / FAT12BUFSIZE; in set_fatent_value()
381 offset = entry - bufnum * FAT12BUFSIZE; in set_fatent_value()
389 if (bufnum != mydata->fatbufnum) { in set_fatent_value()
393 __u32 startblock = bufnum * FATBUFBLOCKS; in set_fatent_value()
408 mydata->fatbufnum = bufnum; in set_fatent_value()
Dfat.c163 __u32 bufnum; in get_fatent() local
174 bufnum = entry / FAT32BUFSIZE; in get_fatent()
175 offset = entry - bufnum * FAT32BUFSIZE; in get_fatent()
178 bufnum = entry / FAT16BUFSIZE; in get_fatent()
179 offset = entry - bufnum * FAT16BUFSIZE; in get_fatent()
182 bufnum = entry / FAT12BUFSIZE; in get_fatent()
183 offset = entry - bufnum * FAT12BUFSIZE; in get_fatent()
195 if (bufnum != mydata->fatbufnum) { in get_fatent()
199 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent()
215 mydata->fatbufnum = bufnum; in get_fatent()
/external/u-boot/drivers/usb/host/
Dr8a66597-hcd.c254 u16 pipenum, bufnum, maxpacket; in pipe_buffer_setting() local
258 bufnum = BULK_IN_BUFNUM; in pipe_buffer_setting()
262 bufnum = BULK_OUT_BUFNUM; in pipe_buffer_setting()
282 r8a66597_write(r8a66597, (8 << 10) | bufnum, PIPEBUF); in pipe_buffer_setting()