Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 45) sorted by relevance

12

/sound/soc/codecs/
Dadau-utils.c19 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()
DKconfig7 default m if I2C=m
241 default m if SND_SOC_CS47L24=m
242 default m if SND_SOC_WM5102=m
243 default m if SND_SOC_WM5110=m
244 default m if SND_SOC_WM8997=m
245 default m if SND_SOC_WM8998=m
250 default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m
259 default m if SND_SOC_CS47L24=m
260 default m if SND_SOC_WM5102=m
261 default m if SND_SOC_WM5110=m
[all …]
Drl6231.c100 int m; member
124 int n = 0, m = 0, m_t = 0; in rl6231_pll_calc() local
135 m = pll_preset_table[i].m; in rl6231_pll_calc()
160 m = m_t; in rl6231_pll_calc()
171 m = m_t; in rl6231_pll_calc()
183 pll_code->m_code = m; in rl6231_pll_calc()
Drt5677-spi.c117 struct spi_message m; in rt5677_spi_read() local
138 spi_message_init_with_transfers(&m, t, ARRAY_SIZE(t)); in rt5677_spi_read()
152 status |= spi_sync(g_spi, &m); in rt5677_spi_read()
171 struct spi_message m; in rt5677_spi_write() local
189 spi_message_init_with_transfers(&m, &t, 1); in rt5677_spi_write()
208 status |= spi_sync(g_spi, &m); in rt5677_spi_write()
Dwm0010.c123 struct spi_message m; member
198 struct spi_message m; member
226 if (xfer->m.status != 0) { in wm0010_boot_xfer_complete()
228 xfer->m.status); in wm0010_boot_xfer_complete()
438 spi_message_init(&xfer->m); in wm0010_firmware_load()
439 xfer->m.complete = wm0010_boot_xfer_complete; in wm0010_firmware_load()
440 xfer->m.context = xfer; in wm0010_firmware_load()
457 spi_message_add_tail(&xfer->t, &xfer->m); in wm0010_firmware_load()
467 ret = spi_async(spi, &xfer->m); in wm0010_firmware_load()
504 struct spi_message m; in wm0010_stage2_load() local
[all …]
Dmax98925.c260 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()
Dalc5623.h124 #define ALC5623_PLL_CTRL_M_VAL(m) ((m)&0xf) argument
Dalc5632.h207 #define ALC5632_PLL1_CTRL_M_VAL(m) (((m) & 0x0f) << 0) argument
D88pm860x-codec.c195 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/
Dgus_volume.c32 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/
DKconfig14 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)
34 default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
/sound/oss/
Dv_midi.c177 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 …]
Dmpu401.c951 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 …]
Dsb_mixer.c675 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/
Ddummy.c1061 struct dummy_model *m = NULL, **mdl; in snd_dummy_probe() local
1076 m = dummy->model = *mdl; in snd_dummy_probe()
1091 if (m) { in snd_dummy_probe()
1092 if (m->formats) in snd_dummy_probe()
1093 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe()
1094 if (m->buffer_bytes_max) in snd_dummy_probe()
1095 dummy->pcm_hw.buffer_bytes_max = m->buffer_bytes_max; in snd_dummy_probe()
1096 if (m->period_bytes_min) in snd_dummy_probe()
1097 dummy->pcm_hw.period_bytes_min = m->period_bytes_min; in snd_dummy_probe()
1098 if (m->period_bytes_max) in snd_dummy_probe()
[all …]
/sound/firewire/fireworks/
Dfireworks_proc.c133 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/
DKconfig96 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
106 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
116 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
126 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
136 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
146 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
156 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
166 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
175 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
197 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
[all …]
/sound/pci/echoaudio/
Dechoaudio_dsp.c638 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/firewire/oxfw/
Doxfw.c75 const char *d, *v, *m; in name_card() local
103 m = info->model_name; in name_card()
107 m = model; in name_card()
111 strcpy(oxfw->card->mixername, m); in name_card()
112 strcpy(oxfw->card->shortname, m); in name_card()
116 v, m, firmware >> 20, firmware & 0xffff, in name_card()
/sound/soc/sh/rcar/
Drsnd.h195 #define rsnd_mod_read(m, r) \ argument
196 rsnd_read(rsnd_mod_to_priv(m), m, RSND_REG_##r)
197 #define rsnd_mod_write(m, r, d) \ argument
198 rsnd_write(rsnd_mod_to_priv(m), m, RSND_REG_##r, d)
199 #define rsnd_mod_bset(m, r, s, d) \ argument
200 rsnd_bset(rsnd_mod_to_priv(m), m, RSND_REG_##r, s, d)
/sound/mips/
Dad1843.c266 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/
Dinterface.h13 #define __PAD(m,n) u8 __pad##m[n] argument
/sound/pci/
Dsonicvibes.c487 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/soc/fsl/
DKconfig178 …default y if SND_SOC_IMX_SSI=y && (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_A…
289 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
/sound/core/
Dinfo.c320 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()

12