Searched refs:threshold_ns (Results 1 – 1 of 1) sorted by relevance
355 u32 threshold_ns = threshold_us * 1000; in encode_l12_threshold() local358 if (threshold_ns < 32) { in encode_l12_threshold()360 *value = threshold_ns; in encode_l12_threshold()361 } else if (threshold_ns < 1024) { in encode_l12_threshold()363 *value = threshold_ns >> 5; in encode_l12_threshold()364 } else if (threshold_ns < 32768) { in encode_l12_threshold()366 *value = threshold_ns >> 10; in encode_l12_threshold()367 } else if (threshold_ns < 1048576) { in encode_l12_threshold()369 *value = threshold_ns >> 15; in encode_l12_threshold()370 } else if (threshold_ns < 33554432) { in encode_l12_threshold()[all …]