/linux-6.3-rc2/scripts/ |
A D | show_delta | 61 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),)
|
/linux-6.3-rc2/drivers/net/ethernet/engleder/ |
A D | tsnep_selftests.c | 159 u64 base_time = ktime_to_ns(qopt->base_time); in delay_base_time() local 166 qopt->base_time = ktime_add_ns(qopt->base_time, in delay_base_time() 252 start_before = prev->base_time; in check_gate() 364 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio() 386 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio() 410 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio() 461 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 480 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 486 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 494 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() [all …]
|
A D | tsnep_tc.c | 95 gcl->base_time = ktime_to_ns(qopt->base_time); in tsnep_write_gcl() 135 u64 start = gcl->base_time; in tsnep_gcl_start_after() 148 u64 start = gcl->base_time; in tsnep_gcl_start_before()
|
A D | tsnep.h | 29 u64 base_time; member
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_tas.c | 41 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() 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() 57 earliest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params() 487 dummy->base_time = gating_cfg->base_time; in sja1105_gating_check_conflicts() 618 u64 base_time) in sja1105_tas_set_base_time() argument 729 s64 base_time, now; in sja1105_tas_state_machine() local 760 base_time -= sja1105_delta_to_ns(1); in sja1105_tas_state_machine() [all …]
|
A D | sja1105_ptp.h | 39 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()
|
A D | sja1105_vl.h | 23 u64 base_time, u64 cycle_time, u64 cycle_time_ext, 55 u64 base_time, u64 cycle_time, in sja1105_vl_gate() argument
|
A D | sja1105_vl.c | 110 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() 584 u64 base_time, u64 cycle_time, u64 cycle_time_ext, in sja1105_vl_gate() argument 600 div_s64_rem(base_time, sja1105_delta_to_ns(1), &rem); in sja1105_vl_gate() 635 rule->vl.base_time = base_time; in sja1105_vl_gate()
|
A D | sja1105_tas.h | 36 s64 base_time; member
|
A D | sja1105.h | 231 u64 base_time; member
|
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/ |
A D | igc_tsn.c | 119 ktime_t base_time, systim; in igc_tsn_enable_offload() local 232 base_time = adapter->base_time; in igc_tsn_enable_offload() 238 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload() 239 s64 n = div64_s64(ktime_sub_ns(systim, base_time), cycle); in igc_tsn_enable_offload() 241 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload() 258 baset_h = div_s64_rem(base_time, NSEC_PER_SEC, &baset_l); in igc_tsn_enable_offload()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | am65-cpsw-qos.c | 372 cfg.ns_start = est_new->taprio.base_time; in am65_cpsw_timer_set() 404 if (!taprio_new->base_time && taprio_oper) in am65_cpsw_timer_act() 405 taprio_new->base_time = taprio_oper->base_time; in am65_cpsw_timer_act() 407 if (taprio_new->base_time == taprio_oper->base_time) in am65_cpsw_timer_act() 411 diff = taprio_new->base_time - taprio_oper->base_time; in am65_cpsw_timer_act() 417 if (taprio_new->base_time <= cur_time + taprio_new->cycle_time) in am65_cpsw_timer_act() 471 if (!est_new->taprio.base_time) in am65_cpsw_configure_taprio() 472 est_new->taprio.base_time = am65_cpts_ns_gettime(cpts); in am65_cpsw_configure_taprio()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_taprio.c | 447 ktime_t base_time; in lan966x_taprio_add() local 462 qopt->base_time, &base_time); in lan966x_taprio_add() 464 ts = ktime_to_timespec64(base_time); in lan966x_taprio_add()
|
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/ |
A D | tsn_lib.sh | 182 local base_time=$1; shift 231 --base-time ${base_time} \
|
/linux-6.3-rc2/net/sched/ |
A D | sch_taprio.c | 74 s64 base_time; member 163 return ns_to_ktime(sched->base_time); in sched_base_time() 217 time_since_sched_start = ktime_sub(time, sched->base_time); in get_cycle_time_elapsed() 238 ktime_after(admin->base_time, cycle_end) && in get_interval_end_time() 239 ktime_before(admin->base_time, cycle_ext_end)) in get_interval_end_time() 240 return admin->base_time; in get_interval_end_time() 488 if (admin && ktime_after(minimum_time, admin->base_time)) in get_packet_txtime() 492 if (!sched || ktime_before(minimum_time, sched->base_time)) { in get_packet_txtime() 517 ktime_after(txtime, admin->base_time)) { in get_packet_txtime() 1438 offload->base_time = sched->base_time; in taprio_sched_to_offload() [all …]
|
/linux-6.3-rc2/sound/drivers/ |
A D | dummy.c | 233 unsigned long base_time; member 253 delta = jiffies - dpcm->base_time; in dummy_systimer_update() 256 dpcm->base_time += delta; in dummy_systimer_update() 272 dpcm->base_time = jiffies; in dummy_systimer_start() 367 ktime_t base_time; member 397 dpcm->base_time = hrtimer_cb_get_time(&dpcm->timer); in dummy_hrtimer_start() 427 dpcm->base_time); in dummy_hrtimer_pointer()
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/ocelot/ |
A D | psfp.sh | 253 local base_time=$1 266 "${base_time}" \
|
/linux-6.3-rc2/drivers/media/pci/bt8xx/ |
A D | bttv-input.c | 193 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()
|
A D | bttvp.h | 131 ktime_t base_time; /* time of last seen code */ member
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_tc.c | 905 ktime_t base_time; in stmmac_calc_tas_basetime() local 909 base_time = ktime_add_ns(old_base_time, in stmmac_calc_tas_basetime() 912 time = ktime_to_timespec64(base_time); in stmmac_calc_tas_basetime() 929 if (qopt->base_time < 0) in tc_setup_taprio() 1027 time = stmmac_calc_tas_basetime(qopt->base_time, current_time_ns, in tc_setup_taprio() 1033 qopt_time = ktime_to_timespec64(qopt->base_time); in tc_setup_taprio()
|
/linux-6.3-rc2/drivers/net/dsa/hirschmann/ |
A D | hellcreek.c | 1673 base_time_ns = ktime_to_ns(hellcreek_port->current_schedule->base_time); in hellcreek_schedule_startable() 1681 ktime_t base_time, current_time; in hellcreek_start_schedule() local 1694 base_time = hellcreek_port->current_schedule->base_time; in hellcreek_start_schedule() 1697 if (ktime_compare(current_time, base_time) > 0) { in hellcreek_start_schedule() 1700 n = div64_s64(ktime_sub_ns(current_time, base_time), in hellcreek_start_schedule() 1702 base_time = ktime_add_ns(base_time, (n + 1) * cycle_time); in hellcreek_start_schedule() 1706 hellcreek_switch_schedule(hellcreek, base_time); in hellcreek_start_schedule()
|
/linux-6.3-rc2/Documentation/networking/dsa/ |
A D | sja1105.rst | 163 base_time="$(((${sec} + 1) * ${NSEC_PER_SEC}))" 169 base-time ${base_time} \ 248 base_time="$(((sec + 2) * 1000000000))" && \ 249 echo "base time ${base_time}" 252 action gate base-time ${base_time} \ 261 base_time="$(((sec + 2) * 1000000000))" && \ 262 echo "base time ${base_time}" 267 base-time ${base_time} \
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | pxa3xx-gcu.c | 95 struct timespec64 base_time; member 122 ts = timespec64_sub(ts, priv->base_time); \ 157 ktime_get_ts64(&priv->base_time); in pxa3xx_gcu_reset()
|
/linux-6.3-rc2/include/net/ |
A D | pkt_sched.h | 198 ktime_t base_time; member
|
/linux-6.3-rc2/drivers/net/dsa/ocelot/ |
A D | felix_vsc9959.c | 1379 static void vsc9959_new_base_time(struct ocelot *ocelot, ktime_t base_time, in vsc9959_new_base_time() argument 1389 new_base_time = base_time; in vsc9959_new_base_time() 1391 if (base_time < current_time) { in vsc9959_new_base_time() 1392 u64 nr_of_cycles = current_time - base_time; in vsc9959_new_base_time() 1483 vsc9959_new_base_time(ocelot, taprio->base_time, in vsc9959_qos_port_tas_set() 1542 vsc9959_new_base_time(ocelot, taprio->base_time, in vsc9959_tas_clock_adjust()
|