Home
last modified time | relevance | path

Searched refs:getc (Results 1 – 25 of 172) sorted by relevance

1234567

/OK3568_Linux_fs/u-boot/cmd/
H A Dload.c80 if (getc() == '\r') in do_load_serial()
101 (void) getc(); in do_load_serial()
123 if (getc() == 0x1B) /* ESC */ in do_load_serial()
211 c = getc(); /* read character */ in read_record()
228 if (gd->jt->getc != getc) { in read_record()
274 if (getc() == '\r') in do_save_serial()
286 if (getc() == '\r') in do_save_serial()
303 if (getc() == 0x1B) /* ESC */ in do_save_serial()
457 if (getc() == '\r') in do_load_serial_bin()
509 if (getc() == 0x1B) /* ESC */ in do_load_serial_bin()
[all …]
H A Dterminal.c38 c = stdio_devices[0]->getc(); in do_terminal()
62 c = dev->getc(); in do_terminal()
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_console.c102 c = getc(); in term_read_reply()
105 c = getc(); in term_read_reply()
111 c = getc(); in term_read_reply()
207 getc(); in efi_cout_query_mode()
362 ch = getc(); in efi_cin_read_key_stroke()
365 ch = getc(); in efi_cin_read_key_stroke()
371 pressed_key.scan_code = getc() - 'P' + 11; in efi_cin_read_key_stroke()
377 ch = getc(); in efi_cin_read_key_stroke()
389 pressed_key.scan_code = getc() - '0' + 11; in efi_cin_read_key_stroke()
390 getc(); in efi_cin_read_key_stroke()
[all …]
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial.c84 if (getc() == '\r') in on_baudrate()
174 if (dev->getc) in serial_register()
175 dev->getc += gd->reloc_off; in serial_register()
277 return dev->getc(); in serial_stub_getc()
309 dev.getc = serial_stub_getc; in serial_stdio_init()
442 return get_current()->getc(); in serial_getc()
H A Dserial-uclass.c174 err = ops->getc(dev); in __serial_getc()
421 if (getc() == '\r') in on_baudrate()
449 if (ops->getc) in serial_post_probe()
450 ops->getc += gd->reloc_off; in serial_post_probe()
479 sdev.getc = serial_stub_getc; in serial_post_probe()
H A Dmcfuart.c141 .getc = mcf_serial_getc,
219 .getc = coldfire_serial_getc,
H A Dserial_pxa.c216 .getc = uart##_getc, \
331 .getc = pxa_serial_getc,
/OK3568_Linux_fs/u-boot/drivers/input/
H A Dkeyboard-uclass.c57 else if (ops->getc) in keyboard_getc()
58 return ops->getc(dev); in keyboard_getc()
71 sdev->getc = keyboard_getc; in keyboard_pre_probe()
/OK3568_Linux_fs/u-boot/common/
H A Dconsole.c138 gd->jt->getc = getc; in console_setfile()
196 ret = tstcdev->getc(tstcdev); in console_getc()
278 return stdio_devices[file]->getc(stdio_devices[file]); in console_getc()
413 int getc(void) in getc() function
661 switch (getc()) { in ctrlc()
684 getc(); in confirm_yesno()
687 str_input[i] = getc(); in confirm_yesno()
844 gd->jt->getc = serial_getc; in console_init_r()
H A Dautoboot.c88 presskey[presskey_len++] = getc(); in passwd_abort()
150 presskey[presskey_len++] = getc(); in passwd_abort()
155 presskey[i] = getc(); in passwd_abort()
230 (void) getc(); /* consume input */
H A DxyzModem.c75 *c = getc (); in CYGACC_COMM_IF_GETC_TIMEOUT()
618 xyzModem_stream_terminate (bool abort, int (*getc) (void)) in xyzModem_stream_terminate()
661 while ((c = (*getc) ()) > -1) in xyzModem_stream_terminate()
H A Dstdio.c104 dev.getc = stdio_serial_getc; in drv_system_init()
116 dev.getc = nulldev_input; in drv_system_init()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0005-ethernet.c-remove-it.patch84 - c = getc(f);
97 - c = getc(f);
125 - c = getc(fp);
129 - c = getc(fp);
134 - c = getc(fp);
165 - c = getc(fp);
/OK3568_Linux_fs/u-boot/include/
H A Dserial.h13 int (*getc)(void); member
99 int (*getc)(struct udevice *dev); member
H A D_exports.h11 EXPORT_FUNC(getc, int, getc, void)
H A DxyzModem.h66 void xyzModem_stream_terminate(bool method, int (*getc)(void));
H A Dkeyboard.h63 int (*getc)(struct udevice *dev); member
H A Dstdio.h8 int getc(void);
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dserial.c49 while (((ch = scdp->getc()) != '\n') && (ch != '\r')) { in serial_edit_cmdline()
148 if (serial_cd.getc) in serial_console_init()
H A Dmpc52xx-psc.c61 scdp->getc = psc_getc; in mpc5200_psc_console_init()
/OK3568_Linux_fs/buildroot/package/bc/
H A D0002-notice-read-and-write-errors-on-input-and-output.patch9 I grepped for mentions of the strings `putc', `print', `getc',
318 - return getc(input_fil_fp);
319 + c = getc(input_fil_fp);
451 for (c=getc(fp); c!=EOF; c=peekc){
452 peekc = getc(fp);
463 peekc = getc(fp);
468 peekc = getc(fp);
474 peekc = getc(fp);
484 peekc = getc(fp);
505 peekc = getc(fp);
/OK3568_Linux_fs/u-boot/test/dm/
H A Dusb.c293 ut_asserteq('a', getc()); in dm_test_usb_keyb()
295 ut_asserteq('b', getc()); in dm_test_usb_keyb()
/OK3568_Linux_fs/u-boot/examples/standalone/
H A Dsmc911x_eeprom.c28 return (tstc() && getc() == 0x03); in smsc_ctrlc()
280 c = getc(); in getline()
H A Dhello_world.c34 (void) getc(); in hello_world()
H A Dsched.c120 if (tstc () && getc () == 0x3) { in sched()
152 if (tstc () && getc () == 0x3) { in testthread()

1234567