Home
last modified time | relevance | path

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

/linux/sound/i2c/other/
H A Dak4xxx-adda.c604 struct snd_kcontrol_new knew; in build_dac_controls() local
611 memset(&knew, 0, sizeof(knew)); in build_dac_controls()
612 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in build_dac_controls()
613 knew.count = 1; in build_dac_controls()
614 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in build_dac_controls()
615 knew.name = ak->dac_info[mixer_ch].switch_name; in build_dac_controls()
616 knew.info = ak4xxx_switch_info; in build_dac_controls()
617 knew.get = ak4xxx_switch_get; in build_dac_controls()
618 knew.put = ak4xxx_switch_put; in build_dac_controls()
619 knew.access = 0; in build_dac_controls()
[all …]
H 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()
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/sound/pci/hda/
H A Dpatch_ca0132.c4383 struct snd_kcontrol_new knew = in add_tuning_control()
4386 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in add_tuning_control()
4388 knew.tlv.c = 0; in add_tuning_control()
4389 knew.tlv.p = 0; in add_tuning_control()
4392 knew.info = voice_focus_ctl_info; in add_tuning_control()
4393 knew.get = tuning_ctl_get; in add_tuning_control()
4394 knew.put = voice_focus_ctl_put; in add_tuning_control()
4395 knew.tlv.p = voice_focus_db_scale; in add_tuning_control()
4398 knew.info = mic_svm_ctl_info; in add_tuning_control()
4399 knew in add_tuning_control()
4371 struct snd_kcontrol_new knew = add_tuning_control() local
6646 struct snd_kcontrol_new knew = ca0132_alt_add_effect_slider() local
6682 struct snd_kcontrol_new knew = add_fx_switch() local
6697 struct snd_kcontrol_new knew = add_voicefx() local
6709 struct snd_kcontrol_new knew = add_ca0132_alt_eq_presets() local
6726 struct snd_kcontrol_new knew = ca0132_alt_add_svm_enum() local
6743 struct snd_kcontrol_new knew = ca0132_alt_add_output_enum() local
6760 struct snd_kcontrol_new knew = ca0132_alt_add_speaker_channel_cfg_enum() local
6777 struct snd_kcontrol_new knew = ca0132_alt_add_front_full_range_switch() local
6787 struct snd_kcontrol_new knew = ca0132_alt_add_rear_full_range_switch() local
6804 struct snd_kcontrol_new knew = ca0132_alt_add_bass_redirection_crossover() local
6820 struct snd_kcontrol_new knew = ca0132_alt_add_bass_redirection_switch() local
6835 struct snd_kcontrol_new knew = ca0132_alt_add_input_enum() local
6851 struct snd_kcontrol_new knew = ca0132_alt_add_mic_boost_enum() local
6869 struct snd_kcontrol_new knew = ae5_add_headphone_gain_enum() local
6886 struct snd_kcontrol_new knew = ae5_add_sound_filter_enum() local
6898 struct snd_kcontrol_new knew = zxr_add_headphone_gain_switch() local
[all...]
H A Dpatch_senarytech.c48 struct snd_kcontrol_new *knew; in set_beep_amp() local
54 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
56 if (!knew) in set_beep_amp()
58 knew->private_value = beep_amp; in set_beep_amp()
H A 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 …]
H 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()
H A Dpatch_realtek.c1136 struct snd_kcontrol_new *knew; in set_beep_amp() local
1141 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
1143 if (!knew) in set_beep_amp()
1145 knew->private_value = beep_amp; in set_beep_amp()
/linux/sound/core/
H A Dvmaster.c426 struct snd_kcontrol_new knew; in snd_ctl_make_virtual_master() local
428 memset(&knew, 0, sizeof(knew)); in snd_ctl_make_virtual_master()
429 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_ctl_make_virtual_master()
430 knew.name = name; in snd_ctl_make_virtual_master()
431 knew.info = master_info; in snd_ctl_make_virtual_master()
438 kctl = snd_ctl_new1(&knew, master); in snd_ctl_make_virtual_master()
H A Dpcm_lib.c2590 struct snd_kcontrol_new knew = { in snd_pcm_add_chmap_ctls() local
2612 knew.name = "Playback Channel Map"; in snd_pcm_add_chmap_ctls()
2614 knew.name = "Capture Channel Map"; in snd_pcm_add_chmap_ctls()
2615 knew.device = pcm->device; in snd_pcm_add_chmap_ctls()
2616 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
2617 knew.private_value = private_value; in snd_pcm_add_chmap_ctls()
2618 info->kctl = snd_ctl_new1(&knew, info); in snd_pcm_add_chmap_ctls()
/linux/sound/i2c/
H A Dtea6330t.c282 const struct snd_kcontrol_new *knew; in snd_tea6330t_update_mixer() local
342 knew = &snd_tea6330t_controls[idx]; in snd_tea6330t_update_mixer()
343 if (tea->treble == 0 && !strcmp(knew->name, "Tone Control - Treble")) in snd_tea6330t_update_mixer()
345 err = snd_ctl_add(card, snd_ctl_new1(knew, tea)); in snd_tea6330t_update_mixer()
/linux/sound/usb/
H A Dmixer_quirks.c143 const struct snd_kcontrol_new *knew, in add_single_ctl_with_resume() argument
157 kctl = snd_ctl_new1(knew, list); in add_single_ctl_with_resume()
376 struct snd_kcontrol_new knew; in snd_audigy2nx_controls_create() local
391 knew = snd_audigy2nx_control; in snd_audigy2nx_controls_create()
392 knew.name = snd_audigy2nx_led_names[i]; in snd_audigy2nx_controls_create()
393 knew.private_value = (1 << 8) | i; /* LED on as default */ in snd_audigy2nx_controls_create()
396 &knew, NULL); in snd_audigy2nx_controls_create()
2933 struct snd_kcontrol_new knew = snd_bbfpro_ctl_control; in snd_bbfpro_ctl_add() local
2935 knew.name = name; in snd_bbfpro_ctl_add()
2936 knew in snd_bbfpro_ctl_add()
2947 struct snd_kcontrol_new knew = snd_bbfpro_gain_control; snd_bbfpro_gain_add() local
2959 struct snd_kcontrol_new knew = snd_bbfpro_vol_control; snd_bbfpro_vol_add() local
3964 struct snd_kcontrol_new knew = { snd_djm_controls_create() local
[all...]
/linux/sound/pci/emu10k1/
H A Demufx.c866 struct snd_kcontrol_new knew; in snd_emu10k1_add_controls() local
896 memset(&knew, 0, sizeof(knew)); in snd_emu10k1_add_controls()
897 knew.iface = gctl_id->iface; in snd_emu10k1_add_controls()
898 knew.name = gctl_id->name; in snd_emu10k1_add_controls()
899 knew.index = gctl_id->index; in snd_emu10k1_add_controls()
900 knew.device = gctl_id->device; in snd_emu10k1_add_controls()
901 knew.subdevice = gctl_id->subdevice; in snd_emu10k1_add_controls()
902 knew.info = snd_emu10k1_gpr_ctl_info; in snd_emu10k1_add_controls()
903 knew.tlv.p = copy_tlv((const unsigned int __user *)gctl->tlv, in_kernel); in snd_emu10k1_add_controls()
904 if (knew.tlv.p) in snd_emu10k1_add_controls()
[all …]
/linux/sound/soc/atmel/
H A Dmchp-pdmc.c695 struct snd_kcontrol_new knew = { in mchp_pdmc_add_chmap_ctls() local
715 knew.name = "Capture Channel Map"; in mchp_pdmc_add_chmap_ctls()
716 knew.device = pcm->device; in mchp_pdmc_add_chmap_ctls()
717 knew.count = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count; in mchp_pdmc_add_chmap_ctls()
718 info->kctl = snd_ctl_new1(&knew, info); in mchp_pdmc_add_chmap_ctls()
/linux/sound/soc/stm/
H A Dstm32_sai_sub.c1291 struct snd_kcontrol_new knew = iec958_ctls; in stm32_sai_pcm_new() local
1295 knew.device = rtd->pcm->device; in stm32_sai_pcm_new()
1296 return snd_ctl_add(rtd->pcm->card, snd_ctl_new1(&knew, sai)); in stm32_sai_pcm_new()
/linux/Documentation/watchdog/
H A Dwatchdog-api.rst20 computer system in case of a software fault. You probably knew that
/linux/LICENSES/dual/
H A Dcopyleft-next-0.3.1159 ** knew or should have known about the possibility of such damages. **
/linux/Documentation/crypto/
H A Ddescore-readme.rst174 and knew that it used des, so i figured i'd use its routines. but once
/linux/Documentation/power/
H A Dpci.rst162 only be used to handle devices that the BIOS writer knew about in advance. The