/sound/soc/codecs/ |
D | adau-utils.c | 19 unsigned int r, n, m, i, j; in adau_calc_pll_cfg() local 25 m = 0; in adau_calc_pll_cfg() 35 m = freq_in / j; in adau_calc_pll_cfg() 40 m = 0; in adau_calc_pll_cfg() 43 if (n > 0xffff || m > 0xffff || div > 3 || r > 8 || r < 2) in adau_calc_pll_cfg() 47 regs[0] = m >> 8; in adau_calc_pll_cfg() 48 regs[1] = m & 0xff; in adau_calc_pll_cfg() 52 if (m != 0) in adau_calc_pll_cfg()
|
D | Kconfig | 7 default m if I2C=m 227 default m if SND_SOC_CS47L24=m 228 default m if SND_SOC_WM5102=m 229 default m if SND_SOC_WM5110=m 230 default m if SND_SOC_WM8997=m 231 default m if SND_SOC_WM8998=m 236 default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m 245 default m if SND_SOC_CS47L24=m 246 default m if SND_SOC_WM5102=m 247 default m if SND_SOC_WM5110=m [all …]
|
D | rl6231.c | 100 int m; member 123 int n = 0, m = 0, m_t = 0; in rl6231_pll_calc() local 134 m = pll_preset_table[i].m; in rl6231_pll_calc() 159 m = m_t; in rl6231_pll_calc() 170 m = m_t; in rl6231_pll_calc() 182 pll_code->m_code = m; in rl6231_pll_calc()
|
D | rt5677-spi.c | 119 struct spi_message m; in rt5677_spi_read() local 140 spi_message_init_with_transfers(&m, t, ARRAY_SIZE(t)); in rt5677_spi_read() 154 status |= spi_sync(g_spi, &m); in rt5677_spi_read() 173 struct spi_message m; in rt5677_spi_write() local 194 spi_message_init_with_transfers(&m, &t, 1); in rt5677_spi_write() 213 status |= spi_sync(g_spi, &m); in rt5677_spi_write()
|
D | wm0010.c | 124 struct spi_message m; member 199 struct spi_message m; member 227 if (xfer->m.status != 0) { in wm0010_boot_xfer_complete() 229 xfer->m.status); in wm0010_boot_xfer_complete() 439 spi_message_init(&xfer->m); in wm0010_firmware_load() 440 xfer->m.complete = wm0010_boot_xfer_complete; in wm0010_firmware_load() 441 xfer->m.context = xfer; in wm0010_firmware_load() 458 spi_message_add_tail(&xfer->t, &xfer->m); in wm0010_firmware_load() 468 ret = spi_async(spi, &xfer->m); in wm0010_firmware_load() 505 struct spi_message m; in wm0010_stage2_load() local [all …]
|
D | max98925.c | 260 int rate, int clock, int *value, int *n, int *m) in max98925_rate_value() argument 269 *m = rate_table[i].divisors[clock][1]; in max98925_rate_value() 354 unsigned int dai_sr = 0, clock, mdll, n, m; in max98925_set_clock() local 403 if (max98925_rate_value(codec, rate, clock, &dai_sr, &n, &m)) in max98925_set_clock() 412 MAX98925_DAI_CLK_DIV_M_MSBS, m >> 8); in max98925_set_clock() 414 MAX98925_DAI_CLK_DIV_M_LSBS, m & 0xFF); in max98925_set_clock()
|
D | alc5623.h | 124 #define ALC5623_PLL_CTRL_M_VAL(m) ((m)&0xf) argument
|
D | alc5632.h | 207 #define ALC5632_PLL1_CTRL_M_VAL(m) (((m) & 0x0f) << 0) argument
|
D | 88pm860x-codec.c | 195 unsigned int m; member 286 if ((st_table[i].m == val[0]) && (st_table[i].n == val[1])) in snd_soc_get_volsw_2r_st() 288 if ((st_table[i].m == val2[0]) && (st_table[i].n == val2[1])) in snd_soc_get_volsw_2r_st() 311 err = snd_soc_update_bits(codec, reg, 0x3f, st_table[val].m); in snd_soc_put_volsw_2r_st() 319 err = snd_soc_update_bits(codec, reg2, 0x3f, st_table[val2].m); in snd_soc_put_volsw_2r_st()
|
/sound/isa/gus/ |
D | gus_volume.c | 32 unsigned short e, m, tmp; in snd_gf1_lvol_to_gvol_raw() local 47 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw() 48 if (m > 0) { in snd_gf1_lvol_to_gvol_raw() 50 m >>= e - 8; in snd_gf1_lvol_to_gvol_raw() 52 m <<= 8 - e; in snd_gf1_lvol_to_gvol_raw() 53 m &= 255; in snd_gf1_lvol_to_gvol_raw() 55 return (e << 8) | m; in snd_gf1_lvol_to_gvol_raw() 63 unsigned short e, m; 68 m = (unsigned char) gf1_vol; 71 return rvol | (m << (e - 8)); [all …]
|
/sound/soc/atmel/ |
D | Kconfig | 14 default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m 15 default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y) 23 default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m 24 default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y) 32 default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
|
/sound/oss/ |
D | v_midi.c | 177 struct vmidi_memory *m; in attach_v_midi() local 187 m = kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL); in attach_v_midi() 188 if (m == NULL) in attach_v_midi() 195 midi_mem = m; in attach_v_midi() 197 midi_devs[midi1] = &m->m_ops[0]; in attach_v_midi() 204 kfree(m); in attach_v_midi() 209 midi_devs[midi2] = &m->m_ops[1]; in attach_v_midi() 214 v_devc[0] = &m->v_ops[0]; in attach_v_midi() 227 midi_devs[midi1]->converter = &m->s_ops[0]; in attach_v_midi() 234 v_devc[1] = &m->v_ops[1]; in attach_v_midi() [all …]
|
D | mpu401.c | 951 int m, ret; in attach_mpu401() local 955 m = sound_alloc_mididev(); in attach_mpu401() 956 if (m == -1) in attach_mpu401() 962 devc = &dev_conf[m]; in attach_mpu401() 1004 mpu401_chk_version(m, devc); in attach_mpu401() 1006 mpu401_chk_version(m, devc); in attach_mpu401() 1011 if (mpu_cmd(m, 0xC5, 0) >= 0) /* Set timebase OK */ in attach_mpu401() 1012 if (mpu_cmd(m, 0xE0, 120) >= 0) /* Set tempo OK */ in attach_mpu401() 1016 mpu401_synth_operations[m] = kmalloc(sizeof(struct synth_operations), GFP_KERNEL); in attach_mpu401() 1018 if (mpu401_synth_operations[m] == NULL) in attach_mpu401() [all …]
|
D | sb_mixer.c | 675 int m; in sb_mixer_init() local 735 m = sound_alloc_mixerdev(); in sb_mixer_init() 736 if (m == -1) in sb_mixer_init() 739 mixer_devs[m] = kmalloc(sizeof(struct mixer_operations), GFP_KERNEL); in sb_mixer_init() 740 if (mixer_devs[m] == NULL) in sb_mixer_init() 743 sound_unload_mixerdev(m); in sb_mixer_init() 748 memcpy ((char *) mixer_devs[m], (char *) &sb_mixer_operations, sizeof (struct mixer_operations)); in sb_mixer_init() 750 …memcpy ((char *) mixer_devs[m], (char *) &als007_mixer_operations, sizeof (struct mixer_operations… in sb_mixer_init() 752 mixer_devs[m]->devc = devc; in sb_mixer_init() 755 mixer_devs[m]->owner = owner; in sb_mixer_init() [all …]
|
/sound/drivers/ |
D | dummy.c | 1053 struct dummy_model *m = NULL, **mdl; in snd_dummy_probe() local 1068 m = dummy->model = *mdl; in snd_dummy_probe() 1083 if (m) { in snd_dummy_probe() 1084 if (m->formats) in snd_dummy_probe() 1085 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe() 1086 if (m->buffer_bytes_max) in snd_dummy_probe() 1087 dummy->pcm_hw.buffer_bytes_max = m->buffer_bytes_max; in snd_dummy_probe() 1088 if (m->period_bytes_min) in snd_dummy_probe() 1089 dummy->pcm_hw.period_bytes_min = m->period_bytes_min; in snd_dummy_probe() 1090 if (m->period_bytes_max) in snd_dummy_probe() [all …]
|
/sound/firewire/fireworks/ |
D | fireworks_proc.c | 133 unsigned int g, c, m, max, size; in proc_read_phys_meters() local 150 m = 0; in proc_read_phys_meters() 157 if (m < max) in proc_read_phys_meters() 159 name, c, linear[m++]); in proc_read_phys_meters() 163 m = 0; in proc_read_phys_meters() 170 if (m < max) in proc_read_phys_meters() 172 name, c, linear[m++]); in proc_read_phys_meters()
|
/sound/pci/hda/ |
D | Kconfig | 97 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m 107 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m 117 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m 127 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m 137 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m 147 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m 157 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m 167 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m 176 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m 198 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m [all …]
|
/sound/firewire/oxfw/ |
D | oxfw.c | 73 const char *d, *v, *m; in name_card() local 101 m = info->model_name; in name_card() 105 m = model; in name_card() 109 strcpy(oxfw->card->mixername, m); in name_card() 110 strcpy(oxfw->card->shortname, m); in name_card() 114 v, m, firmware >> 20, firmware & 0xffff, in name_card()
|
/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 638 int i, m, n; in get_audio_meters() local 640 m = 0; in get_audio_meters() 642 for (i = 0; i < num_busses_out(chip); i++, m++) { in get_audio_meters() 643 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters() 644 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters() 650 m = E3G_MAX_OUTPUTS; /* Skip unused meters */ in get_audio_meters() 653 for (i = 0; i < num_busses_in(chip); i++, m++) { in get_audio_meters() 654 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters() 655 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters() 661 for (i = 0; i < num_pipes_out(chip); i++, m++) { in get_audio_meters() [all …]
|
/sound/soc/sh/rcar/ |
D | rsnd.h | 181 #define rsnd_mod_read(m, r) \ argument 182 rsnd_read(rsnd_mod_to_priv(m), m, RSND_REG_##r) 183 #define rsnd_mod_write(m, r, d) \ argument 184 rsnd_write(rsnd_mod_to_priv(m), m, RSND_REG_##r, d) 185 #define rsnd_mod_bset(m, r, s, d) \ argument 186 rsnd_bset(rsnd_mod_to_priv(m), m, RSND_REG_##r, s, d)
|
/sound/mips/ |
D | ad1843.c | 266 int w, m, mask, bits; in ad1843_write_multi() local 280 m = ((1 << fp->nbits) - 1) << fp->lo_bit; in ad1843_write_multi() 281 mask |= m; in ad1843_write_multi() 282 bits |= (value << fp->lo_bit) & m; in ad1843_write_multi()
|
/sound/aoa/soundbus/i2sbus/ |
D | interface.h | 13 #define __PAD(m,n) u8 __pad##m[n] argument
|
/sound/pci/ |
D | sonicvibes.c | 487 unsigned int r, m = 0, n = 0; in snd_sonicvibes_pll() local 505 m = xm - 2; in snd_sonicvibes_pll() 510 *res_m = m; in snd_sonicvibes_pll() 516 "pll: m = 0x%x, r = 0x%x, n = 0x%x\n", reg, m, r, n); in snd_sonicvibes_pll() 525 unsigned int r, m, n; in snd_sonicvibes_setpll() local 527 snd_sonicvibes_pll(rate, &r, &m, &n); in snd_sonicvibes_setpll() 530 snd_sonicvibes_out1(sonic, reg, m); in snd_sonicvibes_setpll() 560 unsigned int rate, div, r, m, n; in snd_sonicvibes_hw_constraint_dac_rate() local 572 snd_sonicvibes_pll(rate, &r, &m, &n); in snd_sonicvibes_hw_constraint_dac_rate() 576 params->rate_den = (SV_ADCMULT/512) * (m+2); in snd_sonicvibes_hw_constraint_dac_rate()
|
/sound/core/ |
D | pcm_native.c | 286 struct snd_mask *m = NULL; in snd_pcm_hw_refine() local 303 m = hw_param_mask(params, k); in snd_pcm_hw_refine() 304 if (snd_mask_empty(m)) in snd_pcm_hw_refine() 310 pr_cont("%04x%04x%04x%04x -> ", m->bits[3], m->bits[2], m->bits[1], m->bits[0]); in snd_pcm_hw_refine() 312 changed = snd_mask_refine(m, constrs_mask(constrs, k)); in snd_pcm_hw_refine() 314 pr_cont("%04x%04x%04x%04x\n", m->bits[3], m->bits[2], m->bits[1], m->bits[0]); in snd_pcm_hw_refine() 378 m = hw_param_mask(params, r->var); in snd_pcm_hw_refine() 379 pr_cont("%x", *m->bits); in snd_pcm_hw_refine() 396 pr_cont("%x", *m->bits); in snd_pcm_hw_refine() 442 m = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_refine() [all …]
|
D | info.c | 320 struct seq_file *m = file->private_data; in snd_info_text_entry_write() local 321 struct snd_info_private_data *data = m->private; in snd_info_text_entry_write() 420 struct seq_file *m = file->private_data; in snd_info_text_entry_release() local 421 struct snd_info_private_data *data = m->private; in snd_info_text_entry_release()
|