OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:serial_fd
(Results
1 - 2
of
2
) sorted by null
/external/grub/grub/
asmstub.c
96
static int
serial_fd
= -1;
variable
212
if (
serial_fd
>= 0)
213
close (
serial_fd
);
1022
FD_SET (
serial_fd
, &fds);
1027
if (select (
serial_fd
+ 1, &fds, 0, 0, &to) > 0)
1029
if (nread (
serial_fd
, &c, 1) != 1)
1044
if (nwrite (
serial_fd
, &ch, 1) != 1)
1114
if (
serial_fd
>= 0)
1115
close (
serial_fd
);
1118
serial_fd
= open (serial_device
[
all
...]
/external/bluetooth/bluez/tools/
hciattach.c
346
static int
serial_fd
;
variable
356
if (write(
serial_fd
, &bcsp_sync_pkt, 10) < 0)
362
tcflush(
serial_fd
, TCIOFLUSH);
374
if (write(
serial_fd
, &bcsp_conf_pkt, 10) < 0)
380
tcflush(
serial_fd
, TCIOFLUSH);
412
serial_fd
= fd;
Completed in 106 milliseconds