Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/pci/hda/
Dpatch_ca0132.c4248 struct snd_kcontrol_new knew = in add_tuning_control() local
4251 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in add_tuning_control()
4253 knew.tlv.c = 0; in add_tuning_control()
4254 knew.tlv.p = 0; in add_tuning_control()
4257 knew.info = voice_focus_ctl_info; in add_tuning_control()
4258 knew.get = tuning_ctl_get; in add_tuning_control()
4259 knew.put = voice_focus_ctl_put; in add_tuning_control()
4260 knew.tlv.p = voice_focus_db_scale; in add_tuning_control()
4263 knew.info = mic_svm_ctl_info; in add_tuning_control()
4264 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()
976 struct snd_kcontrol_new *knew; in add_control() local
978 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.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()
Dhda_codec.c3364 const struct snd_kcontrol_new *knew) in snd_hda_add_new_ctls() argument
3368 for (; knew->name; knew++) { in snd_hda_add_new_ctls()
3371 if (knew->iface == (__force snd_ctl_elem_iface_t)-1) in snd_hda_add_new_ctls()
3374 kctl = snd_ctl_new1(knew, codec); in snd_hda_add_new_ctls()
3390 else if (!idx && !knew->index) { in snd_hda_add_new_ctls()
3392 knew->name, 0); in snd_hda_add_new_ctls()
Dhda_local.h274 const struct snd_kcontrol_new *knew);
Dpatch_realtek.c1075 struct snd_kcontrol_new *knew; in set_beep_amp() local
1080 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
1082 if (!knew) in set_beep_amp()
1084 knew->private_value = beep_amp; in set_beep_amp()
/kernel/linux/linux-5.10/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.c2436 struct snd_kcontrol_new knew = { in snd_pcm_add_chmap_ctls() local
2457 knew.name = "Playback Channel Map"; in snd_pcm_add_chmap_ctls()
2459 knew.name = "Capture Channel Map"; in snd_pcm_add_chmap_ctls()
2460 knew.device = pcm->device; in snd_pcm_add_chmap_ctls()
2461 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
2462 knew.private_value = private_value; in snd_pcm_add_chmap_ctls()
2463 info->kctl = snd_ctl_new1(&knew, info); in snd_pcm_add_chmap_ctls()
/kernel/liteos_a/syscall/
Dipc_syscall.c109 struct mq_attr knew, kold; in SysMqGetSetAttr() local
112 ret = LOS_ArchCopyFromUser(&knew, new, sizeof(struct mq_attr)); in SysMqGetSetAttr()
118 ret = mq_getsetattr(mqd, new ? &knew : NULL, old ? &kold : NULL); in SysMqGetSetAttr()
/kernel/linux/linux-5.10/sound/i2c/
Dtea6330t.c281 const struct snd_kcontrol_new *knew; in snd_tea6330t_update_mixer() local
338 knew = &snd_tea6330t_controls[idx]; in snd_tea6330t_update_mixer()
339 if (tea->treble == 0 && !strcmp(knew->name, "Tone Control - Treble")) in snd_tea6330t_update_mixer()
341 if ((err = snd_ctl_add(card, snd_ctl_new1(knew, tea))) < 0) in snd_tea6330t_update_mixer()
/kernel/linux/linux-5.10/sound/usb/
Dmixer_quirks.c141 const struct snd_kcontrol_new *knew, in add_single_ctl_with_resume() argument
155 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()
390 knew.name = snd_audigy2nx_led_names[i]; in snd_audigy2nx_controls_create()
391 knew.private_value = (1 << 8) | i; /* LED on as default */ in snd_audigy2nx_controls_create()
394 &knew, NULL); in snd_audigy2nx_controls_create()
2482 struct snd_kcontrol_new knew = snd_bbfpro_ctl_control; in snd_bbfpro_ctl_add() local
2484 knew.name = name; in snd_bbfpro_ctl_add()
2485 knew.private_value = (reg & SND_BBFPRO_CTL_REG_MASK) in snd_bbfpro_ctl_add()
[all …]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demufx.c811 struct snd_kcontrol_new knew; in snd_emu10k1_add_controls() local
841 memset(&knew, 0, sizeof(knew)); in snd_emu10k1_add_controls()
842 knew.iface = gctl_id->iface; in snd_emu10k1_add_controls()
843 knew.name = gctl_id->name; in snd_emu10k1_add_controls()
844 knew.index = gctl_id->index; in snd_emu10k1_add_controls()
845 knew.device = gctl_id->device; in snd_emu10k1_add_controls()
846 knew.subdevice = gctl_id->subdevice; in snd_emu10k1_add_controls()
847 knew.info = snd_emu10k1_gpr_ctl_info; in snd_emu10k1_add_controls()
848 knew.tlv.p = copy_tlv((const unsigned int __user *)gctl->tlv, in_kernel); in snd_emu10k1_add_controls()
849 if (knew.tlv.p) in snd_emu10k1_add_controls()
[all …]
/kernel/linux/linux-5.10/sound/soc/stm/
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()
/kernel/linux/linux-5.10/Documentation/watchdog/
Dwatchdog-api.rst20 computer system in case of a software fault. You probably knew that
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
Dcore.c1671 struct snd_kcontrol_new knew = { in rsnd_kctrl_new() local
1696 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
/kernel/linux/linux-5.10/Documentation/crypto/
Ddescore-readme.rst174 and knew that it used des, so i figured i'd use its routines. but once
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch492 * knew from reading PI.
521 * knew from reading PI.
/kernel/linux/linux-5.10/Documentation/power/
Dpci.rst162 only be used to handle devices that the BIOS writer knew about in advance. The
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch4586 + * if the driver does know the clock speed (either because it knew when booting,