Searched refs:clamp_val (Results 1 – 2 of 2) sorted by relevance
233 #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi) macro
270 interval = clamp_val(interval, min_exponent, max_exponent); in xhci_microframes_to_exponent()303 interval = clamp_val(endpt_desc->bInterval, 1, 16) - 1; in xhci_parse_exponent_interval()