• Home
  • Raw
  • Download

Lines Matching refs:it

761 	struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);  in hw_check_valid_format()  local
783 if (fp->rate_min > it->max || (fp->rate_min == it->max && it->openmax)) { in hw_check_valid_format()
784 hwc_debug(" > check: rate_min %d > max %d\n", fp->rate_min, it->max); in hw_check_valid_format()
787 if (fp->rate_max < it->min || (fp->rate_max == it->min && it->openmin)) { in hw_check_valid_format()
788 hwc_debug(" > check: rate_max %d < min %d\n", fp->rate_max, it->min); in hw_check_valid_format()
807 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate() local
811 hwc_debug("hw_rule_rate: (%d,%d)\n", it->min, it->max); in hw_rule_rate()
830 it->empty = 1; in hw_rule_rate()
835 if (it->min < rmin) { in hw_rule_rate()
836 it->min = rmin; in hw_rule_rate()
837 it->openmin = 0; in hw_rule_rate()
840 if (it->max > rmax) { in hw_rule_rate()
841 it->max = rmax; in hw_rule_rate()
842 it->openmax = 0; in hw_rule_rate()
845 if (snd_interval_checkempty(it)) { in hw_rule_rate()
846 it->empty = 1; in hw_rule_rate()
849 hwc_debug(" --> (%d, %d) (changed = %d)\n", it->min, it->max, changed); in hw_rule_rate()
859 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels() local
863 hwc_debug("hw_rule_channels: (%d,%d)\n", it->min, it->max); in hw_rule_channels()
882 it->empty = 1; in hw_rule_channels()
887 if (it->min < rmin) { in hw_rule_channels()
888 it->min = rmin; in hw_rule_channels()
889 it->openmin = 0; in hw_rule_channels()
892 if (it->max > rmax) { in hw_rule_channels()
893 it->max = rmax; in hw_rule_channels()
894 it->openmax = 0; in hw_rule_channels()
897 if (snd_interval_checkempty(it)) { in hw_rule_channels()
898 it->empty = 1; in hw_rule_channels()
901 hwc_debug(" --> (%d, %d) (changed = %d)\n", it->min, it->max, changed); in hw_rule_channels()
941 struct snd_interval *it; in hw_rule_period_time() local
946 it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_PERIOD_TIME); in hw_rule_period_time()
947 hwc_debug("hw_rule_period_time: (%u,%u)\n", it->min, it->max); in hw_rule_period_time()
956 it->empty = 1; in hw_rule_period_time()
961 if (it->min < pmin) { in hw_rule_period_time()
962 it->min = pmin; in hw_rule_period_time()
963 it->openmin = 0; in hw_rule_period_time()
966 if (snd_interval_checkempty(it)) { in hw_rule_period_time()
967 it->empty = 1; in hw_rule_period_time()
970 hwc_debug(" --> (%u,%u) (changed = %d)\n", it->min, it->max, changed); in hw_rule_period_time()