Searched refs:systim (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/video/fbdev/omap/ |
| H A 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/drivers/net/ethernet/intel/igb/ |
| H A 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 586 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_ptp_feature_enable_82580() 587 now = timecounter_cyc2time(&igb->tc, systim); in igb_ptp_feature_enable_82580() 598 systim = systim + (ns - rem); in igb_ptp_feature_enable_82580() 606 systim += ns; in igb_ptp_feature_enable_82580() 612 systim += ns; in igb_ptp_feature_enable_82580() [all …]
|
| H A D | igb_main.c | 6959 u64 systim, now; in igb_perout() local 6965 systim = (((u64)(systimh & 0xFF)) << 32) | ((u64)systiml); in igb_perout() 6966 now = timecounter_cyc2time(&adapter->tc, systim); in igb_perout() 6977 systim = systim + (ns - rem); in igb_perout() 6985 systim += ns; in igb_perout() 6993 systim += ns; in igb_perout() 7002 ts.tv_nsec = (u32)systim; in igb_perout() 7003 ts.tv_sec = ((u32)(systim >> 32)) & 0xFF; in igb_perout()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 451 ktime_t base_time, systim; in igc_tsn_enable_offload() local 625 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 626 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload() 627 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload() 644 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 647 expires_time = ktime_sub_ns(adjust_time, systim); in igc_tsn_enable_offload()
|
| H A D | igc_ptp.c | 434 u64 systim) in igc_ptp_systim_to_hwtstamp() argument 440 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 441 systim & 0xFFFFFFFF); in igc_ptp_systim_to_hwtstamp()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | netdev.c | 497 u64 systim) in e1000e_systim_to_hwtstamp() argument 503 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp() 4359 static u64 e1000e_sanitize_systim(struct e1000_hw *hw, u64 systim, in e1000e_sanitize_systim() argument 4375 time_delta = systim_next - systim; in e1000e_sanitize_systim() 4380 systim = systim_next; in e1000e_sanitize_systim() 4386 return systim; in e1000e_sanitize_systim() 4400 u64 systim; in e1000e_read_systim() local 4424 systim = (u64)systimel; in e1000e_read_systim() 4425 systim |= (u64)systimeh << 32; in e1000e_read_systim() 4428 systim = e1000e_sanitize_systim(hw, systim, sts); in e1000e_read_systim() [all …]
|