Home
last modified time | relevance | path

Searched refs:tsauxc (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c494 u32 tsauxc, tsim, tsauxc_mask, tsim_mask, trgttiml, trgttimh, systiml, in igb_ptp_feature_enable_82580() local
525 tsauxc = rd32(E1000_TSAUXC); in igb_ptp_feature_enable_82580()
529 tsauxc |= tsauxc_mask; in igb_ptp_feature_enable_82580()
532 tsauxc &= ~tsauxc_mask; in igb_ptp_feature_enable_82580()
535 wr32(E1000_TSAUXC, tsauxc); in igb_ptp_feature_enable_82580()
570 tsauxc = rd32(E1000_TSAUXC); in igb_ptp_feature_enable_82580()
573 tsauxc &= ~(TSAUXC_EN_TT1 | TSAUXC_EN_CLK1 | TSAUXC_ST1); in igb_ptp_feature_enable_82580()
576 tsauxc &= ~(TSAUXC_EN_TT0 | TSAUXC_EN_CLK0 | TSAUXC_ST0); in igb_ptp_feature_enable_82580()
625 tsauxc |= tsauxc_mask; in igb_ptp_feature_enable_82580()
628 wr32(E1000_TSAUXC, tsauxc); in igb_ptp_feature_enable_82580()
[all …]
H A Digb_main.c6947 u32 tsauxc; in igb_perout() local
7012 tsauxc = rd32(E1000_TSAUXC); in igb_perout()
7013 tsauxc |= TSAUXC_EN_TT0; in igb_perout()
7014 wr32(E1000_TSAUXC, tsauxc); in igb_perout()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c165 u32 esdp, tsauxc, clktiml, clktimh, trgttiml, trgttimh, rem; in ixgbe_ptp_setup_sdp_X540() local
187 tsauxc = (IXGBE_TSAUXC_EN_CLK | in ixgbe_ptp_setup_sdp_X540()
223 IXGBE_WRITE_REG(hw, IXGBE_TSAUXC, tsauxc); in ixgbe_ptp_setup_sdp_X540()
242 u32 esdp, tsauxc, freqout, trgttiml, trgttimh, rem, tssdp; in ixgbe_ptp_setup_sdp_X550() local
268 tsauxc = (IXGBE_TSAUXC_EN_CLK | IXGBE_TSAUXC_ST0 | in ixgbe_ptp_setup_sdp_X550()
315 IXGBE_WRITE_REG(hw, IXGBE_TSAUXC, tsauxc); in ixgbe_ptp_setup_sdp_X550()
1284 u32 tsauxc; in ixgbe_ptp_init_systime() local
1291 tsauxc = IXGBE_READ_REG(hw, IXGBE_TSAUXC); in ixgbe_ptp_init_systime()
1304 tsauxc & ~IXGBE_TSAUXC_DISABLE_SYSTIME); in ixgbe_ptp_init_systime()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c255 u32 tsim, tsauxc, tsauxc_mask, tsim_mask, trgttiml, trgttimh, freqout; in igc_ptp_feature_enable_i225() local
280 tsauxc = rd32(IGC_TSAUXC); in igc_ptp_feature_enable_i225()
284 tsauxc |= tsauxc_mask; in igc_ptp_feature_enable_i225()
287 tsauxc &= ~tsauxc_mask; in igc_ptp_feature_enable_i225()
290 wr32(IGC_TSAUXC, tsauxc); in igc_ptp_feature_enable_i225()
337 tsauxc = rd32(IGC_TSAUXC); in igc_ptp_feature_enable_i225()
340 tsauxc &= ~(IGC_TSAUXC_EN_TT1 | IGC_TSAUXC_EN_CLK1 | in igc_ptp_feature_enable_i225()
344 tsauxc &= ~(IGC_TSAUXC_EN_TT0 | IGC_TSAUXC_EN_CLK0 | in igc_ptp_feature_enable_i225()
380 tsauxc |= tsauxc_mask; in igc_ptp_feature_enable_i225()
383 wr32(IGC_TSAUXC, tsauxc); in igc_ptp_feature_enable_i225()
H A Digc_main.c5571 u32 tsauxc, sec, nsec, tsicr; in igc_tsync_interrupt() local
5594 tsauxc = rd32(IGC_TSAUXC); in igc_tsync_interrupt()
5595 tsauxc |= IGC_TSAUXC_EN_TT0; in igc_tsync_interrupt()
5596 wr32(IGC_TSAUXC, tsauxc); in igc_tsync_interrupt()
5607 tsauxc = rd32(IGC_TSAUXC); in igc_tsync_interrupt()
5608 tsauxc |= IGC_TSAUXC_EN_TT1; in igc_tsync_interrupt()
5609 wr32(IGC_TSAUXC, tsauxc); in igc_tsync_interrupt()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ptp.c368 u32 tsauxc; in wx_ptp_setup_sdp() local
392 tsauxc = WX_TSC_1588_AUX_CTL_PLSG | WX_TSC_1588_AUX_CTL_EN_TT0 | in wx_ptp_setup_sdp()
401 wr32ptp(wx, WX_TSC_1588_AUX_CTL, tsauxc); in wx_ptp_setup_sdp()
460 u32 tsauxc, int_status; in wx_ptp_check_pps_event() local
477 tsauxc = WX_TSC_1588_AUX_CTL_PLSG | WX_TSC_1588_AUX_CTL_EN_TT0 | in wx_ptp_check_pps_event()
483 wr32ptp(wx, WX_TSC_1588_AUX_CTL, tsauxc); in wx_ptp_check_pps_event()