Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A 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,
/OK3568_Linux_fs/kernel/kernel/time/
H A Dtimecounter.c9 const struct cyclecounter *cc, in timecounter_init()
69 static u64 cc_cyc2ns_backwards(const struct cyclecounter *cc, in cc_cyc2ns_backwards()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c125 static u64 xgbe_cc_read(const struct cyclecounter *cc) in xgbe_cc_read()
231 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c34 static u64 ptp_cc_read(const struct cyclecounter *cc) in ptp_cc_read()
118 struct cyclecounter *cc; in otx2_ptp_init()
H A Dotx2_common.h223 struct cyclecounter cycle_counter;
/OK3568_Linux_fs/kernel/arch/microblaze/kernel/
H A Dtimer.c196 static u64 xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read()
201 static struct cyclecounter xilinx_cc = {
/OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/
H A Dptp.c85 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()
H A Dchip.h330 struct cyclecounter tstamp_cc;
624 u64 (*clock_read)(const struct cyclecounter *cc);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.h17 struct cyclecounter cycle_counter;
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c159 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()
/OK3568_Linux_fs/kernel/drivers/clocksource/
H A Darm_arch_timer.c187 static u64 arch_counter_read_cc(const struct cyclecounter *cc) in arch_counter_read_cc()
200 static struct cyclecounter cyclecounter __ro_after_init = {
1026 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register()
1027 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register()
1029 &cyclecounter, start_count); in arch_counter_register()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dcpts.h109 struct cyclecounter cc;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c13 struct cyclecounter cc;
181 static u64 qede_ptp_read_cc(const struct cyclecounter *cc) in qede_ptp_read_cc()
/OK3568_Linux_fs/kernel/sound/hda/
H A Dhdac_stream.c520 static u64 azx_cc_read(const struct cyclecounter *cc) in azx_cc_read()
531 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c41 static u64 mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock()
H A Dmlx4_en.h437 struct cyclecounter cycles;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dfec.h564 struct cyclecounter cc;
H A Dfec_ptp.c210 static u64 fec_ptp_read(const struct cyclecounter *cc) in fec_ptp_read()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc.h216 struct cyclecounter cc;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c64 struct cyclecounter cycles;
95 static u64 mlxsw_sp1_ptp_read_frc(const struct cyclecounter *cc) in mlxsw_sp1_ptp_read_frc()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A De1000.h325 struct cyclecounter cc;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c74 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()
H A Digb.h627 struct cyclecounter cc;
/OK3568_Linux_fs/kernel/include/sound/
H A Dhdaudio.h539 struct cyclecounter cc;

12