Searched refs:infd (Results 1 – 5 of 5) sorted by relevance
| /u-boot/drivers/serial/ |
| A D | serial_semihosting.c | 19 int infd; member 30 if (priv->infd < 0) in smh_serial_getc() 33 smh_read(priv->infd, &ch, sizeof(ch)); in smh_serial_getc() 100 priv->infd = smh_open(":tt", MODE_READ); in smh_serial_probe() 119 static int infd = -ENODEV; variable 125 infd = smh_open(":tt", MODE_READ); in smh_serial_start() 145 if (infd < 0) in smh_serial_getc() 148 smh_read(infd, &ch, sizeof(ch)); in smh_serial_getc()
|
| /u-boot/tools/ |
| A D | mxsboot.c | 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() 540 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image() 541 lseek(infd, 0, SEEK_SET); in mx28_create_sd_image() 639 int infd, outfd; in main() local 650 infd = open(argv[offset + 1], O_RDONLY); in main() 651 if (infd < 0) { in main() 666 ret = mx28_create_sd_image(infd, outfd); in main() 668 ret = mx28_create_nand_image(infd, outfd); in main() [all …]
|
| A D | sunxi_egon.c | 106 static void egon_set_header(void *buf, struct stat *sbuf, int infd, in egon_set_header() argument
|
| /u-boot/tools/patman/ |
| A D | test_checkpatch.py | 79 infd = os.fdopen(inhandle, 'w') 80 infd.write(self.get_patch_text()) 81 infd.close() 142 infd = os.fdopen(inhandle, 'w', encoding='utf-8') 143 infd.write(data) 144 infd.close() 289 infd = os.fdopen(inhandle, 'w') 291 infd.write(data) 292 infd.close()
|
| A D | patchstream.py | 120 infd = io.StringIO(text) 124 pstrm.process_stream(infd, outfd) 612 def process_stream(self, infd, outfd): argument 629 line = infd.readline() 785 infd = open(fname, 'r', encoding='utf-8') 788 pst.process_stream(infd, outfd) 789 infd.close()
|
Completed in 16 milliseconds