Home
last modified time | relevance | path

Searched refs:picos_per_byte (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/net/sched/
Dsch_taprio.c70 atomic64_t picos_per_byte; /* Using picoseconds because for 10Gbps+ member
180 return div_u64(len * atomic64_read(&q->picos_per_byte), PSEC_PER_NSEC); in length_to_duration()
551 atomic64_read(&q->picos_per_byte))); in taprio_set_budget()
1068 int picos_per_byte; in taprio_set_picos_per_byte() local
1079 picos_per_byte = (USEC_PER_SEC * 8) / speed; in taprio_set_picos_per_byte()
1081 atomic64_set(&q->picos_per_byte, picos_per_byte); in taprio_set_picos_per_byte()
1083 dev->name, (long long)atomic64_read(&q->picos_per_byte), in taprio_set_picos_per_byte()
/Linux-v6.1/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1216 int speed, picos_per_byte; in vsc9959_tas_guard_bands_update() local
1246 picos_per_byte = (USEC_PER_SEC * 8) / speed; in vsc9959_tas_guard_bands_update()
1256 needed_bit_time_ps = (maxlen + 24) * picos_per_byte; in vsc9959_tas_guard_bands_update()
1295 max_sdu = div_u64(remaining_gate_len_ps, picos_per_byte); in vsc9959_tas_guard_bands_update()