Searched refs:BYTES_PER_KBIT (Results 1 – 2 of 2) sorted by relevance
67 #define BYTES_PER_KBIT (1000LL / 8) macro323 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()
1692 #define BYTES_PER_KBIT (1000LL / 8) macro1746 cbs->idle_slope = offload->idleslope * BYTES_PER_KBIT; in sja1105_setup_tc_cbs()1747 cbs->send_slope = abs(offload->sendslope * BYTES_PER_KBIT); in sja1105_setup_tc_cbs()