Lines Matching refs:handle
180 time_pps_create(int filedes, pps_handle_t *handle) in time_pps_create() argument
184 *handle = -1; in time_pps_create()
188 *handle = filedes; in time_pps_create()
193 time_pps_destroy(pps_handle_t handle) in time_pps_destroy() argument
195 return (ioctl(handle, PPS_IOC_DESTROY, 0)); in time_pps_destroy()
199 time_pps_setparams(pps_handle_t handle, const pps_params_t *ppsparams) in time_pps_setparams() argument
201 return (ioctl(handle, PPS_IOC_SETPARAMS, ppsparams)); in time_pps_setparams()
205 time_pps_getparams(pps_handle_t handle, pps_params_t *ppsparams) in time_pps_getparams() argument
207 return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams)); in time_pps_getparams()
211 time_pps_getcap(pps_handle_t handle, int *mode) in time_pps_getcap() argument
213 return (ioctl(handle, PPS_IOC_GETCAP, mode)); in time_pps_getcap()
217 time_pps_fetch(pps_handle_t handle, const int tsformat, in time_pps_fetch() argument
229 error = ioctl(handle, PPS_IOC_FETCH, &arg); in time_pps_fetch()
235 time_pps_fetch_ffc(pps_handle_t handle, const int tsformat, in time_pps_fetch_ffc() argument
248 error = ioctl(handle, PPS_IOC_FETCH_FFCOUNTER, &arg); in time_pps_fetch_ffc()
254 time_pps_kcbind(pps_handle_t handle, const int kernel_consumer, in time_pps_kcbind() argument
262 return (ioctl(handle, PPS_IOC_KCBIND, &arg)); in time_pps_kcbind()