Lines Matching defs:codec
749 struct hda_codec *codec; member
760 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
770 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
777 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel()
789 static int chipio_send(struct hda_codec *codec, in chipio_send()
811 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address()
838 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data()
862 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple()
883 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data()
914 static int chipio_write(struct hda_codec *codec, in chipio_write()
940 static int chipio_write_multiple(struct hda_codec *codec, in chipio_write_multiple()
964 static int chipio_read(struct hda_codec *codec, in chipio_read()
989 static void chipio_set_control_flag(struct hda_codec *codec, in chipio_set_control_flag()
1005 static void chipio_set_control_param(struct hda_codec *codec, in chipio_set_control_param()
1032 static void chipio_set_conn_rate(struct hda_codec *codec, in chipio_set_conn_rate()
1043 static void chipio_enable_clocks(struct hda_codec *codec) in chipio_enable_clocks()
1066 static int dspio_send(struct hda_codec *codec, unsigned int reg, in dspio_send()
1086 static void dspio_write_wait(struct hda_codec *codec) in dspio_write_wait()
1104 static int dspio_write(struct hda_codec *codec, unsigned int scp_data) in dspio_write()
1135 static int dspio_write_multiple(struct hda_codec *codec, in dspio_write_multiple()
1155 static int dspio_read(struct hda_codec *codec, unsigned int *data) in dspio_read()
1174 static int dspio_read_multiple(struct hda_codec *codec, unsigned int *buffer, in dspio_read_multiple()
1267 static void dspio_clear_response_queue(struct hda_codec *codec) in dspio_clear_response_queue()
1278 static int dspio_get_response_data(struct hda_codec *codec) in dspio_get_response_data()
1302 static int dspio_send_scp_message(struct hda_codec *codec, in dspio_send_scp_message()
1391 static int dspio_scp(struct hda_codec *codec, in dspio_scp()
1470 static int dspio_set_param(struct hda_codec *codec, int mod_id, in dspio_set_param()
1476 static int dspio_set_uint_param(struct hda_codec *codec, int mod_id, in dspio_set_uint_param()
1485 static int dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan) in dspio_alloc_dma_chan()
1513 static int dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan) in dspio_free_dma_chan()
1537 static int dsp_set_run_state(struct hda_codec *codec) in dsp_set_run_state()
1572 static int dsp_reset(struct hda_codec *codec) in dsp_reset()
1615 static bool dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan) in dsp_is_dma_active()
1625 static int dsp_dma_setup_common(struct hda_codec *codec, in dsp_dma_setup_common()
1738 static int dsp_dma_setup(struct hda_codec *codec, in dsp_dma_setup()
1829 static int dsp_dma_start(struct hda_codec *codec, in dsp_dma_start()
1865 static int dsp_dma_stop(struct hda_codec *codec, in dsp_dma_stop()
1908 static int dsp_allocate_router_ports(struct hda_codec *codec, in dsp_allocate_router_ports()
1949 static int dsp_free_router_ports(struct hda_codec *codec) in dsp_free_router_ports()
1969 static int dsp_allocate_ports(struct hda_codec *codec, in dsp_allocate_ports()
1990 static int dsp_allocate_ports_format(struct hda_codec *codec, in dsp_allocate_ports_format()
2016 static int dsp_free_ports(struct hda_codec *codec) in dsp_free_ports()
2036 struct hda_codec *codec; member
2048 static int dma_convert_to_hda_format(struct hda_codec *codec, in dma_convert_to_hda_format()
2072 struct hda_codec *codec = dma->codec; in dma_reset() local
2187 static int dspxfr_hci_write(struct hda_codec *codec, in dspxfr_hci_write()
2228 static int dspxfr_one_seg(struct hda_codec *codec, in dspxfr_one_seg()
2424 static int dspxfr_image(struct hda_codec *codec, in dspxfr_image()
2545 static void dspload_post_setup(struct hda_codec *codec) in dspload_post_setup()
2575 static int dspload_image(struct hda_codec *codec, in dspload_image()
2630 static bool dspload_is_loaded(struct hda_codec *codec) in dspload_is_loaded()
2642 #define dspload_is_loaded(codec) false argument
2645 static bool dspload_wait_loaded(struct hda_codec *codec) in dspload_wait_loaded()
2665 struct hda_codec *codec, in ca0132_playback_pcm_prepare()
2678 struct hda_codec *codec, in ca0132_playback_pcm_cleanup()
2697 struct hda_codec *codec, in ca0132_playback_pcm_delay()
2725 struct hda_codec *codec, in ca0132_dig_playback_pcm_open()
2733 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare()
2744 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup()
2752 struct hda_codec *codec, in ca0132_dig_playback_pcm_close()
2763 struct hda_codec *codec, in ca0132_capture_pcm_prepare()
2775 struct hda_codec *codec, in ca0132_capture_pcm_cleanup()
2788 struct hda_codec *codec, in ca0132_capture_pcm_delay()
2904 static int tuning_ctl_set(struct hda_codec *codec, hda_nid_t nid, in tuning_ctl_set()
2925 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in tuning_ctl_get() local
2951 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in voice_focus_ctl_put() local
2986 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in mic_svm_ctl_put() local
3021 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in equalizer_ctl_put() local
3043 static int add_tuning_control(struct hda_codec *codec, in add_tuning_control()
3083 static int add_tuning_ctls(struct hda_codec *codec) in add_tuning_ctls()
3101 static void ca0132_init_tuning_defaults(struct hda_codec *codec) in ca0132_init_tuning_defaults()
3123 static int ca0132_select_out(struct hda_codec *codec) in ca0132_select_out()
3244 static int ca0132_set_vipsource(struct hda_codec *codec, int val) in ca0132_set_vipsource()
3288 static int ca0132_select_mic(struct hda_codec *codec) in ca0132_select_mic()
3337 static bool ca0132_is_vnode_effective(struct hda_codec *codec, in ca0132_is_vnode_effective()
3365 static int ca0132_voicefx_set(struct hda_codec *codec, int enable) in ca0132_voicefx_set()
3387 static int ca0132_effects_set(struct hda_codec *codec, hda_nid_t nid, long val) in ca0132_effects_set()
3432 static int ca0132_pe_switch_set(struct hda_codec *codec) in ca0132_pe_switch_set()
3451 static int stop_mic1(struct hda_codec *codec) in stop_mic1()
3464 static void resume_mic1(struct hda_codec *codec, unsigned int oldval) in resume_mic1()
3477 static int ca0132_cvoice_switch_set(struct hda_codec *codec) in ca0132_cvoice_switch_set()
3503 static int ca0132_mic_boost_set(struct hda_codec *codec, long val) in ca0132_mic_boost_set()
3521 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_vnode_switch_set() local
3594 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_voicefx_get() local
3604 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_voicefx_put() local
3641 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_switch_get() local
3678 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_switch_put() local
3746 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_info() local
3784 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_get() local
3805 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_put() local
3847 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ca0132_volume_tlv() local
3882 static int add_fx_switch(struct hda_codec *codec, hda_nid_t nid, in add_fx_switch()
3893 static int add_voicefx(struct hda_codec *codec) in add_voicefx()
3930 static int ca0132_build_controls(struct hda_codec *codec) in ca0132_build_controls()
4035 static int ca0132_build_pcms(struct hda_codec *codec) in ca0132_build_pcms()
4086 static void init_output(struct hda_codec *codec, hda_nid_t pin, hda_nid_t dac) in init_output()
4100 static void init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) in init_input()
4121 static void refresh_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir) in refresh_amp_caps()
4133 static void ca0132_set_dmic(struct hda_codec *codec, int enable) in ca0132_set_dmic()
4177 static void ca0132_init_dmic(struct hda_codec *codec) in ca0132_init_dmic()
4222 static void ca0132_init_analog_mic2(struct hda_codec *codec) in ca0132_init_analog_mic2()
4242 static void ca0132_refresh_widget_caps(struct hda_codec *codec) in ca0132_refresh_widget_caps()
4265 static void ca0132_setup_defaults(struct hda_codec *codec) in ca0132_setup_defaults()
4309 static void ca0132_init_flags(struct hda_codec *codec) in ca0132_init_flags()
4322 static void ca0132_init_params(struct hda_codec *codec) in ca0132_init_params()
4328 static void ca0132_set_dsp_msr(struct hda_codec *codec, bool is96k) in ca0132_set_dsp_msr()
4342 static bool ca0132_download_dsp_images(struct hda_codec *codec) in ca0132_download_dsp_images()
4365 static void ca0132_download_dsp(struct hda_codec *codec) in ca0132_download_dsp()
4387 static void ca0132_process_dsp_response(struct hda_codec *codec, in ca0132_process_dsp_response()
4401 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback()
4416 static void amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in amic_callback()
4421 static void ca0132_init_unsol(struct hda_codec *codec) in ca0132_init_unsol()
4496 static void ca0132_init_chip(struct hda_codec *codec) in ca0132_init_chip()
4534 static void ca0132_exit_chip(struct hda_codec *codec) in ca0132_exit_chip()
4542 static int ca0132_init(struct hda_codec *codec) in ca0132_init()
4588 static void ca0132_free(struct hda_codec *codec) in ca0132_free()
4608 static void ca0132_config(struct hda_codec *codec) in ca0132_config()
4647 static int patch_ca0132(struct hda_codec *codec) in patch_ca0132()