/openbmc/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 | 95 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates() 96 const struct snd_interval *c; in eld_limit_rates() 123 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels() 124 const struct snd_interval *r; in eld_limit_channels() 125 struct snd_interval t = { .min = 1, .max = 2, .integer = 1, }; in eld_limit_channels()
|
H A D | pcm_lib.c | 606 int snd_interval_refine(struct snd_interval *i, const struct snd_interval *v) in snd_interval_refine() 682 void snd_interval_mul(const struct snd_interval *a, const struct snd_interval *b, struct snd_interv… in snd_interval_mul() 706 void snd_interval_div(const struct snd_interval *a, const struct snd_interval *b, struct snd_interv… in snd_interval_div() 741 void snd_interval_muldivk(const struct snd_interval *a, const struct snd_interval *b, in snd_interval_muldivk() 773 const struct snd_interval *b, struct snd_interval *c) in snd_interval_mulkdiv() 818 struct snd_interval t; in snd_interval_ratnum() 936 struct snd_interval t; in snd_interval_ratden() 1074 struct snd_interval range; in snd_interval_ranges() 1268 struct snd_interval t; in snd_pcm_hw_constraint_minmax() 1413 const struct snd_interval *i = in snd_pcm_hw_rule_msbits() [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…
|
/openbmc/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() 274 static inline void snd_interval_copy(struct snd_interval *d, const struct snd_interval *s) in snd_interval_copy() 279 static inline int snd_interval_setinteger(struct snd_interval *i) in snd_interval_setinteger() [all …]
|
H A D | pcm.h | 242 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - 255 static inline struct snd_interval *constrs_interval(struct snd_pcm_hw_constraints *constrs, in constrs_interval() 289 const struct snd_interval *ranges; 952 static inline struct snd_interval *hw_param_interval(struct snd_pcm_hw_params *params, in hw_param_interval() 964 static inline const struct snd_interval *hw_param_interval_c(const struct snd_pcm_hw_params *params, in hw_param_interval_c() 1036 int snd_interval_refine(struct snd_interval *i, const struct snd_interval *v); 1037 int snd_interval_list(struct snd_interval *i, unsigned int count, 1039 int snd_interval_ranges(struct snd_interval *i, unsigned int count, 1040 const struct snd_interval *list, unsigned int mask); 1041 int snd_interval_ratnum(struct snd_interval *i,
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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 | sc8280xp.c | 57 struct snd_interval *rate = hw_param_interval(params, in sc8280xp_be_hw_params_fixup() 59 struct snd_interval *channels = hw_param_interval(params, in sc8280xp_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()
|
/openbmc/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()
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | bytcht_nocodec.c | 43 struct snd_interval *rate = hw_param_interval(params, in codec_fixup() 45 struct snd_interval *channels = hw_param_interval(params, in codec_fixup()
|
H A D | hsw_rt5640.c | 35 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in codec_link_hw_params_fixup() 36 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in codec_link_hw_params_fixup()
|
H A D | bdw_rt286.c | 86 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in codec_link_hw_params_fixup() 87 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in codec_link_hw_params_fixup()
|
H A D | bdw-rt5650.c | 86 struct snd_interval *rate = hw_param_interval(params, in broadwell_ssp0_fixup() 88 struct snd_interval *chan = hw_param_interval(params, in broadwell_ssp0_fixup()
|
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()
|
H A D | cht_bsw_nau8824.c | 131 struct snd_interval *rate = hw_param_interval(params, in cht_codec_fixup() 133 struct snd_interval *channels = hw_param_interval(params, in cht_codec_fixup()
|