/openbmc/linux/include/linux/ |
H 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,
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_mock.c | 40 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()
|
H A D | ptp_vclock.c | 167 static u64 ptp_vclock_read(const struct cyclecounter *cc) in ptp_vclock_read() 178 static const struct cyclecounter ptp_vclock_cc = {
|
H A D | ptp_private.h | 67 struct cyclecounter cc;
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-timestamp.c | 14 static u64 mcp251xfd_timestamp_raw_read(const struct cyclecounter *cc) in mcp251xfd_timestamp_raw_read() 44 struct cyclecounter *cc = &priv->cc; in mcp251xfd_timestamp_init()
|
/openbmc/linux/kernel/time/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 125 static u64 xgbe_cc_read(const struct cyclecounter *cc) in xgbe_cc_read() 219 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register()
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | timer.c | 196 static u64 xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read() 201 static struct cyclecounter xilinx_cc = {
|
/openbmc/linux/drivers/net/ethernet/cavium/common/ |
H A D | cavium_ptp.h | 17 struct cyclecounter cycle_counter;
|
H 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()
|
/openbmc/linux/drivers/clocksource/ |
H A D | arm_arch_timer.c | 246 static u64 arch_counter_read_cc(const struct cyclecounter *cc) in arch_counter_read_cc() 259 static struct cyclecounter cyclecounter __ro_after_init = { 1139 cyclecounter.mask = CLOCKSOURCE_MASK(width); in arch_counter_register() 1145 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register() 1146 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register() 1148 &cyclecounter, start_count); in arch_counter_register()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 162 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()
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 141 static u64 mv88e6352_ptp_clock_read(const struct cyclecounter *cc) in mv88e6352_ptp_clock_read() 155 static u64 mv88e6165_ptp_clock_read(const struct cyclecounter *cc) in mv88e6165_ptp_clock_read() 489 static u64 mv88e6xxx_ptp_clock_read(const struct cyclecounter *cc) in mv88e6xxx_ptp_clock_read()
|
H A D | chip.h | 398 struct cyclecounter tstamp_cc; 708 u64 (*clock_read)(const struct cyclecounter *cc);
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpts.h | 109 struct cyclecounter cc;
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.h | 83 struct cyclecounter cc;
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ptp.c | 195 static u64 ptp_cc_read(const struct cyclecounter *cc) in ptp_cc_read() 371 struct cyclecounter *cc; in otx2_ptp_init()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 13 struct cyclecounter cc; 184 static u64 qede_ptp_read_cc(const struct cyclecounter *cc) in qede_ptp_read_cc()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_clock.c | 41 static u64 mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock()
|
/openbmc/linux/sound/hda/ |
H A D | hdac_stream.c | 610 static u64 azx_cc_read(const struct cyclecounter *cc) in azx_cc_read() 621 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init()
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | 329 struct cyclecounter cc; 420 static u64 gs_usb_timestamp_read(const struct cyclecounter *cc) __must_hold(&dev->tc_lock) in gs_usb_timestamp_read() 470 struct cyclecounter *cc = &parent->cc; in gs_usb_timestamp_init()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.h | 237 struct cyclecounter cc;
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec.h | 654 struct cyclecounter cc;
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 328 struct cyclecounter cc;
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 264 struct cyclecounter cc;
|