Searched refs:picos_per_byte (Results 1 – 2 of 2) sorted by relevance
92 atomic64_t picos_per_byte; /* Using picoseconds because for 10Gbps+ member254 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()670 atomic64_read(&q->picos_per_byte)); in taprio_set_budgets()1291 int picos_per_byte; in taprio_set_picos_per_byte() local1302 picos_per_byte = (USEC_PER_SEC * 8) / speed; in taprio_set_picos_per_byte()1304 atomic64_set(&q->picos_per_byte, picos_per_byte); in taprio_set_picos_per_byte()1306 dev->name, (long long)atomic64_read(&q->picos_per_byte), in taprio_set_picos_per_byte()
1221 int speed, picos_per_byte; in vsc9959_tas_guard_bands_update() local1250 picos_per_byte = (USEC_PER_SEC * 8) / speed; in vsc9959_tas_guard_bands_update()1260 needed_bit_time_ps = (u64)(maxlen + 24) * picos_per_byte; in vsc9959_tas_guard_bands_update()1267 needed_min_frag_time_ps = picos_per_byte * in vsc9959_tas_guard_bands_update()1308 max_sdu = div_u64(remaining_gate_len_ps, picos_per_byte); in vsc9959_tas_guard_bands_update()