/linux/include/linux/ |
A 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/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-timestamp.c | 14 static u64 mcp251xfd_timestamp_read(const struct cyclecounter *cc) in mcp251xfd_timestamp_read() 54 struct cyclecounter *cc = &priv->cc; in mcp251xfd_timestamp_init()
|
/linux/kernel/time/ |
A 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/drivers/net/ethernet/amd/xgbe/ |
A 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()
|
/linux/drivers/ptp/ |
A D | ptp_vclock.c | 96 static u64 ptp_vclock_read(const struct cyclecounter *cc) in ptp_vclock_read() 110 static const struct cyclecounter ptp_vclock_cc = {
|
A D | ptp_private.h | 65 struct cyclecounter cc;
|
/linux/arch/microblaze/kernel/ |
A D | timer.c | 196 static u64 xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read() 201 static struct cyclecounter xilinx_cc = {
|
/linux/drivers/clocksource/ |
A D | arm_arch_timer.c | 227 static u64 arch_counter_read_cc(const struct cyclecounter *cc) in arch_counter_read_cc() 240 static struct cyclecounter cyclecounter __ro_after_init = { 1090 cyclecounter.mask = CLOCKSOURCE_MASK(width); in arch_counter_register() 1096 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register() 1097 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register() 1099 &cyclecounter, start_count); in arch_counter_register()
|
/linux/drivers/net/ethernet/cavium/common/ |
A D | cavium_ptp.h | 17 struct cyclecounter cycle_counter;
|
A D | cavium_ptp.c | 212 static u64 cavium_ptp_cc_read(const struct cyclecounter *cc) in cavium_ptp_cc_read() 225 struct cyclecounter *cc; in cavium_ptp_probe()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A 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()
|
A D | chip.h | 366 struct cyclecounter tstamp_cc; 666 u64 (*clock_read)(const struct cyclecounter *cc);
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A 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() 1212 struct cyclecounter cc; in ixgbe_ptp_start_cyclecounter()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ptp.c | 49 static u64 ptp_cc_read(const struct cyclecounter *cc) in ptp_cc_read() 224 struct cyclecounter *cc; in otx2_ptp_init()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ptp.h | 81 struct cyclecounter cc;
|
/linux/drivers/net/ethernet/ti/ |
A D | cpts.h | 109 struct cyclecounter cc;
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ptp.c | 13 struct cyclecounter cc; 181 static u64 qede_ptp_read_cc(const struct cyclecounter *cc) in qede_ptp_read_cc()
|
/linux/sound/hda/ |
A D | hdac_stream.c | 519 static u64 azx_cc_read(const struct cyclecounter *cc) in azx_cc_read() 530 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_clock.c | 41 static u64 mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_lif.h | 226 struct cyclecounter cc;
|
/linux/drivers/net/ethernet/freescale/ |
A D | fec.h | 601 struct cyclecounter cc;
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A 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/drivers/net/ethernet/intel/igc/ |
A D | igc.h | 233 struct cyclecounter cc;
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | e1000.h | 326 struct cyclecounter cc;
|
/linux/drivers/net/ethernet/intel/igb/ |
A 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()
|