Searched refs:BYTES_PER_KBIT (Results 1 – 3 of 3) sorted by relevance
324 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()
38 #define BYTES_PER_KBIT (KILO / BITS_PER_BYTE) macro
2237 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()