Home
last modified time | relevance | path

Searched refs:timadj (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/hw/net/
H A De1000x_common.c316 void e1000x_timestamp(uint32_t *mac, int64_t timadj, size_t lo, size_t hi) in e1000x_timestamp() argument
322 int64_t timestamp = timadj + muldiv64(ns, incvalue, incperiod * 16); in e1000x_timestamp()
328 void e1000x_set_timinca(uint32_t *mac, int64_t *timadj, uint32_t val) in e1000x_set_timinca() argument
338 *timadj += (muldiv64(ns, incvalue, incperiod) - muldiv64(ns, old_incvalue, old_incperiod)) / 16; in e1000x_set_timinca()
H A De1000x_common.h145 void e1000x_timestamp(uint32_t *mac, int64_t timadj, size_t lo, size_t hi);
146 void e1000x_set_timinca(uint32_t *mac, int64_t *timadj, uint32_t val);
H A De1000e.c84 bool timadj; member
559 return s->timadj; in e1000e_migrate_timadj()
654 VMSTATE_INT64_TEST(core.timadj, E1000EState, e1000e_migrate_timadj),
674 DEFINE_PROP_BOOL("migrate-timadj", E1000EState, timadj, true),
H A Digb_core.h101 int64_t timadj; member
H A De1000e_core.h112 int64_t timadj; member
H A Digb.c588 VMSTATE_INT64(core.timadj, IGBState),
H A Digb_core.c667 e1000x_timestamp(core->mac, core->timadj, TXSTMPL, TXSTMPH); in igb_process_tx_desc()
1068 e1000x_timestamp(core->mac, core->timadj, RXSTMPL, RXSTMPH); in igb_receive_assign()
3082 e1000x_timestamp(core->mac, core->timadj, SYSTIML, SYSTIMH); in igb_get_systiml()
3100 e1000x_set_timinca(core->mac, &core->timadj, val); in igb_set_timinca()
3106 core->timadj += core->mac[TIMADJL] | ((int64_t)core->mac[TIMADJH] << 32); in igb_set_timadjh()
H A De1000e_core.c2851 e1000x_timestamp(core->mac, core->timadj, SYSTIML, SYSTIMH); in e1000e_get_systiml()
2869 e1000x_set_timinca(core->mac, &core->timadj, val); in e1000e_set_timinca()
2875 core->timadj += core->mac[TIMADJL] | ((int64_t)core->mac[TIMADJH] << 32); in e1000e_set_timadjh()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c1207 u32 timadj; in igc_ptp_reset() local
1216 timadj = rd32(IGC_TIMADJ); in igc_ptp_reset()
1217 timadj |= IGC_TIMADJ_ADJUST_METH; in igc_ptp_reset()
1218 wr32(IGC_TIMADJ, timadj); in igc_ptp_reset()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c411 u32 timadj; in i40e_ptp_adjtime() local
421 timadj = tohw & 0x3FFFFFFF; in i40e_ptp_adjtime()
423 timadj |= I40E_ISGN; in i40e_ptp_adjtime()
424 wr32(hw, I40E_PRTTSYN_ADJ, timadj); in i40e_ptp_adjtime()
/openbmc/qemu/docs/devel/migration/
H A Dcompatibility.rst447 { "e1000e", "migrate-timadj", "off" },