Searched refs:cyclecounter (Results 1 – 22 of 22) sorted by relevance
/linux-4.4.14/include/linux/ |
D | timecounter.h | 39 struct cyclecounter { struct 40 cycle_t (*read)(const struct cyclecounter *cc); argument 65 const struct cyclecounter *cc; 79 static inline u64 cyclecounter_cyc2ns(const struct cyclecounter *cc, in cyclecounter_cyc2ns() 109 const struct cyclecounter *cc,
|
/linux-4.4.14/kernel/time/ |
D | timecounter.c | 22 const struct cyclecounter *cc, in timecounter_init() 82 static u64 cc_cyc2ns_backwards(const struct cyclecounter *cc, in cc_cyc2ns_backwards()
|
/linux-4.4.14/drivers/clocksource/ |
D | arm_arch_timer.c | 432 static cycle_t arch_counter_read_cc(const struct cyclecounter *cc) in arch_counter_read_cc() 445 static struct cyclecounter cyclecounter = { variable 480 cyclecounter.mult = clocksource_counter.mult; in arch_counter_register() 481 cyclecounter.shift = clocksource_counter.shift; in arch_counter_register() 482 timecounter_init(&timecounter, &cyclecounter, start_count); in arch_counter_register()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 125 static cycle_t 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 | 871 struct cyclecounter tstamp_cc;
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | timer.c | 201 static cycle_t xilinx_cc_read(const struct cyclecounter *cc) in xilinx_cc_read() 206 static struct cyclecounter xilinx_cc = {
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | cpts.h | 119 struct cyclecounter cc;
|
D | cpts.c | 104 static cycle_t cpts_systim_read(const struct cyclecounter *cc) in cpts_systim_read()
|
/linux-4.4.14/sound/hda/ |
D | hdac_stream.c | 468 static cycle_t azx_cc_read(const struct cyclecounter *cc) in azx_cc_read() 479 struct cyclecounter *cc = &azx_dev->cc; in azx_timecounter_init()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 41 static cycle_t mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock()
|
D | mlx4_en.h | 409 struct cyclecounter cycles;
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | fec.h | 532 struct cyclecounter cc;
|
D | fec_ptp.c | 233 static cycle_t fec_ptp_read(const struct cyclecounter *cc) in fec_ptp_read()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb.h | 440 struct cyclecounter cc;
|
D | igb_ptp.c | 80 static cycle_t igb_ptp_read_82576(const struct cyclecounter *cc) in igb_ptp_read_82576() 97 static cycle_t igb_ptp_read_82580(const struct cyclecounter *cc) in igb_ptp_read_82580()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 345 struct cyclecounter cc;
|
D | netdev.c | 4278 static cycle_t e1000e_cyclecounter_read(const struct cyclecounter *cc) in e1000e_cyclecounter_read()
|
/linux-4.4.14/include/sound/ |
D | hdaudio.h | 425 struct cyclecounter cc;
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 192 static cycle_t ixgbe_ptp_read(const struct cyclecounter *cc) in ixgbe_ptp_read()
|
D | ixgbe.h | 758 struct cyclecounter cc;
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 1935 struct cyclecounter cyclecounter; member
|
D | bnx2x_main.c | 13740 timecounter_init(&bp->timecounter, &bp->cyclecounter, ns); in bnx2x_ptp_settime() 15127 static cycle_t bnx2x_cyclecounter_read(const struct cyclecounter *cc) in bnx2x_cyclecounter_read() 15129 struct bnx2x *bp = container_of(cc, struct bnx2x, cyclecounter); in bnx2x_cyclecounter_read() 15146 memset(&bp->cyclecounter, 0, sizeof(bp->cyclecounter)); in bnx2x_init_cyclecounter() 15147 bp->cyclecounter.read = bnx2x_cyclecounter_read; in bnx2x_init_cyclecounter() 15148 bp->cyclecounter.mask = CYCLECOUNTER_MASK(64); in bnx2x_init_cyclecounter() 15149 bp->cyclecounter.shift = 1; in bnx2x_init_cyclecounter() 15150 bp->cyclecounter.mult = 1; in bnx2x_init_cyclecounter() 15386 timecounter_init(&bp->timecounter, &bp->cyclecounter, in bnx2x_init_ptp()
|