Home
last modified time | relevance | path

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

/linux-6.1.9/sound/i2c/other/ !
Dak4xxx-adda.c606 struct snd_kcontrol_new knew; in build_dac_controls() local
613 memset(&knew, 0, sizeof(knew)); in build_dac_controls()
614 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in build_dac_controls()
615 knew.count = 1; in build_dac_controls()
616 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in build_dac_controls()
617 knew.name = ak->dac_info[mixer_ch].switch_name; in build_dac_controls()
618 knew.info = ak4xxx_switch_info; in build_dac_controls()
619 knew.get = ak4xxx_switch_get; in build_dac_controls()
620 knew.put = ak4xxx_switch_put; in build_dac_controls()
621 knew.access = 0; in build_dac_controls()
[all …]
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()
183 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_pt2258_build_controls()
184 knew.count = 1; in snd_pt2258_build_controls()
185 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in snd_pt2258_build_controls()
187 knew.private_value = 2 * i; in snd_pt2258_build_controls()
188 knew.info = pt2258_stereo_volume_info; in snd_pt2258_build_controls()
189 knew.get = pt2258_stereo_volume_get; in snd_pt2258_build_controls()
190 knew.put = pt2258_stereo_volume_put; in snd_pt2258_build_controls()
[all …]
/linux-6.1.9/sound/pci/hda/ !
Dpatch_ca0132.c4369 struct snd_kcontrol_new knew = in add_tuning_control() local
4372 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in add_tuning_control()
4374 knew.tlv.c = 0; in add_tuning_control()
4375 knew.tlv.p = 0; in add_tuning_control()
4378 knew.info = voice_focus_ctl_info; in add_tuning_control()
4379 knew.get = tuning_ctl_get; in add_tuning_control()
4380 knew.put = voice_focus_ctl_put; in add_tuning_control()
4381 knew.tlv.p = voice_focus_db_scale; in add_tuning_control()
4384 knew.info = mic_svm_ctl_info; in add_tuning_control()
4385 knew.get = tuning_ctl_get; in add_tuning_control()
[all …]
Dhda_generic.c62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl() local
63 if (!knew) in snd_hda_gen_add_kctl()
65 *knew = *temp; in snd_hda_gen_add_kctl()
67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl()
68 else if (knew->name) 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()
982 struct snd_kcontrol_new *knew; in add_control() local
984 knew = snd_hda_gen_add_kctl(spec, name, &control_templates[type]); in add_control()
[all …]
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()
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()
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()
Dpatch_sigmatel.c834 struct snd_kcontrol_new *knew; in stac_auto_create_beep_ctls() local
849 knew = snd_hda_gen_add_kctl(&spec->gen, in stac_auto_create_beep_ctls()
851 if (!knew) in stac_auto_create_beep_ctls()
853 knew->private_value = in stac_auto_create_beep_ctls()
859 knew = snd_hda_gen_add_kctl(&spec->gen, in stac_auto_create_beep_ctls()
862 if (!knew) in stac_auto_create_beep_ctls()
864 knew->private_value = in stac_auto_create_beep_ctls()
Dhda_codec.c3380 const struct snd_kcontrol_new *knew) in snd_hda_add_new_ctls() argument
3384 for (; knew->name; knew++) { in snd_hda_add_new_ctls()
3387 if (knew->iface == (__force snd_ctl_elem_iface_t)-1) in snd_hda_add_new_ctls()
3390 kctl = snd_ctl_new1(knew, codec); in snd_hda_add_new_ctls()
3406 else if (!idx && !knew->index) { in snd_hda_add_new_ctls()
3408 knew->name, 0); in snd_hda_add_new_ctls()
Dhda_local.h265 const struct snd_kcontrol_new *knew);
Dpatch_realtek.c1116 struct snd_kcontrol_new *knew; in set_beep_amp() local
1121 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
1123 if (!knew) in set_beep_amp()
1125 knew->private_value = beep_amp; in set_beep_amp()
/linux-6.1.9/sound/core/ !
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()
Dpcm_lib.c2493 struct snd_kcontrol_new knew = { in snd_pcm_add_chmap_ctls() local
2514 knew.name = "Playback Channel Map"; in snd_pcm_add_chmap_ctls()
2516 knew.name = "Capture Channel Map"; in snd_pcm_add_chmap_ctls()
2517 knew.device = pcm->device; in snd_pcm_add_chmap_ctls()
2518 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
2519 knew.private_value = private_value; in snd_pcm_add_chmap_ctls()
2520 info->kctl = snd_ctl_new1(&knew, info); in snd_pcm_add_chmap_ctls()
/linux-6.1.9/sound/i2c/ !
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-6.1.9/sound/usb/ !
Dmixer_quirks.c142 const struct snd_kcontrol_new *knew, in add_single_ctl_with_resume() argument
156 kctl = snd_ctl_new1(knew, list); in add_single_ctl_with_resume()
375 struct snd_kcontrol_new knew; in snd_audigy2nx_controls_create() local
390 knew = snd_audigy2nx_control; in snd_audigy2nx_controls_create()
391 knew.name = snd_audigy2nx_led_names[i]; in snd_audigy2nx_controls_create()
392 knew.private_value = (1 << 8) | i; /* LED on as default */ in snd_audigy2nx_controls_create()
395 &knew, NULL); in snd_audigy2nx_controls_create()
2805 struct snd_kcontrol_new knew = snd_bbfpro_ctl_control; in snd_bbfpro_ctl_add() local
2807 knew.name = name; in snd_bbfpro_ctl_add()
2808 knew.private_value = (reg & SND_BBFPRO_CTL_REG_MASK) in snd_bbfpro_ctl_add()
[all …]
/linux-6.1.9/sound/soc/atmel/ !
Dmchp-pdmc.c723 struct snd_kcontrol_new knew = { in mchp_pdmc_add_chmap_ctls() local
743 knew.name = "Capture Channel Map"; in mchp_pdmc_add_chmap_ctls()
744 knew.device = pcm->device; in mchp_pdmc_add_chmap_ctls()
745 knew.count = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count; in mchp_pdmc_add_chmap_ctls()
746 info->kctl = snd_ctl_new1(&knew, info); in mchp_pdmc_add_chmap_ctls()
/linux-6.1.9/sound/pci/emu10k1/ !
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()
847 knew.subdevice = gctl_id->subdevice; in snd_emu10k1_add_controls()
848 knew.info = snd_emu10k1_gpr_ctl_info; in snd_emu10k1_add_controls()
849 knew.tlv.p = copy_tlv((const unsigned int __user *)gctl->tlv, in_kernel); in snd_emu10k1_add_controls()
850 if (knew.tlv.p) in snd_emu10k1_add_controls()
[all …]
/linux-6.1.9/sound/soc/stm/ !
Dstm32_sai_sub.c1166 struct snd_kcontrol_new knew = iec958_ctls; in stm32_sai_pcm_new() local
1170 knew.device = rtd->pcm->device; in stm32_sai_pcm_new()
1171 return snd_ctl_add(rtd->pcm->card, snd_ctl_new1(&knew, sai)); in stm32_sai_pcm_new()
/linux-6.1.9/Documentation/watchdog/ !
Dwatchdog-api.rst20 computer system in case of a software fault. You probably knew that
/linux-6.1.9/sound/soc/sh/rcar/ !
Dcore.c1766 struct snd_kcontrol_new knew = { in rsnd_kctrl_new() local
1791 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
/linux-6.1.9/Documentation/crypto/ !
Ddescore-readme.rst174 and knew that it used des, so i figured i'd use its routines. but once
/linux-6.1.9/Documentation/power/ !
Dpci.rst162 only be used to handle devices that the BIOS writer knew about in advance. The