/sound/pci/hda/ |
D | hda_eld.c | 224 int snd_hdmi_parse_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e, in snd_hdmi_parse_eld() argument 230 memset(e, 0, sizeof(*e)); in snd_hdmi_parse_eld() 231 e->eld_ver = GRAB_BITS(buf, 0, 3, 5); in snd_hdmi_parse_eld() 232 if (e->eld_ver != ELD_VER_CEA_861D && in snd_hdmi_parse_eld() 233 e->eld_ver != ELD_VER_PARTIAL) { in snd_hdmi_parse_eld() 234 codec_info(codec, "HDMI: Unknown ELD version %d\n", e->eld_ver); in snd_hdmi_parse_eld() 238 e->baseline_len = GRAB_BITS(buf, 2, 0, 8); in snd_hdmi_parse_eld() 240 e->cea_edid_ver = GRAB_BITS(buf, 4, 5, 3); in snd_hdmi_parse_eld() 242 e->support_hdcp = GRAB_BITS(buf, 5, 0, 1); in snd_hdmi_parse_eld() 243 e->support_ai = GRAB_BITS(buf, 5, 1, 1); in snd_hdmi_parse_eld() [all …]
|
/sound/isa/gus/ |
D | gus_volume.c | 17 unsigned short e, m, tmp; in snd_gf1_lvol_to_gvol_raw() local 22 e = 7; in snd_gf1_lvol_to_gvol_raw() 24 while (e > 0 && tmp < (1 << e)) in snd_gf1_lvol_to_gvol_raw() 25 e--; in snd_gf1_lvol_to_gvol_raw() 29 e++; in snd_gf1_lvol_to_gvol_raw() 32 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw() 34 if (e > 8) in snd_gf1_lvol_to_gvol_raw() 35 m >>= e - 8; in snd_gf1_lvol_to_gvol_raw() 36 else if (e < 8) in snd_gf1_lvol_to_gvol_raw() 37 m <<= 8 - e; in snd_gf1_lvol_to_gvol_raw() [all …]
|
/sound/core/seq/oss/ |
D | seq_oss_event.c | 125 switch (q->e.cmd) { in extended_event() 127 return note_off_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event() 130 return note_on_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event() 133 return set_control_event(dp, q->e.dev, SNDRV_SEQ_EVENT_PGMCHANGE, in extended_event() 134 q->e.chn, 0, q->e.p1, ev); in extended_event() 137 return set_control_event(dp, q->e.dev, SNDRV_SEQ_EVENT_CHANPRESS, in extended_event() 138 q->e.chn, 0, q->e.p1, ev); in extended_event() 142 val = (char)q->e.p1; in extended_event() 144 return set_control_event(dp, q->e.dev, SNDRV_SEQ_EVENT_CONTROLLER, in extended_event() 145 q->e.chn, CTL_PAN, val, ev); in extended_event() [all …]
|
D | seq_oss_event.h | 85 struct evrec_extended e; member
|
/sound/soc/ |
D | soc-ops.c | 43 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_info_enum_double() local 45 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double() 46 e->items, e->texts); in snd_soc_info_enum_double() 63 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_get_enum_double() local 68 ret = snd_soc_component_read(component, e->reg, ®_val); in snd_soc_get_enum_double() 71 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_get_enum_double() 72 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double() 74 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double() 75 val = (reg_val >> e->shift_r) & e->mask; in snd_soc_get_enum_double() 76 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double() [all …]
|
D | soc-dapm.c | 355 struct soc_enum *e; in dapm_kcontrol_data_alloc() local 412 e = (struct soc_enum *)kcontrol->private_value; in dapm_kcontrol_data_alloc() 414 if (e->autodisable) { in dapm_kcontrol_data_alloc() 425 template.reg = e->reg; in dapm_kcontrol_data_alloc() 426 template.mask = e->mask << e->shift_l; in dapm_kcontrol_data_alloc() 427 template.shift = e->shift_l; in dapm_kcontrol_data_alloc() 428 template.off_val = snd_soc_enum_item_to_val(e, 0); in dapm_kcontrol_data_alloc() 739 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in dapm_connect_mux() local 743 if (e->reg != SND_SOC_NOPM) { in dapm_connect_mux() 744 soc_dapm_read(dapm, e->reg, &val); in dapm_connect_mux() [all …]
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 130 struct sst_enum *e = (struct sst_enum *)kcontrol->private_value; in sst_slot_enum_info() local 134 uinfo->value.enumerated.items = e->max; in sst_slot_enum_info() 136 if (uinfo->value.enumerated.item > e->max - 1) in sst_slot_enum_info() 137 uinfo->value.enumerated.item = e->max - 1; in sst_slot_enum_info() 139 e->texts[uinfo->value.enumerated.item]); in sst_slot_enum_info() 154 struct sst_enum *e = (void *)kcontrol->private_value; in sst_slot_get() local 157 unsigned int ctl_no = e->reg; in sst_slot_get() 158 unsigned int is_tx = e->tx; in sst_slot_get() 165 for (mux = e->max; mux > 0; mux--) in sst_slot_get() 174 e->texts[mux], mux ? map[mux - 1] : -1); in sst_slot_get() [all …]
|
/sound/soc/atmel/ |
D | tse850-pcm5142.c | 78 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_mux1() local 81 if (val >= e->items) in tse850_put_mux1() 108 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_mux2() local 111 if (val >= e->items) in tse850_put_mux2() 193 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_ana() local 197 if (uV >= e->items) in tse850_put_ana()
|
/sound/soc/meson/ |
D | g12a-tohdmitx.c | 111 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in g12a_tohdmitx_i2s_mux_put_enum() local 128 snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in g12a_tohdmitx_i2s_mux_put_enum() 164 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in g12a_tohdmitx_spdif_mux_put_enum() local 179 snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in g12a_tohdmitx_spdif_mux_put_enum()
|
/sound/soc/codecs/ |
D | madera.c | 500 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_out1_demux_put() local 505 if (ucontrol->value.enumerated.item[0] > e->items - 1) in madera_out1_demux_put() 571 return snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in madera_out1_demux_put() 605 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_inmux_put() local 615 val = mux << e->shift_l; in madera_inmux_put() 616 mask = (e->mask << e->shift_l) | MADERA_IN1L_SRC_SE_MASK; in madera_inmux_put() 618 switch (e->reg) { in madera_inmux_put() 639 mux, e->reg, inmode, mask, val); in madera_inmux_put() 641 ret = regmap_update_bits_check(regmap, e->reg, mask, val, &changed); in madera_inmux_put() 647 mux, e, NULL); in madera_inmux_put() [all …]
|
D | wm8804.c | 163 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in txsrc_put() local 164 unsigned int val = ucontrol->value.enumerated.item[0] << e->shift_l; in txsrc_put() 165 unsigned int mask = 1 << e->shift_l; in txsrc_put() 173 if (snd_soc_component_test_bits(component, e->reg, mask, val)) { in txsrc_put() 181 snd_soc_component_update_bits(component, e->reg, mask, val); in txsrc_put()
|
D | cpcap.c | 362 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in cpcap_output_mux_get_enum() local 363 unsigned int shift = e->shift_l; in cpcap_output_mux_get_enum() 407 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in cpcap_output_mux_put_enum() local 409 unsigned int mask = BIT(e->shift_l); in cpcap_output_mux_put_enum() 440 snd_soc_dapm_mux_update_power(dapm, kcontrol, muxval, e, NULL); in cpcap_output_mux_put_enum() 491 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in cpcap_input_right_mux_put_enum() local 524 snd_soc_dapm_mux_update_power(dapm, kcontrol, muxval, e, NULL); in cpcap_input_right_mux_put_enum() 567 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in cpcap_input_left_mux_put_enum() local 592 snd_soc_dapm_mux_update_power(dapm, kcontrol, muxval, e, NULL); in cpcap_input_left_mux_put_enum()
|
D | adau17x1.c | 192 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in adau17x1_dsp_mux_enum_put() local 194 unsigned int stream = e->shift_l; in adau17x1_dsp_mux_enum_put() 198 if (ucontrol->value.enumerated.item[0] >= e->items) in adau17x1_dsp_mux_enum_put() 225 ucontrol->value.enumerated.item[0], e, &update); in adau17x1_dsp_mux_enum_put() 236 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in adau17x1_dsp_mux_enum_get() local 237 unsigned int stream = e->shift_l; in adau17x1_dsp_mux_enum_get()
|
/sound/firewire/oxfw/ |
D | oxfw-stream.c | 495 unsigned int i, e, channels, type; in snd_oxfw_stream_parse_format() local 517 for (e = 0; e < format[4]; e++) { in snd_oxfw_stream_parse_format() 518 channels = format[5 + e * 2]; in snd_oxfw_stream_parse_format() 519 type = format[6 + e * 2]; in snd_oxfw_stream_parse_format()
|
/sound/pci/ac97/ |
D | ac97_codec.c | 450 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_info_enum_double() local 452 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_ac97_info_enum_double() 453 e->mask, e->texts); in snd_ac97_info_enum_double() 460 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_get_enum_double() local 463 for (bitmask = 1; bitmask < e->mask; bitmask <<= 1) in snd_ac97_get_enum_double() 465 val = snd_ac97_read_cache(ac97, e->reg); in snd_ac97_get_enum_double() 466 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); in snd_ac97_get_enum_double() 467 if (e->shift_l != e->shift_r) in snd_ac97_get_enum_double() 468 ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); in snd_ac97_get_enum_double() 477 struct ac97_enum *e = (struct ac97_enum *)kcontrol->private_value; in snd_ac97_put_enum_double() local [all …]
|
/sound/firewire/bebob/ |
D | bebob_stream.c | 716 unsigned int i, e, channels, format; in parse_stream_formation() local 737 for (e = 0; e < buf[4]; e++) { in parse_stream_formation() 738 channels = buf[5 + e * 2]; in parse_stream_formation() 739 format = buf[6 + e * 2]; in parse_stream_formation()
|
/sound/soc/fsl/ |
D | fsl_audmix.c | 116 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in fsl_audmix_put_mix_clk_src() local 128 val = snd_soc_enum_item_to_val(e, item[0]); in fsl_audmix_put_mix_clk_src() 158 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in fsl_audmix_put_out_src() local 176 val = snd_soc_enum_item_to_val(e, item[0]); in fsl_audmix_put_out_src()
|
/sound/pci/asihpi/ |
D | asihpi.c | 231 u16 e; in hpi_stream_get_info_ex() local 233 e = hpi_outstream_get_info_ex(h_stream, pw_state, in hpi_stream_get_info_ex() 237 e = hpi_instream_get_info_ex(h_stream, pw_state, in hpi_stream_get_info_ex() 240 return e; in hpi_stream_get_info_ex() 587 u16 e; in snd_card_asihpi_trigger() local 626 e = hpi_stream_group_add( in snd_card_asihpi_trigger() 629 if (!e) { in snd_card_asihpi_trigger() 632 hpi_handle_error(e); in snd_card_asihpi_trigger() 2244 u16 e; in snd_asihpi_mux_put() local 2248 e = hpi_multiplexer_query_source(h_control, in snd_asihpi_mux_put() [all …]
|
/sound/soc/sti/ |
D | Kconfig | 12 any of the STI platforms (e.g. STIH416).
|
/sound/firewire/fireface/ |
D | ff-proc.c | 37 void (*op)(struct snd_info_entry *e, in add_node() argument
|
/sound/soc/ux500/ |
D | Kconfig | 11 any of the Ux500 platforms (e.g. U8500).
|
/sound/hda/ |
D | Kconfig | 29 HD-audio driver. A larger buffer (e.g. 2048) is preferred
|
/sound/soc/sof/ |
D | Kconfig | 127 elapse to inform ALSA about that, on platforms (e.g. Intel SKL+) that 128 with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM. 129 On platforms (e.g. Intel SKL-) where position update IPC is the only
|
/sound/firewire/tascam/ |
D | tascam-proc.c | 54 void (*op)(struct snd_info_entry *e, in add_node() argument
|
/sound/pci/au88x0/ |
D | au88x0_a3d.c | 48 short e) in a3dsrc_SetAtmosTarget() argument 53 (e << 0x10) | d); in a3dsrc_SetAtmosTarget() 63 short e) in a3dsrc_SetAtmosCurrent() argument 68 (e << 0x10) | d); in a3dsrc_SetAtmosCurrent() 89 short *d, short *e)
|