Lines Matching defs:tv
37 struct timeval tv, void *data)
54 tv = tevent_timeval_current_ofs(0, 30);
55 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn);
104 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn);
124 struct timeval tv;
129 tv = tevent_timeval_current();
132 te = tevent_add_timer(conn->ev, conn, tv, sbus_dispatch, conn);
381 struct timeval tv, void *data)
437 tv.tv_sec += 3;
441 tv.tv_sec += 10;
445 tv.tv_sec += 30;
448 te = tevent_add_timer(conn->ev, conn, tv, sbus_reconnect, conn);
464 struct timeval tv;
474 gettimeofday(&tv, NULL);
475 tv.tv_sec += 1; /* Wait 1 second before the first reconnect attempt */
476 te = tevent_add_timer(conn->ev, conn, tv, sbus_reconnect, conn);