Lines Matching defs:tv
34 struct timeval tv, void *data)
51 tv = tevent_timeval_current_ofs(0, 30);
52 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn);
101 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn);
121 struct timeval tv;
126 tv = tevent_timeval_current();
129 te = tevent_add_timer(conn->ev, conn, tv, sbus_dispatch, conn);
384 struct timeval tv, void *data)
440 tv.tv_sec += 3;
444 tv.tv_sec += 10;
448 tv.tv_sec += 30;
451 te = tevent_add_timer(conn->ev, conn, tv, sbus_reconnect, conn);
467 struct timeval tv;
477 gettimeofday(&tv, NULL);
478 tv.tv_sec += 1; /* Wait 1 second before the first reconnect attempt */
479 te = tevent_add_timer(conn->ev, conn, tv, sbus_reconnect, conn);