Searched refs:incvalue (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 33 u64 incvalue; in e1000e_phc_adjfine() local 44 incvalue = timinca & E1000_TIMINCA_INCVALUE_MASK; in e1000e_phc_adjfine() 45 incvalue = adjust_by_scaled_ppm(incvalue, delta); in e1000e_phc_adjfine() 48 timinca |= incvalue; in e1000e_phc_adjfine()
|
H A D | netdev.c | 3494 u32 incvalue, incperiod, shift; in e1000e_get_base_timinca() local 3514 incvalue = INCVALUE_96MHZ; in e1000e_get_base_timinca() 3522 incvalue = INCVALUE_96MHZ; in e1000e_get_base_timinca() 3528 incvalue = INCVALUE_25MHZ; in e1000e_get_base_timinca() 3536 incvalue = INCVALUE_24MHZ; in e1000e_get_base_timinca() 3550 incvalue = INCVALUE_24MHZ; in e1000e_get_base_timinca() 3556 incvalue = INCVALUE_38400KHZ; in e1000e_get_base_timinca() 3565 incvalue = INCVALUE_25MHZ; in e1000e_get_base_timinca() 3574 ((incvalue << shift) & E1000_TIMINCA_INCVALUE_MASK)); in e1000e_get_base_timinca() 4350 u32 incvalue; in e1000e_sanitize_systim() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | e1000x_common.c | 320 uint32_t incvalue = timinca & E1000_TIMINCA_INCVALUE_MASK; in e1000x_timestamp() local 322 int64_t timestamp = timadj + muldiv64(ns, incvalue, incperiod * 16); in e1000x_timestamp() 334 uint32_t incvalue = val & E1000_TIMINCA_INCVALUE_MASK; in e1000x_set_timinca() local 338 *timadj += (muldiv64(ns, incvalue, incperiod) - muldiv64(ns, old_incvalue, old_incperiod)) / 16; in e1000x_set_timinca()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 199 u64 incvalue; in igb_ptp_adjfine_82576() local 201 incvalue = adjust_by_scaled_ppm(INCVALUE_82576, scaled_ppm); in igb_ptp_adjfine_82576() 203 wr32(E1000_TIMINCA, INCPERIOD_82576 | (incvalue & INCVALUE_82576_MASK)); in igb_ptp_adjfine_82576()
|