Searched refs:systim (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 119 ktime_t base_time, systim; in igc_tsn_enable_offload() local 260 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 261 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload() 262 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload() 287 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 290 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
|
D | igc_ptp.c | 444 u64 systim) in igc_ptp_systim_to_hwtstamp() argument 450 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 451 systim & 0xFFFFFFFF); in igc_ptp_systim_to_hwtstamp()
|
/Linux-v6.6/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-v6.6/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 | 6890 u64 systim, now; in igb_perout() local 6896 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_perout() 6897 now = timecounter_cyc2time(&adapter->tc, systim); in igb_perout() 6908 systim = systim + (ns - rem); in igb_perout() 6916 systim += ns; in igb_perout() 6924 systim += ns; in igb_perout() 6933 ts.tv_nsec = (u32)systim; in igb_perout() 6934 ts.tv_sec = ((u32)(systim >> 32)) & 0xFF; in igb_perout()
|
/Linux-v6.6/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() 4347 static u64 e1000e_sanitize_systim(struct e1000_hw *hw, u64 systim, in e1000e_sanitize_systim() argument 4363 time_delta = systim_next - systim; in e1000e_sanitize_systim() 4368 systim = systim_next; in e1000e_sanitize_systim() 4374 return systim; in e1000e_sanitize_systim() 4388 u64 systim; in e1000e_read_systim() local 4412 systim = (u64)systimel; in e1000e_read_systim() 4413 systim |= (u64)systimeh << 32; in e1000e_read_systim() 4416 systim = e1000e_sanitize_systim(hw, systim, sts); in e1000e_read_systim() [all …]
|