Home
last modified time | relevance | path

Searched refs:base_time (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/scripts/
Dshow_delta61 def convert_line(line, base_time): argument
70 if base_time:
72 delta = time - base_time
105 base_time = float(base_str)
115 base_time = time
123 base_time = 0.0
126 print (convert_line(line, base_time),)
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_tsn.c68 ktime_t base_time, systim; in igc_tsn_enable_offload() local
75 base_time = adapter->base_time; in igc_tsn_enable_offload()
95 if (adapter->base_time) { in igc_tsn_enable_offload()
116 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload()
119 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload()
120 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
123 baset_h = div_s64_rem(base_time, NSEC_PER_SEC, &baset_l); in igc_tsn_enable_offload()
135 bool is_any_enabled = adapter->base_time || is_any_launchtime(adapter); in igc_tsn_offload_apply()
Digc_main.c903 ktime_t base_time = adapter->base_time; in igc_tx_launchtime() local
912 div_s64_rem(ktime_sub_ns(txtime, base_time), cycle_time, &launchtime); in igc_tx_launchtime()
4722 if (adapter->base_time) in igc_save_launchtime_params()
4736 static bool is_base_time_past(ktime_t base_time, const struct timespec64 *now) in is_base_time_past() argument
4740 b = ktime_to_timespec64(base_time); in is_base_time_past()
4762 if (!is_base_time_past(qopt->base_time, &now)) in validate_schedule()
4812 adapter->base_time = 0; in igc_save_qbv_schedule()
4816 if (adapter->base_time) in igc_save_qbv_schedule()
4823 adapter->base_time = qopt->base_time; in igc_save_qbv_schedule()
Digc.h166 ktime_t base_time; member
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_tas.c41 if (latest_base_time < offload->base_time) in sja1105_tas_set_runtime_params()
42 latest_base_time = offload->base_time; in sja1105_tas_set_runtime_params()
43 if (earliest_base_time > offload->base_time) { in sja1105_tas_set_runtime_params()
44 earliest_base_time = offload->base_time; in sja1105_tas_set_runtime_params()
54 if (latest_base_time < gating_cfg->base_time) in sja1105_tas_set_runtime_params()
55 latest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params()
56 if (earliest_base_time > gating_cfg->base_time) { in sja1105_tas_set_runtime_params()
57 earliest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params()
287 rbt = future_base_time(offload->base_time, in sja1105_init_scheduling()
329 rbt = future_base_time(gating_cfg->base_time, in sja1105_init_scheduling()
[all …]
Dsja1105_ptp.h39 static inline s64 future_base_time(s64 base_time, s64 cycle_time, s64 now) in future_base_time() argument
43 if (base_time >= now) in future_base_time()
44 return base_time; in future_base_time()
46 a = now - base_time; in future_base_time()
50 return base_time + n * cycle_time; in future_base_time()
Dsja1105_vl.h23 u64 base_time, u64 cycle_time, u64 cycle_time_ext,
55 u64 base_time, u64 cycle_time, in sja1105_vl_gate() argument
Dsja1105_vl.c110 its_base_time = rule->vl.base_time; in sja1105_compose_gating_subschedule()
120 gating_cfg->base_time = its_base_time; in sja1105_compose_gating_subschedule()
137 rbt = future_base_time(rule->vl.base_time, rule->vl.cycle_time, in sja1105_compose_gating_subschedule()
570 u64 base_time, u64 cycle_time, u64 cycle_time_ext, in sja1105_vl_gate() argument
584 div_s64_rem(base_time, sja1105_delta_to_ns(1), &rem); in sja1105_vl_gate()
622 rule->vl.base_time = base_time; in sja1105_vl_gate()
Dsja1105_tas.h36 s64 base_time; member
Dsja1105.h173 u64 base_time; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c371 cfg.ns_start = est_new->taprio.base_time; in am65_cpsw_timer_set()
403 if (!taprio_new->base_time && taprio_oper) in am65_cpsw_timer_act()
404 taprio_new->base_time = taprio_oper->base_time; in am65_cpsw_timer_act()
406 if (taprio_new->base_time == taprio_oper->base_time) in am65_cpsw_timer_act()
410 diff = taprio_new->base_time - taprio_oper->base_time; in am65_cpsw_timer_act()
416 if (taprio_new->base_time <= cur_time + taprio_new->cycle_time) in am65_cpsw_timer_act()
473 if (!est_new->taprio.base_time) in am65_cpsw_configure_taprio()
474 est_new->taprio.base_time = am65_cpts_ns_gettime(cpts); in am65_cpsw_configure_taprio()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c736 if (ktime_after(qopt->base_time, current_time_ns)) { in tc_setup_taprio()
737 time = ktime_to_timespec64(qopt->base_time); in tc_setup_taprio()
739 ktime_t base_time; in tc_setup_taprio() local
742 n = div64_s64(ktime_sub_ns(current_time_ns, qopt->base_time), in tc_setup_taprio()
744 base_time = ktime_add_ns(qopt->base_time, in tc_setup_taprio()
747 time = ktime_to_timespec64(base_time); in tc_setup_taprio()
/kernel/linux/linux-5.10/net/sched/
Dsch_taprio.c59 s64 base_time; member
94 return ns_to_ktime(sched->base_time); in sched_base_time()
151 time_since_sched_start = ktime_sub(time, sched->base_time); in get_cycle_time_elapsed()
172 ktime_after(admin->base_time, cycle_end) && in get_interval_end_time()
173 ktime_before(admin->base_time, cycle_ext_end)) in get_interval_end_time()
174 return admin->base_time; in get_interval_end_time()
365 if (admin && ktime_after(minimum_time, admin->base_time)) in get_packet_txtime()
369 if (!sched || ktime_before(minimum_time, sched->base_time)) { in get_packet_txtime()
394 ktime_after(txtime, admin->base_time)) { in get_packet_txtime()
720 if (unlikely(!entry || entry->close_time == oper->base_time)) { in advance_sched()
[all …]
/kernel/linux/linux-5.10/sound/drivers/
Ddummy.c226 unsigned long base_time; member
246 delta = jiffies - dpcm->base_time; in dummy_systimer_update()
249 dpcm->base_time += delta; in dummy_systimer_update()
265 dpcm->base_time = jiffies; in dummy_systimer_start()
360 ktime_t base_time; member
390 dpcm->base_time = hrtimer_cb_get_time(&dpcm->timer); in dummy_hrtimer_start()
420 dpcm->base_time); in dummy_hrtimer_pointer()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-input.c193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end()
250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq()
276 ir->base_time = tv; in bttv_rc5_irq()
Dbttvp.h131 ktime_t base_time; /* time of last seen code */ member
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dpxa3xx-gcu.c95 struct timespec64 base_time; member
122 ts = timespec64_sub(ts, priv->base_time); \
157 ktime_get_ts64(&priv->base_time); in pxa3xx_gcu_reset()
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1153 static void vsc9959_new_base_time(struct ocelot *ocelot, ktime_t base_time, in vsc9959_new_base_time() argument
1163 new_base_time = base_time; in vsc9959_new_base_time()
1165 if (base_time < current_time) { in vsc9959_new_base_time()
1166 u64 nr_of_cycles = current_time - base_time; in vsc9959_new_base_time()
1236 vsc9959_new_base_time(ocelot, taprio->base_time, in vsc9959_qos_port_tas_set()
/kernel/linux/linux-5.10/include/net/
Dpkt_sched.h169 ktime_t base_time; member
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Dsja1105.rst377 base_time="$(((${sec} + 1) * ${NSEC_PER_SEC}))"
383 base-time ${base_time} \
462 base_time="$(((sec + 2) * 1000000000))" && \
463 echo "base time ${base_time}"
466 action gate base-time ${base_time} \
475 base_time="$(((sec + 2) * 1000000000))" && \
476 echo "base time ${base_time}"
481 base-time ${base_time} \
/kernel/linux/linux-5.10/fs/f2fs/
Dsegment.h822 bool base_time) in get_mtime() argument
831 if (!base_time) { in get_mtime()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch2019 + sgi.admin.base_time =
2242 + sgiadmin.admin.base_time) ||
2437 + sgistat.oper.base_time) ||
2795 + qbvconfig.admin.base_time =
2964 + if (qbvconf.admin.base_time)
2966 + qbvconf.admin.base_time))
3103 + if (qbvstatus.oper.base_time) {
3105 + qbvstatus.oper.base_time))
4188 + qbvdata->admin.base_time);
D0005_linux_include.patch23730 + ptptime_t base_time;
24044 + ptptime_t base_time;
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c95 gcl_data->btl = cpu_to_le32(lower_32_bits(admin_conf->base_time)); in enetc_setup_taprio()
96 gcl_data->bth = cpu_to_le32(upper_32_bits(admin_conf->base_time)); in enetc_setup_taprio()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-trace.c143 u64 base_time; member
1508 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in __trace__fprintf_tstamp()
2941 if (trace->base_time == 0 && !trace->full_time &&
2943 trace->base_time = sample->time;