/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 368 u64 stamp = 0; in ixgbe_ptp_read_82599() local 370 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read_82599() 371 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_read_82599() 373 return stamp; in ixgbe_ptp_read_82599() 564 u64 ns, stamp; in ixgbe_ptp_gettimex() local 582 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex() 586 stamp = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_gettimex() 588 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_gettimex() 592 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
|
/drivers/usb/mon/ |
D | mon_text.c | 185 unsigned int stamp; in mon_get_timestamp() local 188 stamp = now.tv_sec & 0xFFF; /* 2^32 = 4294967296. Limit to 4096s. */ in mon_get_timestamp() 189 stamp = stamp * USEC_PER_SEC + now.tv_nsec / NSEC_PER_USEC; in mon_get_timestamp() 190 return stamp; in mon_get_timestamp() 197 unsigned int stamp; in mon_text_event() local 202 stamp = mon_get_timestamp(); in mon_text_event() 217 ep->tstamp = stamp; in mon_text_event()
|
/drivers/net/can/softing/ |
D | softing_fw.c | 23 unsigned long stamp; in _softing_fct_cmd() local 30 stamp = jiffies + 1 * HZ; in _softing_fct_cmd() 42 if ((ret != vector) || time_after(jiffies, stamp)) in _softing_fct_cmd() 69 unsigned long stamp; in softing_bootloader_command() local 75 stamp = jiffies + 3 * HZ; in softing_bootloader_command() 83 if (time_after(jiffies, stamp)) in softing_bootloader_command()
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_tai.c | 63 struct timespec64 stamp; member 306 mvpp22_tai_gettimex64(ptp, &tai->stamp, NULL); in mvpp22_tai_aux_work() 355 ts.tv_sec = READ_ONCE(tai->stamp.tv_sec); in mvpp22_tai_tstamp()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gmc.c | 371 uint64_t stamp, key = amdgpu_gmc_fault_key(addr, pasid); in amdgpu_gmc_filter_faults() local 376 stamp = max(timestamp, AMDGPU_GMC_FAULT_TIMEOUT + 1) - in amdgpu_gmc_filter_faults() 378 if (gmc->fault_ring[gmc->last_fault].timestamp >= stamp) in amdgpu_gmc_filter_faults() 384 while (fault->timestamp >= stamp) { in amdgpu_gmc_filter_faults()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rx.c | 216 unsigned long stamp) in iwlagn_recover_from_statistics() argument 223 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics() 350 unsigned long stamp = jiffies; in iwlagn_rx_statistics() local 413 iwlagn_recover_from_statistics(priv, rx_ofdm, rx_ofdm_ht, tx, stamp); in iwlagn_rx_statistics() 428 priv->rx_statistics_jiffies = stamp; in iwlagn_rx_statistics()
|
D | rs.h | 286 unsigned long stamp; member
|
D | rs.c | 237 window->stamp = 0; in rs_rate_scale_clear_window() 519 window->stamp = jiffies; in rs_collect_tx_data()
|
/drivers/media/pci/saa7164/ |
D | saa7164-cmd.c | 249 unsigned long stamp; in saa7164_cmd_wait() local 267 stamp = jiffies; in saa7164_cmd_wait() 281 r = time_before(jiffies, stamp + (HZ * waitsecs)); in saa7164_cmd_wait()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-rs.c | 124 win->stamp = 0; in il3945_clear_win() 152 if (time_after(jiffies, rs_sta->win[i].stamp + RATE_WIN_FLUSH)) { in il3945_rate_scale_flush_wins() 310 win->stamp = jiffies; in il3945_collect_tx_data()
|
D | 3945.h | 58 unsigned long stamp; member
|
D | 4965-rs.c | 221 win->stamp = 0; in il4965_rs_rate_scale_clear_win() 473 win->stamp = jiffies; in il4965_rs_collect_tx_data()
|
D | common.h | 2735 unsigned long stamp; member
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 235 __be32 stamp = cpu_to_be32(STAMP_VAL | (!!owner << STAMP_SHIFT)); in mlx4_en_stamp_wqe() local 248 *ptr = stamp; in mlx4_en_stamp_wqe() 255 *ptr = stamp; in mlx4_en_stamp_wqe() 259 stamp ^= cpu_to_be32(0x80000000); in mlx4_en_stamp_wqe()
|
D | en_rx.c | 347 __be32 stamp = cpu_to_be32(1 << STAMP_SHIFT); in mlx4_en_activate_rx_rings() local 348 *ptr = stamp; in mlx4_en_activate_rx_rings()
|
/drivers/usb/host/ |
D | oxu210hp-hcd.c | 336 unsigned int stamp; member 451 unsigned int stamp; member 2180 if (!++(oxu->stamp)) in scan_async() 2181 oxu->stamp++; in scan_async() 2189 && qh->stamp != oxu->stamp) { in scan_async() 2198 qh->stamp = oxu->stamp; in scan_async() 2212 if (qh->stamp == oxu->stamp) in scan_async()
|
/drivers/net/can/ |
D | ti_hecc.c | 681 u32 mbxno, mbx_mask, int_status, err_status, stamp; in ti_hecc_interrupt() local 757 stamp = hecc_read_stamp(priv, mbxno); in ti_hecc_interrupt() 760 mbxno, stamp, NULL); in ti_hecc_interrupt()
|
/drivers/md/ |
D | dm-stats.c | 38 unsigned long long stamp; member 530 difference = now - shared->stamp; in dm_stat_round() 544 shared->stamp = now; in dm_stat_round()
|
/drivers/net/can/usb/ |
D | Kconfig | 118 PCAN-Chip USB CAN-FD to USB stamp module
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_hw.h | 314 void (*hw_get_ptp_ts)(struct aq_hw_s *self, u64 *stamp);
|
/drivers/net/ethernet/ti/ |
D | Kconfig | 90 The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_b0.c | 1240 static void hw_atl_b0_get_ptp_ts(struct aq_hw_s *self, u64 *stamp) in hw_atl_b0_get_ptp_ts() argument 1251 *stamp = ns + self->ptp_clk_offset; in hw_atl_b0_get_ptp_ts()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6133 u64 stamp; in tg3_refclk_read() local 6136 stamp = tr32(TG3_EAV_REF_CLCK_LSB); in tg3_refclk_read() 6138 stamp |= (u64)tr32(TG3_EAV_REF_CLCK_MSB) << 32; in tg3_refclk_read() 6140 return stamp; in tg3_refclk_read()
|