Home
last modified time | relevance | path

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

12345678910

/linux/sound/pci/hda/
A Dhda_generic.c5228 struct hda_codec *codec, in call_pcm_playback_hook()
5238 struct hda_codec *codec, in call_pcm_capture_hook()
5271 struct hda_codec *codec, in playback_pcm_prepare()
5288 struct hda_codec *codec, in playback_pcm_cleanup()
5315 struct hda_codec *codec, in capture_pcm_open()
5353 struct hda_codec *codec, in alt_playback_pcm_open()
5371 struct hda_codec *codec, in alt_playback_pcm_close()
5409 struct hda_codec *codec, in dig_playback_pcm_open()
5436 struct hda_codec *codec, in dig_playback_pcm_close()
5450 struct hda_codec *codec, in alt_capture_pcm_prepare()
[all …]
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
830 struct hda_codec *codec = device->device_data; in snd_hda_codec_dev_free() local
876 struct hda_codec *codec; in snd_hda_codec_device_init() local
1745 struct hda_codec *codec; in snd_hda_lock_devices() local
1869 struct hda_codec *codec; member
3068 struct hda_codec *codec, in hda_pcm_default_open_close()
3075 struct hda_codec *codec, in hda_pcm_default_prepare()
3085 struct hda_codec *codec, in hda_pcm_default_cleanup()
[all …]
A Dpatch_realtek.c145 #define alc_read_coef_idx(codec, coef_idx) \ argument
244 static void alc_write_gpio(struct hda_codec *codec) in alc_write_gpio()
303 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll()
856 static void alc_pre_init(struct hda_codec *codec) in alc_pre_init()
861 #define is_s3_resume(codec) \ argument
863 #define is_s4_resume(codec) \ argument
866 static int alc_init(struct hda_codec *codec) in alc_init()
909 static int alc_suspend(struct hda_codec *codec) in alc_suspend()
920 static int alc_resume(struct hda_codec *codec) in alc_resume()
1104 #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()
540 static int via_init(struct hda_codec *codec) in via_init()
591 static int patch_vt1708(struct hda_codec *codec) in patch_vt1708()
645 static int patch_vt1709(struct hda_codec *codec) in patch_vt1709()
764 static int patch_vt1702(struct hda_codec *codec) in patch_vt1702()
[all …]
A Dhda_bind.c88 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local
151 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
194 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
200 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
229 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
240 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
259 #define is_likely_hdmi_codec(codec) false argument
262 static int codec_bind_generic(struct hda_codec *codec) in codec_bind_generic()
282 #define is_generic_config(codec) \ argument
285 #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()
544 struct hda_codec *codec, in cs42l42_playback_pcm_hook()
573 struct hda_codec *codec, in cs42l42_capture_pcm_hook()
726 struct hda_codec *codec = cs42l42->codec; in cs42l42_resume() local
764 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()
345 #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_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear()
184 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update()
222 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all()
263 int snd_hda_jack_detect_state_mst(struct hda_codec *codec, in snd_hda_jack_detect_state_mst()
458 void snd_hda_jack_report_sync(struct hda_codec *codec) in snd_hda_jack_report_sync()
575 static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, in add_jack_kctl()
616 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
3007 struct hda_codec *codec; member
3890 struct hda_codec *codec, in ca0132_playback_pcm_prepare()
3903 struct hda_codec *codec, in ca0132_playback_pcm_cleanup()
3922 struct hda_codec *codec, in ca0132_playback_pcm_delay()
3950 struct hda_codec *codec, in ca0132_dig_playback_pcm_open()
3958 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare()
3969 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup()
3988 struct hda_codec *codec, in ca0132_capture_pcm_prepare()
4000 struct hda_codec *codec, in ca0132_capture_pcm_cleanup()
[all …]
A Dpatch_sigmatel.c241 struct hda_codec *codec, in stac_playback_pcm_hook()
251 struct hda_codec *codec, in stac_capture_pcm_hook()
337 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set()
495 static void stac_vref_event(struct hda_codec *codec, in stac_vref_event()
4345 static int stac_init(struct hda_codec *codec) in stac_init()
4387 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
4396 struct hda_codec *codec, in analog_loop_proc_hook()
4405 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
4413 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
4420 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook()
[all …]
A Dpatch_hdmi.c77 struct hda_codec *codec; member
124 struct hda_codec *codec; member
192 #define codec_has_acomp(codec) false argument
1170 struct hda_codec *codec, in hdmi_pcm_open_no_pin()
1218 struct hda_codec *codec, in hdmi_pcm_open()
2032 struct hda_codec *codec, in generic_hdmi_playback_pcm_prepare()
2123 struct hda_codec *codec, in hdmi_pcm_close()
3241 struct hda_codec *codec, in simple_playback_pcm_open()
3380 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
3786 struct hda_codec *codec, in tegra_hdmi_pcm_prepare()
[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()
586 static int patch_cs420x(struct hda_codec *codec) in patch_cs420x()
768 static int patch_cs4208(struct hda_codec *codec) in patch_cs4208()
1062 static int cs421x_init(struct hda_codec *codec) in cs421x_init()
1135 static int cs421x_suspend(struct hda_codec *codec) in cs421x_suspend()
1168 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
259 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local
270 struct hda_codec *codec = dev_get_drvdata(dev); in hints_show() local
544 struct hda_codec *codec; in parse_codec_mode() local
[all …]
A Dhda_auto_parser.c129 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic()
172 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg()
536 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need()
780 int snd_hda_add_verbs(struct hda_codec *codec, in snd_hda_add_verbs()
796 void snd_hda_apply_verbs(struct hda_codec *codec) in snd_hda_apply_verbs()
811 void snd_hda_apply_pincfgs(struct hda_codec *codec, in snd_hda_apply_pincfgs()
819 static void set_pin_targets(struct hda_codec *codec, in set_pin_targets()
883 void snd_hda_apply_fixup(struct hda_codec *codec, int action) in snd_hda_apply_fixup()
892 static bool pin_config_match(struct hda_codec *codec, in pin_config_match()
933 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 …]
A Dhda_beep.c26 struct hda_codec *codec = beep->codec; in generate_tone() local
135 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device()
193 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
267 void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device()
276 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ctl_has_mute() local
291 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_get_beep() local
314 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local
/linux/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()
361 static int widget_tree_create(struct hdac_device *codec) in widget_tree_create()
399 int hda_widget_sysfs_init(struct hdac_device *codec) in hda_widget_sysfs_init()
416 void hda_widget_sysfs_exit(struct hdac_device *codec) in hda_widget_sysfs_exit()
[all …]
/linux/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/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/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/drivers/staging/media/zoran/
A Dvideocodec.c40 struct videocodec *codec; member
45 const struct videocodec *codec; member
61 struct videocodec *codec; in videocodec_attach() local
132 int videocodec_detach(struct videocodec *codec) in videocodec_detach()
188 int videocodec_register(const struct videocodec *codec) in videocodec_register()
221 int videocodec_unregister(const struct videocodec *codec) in videocodec_unregister()

Completed in 164 milliseconds

12345678910