Home
last modified time | relevance | path

Searched refs:knew (Results 1 – 21 of 21) sorted by relevance

/linux/sound/i2c/other/
A Dak4xxx-adda.c613 memset(&knew, 0, sizeof(knew)); in build_dac_controls()
615 knew.count = 1; in build_dac_controls()
621 knew.access = 0; in build_dac_controls()
630 memset(&knew, 0, sizeof(knew)); in build_dac_controls()
640 knew.count = 1; in build_dac_controls()
723 memset(&knew, 0, sizeof(knew)); in build_adc_controls()
733 knew.count = 1; in build_adc_controls()
768 knew.access = 0; in build_adc_controls()
777 memset(&knew, 0, sizeof(knew)); in build_adc_controls()
811 memset(&knew, 0, sizeof(knew)); in build_deemphasis()
[all …]
A Dpt2258.c172 struct snd_kcontrol_new knew; in snd_pt2258_build_controls() local
181 memset(&knew, 0, sizeof(knew)); in snd_pt2258_build_controls()
182 knew.name = names[i]; in snd_pt2258_build_controls()
184 knew.count = 1; in snd_pt2258_build_controls()
187 knew.private_value = 2 * i; in snd_pt2258_build_controls()
191 knew.tlv.p = pt2258_db_scale; in snd_pt2258_build_controls()
198 memset(&knew, 0, sizeof(knew)); in snd_pt2258_build_controls()
199 knew.name = "Loopback Switch"; in snd_pt2258_build_controls()
202 knew.get = pt2258_switch_get; in snd_pt2258_build_controls()
203 knew.put = pt2258_switch_put; in snd_pt2258_build_controls()
[all …]
/linux/sound/pci/hda/
A Dpatch_ca0132.c4376 knew.tlv.c = 0; in add_tuning_control()
4377 knew.tlv.p = 0; in add_tuning_control()
4381 knew.get = tuning_ctl_get; in add_tuning_control()
4387 knew.get = tuning_ctl_get; in add_tuning_control()
4388 knew.put = mic_svm_ctl_put; in add_tuning_control()
4392 knew.get = tuning_ctl_get; in add_tuning_control()
4394 knew.tlv.p = eq_db_scale; in add_tuning_control()
4399 knew.private_value = in add_tuning_control()
6651 knew.tlv.c = NULL; in ca0132_alt_add_effect_slider()
6663 knew.private_value = in ca0132_alt_add_effect_slider()
[all …]
A Dhda_generic.c63 if (!knew) in snd_hda_gen_add_kctl()
65 *knew = *temp; in snd_hda_gen_add_kctl()
69 knew->name = kstrdup(knew->name, GFP_KERNEL); in snd_hda_gen_add_kctl()
70 if (!knew->name) in snd_hda_gen_add_kctl()
72 return knew; in snd_hda_gen_add_kctl()
979 if (!knew) in add_control()
987 return knew; in add_control()
2894 if (!knew) in create_in_jack_mode()
3017 if (!knew) in create_hp_mic_jack_mode()
3632 if (!knew) in add_single_cap_ctl()
[all …]
A Dpatch_analog.c53 const struct snd_kcontrol_new *knew; in create_beep_ctls() local
58 for (knew = ad_beep_mixer ; knew->name; knew++) { in create_beep_ctls()
61 kctl = snd_ctl_new1(knew, codec); in create_beep_ctls()
A Dpatch_conexant.c59 struct snd_kcontrol_new *knew; in set_beep_amp() local
65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
67 if (!knew) in set_beep_amp()
69 knew->private_value = beep_amp; in set_beep_amp()
A Dpatch_via.c262 struct snd_kcontrol_new *knew; in set_beep_amp() local
268 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
270 if (!knew) in set_beep_amp()
272 knew->private_value = beep_amp; in set_beep_amp()
A Dpatch_sigmatel.c833 struct snd_kcontrol_new *knew; in stac_auto_create_beep_ctls() local
848 knew = snd_hda_gen_add_kctl(&spec->gen, in stac_auto_create_beep_ctls()
850 if (!knew) in stac_auto_create_beep_ctls()
852 knew->private_value = in stac_auto_create_beep_ctls()
858 knew = snd_hda_gen_add_kctl(&spec->gen, in stac_auto_create_beep_ctls()
861 if (!knew) in stac_auto_create_beep_ctls()
863 knew->private_value = in stac_auto_create_beep_ctls()
A Dhda_codec.c3317 const struct snd_kcontrol_new *knew) in snd_hda_add_new_ctls() argument
3321 for (; knew->name; knew++) { in snd_hda_add_new_ctls()
3324 if (knew->iface == (__force snd_ctl_elem_iface_t)-1) in snd_hda_add_new_ctls()
3327 kctl = snd_ctl_new1(knew, codec); in snd_hda_add_new_ctls()
3343 else if (!idx && !knew->index) { in snd_hda_add_new_ctls()
3345 knew->name, 0); in snd_hda_add_new_ctls()
A Dhda_local.h266 const struct snd_kcontrol_new *knew);
A Dpatch_realtek.c1063 struct snd_kcontrol_new *knew; in set_beep_amp() local
1068 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
1070 if (!knew) in set_beep_amp()
1072 knew->private_value = beep_amp; in set_beep_amp()
/linux/sound/core/
A Dvmaster.c397 struct snd_kcontrol_new knew; in snd_ctl_make_virtual_master() local
399 memset(&knew, 0, sizeof(knew)); in snd_ctl_make_virtual_master()
400 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_ctl_make_virtual_master()
401 knew.name = name; in snd_ctl_make_virtual_master()
402 knew.info = master_info; in snd_ctl_make_virtual_master()
409 kctl = snd_ctl_new1(&knew, master); in snd_ctl_make_virtual_master()
A Dpcm_lib.c2471 struct snd_kcontrol_new knew = { in snd_pcm_add_chmap_ctls() local
2492 knew.name = "Playback Channel Map"; in snd_pcm_add_chmap_ctls()
2494 knew.name = "Capture Channel Map"; in snd_pcm_add_chmap_ctls()
2495 knew.device = pcm->device; in snd_pcm_add_chmap_ctls()
2496 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
2497 knew.private_value = private_value; in snd_pcm_add_chmap_ctls()
2498 info->kctl = snd_ctl_new1(&knew, info); in snd_pcm_add_chmap_ctls()
/linux/sound/i2c/
A Dtea6330t.c285 const struct snd_kcontrol_new *knew; in snd_tea6330t_update_mixer() local
345 knew = &snd_tea6330t_controls[idx]; in snd_tea6330t_update_mixer()
346 if (tea->treble == 0 && !strcmp(knew->name, "Tone Control - Treble")) in snd_tea6330t_update_mixer()
348 err = snd_ctl_add(card, snd_ctl_new1(knew, tea)); in snd_tea6330t_update_mixer()
/linux/sound/usb/
A Dmixer_quirks.c155 kctl = snd_ctl_new1(knew, list); in add_single_ctl_with_resume()
374 struct snd_kcontrol_new knew; in snd_audigy2nx_controls_create() local
389 knew = snd_audigy2nx_control; in snd_audigy2nx_controls_create()
394 &knew, NULL); in snd_audigy2nx_controls_create()
2625 knew.name = name; in snd_bbfpro_ctl_add()
2631 &knew, NULL); in snd_bbfpro_ctl_add()
2639 knew.name = name; in snd_bbfpro_vol_add()
2643 &knew, NULL); in snd_bbfpro_vol_add()
3126 struct snd_kcontrol_new knew = { in snd_djm_controls_create() local
3138 knew.private_value = ( in snd_djm_controls_create()
[all …]
/linux/sound/pci/emu10k1/
A Demufx.c812 struct snd_kcontrol_new knew; in snd_emu10k1_add_controls() local
842 memset(&knew, 0, sizeof(knew)); in snd_emu10k1_add_controls()
843 knew.iface = gctl_id->iface; in snd_emu10k1_add_controls()
844 knew.name = gctl_id->name; in snd_emu10k1_add_controls()
845 knew.index = gctl_id->index; in snd_emu10k1_add_controls()
846 knew.device = gctl_id->device; in snd_emu10k1_add_controls()
850 if (knew.tlv.p) in snd_emu10k1_add_controls()
853 knew.get = snd_emu10k1_gpr_ctl_get; in snd_emu10k1_add_controls()
870 kfree(knew.tlv.p); in snd_emu10k1_add_controls()
875 kctl = snd_ctl_new1(&knew, emu); in snd_emu10k1_add_controls()
[all …]
/linux/sound/soc/stm/
A Dstm32_sai_sub.c1168 struct snd_kcontrol_new knew = iec958_ctls; in stm32_sai_pcm_new() local
1172 knew.device = rtd->pcm->device; in stm32_sai_pcm_new()
1173 return snd_ctl_add(rtd->pcm->card, snd_ctl_new1(&knew, sai)); in stm32_sai_pcm_new()
/linux/sound/soc/sh/rcar/
A Dcore.c1761 struct snd_kcontrol_new knew = { in rsnd_kctrl_new() local
1786 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
/linux/Documentation/watchdog/
A Dwatchdog-api.rst20 computer system in case of a software fault. You probably knew that
/linux/Documentation/crypto/
A Ddescore-readme.rst174 and knew that it used des, so i figured i'd use its routines. but once
/linux/Documentation/power/
A Dpci.rst162 only be used to handle devices that the BIOS writer knew about in advance. The

Completed in 131 milliseconds