Home
last modified time | relevance | path

Searched refs:kc (Results 1 – 25 of 26) sorted by relevance

12

/linux/sound/soc/
H A Dsoc-card-test.c36 struct snd_kcontrol *kc; in test_snd_soc_card_get_kcontrol() local
45 kc = snd_soc_card_get_kcontrol(card, test_card_controls[i].name); in test_snd_soc_card_get_kcontrol()
46 KUNIT_EXPECT_NOT_ERR_OR_NULL_MSG(test, kc, "Failed to find '%s'\n", in test_snd_soc_card_get_kcontrol()
48 if (!kc) in test_snd_soc_card_get_kcontrol()
52 mc = (struct soc_mixer_control *)kc->private_value; in test_snd_soc_card_get_kcontrol()
57 kc = snd_soc_card_get_kcontrol(card, "None"); in test_snd_soc_card_get_kcontrol()
58 KUNIT_EXPECT_NULL(test, kc); in test_snd_soc_card_get_kcontrol()
60 kc = snd_soc_card_get_kcontrol(card, "Left None"); in test_snd_soc_card_get_kcontrol()
61 KUNIT_EXPECT_NULL(test, kc); in test_snd_soc_card_get_kcontrol()
63 kc = snd_soc_card_get_kcontrol(card, "Left"); in test_snd_soc_card_get_kcontrol()
[all …]
H A Dsoc-topology.c595 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) in soc_tplg_create_tlv_db_scale()
610 kc->tlv.p = (void *)p; in soc_tplg_create_tlv()
615 struct snd_kcontrol_new *kc, struct snd_soc_tplg_ctl_hdr *tc) in soc_tplg_create_tlv()
627 return soc_tplg_create_tlv_db_scale(tplg, kc, in soc_tplg_create_tlv()
641 static int soc_tplg_control_dmixer_create(struct soc_tplg *tplg, struct snd_kcontrol_new *kc) in soc_tplg_control_dmixer_create()
662 kc->name = devm_kstrdup(tplg->dev, mc->hdr.name, GFP_KERNEL); in soc_tplg_control_dmixer_create()
663 if (!kc->name) in soc_tplg_control_dmixer_create()
665 kc->private_value = (long)sm; in soc_tplg_control_dmixer_create()
666 kc->iface = SNDRV_CTL_ELEM_IFACE_MIXER; in soc_tplg_control_dmixer_create()
667 kc in soc_tplg_control_dmixer_create()
591 soc_tplg_create_tlv_db_scale(struct soc_tplg * tplg,struct snd_kcontrol_new * kc,struct snd_soc_tplg_tlv_dbscale * scale) soc_tplg_create_tlv_db_scale() argument
611 soc_tplg_create_tlv(struct soc_tplg * tplg,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * tc) soc_tplg_create_tlv() argument
637 soc_tplg_control_dmixer_create(struct soc_tplg * tplg,struct snd_kcontrol_new * kc) soc_tplg_control_dmixer_create() argument
761 soc_tplg_control_denum_create(struct soc_tplg * tplg,struct snd_kcontrol_new * kc) soc_tplg_control_denum_create() argument
830 soc_tplg_control_dbytes_create(struct soc_tplg * tplg,struct snd_kcontrol_new * kc) soc_tplg_control_dbytes_create() argument
873 struct snd_kcontrol_new kc = {0}; soc_tplg_dbytes_create() local
907 struct snd_kcontrol_new kc = {0}; soc_tplg_dmixer_create() local
941 struct snd_kcontrol_new kc = {0}; soc_tplg_denum_create() local
1105 struct snd_kcontrol_new *kc; soc_tplg_dapm_widget_create() local
[all...]
/linux/sound/pci/ice1712/
H A Dse.c420 static int se200pci_cont_volume_info(struct snd_kcontrol *kc, in se200pci_cont_volume_info() argument
432 static int se200pci_cont_enum_info(struct snd_kcontrol *kc, in se200pci_cont_enum_info() argument
437 n = kc->private_value; in se200pci_cont_enum_info()
444 static int se200pci_cont_volume_get(struct snd_kcontrol *kc, in se200pci_cont_volume_get() argument
447 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_volume_get()
449 int n = kc->private_value; in se200pci_cont_volume_get()
455 static int se200pci_cont_boolean_get(struct snd_kcontrol *kc, in se200pci_cont_boolean_get() argument
458 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_boolean_get()
460 int n = kc->private_value; in se200pci_cont_boolean_get()
465 static int se200pci_cont_enum_get(struct snd_kcontrol *kc, in se200pci_cont_enum_get() argument
[all …]
/linux/include/linux/
H A Ddm-kcopyd.h54 void dm_kcopyd_client_destroy(struct dm_kcopyd_client *kc);
55 void dm_kcopyd_client_flush(struct dm_kcopyd_client *kc);
67 void dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from,
82 void *dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc,
86 void dm_kcopyd_zero(struct dm_kcopyd_client *kc,
/linux/drivers/net/ovpn/
H A Dcrypto_aead.c401 ovpn_aead_crypto_key_slot_new(const struct ovpn_key_config *kc) in ovpn_aead_crypto_key_slot_new() argument
408 switch (kc->cipher_alg) { in ovpn_aead_crypto_key_slot_new()
419 if (kc->encrypt.nonce_tail_size != OVPN_NONCE_TAIL_SIZE || in ovpn_aead_crypto_key_slot_new()
420 kc->decrypt.nonce_tail_size != OVPN_NONCE_TAIL_SIZE) in ovpn_aead_crypto_key_slot_new()
432 ks->key_id = kc->key_id; in ovpn_aead_crypto_key_slot_new()
435 kc->encrypt.cipher_key, in ovpn_aead_crypto_key_slot_new()
436 kc->encrypt.cipher_key_size); in ovpn_aead_crypto_key_slot_new()
444 kc->decrypt.cipher_key, in ovpn_aead_crypto_key_slot_new()
445 kc->decrypt.cipher_key_size); in ovpn_aead_crypto_key_slot_new()
452 memcpy(ks->nonce_tail_xmit, kc->encrypt.nonce_tail, in ovpn_aead_crypto_key_slot_new()
[all …]
H A Dcrypto_aead.h24 ovpn_aead_crypto_key_slot_new(const struct ovpn_key_config *kc);
/linux/sound/parisc/
H A Dharmony.c637 snd_harmony_mixercontrol_info(struct snd_kcontrol *kc, in snd_harmony_mixercontrol_info() argument
640 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_mixercontrol_info()
641 int left_shift = (kc->private_value) & 0xff; in snd_harmony_mixercontrol_info()
642 int right_shift = (kc->private_value >> 8) & 0xff; in snd_harmony_mixercontrol_info()
654 snd_harmony_volume_get(struct snd_kcontrol *kc, in snd_harmony_volume_get() argument
657 struct snd_harmony *h = snd_kcontrol_chip(kc); in snd_harmony_volume_get()
658 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_get()
659 int shift_right = (kc->private_value >> 8) & 0xff; in snd_harmony_volume_get()
660 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_volume_get()
661 int invert = (kc->private_value >> 24) & 0xff; in snd_harmony_volume_get()
[all …]
/linux/sound/hda/common/
H A Dhda_local.h670 #define get_amp_nid(kc) get_amp_nid_((kc)->private_value) argument
671 #define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3)
673 #define get_amp_direction(kc) get_amp_direction_((kc)->private_value)
675 #define get_amp_index(kc) get_amp_index_((kc)->private_value) argument
676 #define get_amp_offset(kc) (((kc) argument
669 get_amp_nid(kc) global() argument
672 get_amp_direction(kc) global() argument
674 get_amp_index(kc) global() argument
[all...]
/linux/sound/soc/codecs/
H A Dwcd9335.c1260 static int slim_rx_mux_get(struct snd_kcontrol *kc, in slim_rx_mux_get() argument
1263 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_to_widget(kc); in slim_rx_mux_get()
1273 static int slim_rx_mux_put(struct snd_kcontrol *kc, in slim_rx_mux_put()
1276 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_to_widget(kc); in slim_rx_mux_put()
1279 struct soc_enum *e = (struct soc_enum *)kc->private_value; in slim_rx_mux_put()
1316 snd_soc_dapm_mux_update_power(w->dapm, kc, wcd->rx_port_value[port_id], in slim_rx_mux_put()
1324 static int slim_tx_mixer_get(struct snd_kcontrol *kc, in slim_tx_mixer_get()
1328 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_to_dapm(kc); in slim_tx_mixer_get()
1331 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_to_widget(kc); in slim_tx_mixer_get()
1333 (struct soc_mixer_control *)kc in slim_tx_mixer_get()
1272 slim_rx_mux_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_rx_mux_put() argument
1322 slim_tx_mixer_get(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_tx_mixer_get() argument
1339 slim_tx_mixer_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_tx_mixer_put() argument
1474 wcd9335_put_dec_enum(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd9335_put_dec_enum() argument
1525 wcd9335_int_dem_inp_mux_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd9335_int_dem_inp_mux_put() argument
2176 wcd9335_get_compander(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd9335_get_compander() argument
2188 wcd9335_set_compander(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd9335_set_compander() argument
2227 wcd9335_rx_hph_mode_get(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd9335_rx_hph_mode_get() argument
2238 wcd9335_rx_hph_mode_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd9335_rx_hph_mode_put() argument
2606 wcd9335_codec_enable_micbias(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_micbias() argument
2647 wcd9335_codec_enable_adc(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_adc() argument
2717 wcd9335_codec_enable_dec(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_dec() argument
2858 wcd9335_codec_enable_dmic(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_dmic() argument
2960 wcd9335_codec_enable_slim(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_slim() argument
2981 wcd9335_codec_enable_mix_path(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_mix_path() argument
3238 wcd9335_codec_enable_interpolator(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_interpolator() argument
3471 wcd9335_codec_hphl_dac_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_hphl_dac_event() argument
3521 wcd9335_codec_lineout_dac_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_lineout_dac_event() argument
3541 wcd9335_codec_ear_dac_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_ear_dac_event() argument
3622 wcd9335_codec_hphr_dac_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_hphr_dac_event() argument
3671 wcd9335_codec_enable_hphl_pa(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_hphl_pa() argument
3719 wcd9335_codec_enable_lineout_pa(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_lineout_pa() argument
3791 wcd9335_codec_enable_rx_bias(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_rx_bias() argument
3821 wcd9335_codec_enable_hphr_pa(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_hphr_pa() argument
3867 wcd9335_codec_enable_ear_pa(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_ear_pa() argument
4256 wcd9335_codec_enable_mclk(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd9335_codec_enable_mclk() argument
[all...]
H A Dhdac_hdmi.c771 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_output_widget_event()
817 struct snd_kcontrol *kc, int event) in hdac_hdmi_cvt_output_widget_event()
873 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_mux_widget_event()
883 if (!kc) in hdac_hdmi_pin_mux_widget_event()
884 kc = w->kcontrols[0]; in hdac_hdmi_pin_mux_widget_event()
886 mux_idx = snd_soc_dapm_kcontrol_get_value(kc); in hdac_hdmi_pin_mux_widget_event()
974 struct snd_kcontrol_new *kc; in hdac_hdmi_create_pin_port_muxs()
984 kc = devm_kzalloc(&hdev->dev, sizeof(*kc), GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
985 if (!kc) in hdac_hdmi_create_pin_port_muxs()
769 hdac_hdmi_pin_output_widget_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) hdac_hdmi_pin_output_widget_event() argument
814 hdac_hdmi_cvt_output_widget_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) hdac_hdmi_cvt_output_widget_event() argument
869 hdac_hdmi_pin_mux_widget_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) hdac_hdmi_pin_mux_widget_event() argument
968 struct snd_kcontrol_new *kc; hdac_hdmi_create_pin_port_muxs() local
1034 const struct snd_kcontrol_new *kc; hdac_hdmi_add_pinmux_cvt_route() local
[all...]
H A Dwcd934x.c1375 struct snd_kcontrol *kc, int event) in __wcd934x_cdc_mclk_enable()
3153 static int wcd934x_compander_get(struct snd_kcontrol *kc, in wcd934x_iir_filter_info()
3156 struct snd_soc_component *component = snd_kcontrol_chip(kc); in wcd934x_iir_filter_info()
3157 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd934x_iir_filter_info()
3165 static int wcd934x_compander_set(struct snd_kcontrol *kc, in wcd934x_compander_get() argument
3168 struct snd_soc_component *component = snd_kcontrol_chip(kc); in wcd934x_compander_get()
3170 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd934x_compander_get()
3206 static int wcd934x_rx_hph_mode_get(struct snd_kcontrol *kc, in wcd934x_compander_set()
3209 struct snd_soc_component *component = snd_kcontrol_chip(kc); in wcd934x_compander_set()
3217 static int wcd934x_rx_hph_mode_put(struct snd_kcontrol *kc,
1380 wcd934x_codec_enable_mclk(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd934x_codec_enable_mclk() argument
3177 wcd934x_compander_set(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd934x_compander_set() argument
3218 wcd934x_rx_hph_mode_get(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd934x_rx_hph_mode_get() argument
3229 wcd934x_rx_hph_mode_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd934x_rx_hph_mode_put() argument
3250 slim_rx_mux_get(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_rx_mux_get() argument
3288 slim_rx_mux_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_rx_mux_put() argument
3353 wcd934x_int_dem_inp_mux_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wcd934x_int_dem_inp_mux_put() argument
3769 slim_tx_mixer_get(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_tx_mixer_get() argument
3784 slim_tx_mixer_put(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) slim_tx_mixer_put() argument
4112 wcd934x_codec_enable_slim(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd934x_codec_enable_slim() argument
4259 wcd934x_codec_enable_interp_clk(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd934x_codec_enable_interp_clk() argument
4300 wcd934x_codec_enable_mix_path(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd934x_codec_enable_mix_path() argument
4385 wcd934x_codec_ear_dac_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd934x_codec_ear_dac_event() argument
4512 wcd934x_codec_lineout_dac_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kc,int event) wcd934x_codec_lineout_dac_event() argument
[all...]
H A Dwsa881x.c738 static int wsa881x_put_pa_gain(struct snd_kcontrol *kc, in wsa881x_component_probe()
741 struct snd_soc_component *comp = snd_kcontrol_chip(kc); in wsa881x_component_probe()
743 (struct soc_mixer_control *)kc->private_value;
744 wsa881x_put_pa_gain(struct snd_kcontrol * kc,struct snd_ctl_elem_value * ucontrol) wsa881x_put_pa_gain() argument
H A Dfs210x.c1041 struct snd_kcontrol *kc, int event) in fs210x_playback_event() argument
/linux/sound/soc/sof/
H A Dtopology.c842 struct snd_kcontrol_new *kc, in sof_control_load_volume()
869 kc->info = snd_sof_volume_info; in sof_control_load_volume()
881 if (!kc->tlv.p || get_tlv_data(kc->tlv.p, tlv) < 0) { in sof_control_load_volume()
909 kc->access &= ~SNDRV_CTL_ELEM_ACCESS_LED_MASK;
910 kc->access |= mask; in sof_control_load_enum()
928 struct snd_kcontrol_new *kc, in sof_control_load_enum()
950 struct snd_kcontrol_new *kc, in sof_control_load_bytes()
956 struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load_bytes()
978 struct snd_kcontrol_new *kc, in sof_control_load()
832 sof_control_load_volume(struct snd_soc_component * scomp,struct snd_sof_control * scontrol,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load_volume() argument
912 sof_control_load_enum(struct snd_soc_component * scomp,struct snd_sof_control * scontrol,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load_enum() argument
934 sof_control_load_bytes(struct snd_soc_component * scomp,struct snd_sof_control * scontrol,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load_bytes() argument
962 sof_control_load(struct snd_soc_component * scomp,int index,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) sof_control_load() argument
1636 const struct snd_kcontrol_new *kc; sof_widget_unload() local
[all...]
H A Dipc3-control.c585 struct snd_kcontrol *kc = NULL; in sof_ipc3_control_update()
632 kc = widget->kcontrols[i]; in sof_ipc3_control_update()
637 if (!kc) in sof_ipc3_control_update()
643 sm = (struct soc_mixer_control *)kc->private_value; in sof_ipc3_control_update()
647 be = (struct soc_bytes_ext *)kc->private_value; in sof_ipc3_control_update()
651 se = (struct soc_enum *)kc->private_value; in sof_ipc3_control_update()
700 snd_ctl_notify_one(swidget->scomp->card->snd_card, SNDRV_CTL_EVENT_MASK_VALUE, kc, 0); in sof_ipc3_set_up_volume_table()
556 struct snd_kcontrol *kc = NULL; sof_ipc3_control_update() local
H A Dipc4-control.c802 struct snd_kcontrol *kc = NULL; in sof_ipc4_widget_kcontrol_setup()
949 kc = widget->kcontrols[i];
954 if (!kc)
958 SNDRV_CTL_EVENT_MASK_VALUE, kc, 0);
673 struct snd_kcontrol *kc = NULL; sof_ipc4_control_update() local
H A Dipc3-topology.c817 const struct snd_kcontrol_new *kc; in sof_get_control_data()
827 kc = &widget->kcontrol_news[i]; in sof_get_control_data()
831 sm = (struct soc_mixer_control *)kc->private_value; in sof_get_control_data()
835 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_get_control_data()
839 se = (struct soc_enum *)kc->private_value; in sof_get_control_data()
804 const struct snd_kcontrol_new *kc; sof_get_control_data() local
/linux/sound/soc/ti/
H A Domap-mcbsp-st.c377 omap_mcbsp_set_st_ch##channel##_volume(struct snd_kcontrol *kc, \ in omap_mcbsp_st_info_volsw()
380 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ in omap_mcbsp_st_info_volsw()
383 (struct soc_mixer_control *)kc->private_value; \ in omap_mcbsp_st_info_volsw()
396 omap_mcbsp_get_st_ch##channel##_volume(struct snd_kcontrol *kc, \
399 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \
/linux/Documentation/admin-guide/device-mapper/
H A Dkcopyd.rst32 int kcopyd_copy(struct kcopyd_client *kc, struct io_region *from,
47 void kcopyd_client_destroy(struct kcopyd_client *kc);
/linux/sound/usb/caiaq/
H A Dcontrol.c596 struct snd_kcontrol *kc; in add_controls() local
601 kc = snd_ctl_new1(&kcontrol_template, cdev); in add_controls()
602 ret = snd_ctl_add(cdev->chip.card, kc); in add_controls()
/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c1313 struct snd_kcontrol_new *kc, in audioreach_tplg_init()
1346 struct snd_kcontrol_new *kc,
1362 sm = (struct soc_mixer_control *)kc->private_value;
1364 ret = audioreach_control_load_mix(scomp, scontrol, kc, hdr);
1367 sm = (struct soc_mixer_control *)kc->private_value;
1208 audioreach_control_load_mix(struct snd_soc_component * scomp,struct snd_ar_control * scontrol,struct snd_kcontrol_new * kc,const struct snd_soc_tplg_ctl_hdr * hdr) audioreach_control_load_mix() argument
1241 audioreach_control_load(struct snd_soc_component * scomp,int index,struct snd_kcontrol_new * kc,struct snd_soc_tplg_ctl_hdr * hdr) audioreach_control_load() argument
/linux/drivers/md/
H A Draid5-ppl.c207 struct kmem_cache *kc = pool_data; in ppl_io_pool_alloc() local
210 io = kmem_cache_alloc(kc, gfp_mask); in ppl_io_pool_alloc()
216 kmem_cache_free(kc, io); in ppl_io_pool_alloc()
225 struct kmem_cache *kc = pool_data; in ppl_io_pool_free() local
229 kmem_cache_free(kc, io); in ppl_io_pool_free()
/linux/drivers/tty/vt/
H A Dkeyboard.c1934 int kc; in vt_do_kbkeycode_ioctl() local
1941 kc = getkeycode(tmp.scancode); in vt_do_kbkeycode_ioctl()
1942 if (kc < 0) in vt_do_kbkeycode_ioctl()
1943 return kc; in vt_do_kbkeycode_ioctl()
1944 return put_user(kc, &user_kbkc->keycode); in vt_do_kbkeycode_ioctl()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c1063 struct nlattr *kc; in ovpn_swap_keys() local
1070 kc = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_swap_keys()
1072 nla_nest_end(ctx->nl_msg, kc); in ovpn_swap_keys()
/linux/sound/usb/
H A Dmixer_quirks.c1233 const struct snd_kcontrol_new *kc, in snd_nativeinstruments_create_mixer() argument
1248 template.name = kc[i].name; in snd_nativeinstruments_create_mixer()
1249 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()

12