/linux/sound/core/ |
H A D | pcm_local.h | 13 void snd_interval_mul(const struct snd_interval *a, 14 const struct snd_interval *b, struct snd_interval *c); 15 void snd_interval_div(const struct snd_interval *a, 16 const struct snd_interval *b, struct snd_interval *c); 17 void snd_interval_muldivk(const struct snd_interval *a, 18 const struct snd_interval *b, 19 unsigned int k, struct snd_interval *c); 20 void snd_interval_mulkdiv(const struct snd_interval *a, unsigned int k, 21 const struct snd_interval *b, struct snd_interval *c);
|
H A D | pcm_drm_eld.c | 96 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates() 97 const struct snd_interval *c; in eld_limit_rates() 124 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels() 125 const struct snd_interval *r; in eld_limit_channels() 126 struct snd_interval t = { .min = 1, .max = 2, .integer = 1, }; in eld_limit_channels()
|
H A D | pcm_lib.c | 626 int snd_interval_refine(struct snd_interval *i, const struct snd_interval *v) in snd_interval_refine() 670 static int snd_interval_refine_first(struct snd_interval *i) in snd_interval_refine_first() 686 static int snd_interval_refine_last(struct snd_interval *i) in snd_interval_refine_last() 702 void snd_interval_mul(const struct snd_interval *a, const struct snd_interval *b, struct snd_interv… in snd_interval_mul() 726 void snd_interval_div(const struct snd_interval *a, const struct snd_interval *b, struct snd_interv… in snd_interval_div() 761 void snd_interval_muldivk(const struct snd_interval *a, const struct snd_interval *b, in snd_interval_muldivk() 762 unsigned int k, struct snd_interval *c) in snd_interval_muldivk() 792 void snd_interval_mulkdiv(const struct snd_interval *a, unsigned int k, in snd_interval_mulkdiv() 793 const struct snd_interval *b, struct snd_interval *c) in snd_interval_mulkdiv() 831 int snd_interval_ratnum(struct snd_interval *i, in snd_interval_ratnum() [all …]
|
H A D | pcm_param_trace.h | 69 …eam, snd_pcm_hw_param_t type, int index, const struct snd_interval *prev, const struct snd_interva…
|
/linux/include/sound/ |
H A D | pcm_params.h | 215 static inline void snd_interval_any(struct snd_interval *i) in snd_interval_any() 225 static inline void snd_interval_none(struct snd_interval *i) in snd_interval_none() 230 static inline int snd_interval_checkempty(const struct snd_interval *i) in snd_interval_checkempty() 236 static inline int snd_interval_empty(const struct snd_interval *i) in snd_interval_empty() 241 static inline int snd_interval_single(const struct snd_interval *i) in snd_interval_single() 247 static inline int snd_interval_value(const struct snd_interval *i) in snd_interval_value() 254 static inline int snd_interval_min(const struct snd_interval *i) in snd_interval_min() 259 static inline int snd_interval_max(const struct snd_interval *i) in snd_interval_max() 268 static inline int snd_interval_test(const struct snd_interval *i, unsigned int val) in snd_interval_test() 274 static inline void snd_interval_copy(struct snd_interval *d, const struct snd_interval *s) in snd_interval_copy() [all …]
|
H A D | pcm.h | 259 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - 272 static inline struct snd_interval *constrs_interval(struct snd_pcm_hw_constraints *constrs, in constrs_interval() 306 const struct snd_interval *ranges; 984 static inline struct snd_interval *hw_param_interval(struct snd_pcm_hw_params *params, in hw_param_interval() 996 static inline const struct snd_interval *hw_param_interval_c(const struct snd_pcm_hw_params *params, in hw_param_interval_c() 1068 int snd_interval_refine(struct snd_interval *i, const struct snd_interval *v); 1069 int snd_interval_list(struct snd_interval *i, unsigned int count, 1071 int snd_interval_ranges(struct snd_interval *i, unsigned int count, 1072 const struct snd_interval *list, unsigned int mask); 1073 int snd_interval_ratnum(struct snd_interval *i,
|
/linux/sound/firewire/digi00x/ |
H A D | digi00x-pcm.c | 13 struct snd_interval *r = in hw_rule_rate() 15 const struct snd_interval *c = in hw_rule_rate() 17 struct snd_interval t = { in hw_rule_rate() 37 struct snd_interval *c = in hw_rule_channels() 39 const struct snd_interval *r = in hw_rule_channels() 41 struct snd_interval t = { in hw_rule_channels()
|
/linux/sound/firewire/fireface/ |
H A D | ff-pcm.c | 14 struct snd_interval *r = in hw_rule_rate() 16 const struct snd_interval *c = in hw_rule_rate() 18 struct snd_interval t = { in hw_rule_rate() 45 struct snd_interval *c = in hw_rule_channels() 47 const struct snd_interval *r = in hw_rule_channels() 49 struct snd_interval t = { in hw_rule_channels()
|
/linux/sound/firewire/motu/ |
H A D | motu-pcm.c | 16 const struct snd_interval *c = in motu_rate_constraint() 18 struct snd_interval *r = in motu_rate_constraint() 20 struct snd_interval rates = { in motu_rate_constraint() 45 const struct snd_interval *r = in motu_channels_constraint() 47 struct snd_interval *c = in motu_channels_constraint() 49 struct snd_interval channels = { in motu_channels_constraint()
|
/linux/sound/firewire/bebob/ |
H A D | bebob_pcm.c | 14 struct snd_interval *r = in hw_rule_rate() 16 const struct snd_interval *c = in hw_rule_rate() 18 struct snd_interval t = { in hw_rule_rate() 42 struct snd_interval *c = in hw_rule_channels() 44 const struct snd_interval *r = in hw_rule_channels() 46 struct snd_interval t = { in hw_rule_channels()
|
/linux/sound/firewire/fireworks/ |
H A D | fireworks_pcm.c | 67 struct snd_interval *r = in hw_rule_rate() 69 const struct snd_interval *c = in hw_rule_rate() 71 struct snd_interval t = { in hw_rule_rate() 92 struct snd_interval *c = in hw_rule_channels() 94 const struct snd_interval *r = in hw_rule_channels() 96 struct snd_interval t = { in hw_rule_channels()
|
/linux/sound/firewire/dice/ |
H A D | dice-pcm.c | 18 const struct snd_interval *c = in dice_rate_constraint() 20 struct snd_interval *r = in dice_rate_constraint() 22 struct snd_interval rates = { in dice_rate_constraint() 56 const struct snd_interval *r = in dice_channels_constraint() 58 struct snd_interval *c = in dice_channels_constraint() 60 struct snd_interval channels = { in dice_channels_constraint()
|
/linux/drivers/usb/gadget/function/ |
H A D | u_uac1_legacy.c | 29 static int snd_interval_refine_set(struct snd_interval *i, unsigned int val) in snd_interval_refine_set() 31 struct snd_interval t; in snd_interval_refine_set() 58 struct snd_interval *i = hw_param_interval(params, var); in _snd_pcm_hw_param_set() 65 struct snd_interval t; in _snd_pcm_hw_param_set()
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 14 struct snd_interval *r = in hw_rule_rate() 16 const struct snd_interval *c = in hw_rule_rate() 18 struct snd_interval t = { in hw_rule_rate() 45 struct snd_interval *c = in hw_rule_channels() 47 const struct snd_interval *r = in hw_rule_channels()
|
/linux/sound/pci/ac97/ |
H A D | ac97_pcm.c | 686 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_rate() 688 static const struct snd_interval single_rates = { in double_rate_hw_constraint_rate() 692 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_rate() 701 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_channels() 703 static const struct snd_interval double_rate_channels = { in double_rate_hw_constraint_channels() 707 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in double_rate_hw_constraint_channels()
|
/linux/sound/soc/qcom/ |
H A D | apq8096.c | 19 struct snd_interval *rate = hw_param_interval(params, in apq8096_be_hw_params_fixup() 21 struct snd_interval *channels = hw_param_interval(params, in apq8096_be_hw_params_fixup()
|
H A D | sm8250.c | 38 struct snd_interval *rate = hw_param_interval(params, in sm8250_be_hw_params_fixup() 40 struct snd_interval *channels = hw_param_interval(params, in sm8250_be_hw_params_fixup()
|
H A D | apq8016_sbc.c | 242 struct snd_interval *rate = hw_param_interval(params, in msm8916_qdsp6_be_hw_params_fixup() 244 struct snd_interval *channels = hw_param_interval(params, in msm8916_qdsp6_be_hw_params_fixup()
|
/linux/sound/soc/intel/boards/ |
H A D | bytcht_cx2072x.c | 108 struct snd_interval *rate = in byt_cht_cx2072x_fixup() 110 struct snd_interval *channels = in byt_cht_cx2072x_fixup()
|
H A D | bytcht_da7213.c | 64 struct snd_interval *rate = hw_param_interval(params, in codec_fixup() 66 struct snd_interval *channels = hw_param_interval(params, in codec_fixup()
|
/linux/sound/xen/ |
H A D | xen_snd_front_alsa.c | 258 struct snd_interval *rates = in alsa_hw_rule() 260 struct snd_interval *channels = in alsa_hw_rule() 262 struct snd_interval *period = in alsa_hw_rule() 265 struct snd_interval *buffer = in alsa_hw_rule() 270 struct snd_interval interval; in alsa_hw_rule()
|
/linux/sound/usb/ |
H A D | pcm.c | 728 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_check_valid_format() 729 struct snd_interval *ct = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_check_valid_format() 731 struct snd_interval *pt = hw_param_interval(params, SNDRV_PCM_HW_PARAM_PERIOD_TIME); in hw_check_valid_format() 769 static int apply_hw_params_minmax(struct snd_interval *it, unsigned int rmin, in apply_hw_params_minmax() 821 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in hw_rule_rate() 885 struct snd_interval *it = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_rule_channels() 965 struct snd_interval *it; in hw_rule_period_time() 995 struct snd_interval *it; in hw_rule_period_size_implicit_fb() 1040 struct snd_interval *it; in hw_rule_periods_implicit_fb()
|
/linux/sound/pci/rme9652/ |
H A D | hdsp.c | 4308 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_in_channels() 4328 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_out_channels() 4345 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_in_channels_rate() 4346 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_hdsp_hw_rule_in_channels_rate() 4348 struct snd_interval t = { in snd_hdsp_hw_rule_in_channels_rate() 4355 struct snd_interval t = { in snd_hdsp_hw_rule_in_channels_rate() 4362 struct snd_interval t = { in snd_hdsp_hw_rule_in_channels_rate() 4376 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_hdsp_hw_rule_out_channels_rate() 4377 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_hdsp_hw_rule_out_channels_rate() 4379 struct snd_interval t = { in snd_hdsp_hw_rule_out_channels_rate() [all …]
|
H A D | hdspm.c | 5872 struct snd_interval *c = in snd_hdspm_hw_rule_in_channels_rate() 5874 struct snd_interval *r = in snd_hdspm_hw_rule_in_channels_rate() 5878 struct snd_interval t = { in snd_hdspm_hw_rule_in_channels_rate() 5885 struct snd_interval t = { in snd_hdspm_hw_rule_in_channels_rate() 5892 struct snd_interval t = { in snd_hdspm_hw_rule_in_channels_rate() 5907 struct snd_interval *c = in snd_hdspm_hw_rule_out_channels_rate() 5909 struct snd_interval *r = in snd_hdspm_hw_rule_out_channels_rate() 5913 struct snd_interval t = { in snd_hdspm_hw_rule_out_channels_rate() 5920 struct snd_interval t = { in snd_hdspm_hw_rule_out_channels_rate() 5927 struct snd_interval t = { in snd_hdspm_hw_rule_out_channels_rate() [all …]
|
/linux/sound/isa/sb/ |
H A D | sb8_main.c | 65 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in snd_sb8_hw_constraint_rate_channels() 82 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in snd_sb8_hw_constraint_channels_rate() 84 struct snd_interval t = { .min = 1, .max = 1 }; in snd_sb8_hw_constraint_channels_rate()
|