Home
last modified time | relevance | path

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

123

/sound/soc/sh/rcar/
Ddebugfs.c17 static int rsnd_debugfs_show(struct seq_file *m, void *v) in rsnd_debugfs_show() argument
19 struct rsnd_dai_stream *io = m->private; in rsnd_debugfs_show()
25 rsnd_adg_clk_dbg_info(priv, m); in rsnd_debugfs_show()
30 seq_printf(m, "name: %s\n", rsnd_mod_name(mod)); in rsnd_debugfs_show()
31 seq_printf(m, "status: %08x\n", *status); in rsnd_debugfs_show()
34 mod->ops->debug_info(m, io, mod); in rsnd_debugfs_show()
41 void rsnd_debugfs_reg_show(struct seq_file *m, phys_addr_t _addr, in rsnd_debugfs_reg_show() argument
49 seq_printf(m, "%pa:", &addr); in rsnd_debugfs_reg_show()
51 seq_printf(m, " %08x", __raw_readl(base + offset + i + j)); in rsnd_debugfs_reg_show()
52 seq_puts(m, "\n"); in rsnd_debugfs_reg_show()
[all …]
Dadg.c627 static void dbg_msg(struct device *dev, struct seq_file *m, in dbg_msg() argument
637 if (m) in dbg_msg()
638 seq_puts(m, msg); in dbg_msg()
643 void rsnd_adg_clk_dbg_info(struct rsnd_priv *priv, struct seq_file *m) in rsnd_adg_clk_dbg_info() argument
651 dbg_msg(dev, m, "%s : %pa : %ld\n", in rsnd_adg_clk_dbg_info()
654 dbg_msg(dev, m, "BRGCKR = 0x%08x, BRRA/BRRB = 0x%x/0x%x\n", in rsnd_adg_clk_dbg_info()
656 dbg_msg(dev, m, "BRGA (for 44100 base) = %d\n", adg->rbga_rate_for_441khz); in rsnd_adg_clk_dbg_info()
657 dbg_msg(dev, m, "BRGB (for 48000 base) = %d\n", adg->rbgb_rate_for_48khz); in rsnd_adg_clk_dbg_info()
664 dbg_msg(dev, m, "clkout %d : %pa : %ld\n", i, in rsnd_adg_clk_dbg_info()
668 #define rsnd_adg_clk_dbg_info(priv, m) argument
Dssi.c1028 static void rsnd_ssi_debug_info(struct seq_file *m, in rsnd_ssi_debug_info() argument
1035 seq_printf(m, "clock: %s\n", rsnd_rdai_is_clk_master(rdai) ? in rsnd_ssi_debug_info()
1037 seq_printf(m, "bit_clk_inv: %d\n", rdai->bit_clk_inv); in rsnd_ssi_debug_info()
1038 seq_printf(m, "frm_clk_inv: %d\n", rdai->frm_clk_inv); in rsnd_ssi_debug_info()
1039 seq_printf(m, "pin share: %d\n", __rsnd_ssi_is_pin_sharing(mod)); in rsnd_ssi_debug_info()
1040 seq_printf(m, "can out clk: %d\n", rsnd_ssi_can_output_clk(mod)); in rsnd_ssi_debug_info()
1041 seq_printf(m, "multi secondary: %d\n", rsnd_ssi_is_multi_secondary(mod, io)); in rsnd_ssi_debug_info()
1042 seq_printf(m, "tdm: %d, %d\n", rsnd_runtime_is_tdm(io), in rsnd_ssi_debug_info()
1044 seq_printf(m, "chan: %d\n", ssi->chan); in rsnd_ssi_debug_info()
1045 seq_printf(m, "user: %d\n", ssi->usrcnt); in rsnd_ssi_debug_info()
[all …]
Dsrc.c604 static void rsnd_src_debug_info(struct seq_file *m, in rsnd_src_debug_info() argument
608 rsnd_debugfs_mod_reg_show(m, mod, RSND_GEN2_SCU, in rsnd_src_debug_info()
610 seq_puts(m, "\n"); in rsnd_src_debug_info()
611 rsnd_debugfs_mod_reg_show(m, mod, RSND_GEN2_SCU, in rsnd_src_debug_info()
613 seq_puts(m, "\n"); in rsnd_src_debug_info()
614 rsnd_debugfs_mod_reg_show(m, mod, RSND_GEN2_SCU, in rsnd_src_debug_info()
/sound/soc/codecs/
Dadau-utils.c18 unsigned int r, n, m, i, j; in adau_calc_pll_cfg() local
24 m = 0; in adau_calc_pll_cfg()
34 m = freq_in / j; in adau_calc_pll_cfg()
39 m = 0; in adau_calc_pll_cfg()
42 if (n > 0xffff || m > 0xffff || div > 3 || r > 8 || r < 2) in adau_calc_pll_cfg()
46 regs[0] = m >> 8; in adau_calc_pll_cfg()
47 regs[1] = m & 0xff; in adau_calc_pll_cfg()
51 if (m != 0) in adau_calc_pll_cfg()
DKconfig8 default m if I2C=m
319 default m if SND_SOC_CS47L24=m
320 default m if SND_SOC_WM5102=m
321 default m if SND_SOC_WM5110=m
322 default m if SND_SOC_WM8997=m
323 default m if SND_SOC_WM8998=m
328 default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m
338 default m if SND_SOC_MADERA=m
339 default m if SND_SOC_CS47L24=m
340 default m if SND_SOC_WM5102=m
[all …]
Drl6231.c98 int m; member
145 int k_t, min_k, max_k, n = 0, m = 0, m_t = 0; in rl6231_pll_calc() local
158 m = pll_preset_table[i].m; in rl6231_pll_calc()
196 m = 0; in rl6231_pll_calc()
208 m = m_t; in rl6231_pll_calc()
227 pll_code->m_code = m; in rl6231_pll_calc()
Dwm0010.c120 struct spi_message m; member
195 struct spi_message m; member
223 if (xfer->m.status != 0) { in wm0010_boot_xfer_complete()
225 xfer->m.status); in wm0010_boot_xfer_complete()
434 spi_message_init(&xfer->m); in wm0010_firmware_load()
435 xfer->m.complete = wm0010_boot_xfer_complete; in wm0010_firmware_load()
436 xfer->m.context = xfer; in wm0010_firmware_load()
453 spi_message_add_tail(&xfer->t, &xfer->m); in wm0010_firmware_load()
463 ret = spi_async(spi, &xfer->m); in wm0010_firmware_load()
500 struct spi_message m; in wm0010_stage2_load() local
[all …]
Dmax98925.c258 int rate, int clock, int *value, int *n, int *m) in max98925_rate_value() argument
267 *m = rate_table[i].divisors[clock][1]; in max98925_rate_value()
352 unsigned int dai_sr = 0, clock, mdll, n, m; in max98925_set_clock() local
401 if (max98925_rate_value(component, rate, clock, &dai_sr, &n, &m)) in max98925_set_clock()
410 MAX98925_DAI_CLK_DIV_M_MSBS, m >> 8); in max98925_set_clock()
412 MAX98925_DAI_CLK_DIV_M_LSBS, m & 0xFF); in max98925_set_clock()
Drt5677-spi.c475 struct spi_message m; in rt5677_spi_read() local
496 spi_message_init_with_transfers(&m, t, ARRAY_SIZE(t)); in rt5677_spi_read()
510 status |= spi_sync(g_spi, &m); in rt5677_spi_read()
530 struct spi_message m; in rt5677_spi_write() local
548 spi_message_init_with_transfers(&m, &t, 1); in rt5677_spi_write()
567 status |= spi_sync(g_spi, &m); in rt5677_spi_write()
Dalc5623.h120 #define ALC5623_PLL_CTRL_M_VAL(m) ((m)&0xf) argument
/sound/isa/gus/
Dgus_volume.c17 unsigned short e, m, tmp; in snd_gf1_lvol_to_gvol_raw() local
32 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw()
33 if (m > 0) { in snd_gf1_lvol_to_gvol_raw()
35 m >>= e - 8; in snd_gf1_lvol_to_gvol_raw()
37 m <<= 8 - e; in snd_gf1_lvol_to_gvol_raw()
38 m &= 255; in snd_gf1_lvol_to_gvol_raw()
40 return (e << 8) | m; in snd_gf1_lvol_to_gvol_raw()
48 unsigned short e, m;
53 m = (unsigned char) gf1_vol;
56 return rvol | (m << (e - 8));
[all …]
/sound/soc/uniphier/
Daio-reg.h60 #define INTCHIM(m) (0x9028 + 0x80 * (m)) argument
61 #define INTRBIM(m) (0x9030 + 0x80 * (m)) argument
62 #define INTCHID(m) (0xa028 + 0x80 * (m)) argument
63 #define INTRBID(m) (0xa030 + 0x80 * (m)) argument
366 #define OPORTMXTYVOLPARA1(n, m) (0x42100 + 0x400 * (n) + 0x20 * (m)) argument
368 #define OPORTMXTYVOLPARA2(n, m) (0x42104 + 0x400 * (n) + 0x20 * (m)) argument
374 #define OPORTMXTYVOLGAINSTATUS(n, m) (0x42108 + 0x400 * (n) + 0x20 * (m)) argument
376 #define OPORTMXTYSLOTCTR(n, m) (0x42114 + 0x400 * (n) + 0x20 * (m)) argument
387 #define OPORTMXTYRSTCTR(n, m) (0x4211c + 0x400 * (n) + 0x20 * (m)) argument
/sound/usb/
Dvalidate.c74 size_t len, m; in validate_processing_unit() local
88 m = hdr[len]; in validate_processing_unit()
89 len += 1 + m + 1; /* bControlSize, bmControls, iProcessing */ in validate_processing_unit()
118 m = hdr[len]; in validate_processing_unit()
119 len += 1 + m * 2; /* bNrModes, waModes(n) */ in validate_processing_unit()
133 m = hdr[len]; in validate_processing_unit()
134 len += 1 + m * 4; /* bNrModes, daModes(n) */ in validate_processing_unit()
149 m = hdr[len]; in validate_processing_unit()
150 len += 1 + m * 2; /* bNrModes, waClusterDescrID(n) */ in validate_processing_unit()
/sound/soc/sof/
Dutils.c82 int m, n; in sof_block_write() local
84 m = size / 4; in sof_block_write()
88 __iowrite32_copy(dest, src, m); in sof_block_write()
97 tmp = ioread32(dest + m * 4); in sof_block_write()
100 tmp |= *(u32 *)(src_byte + m * 4) & affected_mask; in sof_block_write()
101 iowrite32(tmp, dest + m * 4); in sof_block_write()
/sound/soc/intel/
DKconfig32 Say Y or m if you have such device.
49 enable this option by saying Y or m. Distros will typically not
64 codec, then enable this option by saying Y or m. This is a
94 in the BIOS then enable this option by saying Y or m.
103 enabled in the BIOS then enable this option by saying Y or m.
112 enabled in the BIOS then enable this option by saying Y or m.
121 enabled in the BIOS then enable this option by saying Y or m.
130 enabled in the BIOS then enable this option by saying Y or m.
139 enabled in the BIOS then enable this option by saying Y or m.
148 enabled in the BIOS then enable this option by saying Y or m.
[all …]
/sound/drivers/
Ddummy.c1024 const struct dummy_model *m = NULL, **mdl; in snd_dummy_probe() local
1039 m = dummy->model = *mdl; in snd_dummy_probe()
1054 if (m) { in snd_dummy_probe()
1055 if (m->formats) in snd_dummy_probe()
1056 dummy->pcm_hw.formats = m->formats; in snd_dummy_probe()
1057 if (m->buffer_bytes_max) in snd_dummy_probe()
1058 dummy->pcm_hw.buffer_bytes_max = m->buffer_bytes_max; in snd_dummy_probe()
1059 if (m->period_bytes_min) in snd_dummy_probe()
1060 dummy->pcm_hw.period_bytes_min = m->period_bytes_min; in snd_dummy_probe()
1061 if (m->period_bytes_max) in snd_dummy_probe()
[all …]
/sound/firewire/fireworks/
Dfireworks_proc.c132 unsigned int g, c, m, max, size; in proc_read_phys_meters() local
149 m = 0; in proc_read_phys_meters()
156 if (m < max) in proc_read_phys_meters()
158 name, c, linear[m++]); in proc_read_phys_meters()
162 m = 0; in proc_read_phys_meters()
169 if (m < max) in proc_read_phys_meters()
171 name, c, linear[m++]); in proc_read_phys_meters()
/sound/soc/intel/boards/
DKconfig46 Say Y or m if you have such a device.
78 Say Y or m if you have such a device.
90 Say Y or m if you have such a device. This is a recommended option.
105 Say Y or m if you have such a device. This is a recommended option.
117 Say Y or m if you have such a device. This is a recommended option.
141 Say Y or m if you have such a device. This is a recommended option.
153 Say Y or m if you have such a device. This is a recommended option.
165 Say Y or m if you have such a device. This is a recommended option.
177 Say Y or m if you have such a device. This is a recommended option.
189 Say Y or m if you have such a device. This is a recommended option.
[all …]
/sound/pci/hda/
DKconfig103 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
113 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
124 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
134 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
148 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
158 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
168 depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m
179 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
189 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
198 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
[all …]
/sound/firewire/oxfw/
Doxfw.c70 const char *d, *v, *m; in name_card() local
100 m = info->model_name; in name_card()
104 m = model; in name_card()
108 strcpy(oxfw->card->mixername, m); in name_card()
109 strcpy(oxfw->card->shortname, m); in name_card()
113 v, m, firmware >> 20, firmware & 0xffff, in name_card()
/sound/pci/echoaudio/
Dechoaudio_dsp.c641 unsigned int i, m, n; in get_audio_meters() local
646 for (m = 0, n = 0, i = 0; i < num_busses_out(chip); i++, m++) { in get_audio_meters()
647 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters()
648 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters()
652 m = E3G_MAX_OUTPUTS; /* Skip unused meters */ in get_audio_meters()
655 for (n = 32, i = 0; i < num_busses_in(chip); i++, m++) { in get_audio_meters()
656 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters()
657 meters[n++] = chip->comm_page->peak_meter[m]; in get_audio_meters()
660 for (n = 64, i = 0; i < num_pipes_out(chip); i++, m++) { in get_audio_meters()
661 meters[n++] = chip->comm_page->vu_meter[m]; in get_audio_meters()
[all …]
/sound/soc/pxa/
Dpxa-ssp.c593 const struct pxa_ssp_clock_mode *m; in pxa_ssp_hw_params() local
596 for (m = pxa_ssp_clock_modes; m->rate; m++) { in pxa_ssp_hw_params()
597 if (m->rate == rate) in pxa_ssp_hw_params()
601 if (!m->rate) in pxa_ssp_hw_params()
604 acds = m->acds; in pxa_ssp_hw_params()
616 ssacd |= SSACD_ACDS(m->acds); in pxa_ssp_hw_params()
617 ssacd |= m->scdb; in pxa_ssp_hw_params()
/sound/mips/
Dad1843.c252 int w, m, mask, bits; in ad1843_write_multi() local
266 m = ((1 << fp->nbits) - 1) << fp->lo_bit; in ad1843_write_multi()
267 mask |= m; in ad1843_write_multi()
268 bits |= (value << fp->lo_bit) & m; in ad1843_write_multi()
/sound/aoa/soundbus/i2sbus/
Dinterface.h12 #define __PAD(m,n) u8 __pad##m[n] argument

123