Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c432 static int signal_fds[2]; variable
435 if (signal_fds[0] == 0 && socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0) in create_signal_fds()
440 set->fd = signal_fds[0]; in create_signal_fds()
441 return signal_fds[0]; in create_signal_fds()
457 stat = close(signal_fds[0]); in close_signal_fds()
460 signal_fds[0] = 0; in close_signal_fds()
462 stat = close(signal_fds[1]); in close_signal_fds()
465 signal_fds[1] = 0; in close_signal_fds()
481 ALOGD("%s: Sending signal to %d", __func__, signal_fds[1]); in send_wakeup_signal()
482 return send(signal_fds[1], &sig_on, sizeof(sig_on), 0); in send_wakeup_signal()
[all …]