Lines Matching refs:rmax
770 unsigned int rmax) in apply_hw_params_minmax() argument
774 if (rmin > rmax) { in apply_hw_params_minmax()
786 if (it->max > rmax) { in apply_hw_params_minmax()
787 it->max = rmax; in apply_hw_params_minmax()
822 unsigned int rmin, rmax, r; in hw_rule_rate() local
827 rmax = 0; in hw_rule_rate()
838 rmax = max(rmax, ep->cur_rate); in hw_rule_rate()
849 rmax = max(rmax, ep->cur_rate); in hw_rule_rate()
859 rmax = max(rmax, r); in hw_rule_rate()
868 rmax = max(rmax, r); in hw_rule_rate()
872 rmax = max(rmax, fp->rate_max); in hw_rule_rate()
876 return apply_hw_params_minmax(it, rmin, rmax); in hw_rule_rate()
886 unsigned int rmin, rmax; in hw_rule_channels() local
890 rmax = 0; in hw_rule_channels()
895 rmax = max(rmax, fp->channels); in hw_rule_channels()
898 return apply_hw_params_minmax(it, rmin, rmax); in hw_rule_channels()
996 unsigned int rmin, rmax; in hw_rule_period_size_implicit_fb() local
1001 rmax = 0; in hw_rule_period_size_implicit_fb()
1011 rmax = max(rmax, ep->cur_period_frames); in hw_rule_period_size_implicit_fb()
1022 rmax = max(rmax, ep->cur_period_frames); in hw_rule_period_size_implicit_fb()
1028 if (!rmax) in hw_rule_period_size_implicit_fb()
1030 return apply_hw_params_minmax(it, rmin, rmax); in hw_rule_period_size_implicit_fb()
1041 unsigned int rmin, rmax; in hw_rule_periods_implicit_fb() local
1046 rmax = 0; in hw_rule_periods_implicit_fb()
1056 rmax = max(rmax, ep->cur_buffer_periods); in hw_rule_periods_implicit_fb()
1067 rmax = max(rmax, ep->cur_buffer_periods); in hw_rule_periods_implicit_fb()
1073 if (!rmax) in hw_rule_periods_implicit_fb()
1075 return apply_hw_params_minmax(it, rmin, rmax); in hw_rule_periods_implicit_fb()