Home
last modified time | relevance | path

Searched refs:threshold_time (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_qos.c15 * We define threshold_time as current_time + (2 * cycle_time).
16 * If base_time is below threshold_time this function recalculates it to be in
18 * threshold_time <= base_time < (threshold_time + cycle_time)
22 * using the lowest N so (new_base_time >= threshold_time
27 ktime_t current_time, threshold_time, new_time; in sparx5_new_base_time() local
37 threshold_time = current_time + (2 * cycle_time); in sparx5_new_base_time()
38 diff_time = threshold_time - new_time; in sparx5_new_base_time()
42 if (new_time >= threshold_time) { in sparx5_new_base_time()
57 if (new_time < threshold_time) { in sparx5_new_base_time()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_taprio.c377 ktime_t current_time, threshold_time; in lan966x_taprio_new_base_time() local
380 /* Get the current time and calculate the threshold_time */ in lan966x_taprio_new_base_time()
383 threshold_time = current_time + (2 * cycle_time); in lan966x_taprio_new_base_time()
386 if (org_base_time >= threshold_time) { in lan966x_taprio_new_base_time()
401 *new_base_time = threshold_time + rem; in lan966x_taprio_new_base_time()
406 * threshold_time. In this case the new_base_time is calculated like in lan966x_taprio_new_base_time()

Completed in 3 milliseconds