Lines Matching defs:txtime
199 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time;
233 txtime = entry->next_txtime;
235 if (ktime_before(txtime, time) || validate_interval) {
253 } else if (ktime_before(txtime, earliest_txtime) &&
255 earliest_txtime = txtime;
257 n = div_s64(ktime_sub(txtime, curr_intv_start), cycle);
290 /* txtime-assist and full offload are mutually exclusive */
332 /* There are a few scenarios where we will have to modify the txtime from
334 * 1. If txtime is in the past,
338 * in the cycle, set the txtime of packet to the interval start.
339 * 2. If txtime is in the future, there are packets corresponding to the
342 * a. We can transmit the packet before the window containing the txtime
352 ktime_t minimum_time, now, txtime;
371 txtime = minimum_time;
386 txtime = 0;
390 txtime = entry->next_txtime;
391 txtime = max_t(ktime_t, txtime, minimum_time);
392 txtime = max_t(ktime_t, txtime, interval_start);
395 ktime_after(txtime, admin->base_time)) {
401 transmit_end_time = ktime_add(txtime, packet_transmit_time);
404 /* Update the txtime of current entry to the next time it's
415 return txtime;
1315 * For txtime-assist, it is implicitly assumed that the device's PHC is kept
1317 * For both software taprio and txtime-assist, the clockid is used for the
1541 NL_SET_ERR_MSG_MOD(extack, "txtime-delay can only be set when txtime-assist mode is enabled");