Home
last modified time | relevance | path

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

/Linux-v5.10/net/sched/
Dsch_cbs.c67 #define BYTES_PER_KBIT (1000LL / 8) macro
323 port_rate = speed * 1000 * BYTES_PER_KBIT; in cbs_set_port_rate()
393 q->idleslope = qopt->idleslope * BYTES_PER_KBIT; in cbs_change()
394 q->sendslope = qopt->sendslope * BYTES_PER_KBIT; in cbs_change()
463 opt.sendslope = div64_s64(q->sendslope, BYTES_PER_KBIT); in cbs_dump()
464 opt.idleslope = div64_s64(q->idleslope, BYTES_PER_KBIT); in cbs_dump()
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c1643 #define BYTES_PER_KBIT (1000LL / 8) macro
1697 cbs->idle_slope = offload->idleslope * BYTES_PER_KBIT; in sja1105_setup_tc_cbs()
1698 cbs->send_slope = abs(offload->sendslope * BYTES_PER_KBIT); in sja1105_setup_tc_cbs()