Searched refs:systim (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 198 ktime_t base_time, systim; in igc_tsn_enable_offload() local 376 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 377 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload() 378 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload() 395 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 398 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
|
D | igc_ptp.c | 445 u64 systim) in igc_ptp_systim_to_hwtstamp() argument 451 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 452 systim & 0xFFFFFFFF); in igc_ptp_systim_to_hwtstamp()
|
/linux-6.12.1/drivers/video/fbdev/omap/ |
D | hwa742.c | 638 unsigned long systim; in calc_reg_timing() local 648 systim = 1000000000 / (sysclk / 1000); in calc_reg_timing() 650 "extif_clk_div %d\n", systim, hwa742.extif_clk_period, div); in calc_reg_timing() 662 t->we_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); in calc_reg_timing() 665 t->re_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); in calc_reg_timing() 684 unsigned long systim; in calc_lut_timing() local 695 systim = 1000000000 / (sysclk / 1000); in calc_lut_timing() 697 "extif_clk_div %d\n", systim, hwa742.extif_clk_period, div); in calc_lut_timing() 707 t->access_time = round_to_extif_ticks(t->re_on_time + 4 * systim + in calc_lut_timing() 710 t->re_off_time = round_to_extif_ticks(t->re_on_time + 4 * systim + in calc_lut_timing() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 164 u64 systim) in igb_ptp_systim_to_hwtstamp() argument 177 ns = timecounter_cyc2time(&adapter->tc, systim); in igb_ptp_systim_to_hwtstamp() 185 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp() 186 systim & 0xFFFFFFFF); in igb_ptp_systim_to_hwtstamp() 499 u64 systim, now; in igb_ptp_feature_enable_82580() local 587 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_ptp_feature_enable_82580() 588 now = timecounter_cyc2time(&igb->tc, systim); in igb_ptp_feature_enable_82580() 599 systim = systim + (ns - rem); in igb_ptp_feature_enable_82580() 607 systim += ns; in igb_ptp_feature_enable_82580() 613 systim += ns; in igb_ptp_feature_enable_82580() [all …]
|
D | igb_main.c | 6870 u64 systim, now; in igb_perout() local 6876 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_perout() 6877 now = timecounter_cyc2time(&adapter->tc, systim); in igb_perout() 6888 systim = systim + (ns - rem); in igb_perout() 6896 systim += ns; in igb_perout() 6904 systim += ns; in igb_perout() 6913 ts.tv_nsec = (u32)systim; in igb_perout() 6914 ts.tv_sec = ((u32)(systim >> 32)) & 0xFF; in igb_perout()
|
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 496 u64 systim) in e1000e_systim_to_hwtstamp() argument 502 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp() 4345 static u64 e1000e_sanitize_systim(struct e1000_hw *hw, u64 systim, in e1000e_sanitize_systim() argument 4361 time_delta = systim_next - systim; in e1000e_sanitize_systim() 4366 systim = systim_next; in e1000e_sanitize_systim() 4372 return systim; in e1000e_sanitize_systim() 4386 u64 systim; in e1000e_read_systim() local 4410 systim = (u64)systimel; in e1000e_read_systim() 4411 systim |= (u64)systimeh << 32; in e1000e_read_systim() 4414 systim = e1000e_sanitize_systim(hw, systim, sts); in e1000e_read_systim() [all …]
|