Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/linux/sound/pci/hda/
H A Dhda_codec.c29 #define codec_has_epss(codec) \ argument
31 #define codec_has_clkstop(codec) \ argument
641 struct hda_codec *codec = in hda_jackpoll_work() local
904 struct hda_codec *codec; in snd_hda_codec_device_init() local
964 struct hda_codec *codec; in snd_hda_codec_new() local
1787 struct hda_codec *codec; in snd_hda_lock_devices() local
1911 struct hda_codec *codec; member
3132 struct hda_codec *codec, in hda_pcm_default_open_close()
3139 struct hda_codec *codec, in hda_pcm_default_prepare()
3149 struct hda_codec *codec, in hda_pcm_default_cleanup()
[all …]
H A Dhda_generic.c5246 struct hda_codec *codec, in call_pcm_playback_hook()
5256 struct hda_codec *codec, in call_pcm_capture_hook()
5289 struct hda_codec *codec, in playback_pcm_prepare()
5306 struct hda_codec *codec, in playback_pcm_cleanup()
5333 struct hda_codec *codec, in capture_pcm_open()
5371 struct hda_codec *codec, in alt_playback_pcm_open()
5389 struct hda_codec *codec, in alt_playback_pcm_close()
5427 struct hda_codec *codec, in dig_playback_pcm_open()
5454 struct hda_codec *codec, in dig_playback_pcm_close()
5468 struct hda_codec *codec, in alt_capture_pcm_prepare()
[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()
383 static int via_suspend(struct hda_codec *codec) in via_suspend()
395 static int via_resume(struct hda_codec *codec) in via_resume()
538 static int via_init(struct hda_codec *codec) in via_init()
589 static int patch_vt1708(struct hda_codec *codec) in patch_vt1708()
643 static int patch_vt1709(struct hda_codec *codec) in patch_vt1709()
762 static int patch_vt1702(struct hda_codec *codec) in patch_vt1702()
[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_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()
298 static int cx_auto_suspend(struct hda_codec *codec) in cx_auto_suspend()
449 #define update_mic_pin(codec, nid, val) \ argument
[all …]
H A Dpatch_realtek.c143 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock()
180 #define alc_read_coef_idx(codec, coef_idx) \ argument
357 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll()
914 static void alc_pre_init(struct hda_codec *codec) in alc_pre_init()
919 #define is_s3_resume(codec) \ argument
921 #define is_s4_resume(codec) \ argument
924 static int alc_init(struct hda_codec *codec) in alc_init()
967 static int alc_suspend(struct hda_codec *codec) in alc_suspend()
976 static int alc_resume(struct hda_codec *codec) in alc_resume()
1160 #define has_cdefine_beep(codec) 0 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
915 struct hda_codec *codec = cs42l42->codec; in cs42l42_suspend() 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_analog.c50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls()
72 #define create_beep_ctls(codec) 0 argument
115 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend()
126 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local
196 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec()
382 static int patch_ad1986a(struct hda_codec *codec) in patch_ad1986a()
514 static int patch_ad1983(struct hda_codec *codec) in patch_ad1983()
604 static int patch_ad1981(struct hda_codec *codec) in patch_ad1981()
896 static int patch_ad1988(struct hda_codec *codec) in patch_ad1988()
974 struct hda_codec *codec = private_data; in ad1884_vmaster_hp_gpio_hook() local
[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()
3383 struct hda_codec *codec, in simple_playback_pcm_open()
3522 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
3959 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
3889 struct hda_codec *codec, in ca0132_playback_pcm_prepare()
3902 struct hda_codec *codec, in ca0132_playback_pcm_cleanup()
3921 struct hda_codec *codec, in ca0132_playback_pcm_delay()
3949 struct hda_codec *codec, in ca0132_dig_playback_pcm_open()
3957 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare()
3968 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup()
3987 struct hda_codec *codec, in ca0132_capture_pcm_prepare()
3999 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()
4358 static int stac_init(struct hda_codec *codec) in stac_init()
4400 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
4409 struct hda_codec *codec, in analog_loop_proc_hook()
4418 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
4426 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
4433 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()
1136 static int cs421x_suspend(struct hda_codec *codec) in cs421x_suspend()
1169 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.c34 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local
43 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local
99 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() local
107 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() local
117 static int clear_codec(struct hda_codec *codec) in clear_codec()
130 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec()
220 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_show() local
258 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local
269 struct hda_codec *codec = dev_get_drvdata(dev); in hints_show() local
541 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 …]
/openbmc/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.c127 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit()
142 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register()
165 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister()
275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
374 static void setup_fg_nodes(struct hdac_device *codec) in setup_fg_nodes()
404 int snd_hdac_refresh_widgets(struct hdac_device *codec) in snd_hdac_refresh_widgets()
567 int snd_hdac_power_up(struct hdac_device *codec) in snd_hdac_power_up()
579 int snd_hdac_power_down(struct hdac_device *codec) in snd_hdac_power_down()
599 int snd_hdac_power_up_pm(struct hdac_device *codec) in snd_hdac_power_up_pm()
611 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 …]
/openbmc/linux/sound/pci/ali5451/
H A Dali5451.c141 #define ALI_REG(codec, x) ((codec)->port + x) argument
180 struct snd_ali *codec; member
393 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_write() local
409 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_read() local
882 struct snd_ali *codec = dev_id; in snd_ali_card_interrupt() local
1617 struct snd_ali *codec = pcm->private_data; in snd_ali_pcm_free() local
1786 static int snd_ali_mixer(struct snd_ali *codec) in snd_ali_mixer()
1919 struct snd_ali *codec = card->private_data; in snd_ali_free() local
1991 struct snd_ali *codec = entry->private_data; in snd_ali_proc_read() local
2029 struct snd_ali *codec = card->private_data; in snd_ali_create() local
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dtas2781-i2c.c62 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_getvol() local
73 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_putvol() local
84 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_getvol() local
95 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_putvol() local
154 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_set_profile_id() local
171 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_programs() local
186 struct snd_soc_component *codec = in tasdevice_info_configurations() local
431 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); in tasdevice_dapm_event() local
465 struct snd_soc_component *codec = dai->component; in tasdevice_startup() local
563 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()
81 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais()
122 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais()
144 int hda_codec_probe_complete(struct hda_codec *codec) in hda_codec_probe_complete()
173 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_probe() local
271 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_remove() local
348 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); in hda_hdev_attach() local
375 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); in hda_hdev_detach() local
/openbmc/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 …]
/openbmc/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()

12345678910>>...12