Searched refs:incvalue (Results 1 – 3 of 3) sorted by relevance
35 u32 timinca, incvalue; in e1000e_phc_adjfine() local50 incvalue = timinca & E1000_TIMINCA_INCVALUE_MASK; in e1000e_phc_adjfine()52 adjustment = mul_u64_u64_div_u64(incvalue, (u64)delta, in e1000e_phc_adjfine()55 incvalue = neg_adj ? (incvalue - adjustment) : (incvalue + adjustment); in e1000e_phc_adjfine()58 timinca |= incvalue; in e1000e_phc_adjfine()
3504 u32 incvalue, incperiod, shift; in e1000e_get_base_timinca() local3524 incvalue = INCVALUE_96MHZ; in e1000e_get_base_timinca()3532 incvalue = INCVALUE_96MHZ; in e1000e_get_base_timinca()3538 incvalue = INCVALUE_25MHZ; in e1000e_get_base_timinca()3546 incvalue = INCVALUE_24MHZ; in e1000e_get_base_timinca()3558 incvalue = INCVALUE_24MHZ; in e1000e_get_base_timinca()3564 incvalue = INCVALUE_38400KHZ; in e1000e_get_base_timinca()3573 incvalue = INCVALUE_25MHZ; in e1000e_get_base_timinca()3582 ((incvalue << shift) & E1000_TIMINCA_INCVALUE_MASK)); in e1000e_get_base_timinca()4356 u32 incvalue; in e1000e_sanitize_systim() local[all …]
200 u32 incvalue; in igb_ptp_adjfine_82576() local207 incvalue = INCVALUE_82576; in igb_ptp_adjfine_82576()208 rate = mul_u64_u64_div_u64(incvalue, (u64)scaled_ppm, in igb_ptp_adjfine_82576()212 incvalue -= rate; in igb_ptp_adjfine_82576()214 incvalue += rate; in igb_ptp_adjfine_82576()216 wr32(E1000_TIMINCA, INCPERIOD_82576 | (incvalue & INCVALUE_82576_MASK)); in igb_ptp_adjfine_82576()