Home
last modified time | relevance | path

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

/external/grub/grub/
Dasmstub.c96 static int serial_fd = -1; variable
212 if (serial_fd >= 0) in grub_stage2()
213 close (serial_fd); in grub_stage2()
1022 FD_SET (serial_fd, &fds); in serial_hw_fetch()
1027 if (select (serial_fd + 1, &fds, 0, 0, &to) > 0) in serial_hw_fetch()
1029 if (nread (serial_fd, &c, 1) != 1) in serial_hw_fetch()
1044 if (nwrite (serial_fd, &ch, 1) != 1) in serial_hw_put()
1114 if (serial_fd >= 0) in serial_hw_init()
1115 close (serial_fd); in serial_hw_init()
1118 serial_fd = open (serial_device, in serial_hw_init()
[all …]
/external/bluetooth/bluez/tools/
Dhciattach.c346 static int serial_fd; variable
356 if (write(serial_fd, &bcsp_sync_pkt, 10) < 0) in bcsp_tshy_sig_alarm()
362 tcflush(serial_fd, TCIOFLUSH); in bcsp_tshy_sig_alarm()
374 if (write(serial_fd, &bcsp_conf_pkt, 10) < 0) in bcsp_tconf_sig_alarm()
380 tcflush(serial_fd, TCIOFLUSH); in bcsp_tconf_sig_alarm()
412 serial_fd = fd; in bcsp()
/external/grub/
DChangeLog3829 (serial_fd): New variable.