/sound/isa/gus/ |
D | gus_volume.c | 123 long depth; 139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14; 140 if (depth) 141 depth++; 142 if (depth > 255) 143 depth = 255; 144 return cents < 0 ? -(short) depth : (short) depth;
|
/sound/soc/meson/ |
D | axg-frddr.c | 55 unsigned int period, depth, val; in axg_frddr_dai_hw_params() local 60 depth = min(period, fifo->depth); in axg_frddr_dai_hw_params() 61 val = (depth / AXG_FIFO_BURST) - 1; in axg_frddr_dai_hw_params()
|
D | axg-fifo.c | 135 threshold = min(period / 2, fifo->depth / 2); in axg_fifo_pcm_hw_params() 373 &fifo->depth); in axg_fifo_probe() 382 fifo->depth = 256; in axg_fifo_probe() 384 fifo->depth); in axg_fifo_probe()
|
D | axg-fifo.h | 69 unsigned int depth; member
|
/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/pci/hda/ |
D | hda_generic.c | 253 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0; in is_nid_contained() 265 if (path->depth <= 0) in get_nid_path() 268 (!to_nid || path->path[path->depth - 1] == to_nid)) { in get_nid_path() 375 for (i = 0; i < path->depth; i++) in print_nid_path() 380 codec_dbg(codec, "%s path: depth=%d '%s'\n", pfx, path->depth, buf); in print_nid_path() 387 int depth) in __parse_nid_path() argument 412 if (depth >= MAX_NID_PATH_DEPTH) in __parse_nid_path() 421 anchor_nid, path, depth + 1)) in __parse_nid_path() 427 path->path[path->depth] = conn[i]; in __parse_nid_path() 428 path->idx[path->depth + 1] = i; in __parse_nid_path() [all …]
|
D | patch_analog.c | 813 .depth = 3, in ad1988_add_spdif_mux_ctl() 819 .depth = 4, in ad1988_add_spdif_mux_ctl() 825 .depth = 4, in ad1988_add_spdif_mux_ctl() 831 .depth = 4, in ad1988_add_spdif_mux_ctl()
|
D | hda_generic.h | 42 int depth; member
|
D | hda_auto_parser.c | 822 void __snd_hda_apply_fixup(struct hda_codec *codec, int id, int action, int depth) in __snd_hda_apply_fixup() argument 829 if (++depth > 10) in __snd_hda_apply_fixup() 832 __snd_hda_apply_fixup(codec, fix->chain_id, action, depth + 1); in __snd_hda_apply_fixup()
|
D | hda_local.h | 351 void __snd_hda_apply_fixup(struct hda_codec *codec, int id, int action, int depth);
|
/sound/soc/codecs/ |
D | cros_ec_codec.c | 228 enum ec_codec_i2s_rx_sample_depth depth; in i2s_rx_hw_params() local 237 depth = EC_CODEC_I2S_RX_SAMPLE_DEPTH_16; in i2s_rx_hw_params() 240 depth = EC_CODEC_I2S_RX_SAMPLE_DEPTH_24; in i2s_rx_hw_params() 246 dev_dbg(component->dev, "set depth to %u\n", depth); in i2s_rx_hw_params() 249 p.set_sample_depth_param.depth = depth; in i2s_rx_hw_params()
|
/sound/usb/caiaq/ |
D | device.c | 238 int rate, int depth, int bpp) in snd_usb_caiaq_set_audio_params() argument 253 switch (depth) { in snd_usb_caiaq_set_audio_params() 264 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 | 481 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_in_isr() 500 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_out_isr()
|
/sound/core/ |
D | pcm_native.c | 1219 int res = 0, depth = 1; in snd_pcm_action_group() local 1224 mutex_lock_nested(&s->runtime->buffer_mutex, depth); in snd_pcm_action_group() 1226 mutex_lock_nested(&s->self_group.mutex, depth); in snd_pcm_action_group() 1228 spin_lock_nested(&s->self_group.lock, depth); in snd_pcm_action_group() 1229 depth++; in snd_pcm_action_group()
|
/sound/soc/ |
D | soc-dapm.c | 661 const int depth = 2; in dapm_wcache_lookup() local 668 if (++i == depth) in dapm_wcache_lookup()
|