Home
last modified time | relevance | path

Searched refs:tsu_incr (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/cadence/
Dmacb_ptp.c97 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set()
120 struct tsu_incr incr_spec; in gem_ptp_adjfine()
131 incr_spec.sub_ns = bp->tsu_incr.sub_ns; in gem_ptp_adjfine()
132 incr_spec.ns = bp->tsu_incr.ns; in gem_ptp_adjfine()
205 bp->tsu_incr.ns = div_u64_rem(NSEC_PER_SEC, bp->tsu_rate, &rem); in gem_ptp_init_timer()
209 bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate); in gem_ptp_init_timer()
211 bp->tsu_incr.sub_ns = 0; in gem_ptp_init_timer()
226 gem_tsu_incr_set(bp, &bp->tsu_incr); in gem_ptp_init_tsu()
233 bp->tsu_incr.sub_ns = 0; in gem_ptp_clear_timer()
234 bp->tsu_incr.ns = 0; in gem_ptp_clear_timer()
Dmacb.h1103 struct tsu_incr { struct
1219 struct tsu_incr tsu_incr; member