Home
last modified time | relevance | path

Searched refs:infd (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/tools/
H A Dmxsboot.c420 static int mx28_nand_write_firmware(struct mx28_nand_fcb *fcb, int infd, in mx28_nand_write_firmware() argument
427 size = lseek(infd, 0, SEEK_END); in mx28_nand_write_firmware()
428 lseek(infd, 0, SEEK_SET); in mx28_nand_write_firmware()
433 ret = read(infd, buf + offset1, size); in mx28_nand_write_firmware()
465 static int mx28_create_nand_image(int infd, int outfd) in mx28_create_nand_image() argument
508 ret = mx28_nand_write_firmware(fcb, infd, buf); in mx28_create_nand_image()
532 static int mx28_create_sd_image(int infd, int outfd) in mx28_create_sd_image() argument
541 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image()
542 lseek(infd, 0, SEEK_SET); in mx28_create_sd_image()
551 ret = read(infd, (uint8_t *)buf + 4 * 512, fsize); in mx28_create_sd_image()
[all …]
/rk3399_rockchip-uboot/tools/patman/
H A Dtest.py74 infd = os.fdopen(inhandle, 'w')
75 infd.write(data)
76 infd.close()
209 infd = os.fdopen(inhandle, 'w')
211 infd.write(data)
212 infd.close()
H A Dpatchstream.py349 def ProcessStream(self, infd, outfd): argument
363 line = infd.readline()
457 infd = open(fname, 'r')
460 ps.ProcessStream(infd, outfd)
461 infd.close()