Searched refs:systim (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/video/fbdev/omap/
H A Dhwa742.c638 unsigned long systim; calc_reg_timing() local
648 systim = 1000000000 / (sysclk / 1000); calc_reg_timing()
649 dev_dbg(hwa742.fbdev->dev, "HWA742 systim %lu ps extif_clk_period %u ps" calc_reg_timing()
650 "extif_clk_div %d\n", systim, hwa742.extif_clk_period, div); calc_reg_timing()
662 t->we_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); calc_reg_timing()
665 t->re_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); calc_reg_timing()
684 unsigned long systim; calc_lut_timing() local
695 systim = 1000000000 / (sysclk / 1000); calc_lut_timing()
696 dev_dbg(hwa742.fbdev->dev, "HWA742 systim %lu ps extif_clk_period %u ps" calc_lut_timing()
697 "extif_clk_div %d\n", systim, hwa742.extif_clk_period, div); calc_lut_timing()
707 t->access_time = round_to_extif_ticks(t->re_on_time + 4 * systim + calc_lut_timing()
710 t->re_off_time = round_to_extif_ticks(t->re_on_time + 4 * systim + calc_lut_timing()
713 t->we_cycle_time = round_to_extif_ticks(2 * systim + 2000, div); calc_lut_timing()
716 t->re_cycle_time = round_to_extif_ticks(2000 + 4 * systim + 26000, div); calc_lut_timing()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c153 * @systim: unsigned 64bit system time value.
168 u64 systim) igb_ptp_systim_to_hwtstamp()
180 ns = timecounter_cyc2time(&adapter->tc, systim); igb_ptp_systim_to_hwtstamp()
191 hwtstamps->hwtstamp = ktime_set(systim >> 32, igb_ptp_systim_to_hwtstamp()
192 systim & 0xFFFFFFFF); igb_ptp_systim_to_hwtstamp()
166 igb_ptp_systim_to_hwtstamp(struct igb_adapter *adapter, struct skb_shared_hwtstamps *hwtstamps, u64 systim) igb_ptp_systim_to_hwtstamp() argument
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c501 * @systim: unsigned 64bit system time value.
513 u64 systim) e1000e_systim_to_hwtstamp()
519 ns = timecounter_cyc2time(&adapter->tc, systim); e1000e_systim_to_hwtstamp()
4079 /* initialize systim and reset the ns time counter */ e1000e_reset()
4284 cycle_t systim, systim_next; e1000e_cyclecounter_read() local
4296 systim = (cycle_t)systimel_1; e1000e_cyclecounter_read()
4297 systim |= (cycle_t)systimeh << 32; e1000e_cyclecounter_read()
4303 systim = (cycle_t)systimel_2; e1000e_cyclecounter_read()
4304 systim |= (cycle_t)systimeh << 32; e1000e_cyclecounter_read()
4321 time_delta = systim_next - systim; e1000e_cyclecounter_read()
4325 systim = systim_next; e1000e_cyclecounter_read()
4332 return systim; e1000e_cyclecounter_read()
511 e1000e_systim_to_hwtstamp(struct e1000_adapter *adapter, struct skb_shared_hwtstamps *hwtstamps, u64 systim) e1000e_systim_to_hwtstamp() argument

Completed in 262 milliseconds