Home
last modified time | relevance | path

Searched refs:cyclecounter (Results 1 – 25 of 40) sorted by relevance

12

/drivers/ptp/
A Dptp_mock.c40 struct cyclecounter cc;
44 static u64 mock_phc_cc_read(struct cyclecounter *cc) in mock_phc_cc_read()
140 phc->cc = (struct cyclecounter) { in mock_phc_create()
A Dptp_vclock.c172 static u64 ptp_vclock_read(struct cyclecounter *cc) in ptp_vclock_read()
183 static const struct cyclecounter ptp_vclock_cc = {
A Dptp_private.h81 struct cyclecounter cc;
/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-timestamp.c14 static u64 mcp251xfd_timestamp_raw_read(struct cyclecounter *cc) in mcp251xfd_timestamp_raw_read()
44 struct cyclecounter *cc = &priv->cc; in mcp251xfd_timestamp_init()
/drivers/net/can/rockchip/
A Drockchip_canfd-timestamp.c11 static u64 rkcanfd_timestamp_read(struct cyclecounter *cc) in rkcanfd_timestamp_read()
44 struct cyclecounter *cc = &priv->cc; in rkcanfd_timestamp_init()
A Drockchip_canfd.h473 struct cyclecounter cc;
/drivers/clocksource/
A Darm_arch_timer.c246 static u64 arch_counter_read_cc(struct cyclecounter *cc) in arch_counter_read_cc()
259 static struct cyclecounter cyclecounter __ro_after_init = {
1161 cyclecounter.mask = CLOCKSOURCE_MASK(width); in arch_counter_register()
1167 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register()
1168 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register()
1170 &cyclecounter, start_count); in arch_counter_register()
/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ptp.c163 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X540()
243 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X550()
330 static u64 ixgbe_ptp_read_X550(struct cyclecounter *cc) in ixgbe_ptp_read_X550()
367 static u64 ixgbe_ptp_read_82599(struct cyclecounter *cc) in ixgbe_ptp_read_82599()
1206 struct cyclecounter cc; in ixgbe_ptp_start_cyclecounter()
/drivers/net/ethernet/cavium/common/
A Dcavium_ptp.c212 static u64 cavium_ptp_cc_read(struct cyclecounter *cc) in cavium_ptp_cc_read()
225 struct cyclecounter *cc; in cavium_ptp_probe()
A Dcavium_ptp.h17 struct cyclecounter cycle_counter;
/drivers/net/ethernet/wangxun/libwx/
A Dwx_ptp.c337 struct cyclecounter *cc = &wx->hw_cc; in wx_ptp_trigger_calc()
367 struct cyclecounter *cc = &wx->hw_cc; in wx_ptp_setup_sdp()
655 static u64 wx_ptp_read(struct cyclecounter *hw_cc) in wx_ptp_read()
712 struct cyclecounter cc; in wx_ptp_reset_cyclecounter()
/drivers/net/dsa/mv88e6xxx/
A Dptp.c141 static u64 mv88e6352_ptp_clock_read(struct cyclecounter *cc) in mv88e6352_ptp_clock_read()
155 static u64 mv88e6165_ptp_clock_read(struct cyclecounter *cc) in mv88e6165_ptp_clock_read()
486 static u64 mv88e6xxx_ptp_clock_read(struct cyclecounter *cc) in mv88e6xxx_ptp_clock_read()
A Dchip.h418 struct cyclecounter tstamp_cc;
735 u64 (*clock_read)(struct cyclecounter *cc);
/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dclock.h49 struct cyclecounter cycles;
/drivers/net/ethernet/ti/
A Dcpts.h109 struct cyclecounter cc;
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ptp.c196 static u64 ptp_cc_read(struct cyclecounter *cc) in ptp_cc_read()
385 struct cyclecounter *cc; in otx2_ptp_init()
/drivers/net/ethernet/qlogic/qede/
A Dqede_ptp.c13 struct cyclecounter cc;
184 static u64 qede_ptp_read_cc(struct cyclecounter *cc) in qede_ptp_read_cc()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.h102 struct cyclecounter cc;
/drivers/net/ethernet/mellanox/mlx4/
A Den_clock.c41 static u64 mlx4_en_read_clock(struct cyclecounter *tc) in mlx4_en_read_clock()
/drivers/net/can/usb/
A Dgs_usb.c332 struct cyclecounter cc;
423 static u64 gs_usb_timestamp_read(struct cyclecounter *cc) __must_hold(&dev->tc_lock) in gs_usb_timestamp_read()
473 struct cyclecounter *cc = &parent->cc; in gs_usb_timestamp_init()
/drivers/net/ethernet/freescale/
A Dfec.h653 struct cyclecounter cc;
/drivers/net/ethernet/pensando/ionic/
A Dionic_lif.h250 struct cyclecounter cc;
/drivers/net/ethernet/intel/e1000e/
A De1000.h328 struct cyclecounter cc;
/drivers/net/ethernet/intel/igc/
A Digc.h324 struct cyclecounter cc;
/drivers/net/ethernet/intel/igb/
A Digb_ptp.c76 static u64 igb_ptp_read_82576(struct cyclecounter *cc) in igb_ptp_read_82576()
93 static u64 igb_ptp_read_82580(struct cyclecounter *cc) in igb_ptp_read_82580()

Completed in 81 milliseconds

12