Searched refs:depth (Results 1 – 12 of 12) sorted by relevance
/sound/isa/gus/ |
D | gus_volume.c | 123 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/ |
D | opl4_synth.c | 406 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/ |
D | cros_ec_codec.c | 151 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/ |
D | hda_generic.c | 247 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 …]
|
D | patch_analog.c | 817 .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()
|
D | hda_auto_parser.c | 826 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()
|
D | hda_generic.h | 40 int depth; member
|
/sound/usb/caiaq/ |
D | device.c | 252 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()
|
D | device.h | 126 int snd_usb_caiaq_set_audio_params (struct snd_usb_caiaqdev *cdev, int rate, int depth, int bbp);
|
/sound/mips/ |
D | sgio2audio.c | 482 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/ |
D | pcm_native.c | 1071 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/ |
D | soc-dapm.c | 655 const int depth = 2; in dapm_wcache_lookup() local 665 if (++i == depth) in dapm_wcache_lookup()
|