/Linux-v5.4/include/linux/ |
D | timecounter.h | 30 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-v5.4/kernel/time/ |
D | timecounter.c | 9 const struct cyclecounter *cc, in timecounter_init() 69 static u64 cc_cyc2ns_backwards(const struct cyclecounter *cc, in cc_cyc2ns_backwards()
|
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 125 static u64 xgbe_cc_read(const struct cyclecounter *cc) in xgbe_cc_read() 231 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register()
|
D | xgbe.h | 1205 struct cyclecounter tstamp_cc;
|
/Linux-v5.4/arch/microblaze/kernel/ |
D | timer.c | 203 static u64 xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read() 208 static struct cyclecounter xilinx_cc = {
|
/Linux-v5.4/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.h | 17 struct cyclecounter cycle_counter;
|
D | cavium_ptp.c | 209 static u64 cavium_ptp_cc_read(const struct cyclecounter *cc) in cavium_ptp_cc_read() 222 struct cyclecounter *cc; in cavium_ptp_probe()
|
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 85 static u64 mv88e6352_ptp_clock_read(const struct cyclecounter *cc) in mv88e6352_ptp_clock_read() 99 static u64 mv88e6165_ptp_clock_read(const struct cyclecounter *cc) in mv88e6165_ptp_clock_read() 422 static u64 mv88e6xxx_ptp_clock_read(const struct cyclecounter *cc) in mv88e6xxx_ptp_clock_read()
|
D | chip.h | 301 struct cyclecounter tstamp_cc; 570 u64 (*clock_read)(const struct cyclecounter *cc);
|
/Linux-v5.4/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 323 static u64 sja1105_ptptsclk_read(const struct cyclecounter *cc) in sja1105_ptptsclk_read() 365 priv->tstamp_cc = (struct cyclecounter) { in sja1105_ptp_clock_register()
|
D | sja1105.h | 99 struct cyclecounter tstamp_cc;
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 159 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X540() 239 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X550() 326 static u64 ixgbe_ptp_read_X550(const struct cyclecounter *cc) in ixgbe_ptp_read_X550() 363 static u64 ixgbe_ptp_read_82599(const struct cyclecounter *cc) in ixgbe_ptp_read_82599() 1211 struct cyclecounter cc; in ixgbe_ptp_start_cyclecounter()
|
/Linux-v5.4/drivers/clocksource/ |
D | arm_arch_timer.c | 183 static u64 arch_counter_read_cc(const struct cyclecounter *cc) in arch_counter_read_cc() 196 static struct cyclecounter cyclecounter __ro_after_init = { 991 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register() 992 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register() 994 &cyclecounter, start_count); in arch_counter_register()
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | cpts.h | 108 struct cyclecounter cc;
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 38 struct cyclecounter cc; 206 static u64 qede_ptp_read_cc(const struct cyclecounter *cc) in qede_ptp_read_cc()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 41 static u64 mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock()
|
/Linux-v5.4/sound/hda/ |
D | hdac_stream.c | 510 static u64 azx_cc_read(const struct cyclecounter *cc) in azx_cc_read() 521 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init()
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | fec.h | 556 struct cyclecounter cc;
|
D | fec_ptp.c | 219 static u64 fec_ptp_read(const struct cyclecounter *cc) in fec_ptp_read()
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 325 struct cyclecounter cc;
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 64 struct cyclecounter cycles; 95 static u64 mlxsw_sp1_ptp_read_frc(const struct cyclecounter *cc) in mlxsw_sp1_ptp_read_frc()
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 74 static u64 igb_ptp_read_82576(const struct cyclecounter *cc) in igb_ptp_read_82576() 91 static u64 igb_ptp_read_82580(const struct cyclecounter *cc) in igb_ptp_read_82580()
|
D | igb.h | 557 struct cyclecounter cc;
|
/Linux-v5.4/include/sound/ |
D | hdaudio.h | 501 struct cyclecounter cc;
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 69 static u64 read_internal_timer(const struct cyclecounter *cc) in read_internal_timer()
|