Home
last modified time | relevance | path

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

1234567891011

/linux-6.3-rc2/sound/pci/hda/
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
1789 struct hda_codec *codec; in snd_hda_lock_devices() local
1913 struct hda_codec *codec; member
3130 struct hda_codec *codec, in hda_pcm_default_open_close()
3137 struct hda_codec *codec, in hda_pcm_default_prepare()
3147 struct hda_codec *codec, in hda_pcm_default_cleanup()
[all …]
A Dhda_generic.c5241 struct hda_codec *codec, in call_pcm_playback_hook()
5251 struct hda_codec *codec, in call_pcm_capture_hook()
5284 struct hda_codec *codec, in playback_pcm_prepare()
5301 struct hda_codec *codec, in playback_pcm_cleanup()
5328 struct hda_codec *codec, in capture_pcm_open()
5366 struct hda_codec *codec, in alt_playback_pcm_open()
5384 struct hda_codec *codec, in alt_playback_pcm_close()
5422 struct hda_codec *codec, in dig_playback_pcm_open()
5449 struct hda_codec *codec, in dig_playback_pcm_close()
5463 struct hda_codec *codec, in alt_capture_pcm_prepare()
[all …]
A Dpatch_realtek.c142 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock()
179 #define alc_read_coef_idx(codec, coef_idx) \ argument
356 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll()
911 static void alc_pre_init(struct hda_codec *codec) in alc_pre_init()
916 #define is_s3_resume(codec) \ argument
918 #define is_s4_resume(codec) \ argument
921 static int alc_init(struct hda_codec *codec) in alc_init()
964 static int alc_suspend(struct hda_codec *codec) in alc_suspend()
973 static int alc_resume(struct hda_codec *codec) in alc_resume()
1157 #define has_cdefine_beep(codec) 0 argument
[all …]
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 …]
A Dhda_bind.c89 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local
153 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
203 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
209 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
238 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
249 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
275 #define is_likely_hdmi_codec(codec) false argument
278 static int codec_bind_generic(struct hda_codec *codec) in codec_bind_generic()
298 #define is_generic_config(codec) \ argument
301 #define is_generic_config(codec) 0 argument
[all …]
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 …]
A Dpatch_conexant.c74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep()
85 #define cx_auto_parse_beep(codec) 0 argument
93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd()
133 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() local
152 static void cxt_init_gpio_led(struct hda_codec *codec) in cxt_init_gpio_led()
167 static int cx_auto_init(struct hda_codec *codec) in cx_auto_init()
180 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown()
189 static void cx_auto_free(struct hda_codec *codec) in cx_auto_free()
196 static int cx_auto_suspend(struct hda_codec *codec) in cx_auto_suspend()
346 #define update_mic_pin(codec, nid, val) \ argument
[all …]
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 …]
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 …]
A Dpatch_ca0132.c1135 struct hda_codec *codec; member
3005 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 …]
A Dpatch_hdmi.c78 struct hda_codec *codec; member
131 struct hda_codec *codec; member
202 #define codec_has_acomp(codec) false argument
1192 struct hda_codec *codec, in hdmi_pcm_open_no_pin()
1240 struct hda_codec *codec, in hdmi_pcm_open()
2070 struct hda_codec *codec, in generic_hdmi_playback_pcm_prepare()
2160 struct hda_codec *codec, in hdmi_pcm_close()
3367 struct hda_codec *codec, in simple_playback_pcm_open()
3506 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
3943 struct hda_codec *codec, in tegra_hdmi_pcm_prepare()
[all …]
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()
4348 static int stac_init(struct hda_codec *codec) in stac_init()
4390 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
4399 struct hda_codec *codec, in analog_loop_proc_hook()
4408 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
4416 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
4423 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook()
[all …]
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 …]
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 …]
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 …]
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 …]
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-6.3-rc2/sound/hda/
A Dhdac_regmap.c26 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock()
31 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock()
41 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
68 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
117 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local
243 struct hdac_device *codec = context; in hda_reg_read() local
282 struct hdac_device *codec = context; in hda_reg_write() local
375 int snd_hdac_regmap_init(struct hdac_device *codec) in snd_hdac_regmap_init()
392 void snd_hdac_regmap_exit(struct hdac_device *codec) in snd_hdac_regmap_exit()
441 #define CALL_RAW_FUNC(codec, func_call) \ argument
[all …]
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 …]
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-6.3-rc2/sound/pci/ali5451/
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 …]
/linux-6.3-rc2/sound/soc/codecs/
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
/linux-6.3-rc2/sound/soc/tegra/
A Dtegra186_dspk.c32 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_fifo_th() local
43 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_fifo_th() local
58 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_osr_val() local
69 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_osr_val() local
84 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_pol_sel() local
95 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_pol_sel() local
110 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_ch_sel() local
121 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_ch_sel() local
136 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_mono_to_stereo() local
147 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_mono_to_stereo() local
[all …]
/linux-6.3-rc2/include/sound/
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()
/linux-6.3-rc2/drivers/media/pci/zoran/
A Dvideocodec.c20 struct videocodec *codec; member
25 const struct videocodec *codec; member
42 struct videocodec *codec; in videocodec_attach() local
109 int videocodec_detach(struct videocodec *codec) in videocodec_detach()
167 int videocodec_register(const struct videocodec *codec) in videocodec_register()
202 int videocodec_unregister(const struct videocodec *codec) in videocodec_unregister()

Completed in 133 milliseconds

1234567891011