Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 12 of 12) sorted by relevance

/sound/isa/gus/
Dgus_volume.c123 long depth;
138 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
139 if (depth)
140 depth++;
141 if (depth > 255)
142 depth = 255;
143 return cents < 0 ? -(short) depth : (short) depth;
/sound/drivers/opl4/
Dopl4_synth.c406 int depth; in snd_opl4_update_vibrato_depth() local
410 depth = (7 - voice->sound->vibrato) in snd_opl4_update_vibrato_depth()
412 depth = (depth >> 7) + voice->sound->vibrato; in snd_opl4_update_vibrato_depth()
414 voice->reg_lfo_vibrato |= depth & OPL4_VIBRATO_DEPTH_MASK; in snd_opl4_update_vibrato_depth()
/sound/soc/codecs/
Dcros_ec_codec.c151 enum ec_sample_depth_value depth) in set_i2s_sample_depth() argument
155 dev_dbg(component->dev, "%s set depth to %u\n", __func__, depth); in set_i2s_sample_depth()
158 param.depth = depth; in set_i2s_sample_depth()
/sound/pci/hda/
Dhda_generic.c247 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0; in is_nid_contained()
259 if (path->depth <= 0) in get_nid_path()
262 (!to_nid || path->path[path->depth - 1] == to_nid)) { in get_nid_path()
369 for (i = 0; i < path->depth; i++) in print_nid_path()
374 codec_dbg(codec, "%s path: depth=%d '%s'\n", pfx, path->depth, buf); in print_nid_path()
381 int depth) in __parse_nid_path() argument
406 if (depth >= MAX_NID_PATH_DEPTH) in __parse_nid_path()
415 anchor_nid, path, depth + 1)) in __parse_nid_path()
421 path->path[path->depth] = conn[i]; in __parse_nid_path()
422 path->idx[path->depth + 1] = i; in __parse_nid_path()
[all …]
Dpatch_analog.c817 .depth = 3, in ad1988_add_spdif_mux_ctl()
823 .depth = 4, in ad1988_add_spdif_mux_ctl()
829 .depth = 4, in ad1988_add_spdif_mux_ctl()
835 .depth = 4, in ad1988_add_spdif_mux_ctl()
Dhda_auto_parser.c826 static void apply_fixup(struct hda_codec *codec, int id, int action, int depth) in apply_fixup() argument
833 if (++depth > 10) in apply_fixup()
836 apply_fixup(codec, fix->chain_id, action, depth + 1); in apply_fixup()
Dhda_generic.h40 int depth; member
/sound/usb/caiaq/
Ddevice.c252 int rate, int depth, int bpp) in snd_usb_caiaq_set_audio_params() argument
267 switch (depth) { in snd_usb_caiaq_set_audio_params()
278 rate, depth, bpp); in snd_usb_caiaq_set_audio_params()
Ddevice.h126 int snd_usb_caiaq_set_audio_params (struct snd_usb_caiaqdev *cdev, int rate, int depth, int bbp);
/sound/mips/
Dsgio2audio.c482 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_in_isr()
501 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_out_isr()
/sound/core/
Dpcm_native.c1071 int res = 0, depth = 1; in snd_pcm_action_group() local
1076 mutex_lock_nested(&s->runtime->buffer_mutex, depth); in snd_pcm_action_group()
1078 mutex_lock_nested(&s->self_group.mutex, depth); in snd_pcm_action_group()
1080 spin_lock_nested(&s->self_group.lock, depth); in snd_pcm_action_group()
1081 depth++; in snd_pcm_action_group()
/sound/soc/
Dsoc-dapm.c655 const int depth = 2; in dapm_wcache_lookup() local
665 if (++i == depth) in dapm_wcache_lookup()