Home
last modified time | relevance | path

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

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