Home
last modified time | relevance | path

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

/openbmc/btbridge/
H A Dbtbridged.c52 #define TIMER_FD 2 macro
367 r = timerfd_settime(context->fds[TIMER_FD].fd, TFD_TIMER_ABSTIME, &ts, NULL); in bt_host_write()
438 if (context->fds[TIMER_FD].revents & POLLIN) { in dispatch_timer()
444 r = read(context->fds[TIMER_FD].fd, &counter, sizeof(counter)); in dispatch_timer()
535 r = timerfd_settime(context->fds[TIMER_FD].fd, 0, &ts, NULL); in dispatch_bt()
714 context->fds[TIMER_FD].fd = timerfd_create(CLOCK_MONOTONIC, 0); in main()
715 if (context->fds[TIMER_FD].fd < 0) { in main()
722 context->fds[TIMER_FD].events = POLLIN; in main()
758 close(context->fds[TIMER_FD].fd); in main()