Home
last modified time | relevance | path

Searched refs:PSEC_PER_NSEC (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/linux/
Dtime64.h24 #define PSEC_PER_NSEC 1000L macro
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_hwtstamp.c84 DIV_U64_ROUND_CLOSEST(scaled_ns * PSEC_PER_NSEC, 466U); in hwtstamp_correct_latency()
/linux-6.6.21/net/sched/
Dsch_taprio.c252 return div_u64(len * atomic64_read(&q->picos_per_byte), PSEC_PER_NSEC); in length_to_duration()
257 return div_u64(duration * PSEC_PER_NSEC, atomic64_read(&q->picos_per_byte)); in duration_to_length()
680 budget = div64_u64((u64)entry->gate_duration[tc] * PSEC_PER_NSEC, in taprio_set_budgets()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1076 return (gate_len_ns - VSC9959_TAS_MIN_GATE_LEN_NS) * PSEC_PER_NSEC; in vsc9959_tas_remaining_gate_len_ps()