Lines Matching defs:max
63 /* functions for preprocessing timings, ensuring max is set */
68 if (range->max < range->min)
69 range->max = range->min;
73 range->max = (range->max*unit + 999)/1000; /* round up */
105 if (!range->max)
106 range->max = defaults->max;
170 * Converts min and max from microseconds to IR clock cycles, applies a
181 unsigned int max = in->max;
184 max = max + (max*tolerance >> 7);
187 max = (max*clock_hz + 999999) / 1000000; /* round up */
190 out->max = (max + ((1 << shift) - 1)) >> shift; /* round up */
212 hw_period.max = timing->pulse.max + timing->space.max;
218 return (hw_period.max << IMG_IR_PD_MAX_SHIFT) |
220 (hw_pulse.max << IMG_IR_W_MAX_SHIFT) |
257 * @filter: Current filter which may additionally restrict min/max len.
268 /* extract min/max len from register */