Home
last modified time | relevance | path

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

/Linux-v6.1/net/sched/
Dsch_cbs.c68 #define BYTES_PER_KBIT (1000LL / 8) macro
324 port_rate = speed * 1000 * BYTES_PER_KBIT; in cbs_set_port_rate()
394 q->idleslope = qopt->idleslope * BYTES_PER_KBIT; in cbs_change()
395 q->sendslope = qopt->sendslope * BYTES_PER_KBIT; in cbs_change()
464 opt.sendslope = div64_s64(q->sendslope, BYTES_PER_KBIT); in cbs_dump()
465 opt.idleslope = div64_s64(q->idleslope, BYTES_PER_KBIT); in cbs_dump()
/Linux-v6.1/drivers/net/dsa/sja1105/
Dsja1105_main.c2124 #define BYTES_PER_KBIT (1000LL / 8) macro
2178 cbs->idle_slope = offload->idleslope * BYTES_PER_KBIT; in sja1105_setup_tc_cbs()
2179 cbs->send_slope = abs(offload->sendslope * BYTES_PER_KBIT); in sja1105_setup_tc_cbs()