Home
last modified time | relevance | path

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

/linux/net/sched/
A 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/drivers/net/dsa/sja1105/
A Dsja1105_main.c2087 #define BYTES_PER_KBIT (1000LL / 8) macro
2141 cbs->idle_slope = offload->idleslope * BYTES_PER_KBIT; in sja1105_setup_tc_cbs()
2142 cbs->send_slope = abs(offload->sendslope * BYTES_PER_KBIT); in sja1105_setup_tc_cbs()

Completed in 9 milliseconds