Searched refs:target_ns (Results 1 – 2 of 2) sorted by relevance
504 static u64 find_target_cycles(struct mlx5_core_dev *mdev, s64 target_ns) in find_target_cycles() argument517 nsec_delta = target_ns - nsec_now; in find_target_cycles()528 s64 target_ns; in perout_conf_internal_timer() local531 target_ns = timespec64_to_ns(&ts); in perout_conf_internal_timer()533 return find_target_cycles(mdev, target_ns); in perout_conf_internal_timer()876 s64 target_ns; in perout_conf_next_event_timer() local880 target_ns = timespec64_to_ns(&ts); in perout_conf_next_event_timer()882 return find_target_cycles(mdev, target_ns); in perout_conf_next_event_timer()
380 static int bnxt_get_target_cycles(struct bnxt_ptp_cfg *ptp, u64 target_ns, in bnxt_get_target_cycles() argument396 nsec_delta = target_ns - nsec_now; in bnxt_get_target_cycles()407 u64 target_ns, delta; in bnxt_ptp_perout_cfg() local413 target_ns = timespec64_to_ns(&ts); in bnxt_ptp_perout_cfg()415 rc = bnxt_get_target_cycles(ptp, target_ns, &delta); in bnxt_ptp_perout_cfg()