Lines Matching refs:sec
81 ts_period.tv_sec = perout_request->period.sec; in mchp_get_pulsewidth()
84 ts_on.tv_sec = perout_request->on.sec; in mchp_get_pulsewidth()
249 ret = mchp_set_clock_target(clock, perout->start.sec, in mchp_rds_ptp_perout()
254 return mchp_set_clock_reload(clock, perout->period.sec, in mchp_rds_ptp_perout()
627 s32 sec; in mchp_rds_ptp_ltc_adjtime() local
647 sec = div_u64_rem(abs(delta), NSEC_PER_SEC, &nsec); in mchp_rds_ptp_ltc_adjtime()
653 sec--; in mchp_rds_ptp_ltc_adjtime()
667 sec++; in mchp_rds_ptp_ltc_adjtime()
673 if (sec) { in mchp_rds_ptp_ltc_adjtime()
674 sec = abs(sec); in mchp_rds_ptp_ltc_adjtime()
677 MCHP_RDS_PTP_CLOCK, sec); in mchp_rds_ptp_ltc_adjtime()
685 0) | ((sec >> 16) & in mchp_rds_ptp_ltc_adjtime()
943 u32 sec, nsec; in mchp_rds_ptp_get_rx_ts() local
966 sec = rc << 16; in mchp_rds_ptp_get_rx_ts()
972 sec |= rc; in mchp_rds_ptp_get_rx_ts()
983 rx_ts->seconds = sec; in mchp_rds_ptp_get_rx_ts()
1010 u32 *sec, u32 *nsec, u16 *seq) in mchp_rds_ptp_get_tx_ts() argument
1032 *sec = rc << 16; in mchp_rds_ptp_get_tx_ts()
1038 *sec = *sec | rc; in mchp_rds_ptp_get_tx_ts()
1055 u32 sec, nsec; in mchp_rds_ptp_process_tx_ts() local
1058 if (mchp_rds_ptp_get_tx_ts(clock, &sec, &nsec, &seq)) in mchp_rds_ptp_process_tx_ts()
1059 mchp_rds_ptp_match_tx_skb(clock, sec, nsec, seq); in mchp_rds_ptp_process_tx_ts()