Searched refs:BYTES_PER_KBIT (Results 1 – 2 of 2) sorted by relevance
68 #define BYTES_PER_KBIT (1000LL / 8) macro324 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()
2141 #define BYTES_PER_KBIT (1000LL / 8) macro2232 cbs->idle_slope = div_s64(offload->idleslope * BYTES_PER_KBIT, in sja1105_setup_tc_cbs()2234 cbs->send_slope = div_s64(abs(offload->sendslope * BYTES_PER_KBIT), in sja1105_setup_tc_cbs()