Home
last modified time | relevance | path

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

/openbmc/u-boot/tools/
H A Dmxsboot.c419 static int mx28_nand_write_firmware(struct mx28_nand_fcb *fcb, int infd, in mx28_nand_write_firmware() argument
426 size = lseek(infd, 0, SEEK_END); in mx28_nand_write_firmware()
427 lseek(infd, 0, SEEK_SET); in mx28_nand_write_firmware()
432 ret = read(infd, buf + offset1, size); in mx28_nand_write_firmware()
464 static int mx28_create_nand_image(int infd, int outfd) in mx28_create_nand_image() argument
507 ret = mx28_nand_write_firmware(fcb, infd, buf); in mx28_create_nand_image()
531 static int mx28_create_sd_image(int infd, int outfd) in mx28_create_sd_image() argument
540 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image()
541 lseek(infd, 0, SEEK_SET); in mx28_create_sd_image()
550 ret = read(infd, (uint8_t *)buf + 4 * 512, fsize); in mx28_create_sd_image()
[all …]
/openbmc/u-boot/tools/patman/
H A Dtest.py73 infd = os.fdopen(inhandle, 'w')
74 infd.write(data)
75 infd.close()
211 infd = os.fdopen(inhandle, 'w')
213 infd.write(data)
214 infd.close()
H A Dpatchstream.py348 def ProcessStream(self, infd, outfd): argument
362 line = infd.readline()
456 infd = open(fname, 'r')
459 ps.ProcessStream(infd, outfd)
460 infd.close()