Searched refs:bs512 (Results 1 – 2 of 2) sorted by relevance
64 u64 bs512 = div_u64(burst_bytes, 64); in mlxsw_sp_policer_burst_bytes_hw_units() local66 if (!bs512) in mlxsw_sp_policer_burst_bytes_hw_units()69 return fls64(bs512) - 1; in mlxsw_sp_policer_burst_bytes_hw_units()
955 u32 bs512 = max_size / 64; in mlxsw_sp_qdisc_tbf_bs() local956 u8 bs = fls(bs512); in mlxsw_sp_qdisc_tbf_bs()963 if ((1 << bs) != bs512) in mlxsw_sp_qdisc_tbf_bs()