Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dsch_cbs.c324 port_rate = speed * 1000 * BYTES_PER_KBIT; in cbs_set_port_rate()
394 WRITE_ONCE(q->idleslope, qopt->idleslope * BYTES_PER_KBIT); in cbs_change()
395 WRITE_ONCE(q->sendslope, qopt->sendslope * BYTES_PER_KBIT); in cbs_change()
464 opt.sendslope = div64_s64(READ_ONCE(q->sendslope), BYTES_PER_KBIT); in cbs_dump()
465 opt.idleslope = div64_s64(READ_ONCE(q->idleslope), BYTES_PER_KBIT); in cbs_dump()
/linux/include/linux/
H A Dunits.h38 #define BYTES_PER_KBIT (KILO / BITS_PER_BYTE) macro
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c2237 cbs->idle_slope = div_s64(offload->idleslope * BYTES_PER_KBIT, in sja1105_setup_tc_cbs()
2239 cbs->send_slope = div_s64(abs(offload->sendslope * BYTES_PER_KBIT), in sja1105_setup_tc_cbs()