Lines Matching defs:txtime
326 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time;
360 txtime = entry->next_txtime;
362 if (ktime_before(txtime, time) || validate_interval) {
380 } else if (ktime_before(txtime, earliest_txtime) &&
382 earliest_txtime = txtime;
384 n = div_s64(ktime_sub(txtime, curr_intv_start), cycle);
417 /* txtime-assist and full offload are mutually exclusive */
459 /* There are a few scenarios where we will have to modify the txtime from
461 * 1. If txtime is in the past,
465 * in the cycle, set the txtime of packet to the interval start.
466 * 2. If txtime is in the future, there are packets corresponding to the
469 * a. We can transmit the packet before the window containing the txtime
479 ktime_t minimum_time, now, txtime;
498 txtime = minimum_time;
513 txtime = 0;
517 txtime = entry->next_txtime;
518 txtime = max_t(ktime_t, txtime, minimum_time);
519 txtime = max_t(ktime_t, txtime, interval_start);
522 ktime_after(txtime, admin->base_time)) {
528 transmit_end_time = ktime_add(txtime, packet_transmit_time);
531 /* Update the txtime of current entry to the next time it's
542 return txtime;
1206 /* For some reason, in txtime-assist mode, we allow TXQ ranges for
1612 * For txtime-assist, it is implicitly assumed that the device's PHC is kept
1614 * For both software taprio and txtime-assist, the clockid is used for the
1948 NL_SET_ERR_MSG_MOD(extack, "txtime-delay can only be set when txtime-assist mode is enabled");