Searched refs:codec (Results 51 - 75 of 321) sorted by relevance

1234567891011>>

/linux-master/sound/ac97/
H A Dcodec.c7 #include <sound/ac97/codec.h>
H A Dbus.c19 #include <sound/ac97/codec.h>
104 struct ac97_codec_device *codec; local
107 codec = kzalloc(sizeof(*codec), GFP_KERNEL);
108 if (!codec)
110 ac97_ctrl->codecs[idx] = codec;
111 codec->vendor_id = vendor_id;
112 codec->dev.release = ac97_codec_release;
113 codec->dev.bus = &ac97_bus_type;
114 codec
392 struct ac97_codec_device *codec = to_ac97_device(dev); local
407 struct ac97_codec_device *codec = to_ac97_device(dev); local
460 struct ac97_codec_device *codec = to_ac97_device(dev); local
[all...]
/linux-master/drivers/media/platform/qcom/venus/
H A Dhfi_platform.c24 hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec, u32 session_type) argument
34 freq = plat->codec_vpp_freq(session_type, codec);
40 hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec, u32 session_type) argument
50 freq = plat->codec_vsp_freq(session_type, codec);
56 hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec, u32 session_type) argument
66 freq = plat->codec_lp_freq(session_type, codec);
/linux-master/sound/pci/hda/
H A Dpatch_realtek.c83 /* codec parameterization */
111 void (*init_hook)(struct hda_codec *codec);
112 void (*power_hook)(struct hda_codec *codec);
113 void (*shutup)(struct hda_codec *codec);
141 static void coef_mutex_lock(struct hda_codec *codec) argument
143 struct alc_spec *spec = codec->spec;
145 snd_hda_power_up_pm(codec);
149 static void coef_mutex_unlock(struct hda_codec *codec) argument
151 struct alc_spec *spec = codec->spec;
154 snd_hda_power_down_pm(codec);
157 __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx) argument
167 alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx) argument
181 __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_val) argument
188 alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_val) argument
199 __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int mask, unsigned int bits_set) argument
210 alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int mask, unsigned int bits_set) argument
223 alc_get_coef0(struct hda_codec *codec) argument
246 alc_process_coef_fw(struct hda_codec *codec, const struct coef_fw *fw) argument
265 alc_setup_gpio(struct hda_codec *codec, unsigned int mask) argument
274 alc_write_gpio_data(struct hda_codec *codec) argument
282 alc_update_gpio_data(struct hda_codec *codec, unsigned int mask, bool on) argument
296 alc_write_gpio(struct hda_codec *codec) argument
312 alc_fixup_gpio(struct hda_codec *codec, int action, unsigned int mask) argument
319 alc_fixup_gpio1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
325 alc_fixup_gpio2(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
331 alc_fixup_gpio3(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
337 alc_fixup_gpio4(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
343 alc_fixup_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
355 alc_fix_pll(struct hda_codec *codec) argument
364 alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_bit) argument
375 alc_update_knob_master(struct hda_codec *codec, struct hda_jack_callback *jack) argument
397 alc880_unsol_event(struct hda_codec *codec, unsigned int res) argument
405 alc_fill_eapd_coef(struct hda_codec *codec) argument
521 alc888_coef_init(struct hda_codec *codec) argument
534 set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) argument
544 alc_auto_setup_eapd(struct hda_codec *codec, bool on) argument
557 alc_headset_mic_no_shutup(struct hda_codec *codec) argument
579 alc_shutup_pins(struct hda_codec *codec) argument
603 alc_eapd_shutup(struct hda_codec *codec) argument
614 alc_auto_init_amp(struct hda_codec *codec, int type) argument
657 alc_fixup_sku_ignore(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
667 alc_fixup_no_depop_delay(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
678 alc_auto_parse_customize_define(struct hda_codec *codec) argument
769 alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports) argument
871 alc_ssid_check(struct hda_codec *codec, const hda_nid_t *ports) argument
886 alc_fixup_inv_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
895 alc_build_controls(struct hda_codec *codec) argument
912 alc_pre_init(struct hda_codec *codec) argument
924 alc_init(struct hda_codec *codec) argument
948 alc_shutup(struct hda_codec *codec) argument
961 alc_power_eapd(struct hda_codec *codec) argument
966 alc_suspend(struct hda_codec *codec) argument
975 alc_resume(struct hda_codec *codec) argument
1072 alc_codec_rename_from_preset(struct hda_codec *codec) argument
1145 has_cdefine_beep(struct hda_codec *codec) argument
1163 alc_parse_auto_config(struct hda_codec *codec, const hda_nid_t *ignore_nids, const hda_nid_t *ssid_nids) argument
1187 alc_alloc_spec(struct hda_codec *codec, hda_nid_t mixer_nid) argument
1213 alc880_parse_auto_config(struct hda_codec *codec) argument
1252 alc880_fixup_vol_knob(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1635 patch_alc880(struct hda_codec *codec) argument
1680 alc260_parse_auto_config(struct hda_codec *codec) argument
1704 alc260_gpio1_automute(struct hda_codec *codec) argument
1711 alc260_fixup_gpio1_toggle(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1729 alc260_fixup_kn1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1757 alc260_fixup_fsc_s7020(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1765 alc260_fixup_fsc_s7020_jwse(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1884 patch_alc260(struct hda_codec *codec) argument
1990 alc889_fixup_coef(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1999 alc885_fixup_macpro_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2012 alc889_fixup_dac_route(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2034 alc889_fixup_mbp_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2055 alc889_fixup_mac_pins(struct hda_codec *codec, const hda_nid_t *nids, int num_nids) argument
2071 alc889_fixup_imac91_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2081 alc889_fixup_mba11_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2091 alc889_fixup_mba21_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2104 alc882_fixup_no_primary_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2120 alc_fixup_dual_codecs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2138 rename_ctl(struct hda_codec *codec, const char *oldname, const char *newname) argument
2148 alc1220_fixup_gb_dual_codecs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2172 alc1220_fixup_gb_x570(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2196 alc1220_fixup_clevo_p950(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2216 alc1220_fixup_clevo_pb51ed(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2224 alc887_asus_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) argument
2239 alc887_fixup_asus_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2735 alc882_parse_auto_config(struct hda_codec *codec) argument
2744 patch_alc882(struct hda_codec *codec) argument
2804 alc262_parse_auto_config(struct hda_codec *codec) argument
2923 patch_alc262(struct hda_codec *codec) argument
2983 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
3068 alc268_parse_auto_config(struct hda_codec *codec) argument
3076 patch_alc268(struct hda_codec *codec) argument
3171 alc269_parse_auto_config(struct hda_codec *codec) argument
3222 alc_headset_btn_callback(struct hda_codec *codec, struct hda_jack_callback *jack) argument
3244 alc_disable_headset_jack_key(struct hda_codec *codec) argument
3274 alc_enable_headset_jack_key(struct hda_codec *codec) argument
3304 alc_fixup_headset_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3330 alc269vb_toggle_power_output(struct hda_codec *codec, int power_up) argument
3335 alc269_shutup(struct hda_codec *codec) argument
3381 alc282_restore_default_value(struct hda_codec *codec) argument
3386 alc282_init(struct hda_codec *codec) argument
3423 alc282_shutup(struct hda_codec *codec) argument
3497 alc283_restore_default_value(struct hda_codec *codec) argument
3502 alc283_init(struct hda_codec *codec) argument
3538 alc283_shutup(struct hda_codec *codec) argument
3575 alc256_init(struct hda_codec *codec) argument
3627 alc256_shutup(struct hda_codec *codec) argument
3676 alc285_hp_init(struct hda_codec *codec) argument
3726 alc225_init(struct hda_codec *codec) argument
3785 alc225_shutup(struct hda_codec *codec) argument
3839 alc_default_init(struct hda_codec *codec) argument
3868 alc_default_shutup(struct hda_codec *codec) argument
3901 alc294_hp_init(struct hda_codec *codec) argument
3933 alc294_init(struct hda_codec *codec) argument
3946 alc5505_coef_set(struct hda_codec *codec, unsigned int index_reg, unsigned int val) argument
3954 alc5505_coef_get(struct hda_codec *codec, unsigned int index_reg) argument
3966 alc5505_dsp_halt(struct hda_codec *codec) argument
3981 alc5505_dsp_back_from_halt(struct hda_codec *codec) argument
3991 alc5505_dsp_init(struct hda_codec *codec) argument
4038 alc269_suspend(struct hda_codec *codec) argument
4048 alc269_resume(struct hda_codec *codec) argument
4084 alc269_fixup_pincfg_no_hp_to_lineout(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4093 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4106 alc269_fixup_hweq(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4113 alc269_fixup_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4122 alc271_fixup_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4141 alc269vb_fixup_aspire_e1_coef(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4149 alc269_fixup_pcm_44k(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4164 alc269_fixup_stereo_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4176 alc269_quanta_automute(struct hda_codec *codec) argument
4184 alc269_fixup_quanta_mute(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4193 alc269_x101_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) argument
4218 alc298_huawei_mbx_stereo_seq(struct hda_codec *codec, const struct hda_alc298_mbxinit *initval, bool first) argument
4239 alc298_fixup_huawei_mbx_stereo(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4276 alc269_fixup_x101_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4286 alc_update_vref_led(struct hda_codec *codec, hda_nid_t pin, bool polarity, bool on) argument
4308 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
4317 led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument
4334 alc269_fixup_hp_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4360 alc269_fixup_hp_mute_led_micx(struct hda_codec *codec, const struct hda_fixup *fix, int action, hda_nid_t pin) argument
4374 alc269_fixup_hp_mute_led_mic1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4380 alc269_fixup_hp_mute_led_mic2(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4386 alc269_fixup_hp_mute_led_mic3(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4393 alc_update_gpio_led(struct hda_codec *codec, unsigned int mask, int polarity, bool enabled) argument
4405 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
4417 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
4426 alc_fixup_hp_gpio_led(struct hda_codec *codec, int action, unsigned int mute_mask, unsigned int micmute_mask) argument
4447 alc236_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4453 alc269_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4459 alc285_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4465 alc286_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4471 alc287_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4477 alc245_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4491 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
4499 alc269_fixup_hp_gpio_mic1_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4517 alc280_fixup_hp_gpio4(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4533 alc245_fixup_hp_x360_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4553 alc274_hp_envy_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) argument
4568 alc274_fixup_hp_envy_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4581 alc_update_coef_led(struct hda_codec *codec, struct alc_coef_led *led, bool polarity, bool on) argument
4596 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
4604 alc285_fixup_hp_mute_led_coefbit(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4620 alc236_fixup_hp_mute_led_coefbit(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4636 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4651 alc245_fixup_hp_mute_led_coefbit(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4671 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
4679 alc285_fixup_hp_coef_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4693 alc285_fixup_hp_gpio_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4703 alc236_fixup_hp_coef_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4717 alc285_fixup_hp_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4724 alc285_fixup_hp_spectre_x360_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4731 alc236_fixup_hp_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4738 alc236_fixup_hp_micmute_led_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4750 alc236_fixup_hp_mute_led_micmute_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4757 alc298_samsung_write_coef_pack(struct hda_codec *codec, const unsigned short coefs[2]) argument
4770 alc298_fixup_samsung_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4800 gpio2_mic_hotkey_event(struct hda_codec *codec, struct hda_jack_callback *event) argument
4813 alc_register_micmute_input_device(struct hda_codec *codec) argument
4849 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4883 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4913 alc269_fixup_hp_line1_mic1_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4936 alc_headset_mode_unplugged(struct hda_codec *codec) argument
5071 alc_headset_mode_mic_in(struct hda_codec *codec, hda_nid_t hp_pin, hda_nid_t mic_pin) argument
5210 alc_headset_mode_default(struct hda_codec *codec) argument
5329 alc_headset_mode_ctia(struct hda_codec *codec) argument
5451 alc_headset_mode_omtp(struct hda_codec *codec) argument
5551 alc_determine_headset_type(struct hda_codec *codec) argument
5751 alc_update_headset_mode(struct hda_codec *codec) argument
5811 alc_update_headset_mode_hook(struct hda_codec *codec, struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
5818 alc_update_headset_jack_cb(struct hda_codec *codec, struct hda_jack_callback *jack) argument
5825 alc_probe_headset_mode(struct hda_codec *codec) argument
5845 alc_fixup_headset_mode(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5867 alc_fixup_headset_mode_no_hp_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5878 alc255_set_default_jack_type(struct hda_codec *codec) argument
5911 alc_fixup_headset_mode_alc255(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5920 alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5932 alc288_update_headset_jack_cb(struct hda_codec *codec, struct hda_jack_callback *jack) argument
5942 alc_fixup_headset_mode_dell_alc288(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5955 alc_fixup_auto_mute_via_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5964 alc_fixup_no_shutup(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5973 alc_fixup_disable_aamix(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
5984 alc_fixup_tpt440_dock(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6001 alc_fixup_tpt470_dock(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6024 alc_fixup_tpt470_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6041 alc295_fixup_asus_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6053 alc_shutup_dell_xps13(struct hda_codec *codec) argument
6064 alc_fixup_dell_xps13(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6091 alc_fixup_headset_mode_alc662(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6108 alc_fixup_headset_mode_alc668(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6120 find_ext_mic_pin(struct hda_codec *codec) argument
6141 alc271_hp_gate_mic_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6157 alc269_fixup_limit_int_mic_boost(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6189 alc283_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) argument
6205 alc283_fixup_chromebook(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6226 alc283_fixup_sense_combo_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6244 asus_tx300_automute(struct hda_codec *codec) argument
6252 alc282_fixup_asus_tx300(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6287 alc290_fixup_mono_speakers(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6300 alc298_fixup_speaker_volume(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6317 alc295_fixup_disable_dac3(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6327 alc285_fixup_speaker2_to_dac1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6337 alc280_hp_gpio4_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) argument
6354 alc280_fixup_hp_9480m(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6369 alc275_fixup_gpio4_off(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6388 alc285_fixup_thinkpad_x1_gen7(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6415 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6439 alc225_fixup_s3_pop_noise(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6449 alc274_fixup_bind_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6467 alc289_fixup_asus_ga401(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6482 alc285_fixup_invalidate_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6491 alc_combo_jack_hp_jd_restart(struct hda_codec *codec) argument
6515 alc295_fixup_chromebook(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6530 alc256_fixup_chromebook(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6544 alc_fixup_disable_mic_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6552 alc294_gx502_toggle_output(struct hda_codec *codec, struct hda_jack_callback *cb) argument
6564 alc294_fixup_gx502_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6585 alc294_gu502_toggle_output(struct hda_codec *codec, struct hda_jack_callback *cb) argument
6597 alc294_fixup_gu502_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6614 alc285_fixup_hp_gpio_amp_init(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6624 alc274_fixup_hp_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6634 alc_fixup_no_int_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6654 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6689 alc285_fixup_hp_spectre_x360(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6707 alc285_fixup_hp_envy_x360(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6764 alc_fixup_thinkpad_acpi(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6772 alc287_fixup_legion_15imhg05_speakers(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6864 cs35l41_fixup_spi_two(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6869 cs35l41_fixup_spi_four(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6930 alc256_fixup_acer_sfg16_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6950 alc256_fixup_set_coef_defaults(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6972 alc233_fixup_no_audio_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
6986 alc256_fixup_mic_no_presence_and_resume(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7003 alc256_decrease_headphone_amp_val(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7022 alc_fixup_dell4_mic_no_presence_quiet(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7057 alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7094 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7123 alc287_fixup_bind_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7144 alc_fixup_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7162 alc245_fixup_hp_spectre_x360_eu0xxx(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7197 alc287_alc1318_playback_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) argument
7213 alc287_s4_power_gpio3_default(struct hda_codec *codec) argument
7221 alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7529 alc298_fixup_lenovo_c940_duet7(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7549 alc287_fixup_lenovo_14irp8_duetitl(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
7566 alc287_fixup_lenovo_legion_7(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11256 alc269_fill_coef(struct hda_codec *codec) argument
11298 patch_alc269(struct hda_codec *codec) argument
11509 alc861_parse_auto_config(struct hda_codec *codec) argument
11526 alc861_fixup_asus_amp_vref_0f(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11543 alc_fixup_no_jack_detect(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11598 patch_alc861(struct hda_codec *codec) argument
11645 alc861vd_parse_auto_config(struct hda_codec *codec) argument
11658 alc861vd_fixup_dallas(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11668 alc660vd_fixup_asus_gpio1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11698 patch_alc861vd(struct hda_codec *codec) argument
11754 alc662_parse_auto_config(struct hda_codec *codec) argument
11770 alc272_fixup_mario(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11793 alc_fixup_bass_chmap(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11803 gpio_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument
11813 alc662_fixup_led_gpio1(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11825 alc662_usi_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) argument
11839 alc662_fixup_usi_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11849 alc662_aspire_ethos_mute_speakers(struct hda_codec *codec, struct hda_jack_callback *cb) argument
11867 alc662_fixup_aspire_ethos_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11890 alc671_fixup_hp_headset_mic2(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11913 alc897_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) argument
11924 alc897_fixup_lenovo_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11937 alc897_fixup_lenovo_headset_mode(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
11972 alc668_restore_default_value(struct hda_codec *codec) argument
12716 patch_alc662(struct hda_codec *codec) argument
12797 alc680_parse_auto_config(struct hda_codec *codec) argument
12804 patch_alc680(struct hda_codec *codec) argument
[all...]
H A Dpatch_sigmatel.c242 struct hda_codec *codec,
246 struct sigmatel_spec *spec = codec->spec;
252 struct hda_codec *codec,
256 struct sigmatel_spec *spec = codec->spec;
272 snd_hda_codec_write(codec, hinfo->nid, 0,
277 snd_hda_codec_write(codec, hinfo->nid, 0,
289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, argument
293 hda_nid_t fg = codec->core.afg;
295 codec_dbg(codec, "%s msk %x dir %x gpio %x\n", __func__, mask, dir_mask, data);
297 gpiostate = snd_hda_codec_read(codec, f
241 stac_playback_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) argument
251 stac_capture_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) argument
327 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
338 stac_vrefout_set(struct hda_codec *codec, hda_nid_t nid, unsigned int new_vref) argument
363 stac_vref_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument
373 stac_update_led_status(struct hda_codec *codec, bool muted) argument
402 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); local
409 stac_update_outputs(struct hda_codec *codec) argument
434 stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, bool enable, bool do_write) argument
465 jack_update_power(struct hda_codec *codec, struct hda_jack_callback *jack) argument
496 stac_vref_event(struct hda_codec *codec, struct hda_jack_callback *event) argument
511 stac_init_power_map(struct hda_codec *codec) argument
537 get_int_hint(struct hda_codec *codec, const char *key, int *valp) argument
544 stac_store_hints(struct hda_codec *codec) argument
575 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
587 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
640 hp_bnb2011_with_dock(struct hda_codec *codec) argument
710 set_hp_led_gpio(struct hda_codec *codec) argument
746 find_mute_led_cfg(struct hda_codec *codec, int default_polarity) argument
802 has_builtin_speaker(struct hda_codec *codec) argument
829 stac_auto_create_beep_ctls(struct hda_codec *codec, hda_nid_t nid) argument
876 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
896 stac_beep_switch_ctl(struct hda_codec *codec) argument
913 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
921 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
932 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
954 stac_create_spdif_mux_ctls(struct hda_codec *codec) argument
1354 stac9200_fixup_panasonic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1790 stac92hd73xx_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1802 stac92hd73xx_fixup_dell(struct hda_codec *codec) argument
1810 stac92hd73xx_fixup_dell_eq(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1824 stac92hd73xx_fixup_dell_m6_amic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1835 stac92hd73xx_fixup_dell_m6_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1846 stac92hd73xx_fixup_dell_m6_both(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1857 stac92hd73xx_fixup_alienware_m17x(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1869 stac92hd73xx_fixup_no_jd(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
1877 stac92hd73xx_disable_automute(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2100 stac92hd83xxx_fixup_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2122 stac92hd83xxx_fixup_hp_zephyr(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2132 stac92hd83xxx_fixup_hp_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2141 stac92hd83xxx_fixup_hp_inv_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2150 stac92hd83xxx_fixup_hp_mic_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2162 stac92hd83xxx_fixup_hp_led_gpio10(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2173 stac92hd83xxx_fixup_headset_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2182 stac92hd83xxx_fixup_gpio10_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2195 hp_envy_ts_fixup_dac_bind(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
2954 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
2963 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
2983 stac_add_hp_bass_switch(struct hda_codec *codec) argument
3057 stac92hd71bxx_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3069 stac92hd71bxx_fixup_hp_m4(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3092 stac92hd71bxx_fixup_hp_dv4(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3102 stac92hd71bxx_fixup_hp_dv5(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3122 stac92hd71bxx_fixup_hp_hdx(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3132 is_hp_output(struct hda_codec *codec, hda_nid_t pin) argument
3142 fixup_hp_headphone(struct hda_codec *codec, hda_nid_t pin) argument
3156 stac92hd71bxx_fixup_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3519 stac922x_fixup_intel_mac_auto(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3533 stac922x_fixup_intel_mac_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3825 stac927x_fixup_ref_no_jd(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3833 stac927x_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3845 stac927x_fixup_dell_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
3863 stac927x_fixup_volknob(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4099 stac9205_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4111 stac9205_fixup_dell_m43(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4139 stac9205_fixup_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4228 stac92hd95_fixup_hp_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) argument
4270 stac_parse_auto_config(struct hda_codec *codec) argument
4356 stac_init(struct hda_codec *codec) argument
4397 stac92hd_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument
4406 analog_loop_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, unsigned int verb) argument
4415 stac92hd7x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument
4423 stac9205_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument
4430 stac927x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) argument
4443 stac_suspend(struct hda_codec *codec) argument
4466 alloc_stac_spec(struct hda_codec *codec) argument
4481 patch_stac9200(struct hda_codec *codec) argument
4513 patch_stac925x(struct hda_codec *codec) argument
4543 patch_stac92hd73xx(struct hda_codec *codec) argument
4625 stac_setup_gpio(struct hda_codec *codec) argument
4649 patch_stac92hd83xxx(struct hda_codec *codec) argument
4698 patch_stac92hd95(struct hda_codec *codec) argument
4740 patch_stac92hd71bxx(struct hda_codec *codec) argument
4824 patch_stac922x(struct hda_codec *codec) argument
4866 patch_stac927x(struct hda_codec *codec) argument
4924 patch_stac9205(struct hda_codec *codec) argument
5011 patch_stac9872(struct hda_codec *codec) argument
[all...]
H A Dhda_eld.c122 static unsigned int hdmi_get_eld_data(struct hda_codec *codec, hda_nid_t nid, argument
127 val = snd_hda_codec_read(codec, nid, 0,
130 codec_info(codec, "HDMI: ELD data byte %d: 0x%x\n", byte_index, val);
144 static void hdmi_update_short_audio_desc(struct hda_codec *codec, argument
166 codec_info(codec, "HDMI: audio coding type 0 not expected\n");
210 codec_info(codec,
224 int snd_hdmi_parse_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e, argument
234 codec_info(codec, "HDMI: Unknown ELD version %d\n", e->eld_ver);
257 codec_info(codec, "HDMI: MNL is reserved value %d\n", mnl);
260 codec_info(codec, "HDM
288 snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) argument
294 snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid, unsigned char *buf, int *eld_size) argument
371 hdmi_show_short_audio_desc(struct hda_codec *codec, struct cea_sad *a) argument
396 snd_hdmi_show_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e) argument
636 snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, unsigned char *buf, int *eld_size, bool rev3_or_later) argument
[all...]
H A Dhda_auto_parser.h43 const char *hda_get_autocfg_input_label(struct hda_codec *codec,
46 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid,
87 int snd_hda_parse_pin_defcfg(struct hda_codec *codec,
93 #define snd_hda_parse_pin_def_config(codec, cfg, ignore) \
94 snd_hda_parse_pin_defcfg(codec, cfg, ignore, 0)
/linux-master/sound/soc/codecs/
H A Djz4770.c177 /* codec private data */
185 static int jz4770_codec_set_bias_level(struct snd_soc_component *codec, argument
188 struct jz_codec *jz_codec = snd_soc_component_get_drvdata(codec);
219 struct snd_soc_component *codec = dai->component; local
220 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(codec);
223 * SYSCLK output from the codec to the AIC is required to keep the
236 struct snd_soc_component *codec = dai->component; local
237 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(codec);
247 struct snd_soc_component *codec = dai->component; local
255 snd_soc_component_force_bias_level(codec,
272 struct snd_soc_component *codec = dai->component; local
376 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); local
600 jz4770_codec_codec_init_regs(struct snd_soc_component *codec) argument
663 jz4770_codec_codec_probe(struct snd_soc_component *codec) argument
674 jz4770_codec_codec_remove(struct snd_soc_component *codec) argument
705 struct jz_codec *codec = snd_soc_component_get_drvdata(dai->component); local
813 jz4770_codec_io_wait(struct jz_codec *codec) argument
825 struct jz_codec *codec = context; local
850 struct jz_codec *codec = context; local
895 struct jz_codec *codec; local
[all...]
H A Djz4760.c161 /* codec private data */
169 static int jz4760_codec_set_bias_level(struct snd_soc_component *codec, argument
172 struct jz_codec *jz_codec = snd_soc_component_get_drvdata(codec);
199 struct snd_soc_component *codec = dai->component; local
200 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(codec);
204 * SYSCLK output from the codec to the AIC is required to keep the
216 struct snd_soc_component *codec = dai->component; local
217 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(codec);
227 struct snd_soc_component *codec = dai->component; local
235 snd_soc_component_force_bias_level(codec, SND_SOC_BIAS_O
251 struct snd_soc_component *codec = dai->component; local
353 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); local
573 jz4760_codec_codec_init_regs(struct snd_soc_component *codec) argument
626 jz4760_codec_codec_probe(struct snd_soc_component *codec) argument
637 jz4760_codec_codec_remove(struct snd_soc_component *codec) argument
668 struct jz_codec *codec = snd_soc_component_get_drvdata(dai->component); local
763 jz4760_codec_io_wait(struct jz_codec *codec) argument
775 struct jz_codec *codec = context; local
800 struct jz_codec *codec = context; local
843 struct jz_codec *codec; local
[all...]
H A Dhdac_hda.h26 struct hda_codec *codec; member in struct:hdac_hda_priv
H A Dtas2781-i2c.c64 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
65 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec);
75 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
76 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec);
86 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
87 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec);
97 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
99 snd_soc_component_get_drvdata(codec);
156 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
157 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec);
173 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
188 struct snd_soc_component *codec = local
204 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
218 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
266 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
277 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
294 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
306 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
433 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); local
467 struct snd_soc_component *codec = dai->component; local
565 tasdevice_codec_probe(struct snd_soc_component *codec) argument
582 tasdevice_codec_remove( struct snd_soc_component *codec) argument
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-bus.c34 static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable) argument
36 struct hdac_bus *bus = codec->bus;
37 bool oldstate = test_bit(codec->addr, &bus->codec_powered);
39 snd_hdac_ext_bus_link_power(codec, enable);
45 * Both codec driver and controller can hold references to
49 * If the codec driver powers down the link, release
52 if (codec->addr == HDA_IDISP_ADDR && !enable)
56 update_codec_wake_enable(bus, codec->addr, enable);
/linux-master/drivers/staging/greybus/
H A Daudio_codec.c3 * APBridge ALSA SoC dummy codec driver
34 find_dai_stream_params(struct gbaudio_codec_info *codec, int id, int stream) argument
38 list_for_each_entry(dai, &codec->dai_list, list) {
45 static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec, argument
63 params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_PLAYBACK);
65 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n");
171 static int gbaudio_module_enable_rx(struct gbaudio_codec_info *codec, argument
189 params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_CAPTURE);
191 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n");
298 int gbaudio_module_update(struct gbaudio_codec_info *codec, argument
345 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); local
373 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); local
402 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); local
503 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); local
570 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); local
[all...]
/linux-master/include/sound/
H A Dhda_component.h17 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid,
19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
37 static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec, argument
42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, argument
H A Dhda_chmap.h49 int (*pin_get_slot_channel)(struct hdac_device *codec,
51 int (*pin_set_slot_channel)(struct hdac_device *codec,
53 void (*set_channel_count)(struct hdac_device *codec,
/linux-master/drivers/media/pci/zoran/
H A Dzoran_card.h27 void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c60 dma_addr_t addr = buf->codec.h264.mv_col_buf_dma;
63 addr += field * buf->codec.h264.mv_col_buf_size / 2;
78 pic->frame_info = cpu_to_le32(buf->codec.h264.pic_type << 8);
117 position = cedrus_buf->codec.h264.position;
140 output_buf->codec.h264.position = position;
142 if (!output_buf->codec.h264.mv_col_buf_size) {
153 output_buf->codec.h264.mv_col_buf_size = field_size * 2;
155 output_buf->codec.h264.mv_col_buf =
157 output_buf->codec.h264.mv_col_buf_size,
158 &output_buf->codec
[all...]
/linux-master/sound/soc/intel/avs/boards/
H A Dhdaudio.c17 static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count, argument
23 const char *cname = dev_name(&codec->core.dev);
32 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list);
100 struct hda_codec *codec = mach->pdata; local
105 list_for_each_entry(hpcm, &codec->pcm_list_head, list) {
123 return hda_codec_probe_complete(codec);
131 struct hda_codec *codec; local
136 codec = mach->pdata;
138 if (list_empty(&codec->pcm_list_head))
140 list_for_each_entry(pcm, &codec
176 struct hda_codec *codec; local
[all...]
/linux-master/sound/soc/mediatek/mt7986/
H A Dmt7986-wm8960.c35 SND_SOC_DAILINK_DEFS(codec,
62 .name = "wm8960-codec",
70 SND_SOC_DAILINK_REG(codec),
89 struct device_node *platform, *codec; local
116 codec = of_get_child_by_name(pdev->dev.of_node, "codec");
118 if (codec) {
119 codec_dai_node = of_parse_phandle(codec, "sound-dai", 0);
120 of_node_put(codec);
124 dev_err(&pdev->dev, "Failed to parse codec/soun
[all...]
/linux-master/net/bluetooth/
H A Dhci_codec.c65 * then just add codec to the list without caps
78 bt_dev_err(hdev, "Failed to read codec capabilities (%ld)",
93 /* this codec doesn't have capabilities */
151 if (skb->len < flex_array_size(std_codecs, codec, std_codecs->num)
155 /* enumerate codec capabilities of standard codecs */
158 caps.id = std_codecs->codec[i];
164 skb_pull(skb, flex_array_size(std_codecs, codec, std_codecs->num)
171 flex_array_size(vnd_codecs, codec, vnd_codecs->num)
175 /* enumerate vendor codec capabilities */
178 caps.cid = vnd_codecs->codec[
[all...]
/linux-master/sound/hda/ext/
H A Dhdac_ext_controller.c131 * @addr: codec device address
147 * snd_hdac_ext_bus_get_hlink_by_name - get hlink based on codec name
149 * @codec_name: codec name
304 * wait for 521usec for codec to report status
358 static void hdac_ext_codec_link_up(struct hdac_device *codec) argument
360 const char *devname = dev_name(&codec->dev);
362 snd_hdac_ext_bus_get_hlink_by_name(codec->bus, devname);
365 snd_hdac_ext_bus_link_get(codec->bus, hlink);
368 static void hdac_ext_codec_link_down(struct hdac_device *codec) argument
370 const char *devname = dev_name(&codec
378 snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable) argument
[all...]
H A Dhdac_ext_bus.c25 * @ext_ops: operators used for ASoC HDA codec drivers
64 * snd_hdac_ext_bus_device_remove - remove HD-audio extended codec base devices
70 struct hdac_device *codec, *__codec; local
72 * we need to remove all the codec devices objects created in the
75 list_for_each_entry_safe(codec, __codec, &bus->codec_list, list) {
76 snd_hdac_device_unregister(codec);
77 put_device(&codec->dev);
/linux-master/sound/pci/
H A Dazt3328.c44 * - builtin AC97 conformant codec (SNR over 80dB)
57 * modem card which might reveal the Aztech-specific codec ID which
252 spinlock_t *lock; /* TODO: convert to our own per-codec lock member */
335 snd_azf3328_codec_outb(const struct snd_azf3328_codec_data *codec, argument
340 outb(value, codec->io_base + reg);
344 snd_azf3328_codec_inb(const struct snd_azf3328_codec_data *codec, unsigned reg) argument
346 return inb(codec->io_base + reg);
350 snd_azf3328_codec_outw(const struct snd_azf3328_codec_data *codec, argument
355 outw(value, codec->io_base + reg);
359 snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigne argument
365 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, unsigned reg, const void *buffer, int count ) argument
380 snd_azf3328_codec_inl(const struct snd_azf3328_codec_data *codec, unsigned reg) argument
1198 snd_azf3328_codec_setfmt(struct snd_azf3328_codec_data *codec, enum azf_freq_t bitrate, unsigned int format_width, unsigned int channels ) argument
1318 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; local
1362 snd_azf3328_codec_setdmaa(struct snd_azf3328 *chip, struct snd_azf3328_codec_data *codec, unsigned long addr, unsigned int period_bytes, unsigned int buffer_bytes ) argument
1420 struct snd_azf3328_codec_data *codec = runtime->private_data; local
1444 struct snd_azf3328_codec_data *codec = runtime->private_data; local
1599 const struct snd_azf3328_codec_data *codec = local
1856 const struct snd_azf3328_codec_data *codec = first_codec; local
2010 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; local
2045 struct snd_azf3328_codec_data *codec = local
2401 struct snd_azf3328_codec_data *codec = local
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra186_dspk.c31 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
32 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec);
42 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
43 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec);
57 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
58 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec);
68 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
69 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec);
83 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
84 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec);
94 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
109 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
120 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
135 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
146 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
161 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
172 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); local
[all...]
/linux-master/sound/aoa/codecs/
H A Donyx.c3 * Apple Onboard Audio driver for Onyx codec
7 * This is a driver for the pcm3052 codec chip (codenamed Onyx)
10 * The Onyx codec has the following connections (listed by the bit
37 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa");
44 #define PFX "snd-aoa-codec-onyx: "
50 struct aoa_codec codec; member in struct:onyx
63 #define codec_to_onyx(c) container_of(c, struct onyx, codec)
779 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio);
782 onyx->codec
861 onyx_init_codec(struct aoa_codec *codec) argument
983 onyx_exit_codec(struct aoa_codec *codec) argument
[all...]

Completed in 293 milliseconds

1234567891011>>