Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/linux/
Dtimecounter.h30 struct cyclecounter { struct
31 u64 (*read)(const struct cyclecounter *cc); argument
56 const struct cyclecounter *cc;
70 static inline u64 cyclecounter_cyc2ns(const struct cyclecounter *cc, in cyclecounter_cyc2ns()
100 const struct cyclecounter *cc,
/Linux-v6.6/drivers/ptp/
Dptp_mock.c40 struct cyclecounter cc;
44 static u64 mock_phc_cc_read(const struct cyclecounter *cc) in mock_phc_cc_read()
140 phc->cc = (struct cyclecounter) { in mock_phc_create()
Dptp_vclock.c167 static u64 ptp_vclock_read(const struct cyclecounter *cc) in ptp_vclock_read()
178 static const struct cyclecounter ptp_vclock_cc = {
Dptp_private.h67 struct cyclecounter cc;
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-timestamp.c14 static u64 mcp251xfd_timestamp_read(const struct cyclecounter *cc) in mcp251xfd_timestamp_read()
54 struct cyclecounter *cc = &priv->cc; in mcp251xfd_timestamp_init()
/Linux-v6.6/kernel/time/
Dtimecounter.c9 const struct cyclecounter *cc, in timecounter_init()
69 static u64 cc_cyc2ns_backwards(const struct cyclecounter *cc, in cc_cyc2ns_backwards()
/Linux-v6.6/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c125 static u64 xgbe_cc_read(const struct cyclecounter *cc) in xgbe_cc_read()
219 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register()
/Linux-v6.6/arch/microblaze/kernel/
Dtimer.c196 static u64 xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read()
201 static struct cyclecounter xilinx_cc = {
/Linux-v6.6/drivers/net/ethernet/cavium/common/
Dcavium_ptp.h17 struct cyclecounter cycle_counter;
Dcavium_ptp.c212 static u64 cavium_ptp_cc_read(const struct cyclecounter *cc) in cavium_ptp_cc_read()
225 struct cyclecounter *cc; in cavium_ptp_probe()
/Linux-v6.6/drivers/clocksource/
Darm_arch_timer.c246 static u64 arch_counter_read_cc(const struct cyclecounter *cc) in arch_counter_read_cc()
259 static struct cyclecounter cyclecounter __ro_after_init = {
1138 cyclecounter.mask = CLOCKSOURCE_MASK(width); in arch_counter_register()
1144 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register()
1145 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register()
1147 &cyclecounter, start_count); in arch_counter_register()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c162 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X540()
242 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X550()
329 static u64 ixgbe_ptp_read_X550(const struct cyclecounter *cc) in ixgbe_ptp_read_X550()
366 static u64 ixgbe_ptp_read_82599(const struct cyclecounter *cc) in ixgbe_ptp_read_82599()
1200 struct cyclecounter cc; in ixgbe_ptp_start_cyclecounter()
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/
Dptp.c86 static u64 mv88e6352_ptp_clock_read(const struct cyclecounter *cc) in mv88e6352_ptp_clock_read()
100 static u64 mv88e6165_ptp_clock_read(const struct cyclecounter *cc) in mv88e6165_ptp_clock_read()
451 static u64 mv88e6xxx_ptp_clock_read(const struct cyclecounter *cc) in mv88e6xxx_ptp_clock_read()
Dchip.h397 struct cyclecounter tstamp_cc;
700 u64 (*clock_read)(const struct cyclecounter *cc);
/Linux-v6.6/drivers/net/ethernet/ti/
Dcpts.h109 struct cyclecounter cc;
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.h83 struct cyclecounter cc;
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ptp.c195 static u64 ptp_cc_read(const struct cyclecounter *cc) in ptp_cc_read()
371 struct cyclecounter *cc; in otx2_ptp_init()
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c13 struct cyclecounter cc;
184 static u64 qede_ptp_read_cc(const struct cyclecounter *cc) in qede_ptp_read_cc()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c41 static u64 mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock()
/Linux-v6.6/sound/hda/
Dhdac_stream.c608 static u64 azx_cc_read(const struct cyclecounter *cc) in azx_cc_read()
619 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init()
/Linux-v6.6/drivers/net/can/usb/
Dgs_usb.c329 struct cyclecounter cc;
417 static u64 gs_usb_timestamp_read(const struct cyclecounter *cc) __must_hold(&dev->tc_lock) in gs_usb_timestamp_read()
467 struct cyclecounter *cc = &parent->cc; in gs_usb_timestamp_init()
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_lif.h237 struct cyclecounter cc;
/Linux-v6.6/drivers/net/ethernet/freescale/
Dfec.h654 struct cyclecounter cc;
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
De1000.h328 struct cyclecounter cc;
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc.h264 struct cyclecounter cc;

12