/sound/soc/sh/ |
D | siu_dai.c | 248 int cnt; in siu_dai_spbstart() local 255 for (cnt = 0; cnt < PRAM0_SIZE; cnt++, add++, ptr++) in siu_dai_spbstart() 260 for (cnt = 0; cnt < PRAM1_SIZE; cnt++, add++, ptr++) in siu_dai_spbstart() 265 for (cnt = 0; cnt < XRAM0_SIZE + XRAM1_SIZE + XRAM2_SIZE; cnt++, add++) in siu_dai_spbstart() 270 for (cnt = 0; cnt < YRAM_DEF_SIZE; cnt++, add++) in siu_dai_spbstart() 271 siu_write32(add, ydef[cnt]); in siu_dai_spbstart() 275 for (cnt = 0; cnt < YRAM_FIR_SIZE; cnt++, add++) in siu_dai_spbstart() 276 siu_write32(add, fw->yram_fir_coeff[cnt]); in siu_dai_spbstart() 280 for (cnt = 0; cnt < YRAM_IIR_SIZE; cnt++, add++) in siu_dai_spbstart() 292 cnt = 0x10000; in siu_dai_spbstart() [all …]
|
/sound/isa/wavefront/ |
D | wavefront_fx.c | 63 int cnt, in wavefront_fx_memset() argument 78 if (cnt == 1) { in wavefront_fx_memset() 96 for (i = 0; i < cnt; i++) { in wavefront_fx_memset() 104 if (i != cnt) { in wavefront_fx_memset() 107 page, addr, (unsigned long) data, cnt); in wavefront_fx_memset()
|
D | wavefront_synth.c | 690 int i, x, cnt, cnt2; in wavefront_get_patch_status() local 718 for (i = 0, cnt = 0, cnt2 = 0; i < WF_MAX_PATCH; i++) { in wavefront_get_patch_status() 720 cnt++; in wavefront_get_patch_status() 727 snd_printk ("%d patch slots filled, %d in use\n", cnt, cnt2); in wavefront_get_patch_status() 739 int i, x, l, cnt; in wavefront_get_program_status() local 769 for (i = 0, cnt = 0; i < WF_MAX_PROGRAM; i++) { in wavefront_get_program_status() 771 cnt++; in wavefront_get_program_status() 775 snd_printk ("%d programs slots in use\n", cnt); in wavefront_get_program_status()
|
/sound/soc/codecs/ |
D | ak4613.c | 231 int cnt; member 388 priv->cnt--; in ak4613_dai_shutdown() 389 if (priv->cnt < 0) { in ak4613_dai_shutdown() 391 priv->cnt = 0; in ak4613_dai_shutdown() 393 if (!priv->cnt) in ak4613_dai_shutdown() 473 if (priv->cnt) { in ak4613_hw_constraints() 512 priv->cnt++; in ak4613_dai_startup() 603 if (priv->cnt > 1) { in ak4613_dai_hw_params() 907 priv->cnt = 0; in ak4613_i2c_probe()
|
D | da7210.c | 991 u8 pll_div1, pll_div2, pll_div3, cnt; in da7210_set_dai_pll() local 998 for (cnt = 0; cnt < ARRAY_SIZE(da7210_pll_div); cnt++) { in da7210_set_dai_pll() 1000 if ((fref == da7210_pll_div[cnt].fref) && in da7210_set_dai_pll() 1001 (da7210->master == da7210_pll_div[cnt].mode) && in da7210_set_dai_pll() 1002 (fout == da7210_pll_div[cnt].fout)) { in da7210_set_dai_pll() 1004 pll_div1 = da7210_pll_div[cnt].div1; in da7210_set_dai_pll() 1005 pll_div2 = da7210_pll_div[cnt].div2; in da7210_set_dai_pll() 1006 pll_div3 = da7210_pll_div[cnt].div3; in da7210_set_dai_pll() 1010 if (cnt >= ARRAY_SIZE(da7210_pll_div)) in da7210_set_dai_pll()
|
D | da9055.c | 1285 u8 pll_frac_top, pll_frac_bot, pll_integer, cnt; in da9055_set_dai_pll() local 1295 for (cnt = 0; cnt < ARRAY_SIZE(da9055_pll_div); cnt++) { in da9055_set_dai_pll() 1297 if ((fref == da9055_pll_div[cnt].fref) && in da9055_set_dai_pll() 1298 (da9055->master == da9055_pll_div[cnt].mode) && in da9055_set_dai_pll() 1299 (fout == da9055_pll_div[cnt].fout)) { in da9055_set_dai_pll() 1301 pll_frac_top = da9055_pll_div[cnt].frac_top; in da9055_set_dai_pll() 1302 pll_frac_bot = da9055_pll_div[cnt].frac_bot; in da9055_set_dai_pll() 1303 pll_integer = da9055_pll_div[cnt].integer; in da9055_set_dai_pll() 1307 if (cnt >= ARRAY_SIZE(da9055_pll_div)) in da9055_set_dai_pll()
|
D | tscs42xx.c | 144 int cnt; in write_coeff_ram() local 148 for (cnt = 0; cnt < coeff_cnt; cnt++, addr++) { in write_coeff_ram()
|
D | lpass-wsa-macro.c | 998 u16 val, mask = 0, cnt = 0, temp; in wsa_macro_get_channel_map() local 1010 if (++cnt == WSA_MACRO_MAX_DMA_CH_PER_PORT) in wsa_macro_get_channel_map() 1016 *rx_num = cnt; in wsa_macro_get_channel_map() 1022 cnt++; in wsa_macro_get_channel_map() 1026 cnt++; in wsa_macro_get_channel_map() 1029 *tx_num = cnt; in wsa_macro_get_channel_map()
|
/sound/pci/ |
D | intel8x0.c | 920 unsigned int cnt; in snd_intel8x0_setup_pcm_out() local 926 cnt = igetdword(chip, ICHREG(ALI_SCR)); in snd_intel8x0_setup_pcm_out() 927 cnt &= ~ICH_ALI_SC_PCM_246_MASK; in snd_intel8x0_setup_pcm_out() 929 cnt |= ICH_ALI_SC_PCM_4; in snd_intel8x0_setup_pcm_out() 931 cnt |= ICH_ALI_SC_PCM_6; in snd_intel8x0_setup_pcm_out() 932 iputdword(chip, ICHREG(ALI_SCR), cnt); in snd_intel8x0_setup_pcm_out() 935 cnt = igetdword(chip, ICHREG(GLOB_CNT)); in snd_intel8x0_setup_pcm_out() 936 cnt &= ~ICH_SIS_PCM_246_MASK; in snd_intel8x0_setup_pcm_out() 938 cnt |= ICH_SIS_PCM_4; in snd_intel8x0_setup_pcm_out() 940 cnt |= ICH_SIS_PCM_6; in snd_intel8x0_setup_pcm_out() [all …]
|
D | intel8x0m.c | 847 unsigned int cnt, status, nstatus; in snd_intel8x0m_ich_chip_init() local 852 cnt = igetdword(chip, ICHREG(GLOB_STA)); in snd_intel8x0m_ich_chip_init() 853 iputdword(chip, ICHREG(GLOB_STA), cnt & status); in snd_intel8x0m_ich_chip_init() 856 cnt = igetdword(chip, ICHREG(GLOB_CNT)); in snd_intel8x0m_ich_chip_init() 857 cnt &= ~(ICH_ACLINK); in snd_intel8x0m_ich_chip_init() 859 cnt |= (cnt & ICH_AC97COLD) == 0 ? ICH_AC97COLD : ICH_AC97WARM; in snd_intel8x0m_ich_chip_init() 860 iputdword(chip, ICHREG(GLOB_CNT), cnt); in snd_intel8x0m_ich_chip_init()
|
/sound/soc/sof/ |
D | ipc3-dtrace.c | 65 int cnt = *counter; in trace_filter_parse_entry() local 81 uuid_id, elem, capacity, &cnt); in trace_filter_parse_entry() 87 pipe_id, elem, capacity, &cnt); in trace_filter_parse_entry() 93 comp_id, elem, capacity, &cnt); in trace_filter_parse_entry() 100 log_level, elem, capacity, &cnt); in trace_filter_parse_entry() 105 *counter = cnt; in trace_filter_parse_entry() 118 int cnt = 0; in trace_filter_parse() local 135 entry_len = trace_filter_parse_entry(sdev, entry, *out, capacity, &cnt); in trace_filter_parse() 144 *out_elem_cnt = cnt; in trace_filter_parse()
|
/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 19 int cnt; in skl_nhlt_trim_space() local 22 cnt = 0; in skl_nhlt_trim_space() 25 s[cnt++] = s[i]; in skl_nhlt_trim_space() 28 s[cnt] = '\0'; in skl_nhlt_trim_space()
|
D | skl-sst-dsp.h | 246 void skl_dsp_set_astate_cfg(struct skl_dev *skl, u32 cnt, void *data);
|
/sound/soc/rockchip/ |
D | rockchip_pdm.c | 548 int cnt = 0, ret = 0, i = 0, val = 0, msk = 0; in rockchip_pdm_path_parse() local 550 cnt = of_count_phandle_with_args(node, "rockchip,path-map", in rockchip_pdm_path_parse() 552 if (cnt != PDM_PATH_MAX) in rockchip_pdm_path_parse() 553 return cnt; in rockchip_pdm_path_parse() 556 path, cnt); in rockchip_pdm_path_parse() 560 for (i = 0; i < cnt; i++) { in rockchip_pdm_path_parse()
|
/sound/soc/uniphier/ |
D | aio-compress.c | 333 size_t cnt = min_t(size_t, count, aio_rb_space_to_end(sub) / 2); in uniphier_aio_compr_copy() local 339 if (cnt < sizeof(u32)) in uniphier_aio_compr_copy() 346 s = cnt * 2; in uniphier_aio_compr_copy() 354 s = cnt; in uniphier_aio_compr_copy() 381 return cnt; in uniphier_aio_compr_copy()
|
/sound/soc/qcom/qdsp6/ |
D | q6apm.c | 287 int cnt; in q6apm_map_memory_regions() local 318 for (cnt = 1; cnt < periods; cnt++) { in q6apm_map_memory_regions() 320 buf[cnt].phys = buf[0].phys + (cnt * period_sz); in q6apm_map_memory_regions() 321 buf[cnt].size = period_sz; in q6apm_map_memory_regions()
|
D | q6asm.c | 395 int cnt = 0; in q6asm_unmap_memory_regions() local 404 cnt = port->num_periods - 1; in q6asm_unmap_memory_regions() 405 if (cnt >= 0) { in q6asm_unmap_memory_regions() 506 int cnt; in q6asm_map_memory_regions() local 528 for (cnt = 1; cnt < periods; cnt++) { in q6asm_map_memory_regions() 530 buf[cnt].phys = buf[0].phys + (cnt * period_sz); in q6asm_map_memory_regions() 531 buf[cnt].size = period_sz; in q6asm_map_memory_regions()
|
/sound/soc/intel/boards/ |
D | bytcr_rt5640.c | 1132 int cnt = 0; in byt_rt5640_add_codec_device_props() local 1137 props[cnt++] = PROPERTY_ENTRY_U32("realtek,dmic1-data-pin", in byt_rt5640_add_codec_device_props() 1141 props[cnt++] = PROPERTY_ENTRY_U32("realtek,dmic2-data-pin", in byt_rt5640_add_codec_device_props() 1146 props[cnt++] = in byt_rt5640_add_codec_device_props() 1151 props[cnt++] = in byt_rt5640_add_codec_device_props() 1158 props[cnt++] = PROPERTY_ENTRY_U32( in byt_rt5640_add_codec_device_props() 1163 props[cnt++] = PROPERTY_ENTRY_U32( in byt_rt5640_add_codec_device_props() 1167 props[cnt++] = PROPERTY_ENTRY_U32( in byt_rt5640_add_codec_device_props() 1173 props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); in byt_rt5640_add_codec_device_props()
|
D | bytcr_rt5651.c | 532 int cnt = 0; in byt_rt5651_add_codec_device_props() local 535 props[cnt++] = PROPERTY_ENTRY_U32("realtek,jack-detect-source", in byt_rt5651_add_codec_device_props() 538 props[cnt++] = PROPERTY_ENTRY_U32("realtek,over-current-threshold-microamp", in byt_rt5651_add_codec_device_props() 541 props[cnt++] = PROPERTY_ENTRY_U32("realtek,over-current-scale-factor", in byt_rt5651_add_codec_device_props() 545 props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,dmic-en"); in byt_rt5651_add_codec_device_props() 548 props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); in byt_rt5651_add_codec_device_props()
|
D | bytcht_es8316.c | 477 unsigned int cnt = 0; in snd_byt_cht_es8316_mc_probe() local 555 props[cnt++] = PROPERTY_ENTRY_BOOL("everest,jack-detect-inverted"); in snd_byt_cht_es8316_mc_probe() 557 if (cnt) { in snd_byt_cht_es8316_mc_probe()
|
D | sof_es8336.c | 609 unsigned int cnt = 0; in sof_es8336_probe() local 708 props[cnt++] = PROPERTY_ENTRY_BOOL("everest,jack-detect-inverted"); in sof_es8336_probe() 710 if (cnt) { in sof_es8336_probe()
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 668 int cnt; in snd_cs46xx_proc_start() local 683 for (cnt = 0; cnt < 25; cnt++) { in snd_cs46xx_proc_start() 759 unsigned int frameGroupLength, cnt; in snd_cs46xx_set_capture_sample_rate() local 836 for (cnt = 2; cnt <= 64; cnt *= 2) { in snd_cs46xx_set_capture_sample_rate() 837 if (((rate / cnt) * cnt) != rate) in snd_cs46xx_set_capture_sample_rate() 843 for (cnt = 5; cnt <= 125; cnt *= 5) { in snd_cs46xx_set_capture_sample_rate() 844 if (((rate / cnt) * cnt) != rate) in snd_cs46xx_set_capture_sample_rate()
|
/sound/usb/caiaq/ |
D | audio.c | 333 int stream, pb, *cnt; in check_for_elapsed_periods() local 342 cnt = (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in check_for_elapsed_periods() 346 if (*cnt >= pb) { in check_for_elapsed_periods() 348 *cnt %= pb; in check_for_elapsed_periods()
|
/sound/usb/ |
D | mixer.c | 1413 int c, cnt, val, err; in mixer_ctl_feature_get() local 1417 cnt = 0; in mixer_ctl_feature_get() 1421 err = snd_usb_get_cur_mix_value(cval, c + 1, cnt, &val); in mixer_ctl_feature_get() 1425 ucontrol->value.integer.value[cnt] = val; in mixer_ctl_feature_get() 1426 cnt++; in mixer_ctl_feature_get() 1445 int c, cnt, val, oval, err; in mixer_ctl_feature_put() local 1449 cnt = 0; in mixer_ctl_feature_put() 1453 err = snd_usb_get_cur_mix_value(cval, c + 1, cnt, &oval); in mixer_ctl_feature_put() 1456 val = ucontrol->value.integer.value[cnt]; in mixer_ctl_feature_put() 1459 snd_usb_set_cur_mix_value(cval, c + 1, cnt, val); in mixer_ctl_feature_put() [all …]
|
/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 332 int cnt; in i2sbus_pcm_prepare() local 497 cnt = 100; in i2sbus_pcm_prepare() 498 while (cnt-- && in i2sbus_pcm_prepare()
|