Lines Matching defs:codec

749 	struct hda_codec *codec;  member
789 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
799 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
806 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel()
818 static int chipio_send(struct hda_codec *codec, in chipio_send()
840 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address()
867 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data()
891 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple()
912 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data()
943 static int chipio_write(struct hda_codec *codec, in chipio_write()
969 static int chipio_write_multiple(struct hda_codec *codec, in chipio_write_multiple()
993 static int chipio_read(struct hda_codec *codec, in chipio_read()
1018 static void chipio_set_control_flag(struct hda_codec *codec, in chipio_set_control_flag()
1034 static void chipio_set_control_param(struct hda_codec *codec, in chipio_set_control_param()
1061 static void chipio_set_conn_rate(struct hda_codec *codec, in chipio_set_conn_rate()
1072 static void chipio_enable_clocks(struct hda_codec *codec) in chipio_enable_clocks()
1095 static int dspio_send(struct hda_codec *codec, unsigned int reg, in dspio_send()
1115 static void dspio_write_wait(struct hda_codec *codec) in dspio_write_wait()
1133 static int dspio_write(struct hda_codec *codec, unsigned int scp_data) in dspio_write()
1164 static int dspio_write_multiple(struct hda_codec *codec, in dspio_write_multiple()
1184 static int dspio_read(struct hda_codec *codec, unsigned int *data) in dspio_read()
1203 static int dspio_read_multiple(struct hda_codec *codec, unsigned int *buffer, in dspio_read_multiple()
1296 static void dspio_clear_response_queue(struct hda_codec *codec) in dspio_clear_response_queue()
1307 static int dspio_get_response_data(struct hda_codec *codec) in dspio_get_response_data()
1331 static int dspio_send_scp_message(struct hda_codec *codec, in dspio_send_scp_message()
1420 static int dspio_scp(struct hda_codec *codec, in dspio_scp()
1499 static int dspio_set_param(struct hda_codec *codec, int mod_id, in dspio_set_param()
1505 static int dspio_set_uint_param(struct hda_codec *codec, int mod_id, in dspio_set_uint_param()
1514 static int dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan) in dspio_alloc_dma_chan()
1542 static int dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan) in dspio_free_dma_chan()
1566 static int dsp_set_run_state(struct hda_codec *codec) in dsp_set_run_state()
1601 static int dsp_reset(struct hda_codec *codec) in dsp_reset()
1644 static bool dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan) in dsp_is_dma_active()
1654 static int dsp_dma_setup_common(struct hda_codec *codec, in dsp_dma_setup_common()
1767 static int dsp_dma_setup(struct hda_codec *codec, in dsp_dma_setup()
1858 static int dsp_dma_start(struct hda_codec *codec, in dsp_dma_start()
1894 static int dsp_dma_stop(struct hda_codec *codec, in dsp_dma_stop()
1937 static int dsp_allocate_router_ports(struct hda_codec *codec, in dsp_allocate_router_ports()
1978 static int dsp_free_router_ports(struct hda_codec *codec) in dsp_free_router_ports()
1998 static int dsp_allocate_ports(struct hda_codec *codec, in dsp_allocate_ports()
2019 static int dsp_allocate_ports_format(struct hda_codec *codec, in dsp_allocate_ports_format()
2045 static int dsp_free_ports(struct hda_codec *codec) in dsp_free_ports()
2065 struct hda_codec *codec; member
2077 static int dma_convert_to_hda_format(struct hda_codec *codec, in dma_convert_to_hda_format()
2098 struct hda_codec *codec = dma->codec; in dma_reset() local
2213 static int dspxfr_hci_write(struct hda_codec *codec, in dspxfr_hci_write()
2254 static int dspxfr_one_seg(struct hda_codec *codec, in dspxfr_one_seg()
2450 static int dspxfr_image(struct hda_codec *codec, in dspxfr_image()
2571 static void dspload_post_setup(struct hda_codec *codec) in dspload_post_setup()
2601 static int dspload_image(struct hda_codec *codec, in dspload_image()
2656 static bool dspload_is_loaded(struct hda_codec *codec) in dspload_is_loaded()
2668 #define dspload_is_loaded(codec) false argument
2671 static bool dspload_wait_loaded(struct hda_codec *codec) in dspload_wait_loaded()
2691 struct hda_codec *codec, in ca0132_playback_pcm_prepare()
2704 struct hda_codec *codec, in ca0132_playback_pcm_cleanup()
2723 struct hda_codec *codec, in ca0132_playback_pcm_delay()
2751 struct hda_codec *codec, in ca0132_dig_playback_pcm_open()
2759 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare()
2770 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup()
2778 struct hda_codec *codec, in ca0132_dig_playback_pcm_close()
2789 struct hda_codec *codec, in ca0132_capture_pcm_prepare()
2801 struct hda_codec *codec, in ca0132_capture_pcm_cleanup()
2814 struct hda_codec *codec, in ca0132_capture_pcm_delay()
2930 static int tuning_ctl_set(struct hda_codec *codec, hda_nid_t nid, in tuning_ctl_set()
2951 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in tuning_ctl_get() local
2977 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in voice_focus_ctl_put() local
3012 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in mic_svm_ctl_put() local
3047 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in equalizer_ctl_put() local
3069 static int add_tuning_control(struct hda_codec *codec, in add_tuning_control()
3109 static int add_tuning_ctls(struct hda_codec *codec) in add_tuning_ctls()
3127 static void ca0132_init_tuning_defaults(struct hda_codec *codec) in ca0132_init_tuning_defaults()
3149 static int ca0132_select_out(struct hda_codec *codec) in ca0132_select_out()
3270 static int ca0132_set_vipsource(struct hda_codec *codec, int val) in ca0132_set_vipsource()
3314 static int ca0132_select_mic(struct hda_codec *codec) in ca0132_select_mic()
3363 static bool ca0132_is_vnode_effective(struct hda_codec *codec, in ca0132_is_vnode_effective()
3391 static int ca0132_voicefx_set(struct hda_codec *codec, int enable) in ca0132_voicefx_set()
3413 static int ca0132_effects_set(struct hda_codec *codec, hda_nid_t nid, long val) in ca0132_effects_set()
3458 static int ca0132_pe_switch_set(struct hda_codec *codec) in ca0132_pe_switch_set()
3477 static int stop_mic1(struct hda_codec *codec) in stop_mic1()
3490 static void resume_mic1(struct hda_codec *codec, unsigned int oldval) in resume_mic1()
3503 static int ca0132_cvoice_switch_set(struct hda_codec *codec) in ca0132_cvoice_switch_set()
3529 static int ca0132_mic_boost_set(struct hda_codec *codec, long val) in ca0132_mic_boost_set()
3547 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_vnode_switch_set() local
3620 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_voicefx_get() local
3630 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_voicefx_put() local
3667 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_switch_get() local
3704 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_switch_put() local
3772 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_info() local
3810 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_get() local
3831 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_put() local
3873 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_tlv() local
3908 static int add_fx_switch(struct hda_codec *codec, hda_nid_t nid, in add_fx_switch()
3919 static int add_voicefx(struct hda_codec *codec) in add_voicefx()
3956 static int ca0132_build_controls(struct hda_codec *codec) in ca0132_build_controls()
4061 static int ca0132_build_pcms(struct hda_codec *codec) in ca0132_build_pcms()
4112 static void init_output(struct hda_codec *codec, hda_nid_t pin, hda_nid_t dac) in init_output()
4126 static void init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) in init_input()
4147 static void refresh_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir) in refresh_amp_caps()
4159 static void ca0132_set_dmic(struct hda_codec *codec, int enable) in ca0132_set_dmic()
4203 static void ca0132_init_dmic(struct hda_codec *codec) in ca0132_init_dmic()
4248 static void ca0132_init_analog_mic2(struct hda_codec *codec) in ca0132_init_analog_mic2()
4268 static void ca0132_refresh_widget_caps(struct hda_codec *codec) in ca0132_refresh_widget_caps()
4291 static void ca0132_setup_defaults(struct hda_codec *codec) in ca0132_setup_defaults()
4335 static void ca0132_init_flags(struct hda_codec *codec) in ca0132_init_flags()
4348 static void ca0132_init_params(struct hda_codec *codec) in ca0132_init_params()
4354 static void ca0132_set_dsp_msr(struct hda_codec *codec, bool is96k) in ca0132_set_dsp_msr()
4368 static bool ca0132_download_dsp_images(struct hda_codec *codec) in ca0132_download_dsp_images()
4391 static void ca0132_download_dsp(struct hda_codec *codec) in ca0132_download_dsp()
4413 static void ca0132_process_dsp_response(struct hda_codec *codec, in ca0132_process_dsp_response()
4427 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback()
4442 static void amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in amic_callback()
4447 static void ca0132_init_unsol(struct hda_codec *codec) in ca0132_init_unsol()
4512 static void ca0132_init_chip(struct hda_codec *codec) in ca0132_init_chip()
4550 static void ca0132_exit_chip(struct hda_codec *codec) in ca0132_exit_chip()
4558 static int ca0132_init(struct hda_codec *codec) in ca0132_init()
4604 static void ca0132_free(struct hda_codec *codec) in ca0132_free()
4625 static void ca0132_config(struct hda_codec *codec) in ca0132_config()
4688 static int ca0132_prepare_verbs(struct hda_codec *codec) in ca0132_prepare_verbs()
4733 static int patch_ca0132(struct hda_codec *codec) in patch_ca0132()