Searched refs:pb_fd (Results 1 – 1 of 1) sorted by relevance
105 static int pb_fd; /* power button driver */ variable308 if ((pb_fd = open(PB, O_RDONLY)) != -1) { in main()500 if (pb_fd != -1) { in kill_handler()501 (void) close(pb_fd); in kill_handler()1178 if (ioctl(pb_fd, PB_BEGIN_MONITOR, NULL) == -1) { in power_button_monitor()1183 pfd.fd = pb_fd; in power_button_monitor()