Home
last modified time | relevance | path

Searched defs:codec (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/sound/pci/hda/
H A Dhda_codec.c29 #define codec_has_epss(codec) \ argument
31 #define codec_has_clkstop(codec) \ argument
639 struct hda_codec *codec = in hda_jackpoll_work() local
902 struct hda_codec *codec; in snd_hda_codec_device_init() local
962 struct hda_codec *codec; in snd_hda_codec_new() local
1781 struct hda_codec *codec; in snd_hda_lock_devices() local
1905 struct hda_codec *codec; member
3119 struct hda_codec *codec, in hda_pcm_default_open_close()
3126 struct hda_codec *codec, in hda_pcm_default_prepare()
3136 struct hda_codec *codec, in hda_pcm_default_cleanup()
[all …]
H A Dhda_generic.c5245 struct hda_codec *codec, in call_pcm_playback_hook()
5255 struct hda_codec *codec, in call_pcm_capture_hook()
5288 struct hda_codec *codec, in playback_pcm_prepare()
5305 struct hda_codec *codec, in playback_pcm_cleanup()
5332 struct hda_codec *codec, in capture_pcm_open()
5370 struct hda_codec *codec, in alt_playback_pcm_open()
5388 struct hda_codec *codec, in alt_playback_pcm_close()
5426 struct hda_codec *codec, in dig_playback_pcm_open()
5453 struct hda_codec *codec, in dig_playback_pcm_close()
5467 struct hda_codec *codec, in alt_capture_pcm_prepare()
[all …]
H A Dpatch_realtek.c178 #define alc_read_coef_idx(codec, coef_idx) \ argument
355 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll()
917 #define is_s3_resume(codec) \ argument
919 #define is_s4_resume(codec) \ argument
921 #define is_s4_suspend(codec) \ argument
924 static int alc_init(struct hda_codec *codec) in alc_init()
966 static int alc_suspend(struct hda_codec *codec) in alc_suspend()
975 static int alc_resume(struct hda_codec *codec) in alc_resume()
1156 #define has_cdefine_beep(codec) 0 argument
4554 struct hda_codec *codec, in alc274_hp_envy_pcm_hook()
[all …]
H A Dpatch_via.c180 #define hp_detect_with_aa(codec) \ argument
288 #define auto_parse_beep(codec) 0 argument
368 struct hda_codec *codec, in via_playback_pcm_hook()
376 static void via_free(struct hda_codec *codec) in via_free()
382 static int via_suspend(struct hda_codec *codec) in via_suspend()
394 static int via_resume(struct hda_codec *codec) in via_resume()
532 static int via_init(struct hda_codec *codec) in via_init()
583 static int patch_vt1708(struct hda_codec *codec) in patch_vt1708()
637 static int patch_vt1709(struct hda_codec *codec) in patch_vt1709()
756 static int patch_vt1702(struct hda_codec *codec) in patch_vt1702()
[all …]
H A Dpatch_conexant.c81 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep()
92 #define cx_auto_parse_beep(codec) 0 argument
100 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd()
140 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() local
159 static void cxt_init_gpio_led(struct hda_codec *codec) in cxt_init_gpio_led()
195 static int cx_auto_init(struct hda_codec *codec) in cx_auto_init()
211 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown()
220 static void cx_auto_free(struct hda_codec *codec) in cx_auto_free()
297 static int cx_auto_suspend(struct hda_codec *codec) in cx_auto_suspend()
445 #define update_mic_pin(codec, nid, val) \ argument
[all …]
H A Dpatch_cs8409.c178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page() local
199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read() local
242 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_read() local
287 struct hda_codec *codec = scodec->codec; in cs8409_i2c_write() local
328 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_write() local
361 static int cs8409_init(struct hda_codec *codec) in cs8409_init()
577 struct hda_codec *codec, in cs42l42_playback_pcm_hook()
606 struct hda_codec *codec, in cs42l42_capture_pcm_hook()
871 struct hda_codec *codec = cs42l42->codec; in cs42l42_resume() local
914 struct hda_codec *codec = cs42l42->codec; in cs42l42_suspend() local
[all …]
H A Dhda_bind.c88 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local
152 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
202 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
208 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
237 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
248 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
274 #define is_likely_hdmi_codec(codec) false argument
277 static int codec_bind_generic(struct hda_codec *codec) in codec_bind_generic()
297 #define is_generic_config(codec) \ argument
300 #define is_generic_config(codec) 0 argument
[all …]
H A Dpatch_analog.c50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls()
72 #define create_beep_ctls(codec) 0 argument
114 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend()
124 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local
192 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec()
378 static int patch_ad1986a(struct hda_codec *codec) in patch_ad1986a()
510 static int patch_ad1983(struct hda_codec *codec) in patch_ad1983()
600 static int patch_ad1981(struct hda_codec *codec) in patch_ad1981()
892 static int patch_ad1988(struct hda_codec *codec) in patch_ad1988()
970 struct hda_codec *codec = private_data; in ad1884_vmaster_hp_gpio_hook() local
[all …]
H A Dhda_jack.c29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable()
92 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, in snd_hda_jack_tbl_get_from_tag()
108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid()
161 void snd_hda_jack_tbl_disconnect(struct hda_codec *codec) in snd_hda_jack_tbl_disconnect()
172 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear()
195 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update()
233 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all()
274 int snd_hda_jack_detect_state_mst(struct hda_codec *codec, in snd_hda_jack_detect_state_mst()
469 void snd_hda_jack_report_sync(struct hda_codec *codec) in snd_hda_jack_report_sync()
627 int snd_hda_jack_add_kctls(struct hda_codec *codec, in snd_hda_jack_add_kctls()
[all …]
H A Dpatch_hdmi.c78 struct hda_codec *codec; member
132 struct hda_codec *codec; member
203 #define codec_has_acomp(codec) false argument
1193 struct hda_codec *codec, in hdmi_pcm_open_no_pin()
1241 struct hda_codec *codec, in hdmi_pcm_open()
2084 struct hda_codec *codec, in generic_hdmi_playback_pcm_prepare()
2170 struct hda_codec *codec, in hdmi_pcm_close()
3375 struct hda_codec *codec, in simple_playback_pcm_open()
3514 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
3951 struct hda_codec *codec, in tegra_hdmi_pcm_prepare()
[all …]
H A Dpatch_ca0132.c1135 struct hda_codec *codec; member
3006 struct hda_codec *codec; member
3888 struct hda_codec *codec, in ca0132_playback_pcm_prepare()
3901 struct hda_codec *codec, in ca0132_playback_pcm_cleanup()
3920 struct hda_codec *codec, in ca0132_playback_pcm_delay()
3948 struct hda_codec *codec, in ca0132_dig_playback_pcm_open()
3956 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare()
3967 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup()
3986 struct hda_codec *codec, in ca0132_capture_pcm_prepare()
3998 struct hda_codec *codec, in ca0132_capture_pcm_cleanup()
[all …]
H A Dpatch_sigmatel.c242 struct hda_codec *codec, in stac_playback_pcm_hook()
252 struct hda_codec *codec, in stac_capture_pcm_hook()
338 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set()
496 static void stac_vref_event(struct hda_codec *codec, in stac_vref_event()
4356 static int stac_init(struct hda_codec *codec) in stac_init()
4398 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
4407 struct hda_codec *codec, in analog_loop_proc_hook()
4416 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
4424 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
4431 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook()
[all …]
H A Dpatch_cirrus.c157 static void cs_automute(struct hda_codec *codec) in cs_automute()
186 static void init_input_coef(struct hda_codec *codec) in init_input_coef()
278 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef()
292 static int cs_init(struct hda_codec *codec) in cs_init()
323 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls()
587 static int patch_cs420x(struct hda_codec *codec) in patch_cs420x()
769 static int patch_cs4208(struct hda_codec *codec) in patch_cs4208()
1063 static int cs421x_init(struct hda_codec *codec) in cs421x_init()
1135 static int cs421x_suspend(struct hda_codec *codec) in cs421x_suspend()
1165 static int patch_cs4210(struct hda_codec *codec) in patch_cs4210()
[all …]
H A Dhda_proc.c22 #define param_read(codec, nid, parm) \ argument
48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array()
75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms()
134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals()
200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps()
305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps()
401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls()
439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob()
451 struct hda_codec *codec, hda_nid_t nid, in print_audio_io()
574 struct hda_codec *codec, hda_nid_t nid) in print_proc_caps()
[all …]
H A Dhda_sysfs.c33 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local
42 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local
97 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() local
105 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() local
115 static int clear_codec(struct hda_codec *codec) in clear_codec()
128 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec()
218 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_show() local
256 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local
267 struct hda_codec *codec = dev_get_drvdata(dev); in hints_show() local
539 struct hda_codec *codec; in parse_codec_mode() local
[all …]
H A Dhda_auto_parser.c125 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic()
168 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg()
532 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need()
776 int snd_hda_add_verbs(struct hda_codec *codec, in snd_hda_add_verbs()
792 void snd_hda_apply_verbs(struct hda_codec *codec) in snd_hda_apply_verbs()
807 void snd_hda_apply_pincfgs(struct hda_codec *codec, in snd_hda_apply_pincfgs()
815 static void set_pin_targets(struct hda_codec *codec, in set_pin_targets()
880 void snd_hda_apply_fixup(struct hda_codec *codec, int action) in snd_hda_apply_fixup()
889 static bool pin_config_match(struct hda_codec *codec, in pin_config_match()
930 void snd_hda_pick_pin_fixup(struct hda_codec *codec, in snd_hda_pick_pin_fixup()
[all …]
H A Dpatch_si3054.c64 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) argument
66 #define SET_REG_CACHE(codec,reg,val) \ argument
88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local
98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() local
125 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls()
136 struct hda_codec *codec, in si3054_pcm_prepare()
155 struct hda_codec *codec, in si3054_pcm_open()
185 static int si3054_build_pcms(struct hda_codec *codec) in si3054_build_pcms()
205 static int si3054_init(struct hda_codec *codec) in si3054_init()
249 static void si3054_free(struct hda_codec *codec) in si3054_free()
[all …]
/linux/sound/hda/
H A Dhdac_regmap.c25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock()
30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock()
40 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
67 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
116 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local
242 struct hdac_device *codec = context; in hda_reg_read() local
281 struct hdac_device *codec = context; in hda_reg_write() local
374 int snd_hdac_regmap_init(struct hdac_device *codec) in snd_hdac_regmap_init()
391 void snd_hdac_regmap_exit(struct hdac_device *codec) in snd_hdac_regmap_exit()
440 #define CALL_RAW_FUNC(codec, func_call) \ argument
[all …]
H A Dhdac_device.c128 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit()
143 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register()
166 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister()
276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
375 static void setup_fg_nodes(struct hdac_device *codec) in setup_fg_nodes()
405 int snd_hdac_refresh_widgets(struct hdac_device *codec) in snd_hdac_refresh_widgets()
568 int snd_hdac_power_up(struct hdac_device *codec) in snd_hdac_power_up()
580 int snd_hdac_power_down(struct hdac_device *codec) in snd_hdac_power_down()
600 int snd_hdac_power_up_pm(struct hdac_device *codec) in snd_hdac_power_up_pm()
612 int snd_hdac_keep_power_up(struct hdac_device *codec) in snd_hdac_keep_power_up()
[all …]
H A Dhdac_sysfs.c114 struct hdac_device *codec; in widget_attr_show() local
130 struct hdac_device *codec; in widget_attr_store() local
161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show()
176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show()
188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap()
320 static void widget_tree_free(struct hdac_device *codec) in widget_tree_free()
363 static int widget_tree_create(struct hdac_device *codec) in widget_tree_create()
401 int hda_widget_sysfs_init(struct hdac_device *codec) in hda_widget_sysfs_init()
418 void hda_widget_sysfs_exit(struct hdac_device *codec) in hda_widget_sysfs_exit()
[all …]
/linux/sound/pci/ali5451/
H A Dali5451.c141 #define ALI_REG(codec, x) ((codec)->port + x) argument
180 struct snd_ali *codec; member
391 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_write() local
407 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_read() local
880 struct snd_ali *codec = dev_id; in snd_ali_card_interrupt() local
1615 struct snd_ali *codec = pcm->private_data; in snd_ali_pcm_free() local
1784 static int snd_ali_mixer(struct snd_ali *codec) in snd_ali_mixer()
1904 struct snd_ali *codec = card->private_data; in snd_ali_free() local
1976 struct snd_ali *codec = entry->private_data; in snd_ali_proc_read() local
2014 struct snd_ali *codec = card->private_data; in snd_ali_create() local
[all …]
/linux/sound/soc/codecs/
H A Dtas2781-i2c.c64 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_getvol() local
75 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_putvol() local
86 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_getvol() local
97 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_putvol() local
156 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_set_profile_id() local
173 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_programs() local
188 struct snd_soc_component *codec = in tasdevice_info_configurations() local
433 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); in tasdevice_dapm_event() local
467 struct snd_soc_component *codec = dai->component; in tasdevice_startup() local
565 static int tasdevice_codec_probe(struct snd_soc_component *codec) in tasdevice_codec_probe()
[all …]
H A Dhda.c16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais()
83 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais()
124 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais()
146 int hda_codec_probe_complete(struct hda_codec *codec) in hda_codec_probe_complete()
175 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_probe() local
273 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_remove() local
350 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); in hda_hdev_attach() local
382 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); in hda_hdev_detach() local
/linux/sound/soc/tegra/
H A Dtegra186_dspk.c31 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_fifo_th() local
42 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_fifo_th() local
57 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_osr_val() local
68 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_osr_val() local
83 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_pol_sel() local
94 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_pol_sel() local
109 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_ch_sel() local
120 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_ch_sel() local
135 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_mono_to_stereo() local
146 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_mono_to_stereo() local
[all …]
/linux/include/sound/
H A Dhda_regmap.h79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write()
97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update()
115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read()
136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp()
160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp()
181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo()
205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo()
219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid) in snd_hdac_regmap_sync_node()

1234567891011