Home
last modified time | relevance | path

Searched refs:codec (Results 1 - 25 of 805) sorted by relevance

12345678910>>...33

/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/
H A Dparam_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
56 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_AAC); in HWTEST_F()
57 ASSERT_NE(codec, nullptr); in HWTEST_F()
58 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
61 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_FLAC); in HWTEST_F()
62 ASSERT_NE(codec, nullptr); in HWTEST_F()
63 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
66 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in HWTEST_F()
67 ASSERT_NE(codec, nullptr); in HWTEST_F()
68 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
106 OH_AVCodec *codec = nullptr; HWTEST_F() local
159 OH_AVCodec *codec = nullptr; HWTEST_F() local
206 OH_AVCodec *codec = nullptr; HWTEST_F() local
333 OH_AVCodec *codec = nullptr; HWTEST_F() local
380 OH_AVCodec *codec = nullptr; HWTEST_F() local
483 OH_AVCodec *codec = nullptr; HWTEST_F() local
530 OH_AVCodec *codec = nullptr; HWTEST_F() local
633 OH_AVCodec *codec = nullptr; HWTEST_F() local
672 OH_AVCodec *codec = nullptr; HWTEST_F() local
711 OH_AVCodec *codec = nullptr; HWTEST_F() local
750 OH_AVCodec *codec = nullptr; HWTEST_F() local
789 OH_AVCodec *codec = nullptr; HWTEST_F() local
828 OH_AVCodec *codec = nullptr; HWTEST_F() local
867 OH_AVCodec *codec = nullptr; HWTEST_F() local
902 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
H A Dstatus_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
59 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
60 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
62 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
73 OH_AVCodec *codec = nullptr; in HWTEST_F() local
76 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
77 result0 = aDecBufferDemo->Start(codec); in HWTEST_F()
79 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
90 OH_AVCodec *codec = nullptr; in HWTEST_F() local
94 codec in HWTEST_F()
109 OH_AVCodec *codec = nullptr; HWTEST_F() local
128 OH_AVCodec *codec = nullptr; HWTEST_F() local
145 OH_AVCodec *codec = nullptr; HWTEST_F() local
162 OH_AVCodec *codec = nullptr; HWTEST_F() local
179 OH_AVCodec *codec = nullptr; HWTEST_F() local
195 OH_AVCodec *codec = nullptr; HWTEST_F() local
219 OH_AVCodec *codec = nullptr; HWTEST_F() local
243 OH_AVCodec *codec = nullptr; HWTEST_F() local
269 OH_AVCodec *codec = nullptr; HWTEST_F() local
296 OH_AVCodec *codec = nullptr; HWTEST_F() local
320 OH_AVCodec *codec = nullptr; HWTEST_F() local
344 OH_AVCodec *codec = nullptr; HWTEST_F() local
368 OH_AVCodec *codec = nullptr; HWTEST_F() local
391 OH_AVCodec *codec = nullptr; HWTEST_F() local
417 OH_AVCodec *codec = nullptr; HWTEST_F() local
443 OH_AVCodec *codec = nullptr; HWTEST_F() local
471 OH_AVCodec *codec = nullptr; HWTEST_F() local
500 OH_AVCodec *codec = nullptr; HWTEST_F() local
526 OH_AVCodec *codec = nullptr; HWTEST_F() local
552 OH_AVCodec *codec = nullptr; HWTEST_F() local
578 OH_AVCodec *codec = nullptr; HWTEST_F() local
603 OH_AVCodec *codec = nullptr; HWTEST_F() local
633 OH_AVCodec *codec = nullptr; HWTEST_F() local
663 OH_AVCodec *codec = nullptr; HWTEST_F() local
693 OH_AVCodec *codec = nullptr; HWTEST_F() local
725 OH_AVCodec *codec = nullptr; HWTEST_F() local
755 OH_AVCodec *codec = nullptr; HWTEST_F() local
785 OH_AVCodec *codec = nullptr; HWTEST_F() local
815 OH_AVCodec *codec = nullptr; HWTEST_F() local
844 OH_AVCodec *codec = nullptr; HWTEST_F() local
874 OH_AVCodec *codec = nullptr; HWTEST_F() local
904 OH_AVCodec *codec = nullptr; HWTEST_F() local
935 OH_AVCodec *codec = nullptr; HWTEST_F() local
967 OH_AVCodec *codec = nullptr; HWTEST_F() local
997 OH_AVCodec *codec = nullptr; HWTEST_F() local
1027 OH_AVCodec *codec = nullptr; HWTEST_F() local
1057 OH_AVCodec *codec = nullptr; HWTEST_F() local
1086 OH_AVCodec *codec = nullptr; HWTEST_F() local
1114 OH_AVCodec *codec = nullptr; HWTEST_F() local
1142 OH_AVCodec *codec = nullptr; HWTEST_F() local
1172 OH_AVCodec *codec = nullptr; HWTEST_F() local
1202 OH_AVCodec *codec = nullptr; HWTEST_F() local
1230 OH_AVCodec *codec = nullptr; HWTEST_F() local
1258 OH_AVCodec *codec = nullptr; HWTEST_F() local
1286 OH_AVCodec *codec = nullptr; HWTEST_F() local
1313 OH_AVCodec *codec = nullptr; HWTEST_F() local
1341 OH_AVCodec *codec = nullptr; HWTEST_F() local
1369 OH_AVCodec *codec = nullptr; HWTEST_F() local
1399 OH_AVCodec *codec = nullptr; HWTEST_F() local
1429 OH_AVCodec *codec = nullptr; HWTEST_F() local
1457 OH_AVCodec *codec = nullptr; HWTEST_F() local
1485 OH_AVCodec *codec = nullptr; HWTEST_F() local
1513 OH_AVCodec *codec = nullptr; HWTEST_F() local
1540 OH_AVCodec *codec = nullptr; HWTEST_F() local
1562 OH_AVCodec *codec = nullptr; HWTEST_F() local
1581 OH_AVCodec *codec = nullptr; HWTEST_F() local
1602 OH_AVCodec *codec = nullptr; HWTEST_F() local
1623 OH_AVCodec *codec = nullptr; HWTEST_F() local
1642 OH_AVCodec *codec = nullptr; HWTEST_F() local
1661 OH_AVCodec *codec = nullptr; HWTEST_F() local
1680 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
H A Dparam_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
56 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_AAC); in HWTEST_F()
57 ASSERT_NE(codec, nullptr); in HWTEST_F()
58 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
61 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_FLAC); in HWTEST_F()
62 ASSERT_NE(codec, nullptr); in HWTEST_F()
63 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
66 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in HWTEST_F()
67 ASSERT_NE(codec, nullptr); in HWTEST_F()
68 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
106 OH_AVCodec *codec = nullptr; HWTEST_F() local
159 OH_AVCodec *codec = nullptr; HWTEST_F() local
206 OH_AVCodec *codec = nullptr; HWTEST_F() local
333 OH_AVCodec *codec = nullptr; HWTEST_F() local
380 OH_AVCodec *codec = nullptr; HWTEST_F() local
483 OH_AVCodec *codec = nullptr; HWTEST_F() local
530 OH_AVCodec *codec = nullptr; HWTEST_F() local
633 OH_AVCodec *codec = nullptr; HWTEST_F() local
672 OH_AVCodec *codec = nullptr; HWTEST_F() local
711 OH_AVCodec *codec = nullptr; HWTEST_F() local
750 OH_AVCodec *codec = nullptr; HWTEST_F() local
789 OH_AVCodec *codec = nullptr; HWTEST_F() local
828 OH_AVCodec *codec = nullptr; HWTEST_F() local
867 OH_AVCodec *codec = nullptr; HWTEST_F() local
902 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
H A Dstatus_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
59 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
60 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
62 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
73 OH_AVCodec *codec = nullptr; in HWTEST_F() local
76 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
77 result0 = aDecBufferDemo->Start(codec); in HWTEST_F()
79 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F()
90 OH_AVCodec *codec = nullptr; in HWTEST_F() local
94 codec in HWTEST_F()
109 OH_AVCodec *codec = nullptr; HWTEST_F() local
128 OH_AVCodec *codec = nullptr; HWTEST_F() local
145 OH_AVCodec *codec = nullptr; HWTEST_F() local
162 OH_AVCodec *codec = nullptr; HWTEST_F() local
179 OH_AVCodec *codec = nullptr; HWTEST_F() local
195 OH_AVCodec *codec = nullptr; HWTEST_F() local
219 OH_AVCodec *codec = nullptr; HWTEST_F() local
243 OH_AVCodec *codec = nullptr; HWTEST_F() local
269 OH_AVCodec *codec = nullptr; HWTEST_F() local
296 OH_AVCodec *codec = nullptr; HWTEST_F() local
320 OH_AVCodec *codec = nullptr; HWTEST_F() local
344 OH_AVCodec *codec = nullptr; HWTEST_F() local
368 OH_AVCodec *codec = nullptr; HWTEST_F() local
391 OH_AVCodec *codec = nullptr; HWTEST_F() local
417 OH_AVCodec *codec = nullptr; HWTEST_F() local
443 OH_AVCodec *codec = nullptr; HWTEST_F() local
471 OH_AVCodec *codec = nullptr; HWTEST_F() local
500 OH_AVCodec *codec = nullptr; HWTEST_F() local
526 OH_AVCodec *codec = nullptr; HWTEST_F() local
552 OH_AVCodec *codec = nullptr; HWTEST_F() local
578 OH_AVCodec *codec = nullptr; HWTEST_F() local
603 OH_AVCodec *codec = nullptr; HWTEST_F() local
633 OH_AVCodec *codec = nullptr; HWTEST_F() local
663 OH_AVCodec *codec = nullptr; HWTEST_F() local
694 OH_AVCodec *codec = nullptr; HWTEST_F() local
726 OH_AVCodec *codec = nullptr; HWTEST_F() local
756 OH_AVCodec *codec = nullptr; HWTEST_F() local
786 OH_AVCodec *codec = nullptr; HWTEST_F() local
816 OH_AVCodec *codec = nullptr; HWTEST_F() local
845 OH_AVCodec *codec = nullptr; HWTEST_F() local
875 OH_AVCodec *codec = nullptr; HWTEST_F() local
905 OH_AVCodec *codec = nullptr; HWTEST_F() local
936 OH_AVCodec *codec = nullptr; HWTEST_F() local
968 OH_AVCodec *codec = nullptr; HWTEST_F() local
998 OH_AVCodec *codec = nullptr; HWTEST_F() local
1028 OH_AVCodec *codec = nullptr; HWTEST_F() local
1058 OH_AVCodec *codec = nullptr; HWTEST_F() local
1087 OH_AVCodec *codec = nullptr; HWTEST_F() local
1115 OH_AVCodec *codec = nullptr; HWTEST_F() local
1143 OH_AVCodec *codec = nullptr; HWTEST_F() local
1173 OH_AVCodec *codec = nullptr; HWTEST_F() local
1203 OH_AVCodec *codec = nullptr; HWTEST_F() local
1231 OH_AVCodec *codec = nullptr; HWTEST_F() local
1259 OH_AVCodec *codec = nullptr; HWTEST_F() local
1287 OH_AVCodec *codec = nullptr; HWTEST_F() local
1314 OH_AVCodec *codec = nullptr; HWTEST_F() local
1342 OH_AVCodec *codec = nullptr; HWTEST_F() local
1370 OH_AVCodec *codec = nullptr; HWTEST_F() local
1400 OH_AVCodec *codec = nullptr; HWTEST_F() local
1430 OH_AVCodec *codec = nullptr; HWTEST_F() local
1458 OH_AVCodec *codec = nullptr; HWTEST_F() local
1486 OH_AVCodec *codec = nullptr; HWTEST_F() local
1514 OH_AVCodec *codec = nullptr; HWTEST_F() local
1541 OH_AVCodec *codec = nullptr; HWTEST_F() local
1563 OH_AVCodec *codec = nullptr; HWTEST_F() local
1582 OH_AVCodec *codec = nullptr; HWTEST_F() local
1603 OH_AVCodec *codec = nullptr; HWTEST_F() local
1624 OH_AVCodec *codec = nullptr; HWTEST_F() local
1643 OH_AVCodec *codec = nullptr; HWTEST_F() local
1662 OH_AVCodec *codec = nullptr; HWTEST_F() local
1681 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_bind.c3 * HD-audio codec driver binding
19 * find a matching codec id
23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
34 codec->preset = list; in hda_codec_match()
44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
47 if (codec in hda_codec_unsol_event()
63 snd_hda_codec_set_name(struct hda_codec *codec, const char *name) snd_hda_codec_set_name() argument
88 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_probe() local
152 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_remove() local
202 codec_probed(struct hda_codec *codec) codec_probed() argument
208 request_codec_module(struct hda_codec *codec) request_codec_module() argument
237 codec_bind_module(struct hda_codec *codec) codec_bind_module() argument
248 is_likely_hdmi_codec(struct hda_codec *codec) is_likely_hdmi_codec() argument
277 codec_bind_generic(struct hda_codec *codec) codec_bind_generic() argument
312 snd_hda_codec_configure(struct hda_codec *codec) snd_hda_codec_configure() argument
[all...]
H A Dpatch_ca0132.c1135 struct hda_codec *codec; member
1513 * CA0132 codec access
1515 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() argument
1519 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
1525 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() argument
1528 return codec_send_command(codec, nid, VENDOR_CHIPIO_STREAM_FORMAT, in codec_set_converter_format()
1532 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel() argument
1539 return codec_send_command(codec, nid, AC_VERB_SET_CHANNEL_STREAMID, in codec_set_converter_stream_channel()
1544 static int chipio_send(struct hda_codec *codec, in chipio_send() argument
1553 res = snd_hda_codec_read(codec, WIDGET_CHIP_CTR in chipio_send()
1566 chipio_write_address(struct hda_codec *codec, unsigned int chip_addx) chipio_write_address() argument
1593 chipio_write_data(struct hda_codec *codec, unsigned int data) chipio_write_data() argument
1617 chipio_write_data_multiple(struct hda_codec *codec, const u32 *data, unsigned int count) chipio_write_data_multiple() argument
1638 chipio_read_data(struct hda_codec *codec, unsigned int *data) chipio_read_data() argument
1669 chipio_write(struct hda_codec *codec, unsigned int chip_addx, const unsigned int data) chipio_write() argument
1695 chipio_write_no_mutex(struct hda_codec *codec, unsigned int chip_addx, const unsigned int data) chipio_write_no_mutex() argument
1718 chipio_write_multiple(struct hda_codec *codec, u32 chip_addx, const u32 *data, unsigned int count) chipio_write_multiple() argument
1742 chipio_read(struct hda_codec *codec, unsigned int chip_addx, unsigned int *data) chipio_read() argument
1767 chipio_set_control_flag(struct hda_codec *codec, enum control_flag_id flag_id, bool flag_state) chipio_set_control_flag() argument
1783 chipio_set_control_param(struct hda_codec *codec, enum control_param_id param_id, int param_val) chipio_set_control_param() argument
1810 chipio_set_control_param_no_mutex(struct hda_codec *codec, enum control_param_id param_id, int param_val) chipio_set_control_param_no_mutex() argument
1834 chipio_set_stream_source_dest(struct hda_codec *codec, int streamid, int source_point, int dest_point) chipio_set_stream_source_dest() argument
1848 chipio_set_stream_channels(struct hda_codec *codec, int streamid, unsigned int channels) chipio_set_stream_channels() argument
1860 chipio_set_stream_control(struct hda_codec *codec, int streamid, int enable) chipio_set_stream_control() argument
1872 chipio_get_stream_control(struct hda_codec *codec, int streamid, unsigned int *enable) chipio_get_stream_control() argument
1885 chipio_set_conn_rate_no_mutex(struct hda_codec *codec, int connid, enum ca0132_sample_rate rate) chipio_set_conn_rate_no_mutex() argument
1897 chipio_set_conn_rate(struct hda_codec *codec, int connid, enum ca0132_sample_rate rate) chipio_set_conn_rate() argument
1910 chipio_8051_write_direct(struct hda_codec *codec, unsigned int addr, unsigned int data) chipio_8051_write_direct() argument
1927 chipio_8051_set_address(struct hda_codec *codec, unsigned int addr) chipio_8051_set_address() argument
1942 chipio_8051_set_data(struct hda_codec *codec, unsigned int data) chipio_8051_set_data() argument
1949 chipio_8051_get_data(struct hda_codec *codec) chipio_8051_get_data() argument
1956 chipio_8051_set_data_pll(struct hda_codec *codec, unsigned int data) chipio_8051_set_data_pll() argument
1963 chipio_8051_write_exram(struct hda_codec *codec, unsigned int addr, unsigned int data) chipio_8051_write_exram() argument
1976 chipio_8051_write_exram_no_mutex(struct hda_codec *codec, unsigned int addr, unsigned int data) chipio_8051_write_exram_no_mutex() argument
1984 chipio_8051_read_exram(struct hda_codec *codec, unsigned int addr, unsigned int *data) chipio_8051_read_exram() argument
1991 chipio_8051_write_pll_pmu(struct hda_codec *codec, unsigned int addr, unsigned int data) chipio_8051_write_pll_pmu() argument
2004 chipio_8051_write_pll_pmu_no_mutex(struct hda_codec *codec, unsigned int addr, unsigned int data) chipio_8051_write_pll_pmu_no_mutex() argument
2014 chipio_enable_clocks(struct hda_codec *codec) chipio_enable_clocks() argument
2030 dspio_send(struct hda_codec *codec, unsigned int reg, unsigned int data) dspio_send() argument
2050 dspio_write_wait(struct hda_codec *codec) dspio_write_wait() argument
2068 dspio_write(struct hda_codec *codec, unsigned int scp_data) dspio_write() argument
2099 dspio_write_multiple(struct hda_codec *codec, unsigned int *buffer, unsigned int size) dspio_write_multiple() argument
2119 dspio_read(struct hda_codec *codec, unsigned int *data) dspio_read() argument
2138 dspio_read_multiple(struct hda_codec *codec, unsigned int *buffer, unsigned int *buf_size, unsigned int size_count) dspio_read_multiple() argument
2231 dspio_clear_response_queue(struct hda_codec *codec) dspio_clear_response_queue() argument
2243 dspio_get_response_data(struct hda_codec *codec) dspio_get_response_data() argument
2267 dspio_send_scp_message(struct hda_codec *codec, unsigned char *send_buf, unsigned int send_buf_size, unsigned char *return_buf, unsigned int return_buf_size, unsigned int *bytes_returned) dspio_send_scp_message() argument
2357 dspio_scp(struct hda_codec *codec, int mod_id, int src_id, int req, int dir, const void *data, unsigned int len, void *reply, unsigned int *reply_len) dspio_scp() argument
2439 dspio_set_param(struct hda_codec *codec, int mod_id, int src_id, int req, const void *data, unsigned int len) dspio_set_param() argument
2446 dspio_set_uint_param(struct hda_codec *codec, int mod_id, int req, const unsigned int data) dspio_set_uint_param() argument
2456 dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan) dspio_alloc_dma_chan() argument
2485 dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan) dspio_free_dma_chan() argument
2510 dsp_set_run_state(struct hda_codec *codec) dsp_set_run_state() argument
2545 dsp_reset(struct hda_codec *codec) dsp_reset() argument
2588 dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan) dsp_is_dma_active() argument
2598 dsp_dma_setup_common(struct hda_codec *codec, unsigned int chip_addx, unsigned int dma_chan, unsigned int port_map_mask, bool ovly) dsp_dma_setup_common() argument
2711 dsp_dma_setup(struct hda_codec *codec, unsigned int chip_addx, unsigned int count, unsigned int dma_chan) dsp_dma_setup() argument
2802 dsp_dma_start(struct hda_codec *codec, unsigned int dma_chan, bool ovly) dsp_dma_start() argument
2838 dsp_dma_stop(struct hda_codec *codec, unsigned int dma_chan, bool ovly) dsp_dma_stop() argument
2881 dsp_allocate_router_ports(struct hda_codec *codec, unsigned int num_chans, unsigned int ports_per_channel, unsigned int start_device, unsigned int *port_map) dsp_allocate_router_ports() argument
2922 dsp_free_router_ports(struct hda_codec *codec) dsp_free_router_ports() argument
2942 dsp_allocate_ports(struct hda_codec *codec, unsigned int num_chans, unsigned int rate_multi, unsigned int *port_map) dsp_allocate_ports() argument
2963 dsp_allocate_ports_format(struct hda_codec *codec, const unsigned short fmt, unsigned int *port_map) dsp_allocate_ports_format() argument
2986 dsp_free_ports(struct hda_codec *codec) dsp_free_ports() argument
3006 struct hda_codec *codec; global() member
3018 dma_convert_to_hda_format(struct hda_codec *codec, unsigned int sample_rate, unsigned short channels, unsigned short *hda_format) dma_convert_to_hda_format() argument
3039 struct hda_codec *codec = dma->codec; dma_reset() local
3154 dspxfr_hci_write(struct hda_codec *codec, const struct dsp_image_seg *fls) dspxfr_hci_write() argument
3194 dspxfr_one_seg(struct hda_codec *codec, const struct dsp_image_seg *fls, unsigned int reloc, struct dma_engine *dma_engine, unsigned int dma_chan, unsigned int port_map_mask, bool ovly) dspxfr_one_seg() argument
3390 dspxfr_image(struct hda_codec *codec, const struct dsp_image_seg *fls_data, unsigned int reloc, unsigned int sample_rate, unsigned short channels, bool ovly) dspxfr_image() argument
3511 dspload_post_setup(struct hda_codec *codec) dspload_post_setup() argument
3543 dspload_image(struct hda_codec *codec, const struct dsp_image_seg *fls, bool ovly, unsigned int reloc, bool autostart, int router_chans) dspload_image() argument
3598 dspload_is_loaded(struct hda_codec *codec) dspload_is_loaded() argument
3613 dspload_wait_loaded(struct hda_codec *codec) dspload_wait_loaded() argument
3644 ca0113_mmio_gpio_set(struct hda_codec *codec, unsigned int gpio_pin, bool enable) ca0113_mmio_gpio_set() argument
3664 ca0113_mmio_command_set(struct hda_codec *codec, unsigned int group, unsigned int target, unsigned int value) ca0113_mmio_command_set() argument
3703 ca0113_mmio_command_set_type2(struct hda_codec *codec, unsigned int group, unsigned int target, unsigned int value) ca0113_mmio_command_set_type2() argument
3743 ca0132_gpio_init(struct hda_codec *codec) ca0132_gpio_init() argument
3766 ca0132_gpio_setup(struct hda_codec *codec) ca0132_gpio_setup() argument
3836 r3di_gpio_mic_set(struct hda_codec *codec, enum r3di_mic_select cur_mic) r3di_gpio_mic_set() argument
3856 r3di_gpio_dsp_status_set(struct hda_codec *codec, enum r3di_dsp_status dsp_status) r3di_gpio_dsp_status_set() argument
3888 ca0132_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_playback_pcm_prepare() argument
3901 ca0132_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_playback_pcm_cleanup() argument
3920 ca0132_playback_pcm_delay(struct hda_pcm_stream *info, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_playback_pcm_delay() argument
3948 ca0132_dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_open() argument
3956 ca0132_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_prepare() argument
3967 ca0132_dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_cleanup() argument
3975 ca0132_dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_close() argument
3986 ca0132_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_capture_pcm_prepare() argument
3998 ca0132_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_capture_pcm_cleanup() argument
4011 ca0132_capture_pcm_delay(struct hda_pcm_stream *info, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_capture_pcm_delay() argument
4225 tuning_ctl_set(struct hda_codec *codec, hda_nid_t nid, const unsigned int *lookup, int idx) tuning_ctl_set() argument
4248 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); tuning_ctl_get() local
4274 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); voice_focus_ctl_put() local
4309 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mic_svm_ctl_put() local
4344 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); equalizer_ctl_put() local
4366 add_tuning_control(struct hda_codec *codec, hda_nid_t pnid, hda_nid_t nid, const char *name, int dir) add_tuning_control() argument
4406 add_tuning_ctls(struct hda_codec *codec) add_tuning_ctls() argument
4424 ca0132_init_tuning_defaults(struct hda_codec *codec) ca0132_init_tuning_defaults() argument
4446 ca0132_select_out(struct hda_codec *codec) ca0132_select_out() argument
4550 ae5_mmio_select_out(struct hda_codec *codec) ae5_mmio_select_out() argument
4567 ca0132_alt_set_full_range_speaker(struct hda_codec *codec) ca0132_alt_set_full_range_speaker() argument
4612 ca0132_alt_surround_set_bass_redirection(struct hda_codec *codec, bool val) ca0132_alt_surround_set_bass_redirection() argument
4645 ca0132_alt_select_out_get_quirk_data(struct hda_codec *codec, const struct ca0132_alt_out_set_quirk_data **quirk_data) ca0132_alt_select_out_get_quirk_data() argument
4661 ca0132_alt_select_out_quirk_set(struct hda_codec *codec) ca0132_alt_select_out_quirk_set() argument
4734 ca0132_set_out_node_pincfg(struct hda_codec *codec, hda_nid_t nid, bool out_enable, bool hp_enable) ca0132_set_out_node_pincfg() argument
4755 ca0132_alt_select_out(struct hda_codec *codec) ca0132_alt_select_out() argument
4931 ca0132_set_vipsource(struct hda_codec *codec, int val) ca0132_set_vipsource() argument
4969 ca0132_alt_set_vipsource(struct hda_codec *codec, int val) ca0132_alt_set_vipsource() argument
5040 ca0132_select_mic(struct hda_codec *codec) ca0132_select_mic() argument
5092 ca0132_alt_select_in(struct hda_codec *codec) ca0132_alt_select_in() argument
5269 ca0132_is_vnode_effective(struct hda_codec *codec, hda_nid_t vnid, hda_nid_t *shared_nid) ca0132_is_vnode_effective() argument
5297 ca0132_voicefx_set(struct hda_codec *codec, int enable) ca0132_voicefx_set() argument
5319 ca0132_effects_set(struct hda_codec *codec, hda_nid_t nid, long val) ca0132_effects_set() argument
5410 ca0132_pe_switch_set(struct hda_codec *codec) ca0132_pe_switch_set() argument
5432 stop_mic1(struct hda_codec *codec) stop_mic1() argument
5445 resume_mic1(struct hda_codec *codec, unsigned int oldval) resume_mic1() argument
5458 ca0132_cvoice_switch_set(struct hda_codec *codec) ca0132_cvoice_switch_set() argument
5487 ca0132_mic_boost_set(struct hda_codec *codec, long val) ca0132_mic_boost_set() argument
5502 ca0132_alt_mic_boost_set(struct hda_codec *codec, long val) ca0132_alt_mic_boost_set() argument
5512 ae5_headphone_gain_set(struct hda_codec *codec, long val) ae5_headphone_gain_set() argument
5526 zxr_headphone_gain_set(struct hda_codec *codec, long val) zxr_headphone_gain_set() argument
5536 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_vnode_switch_set() local
5597 ca0132_alt_bass_redirection_xover_set(struct hda_codec *codec, long idx) ca0132_alt_bass_redirection_xover_set() argument
5617 ca0132_alt_slider_ctl_set(struct hda_codec *codec, hda_nid_t nid, const unsigned int *lookup, int idx) ca0132_alt_slider_ctl_set() argument
5659 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_ctl_get() local
5675 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_slider_ctl_get() local
5718 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_put() local
5748 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_effect_slider_put() local
5795 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_get() local
5805 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_put() local
5849 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_get() local
5859 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_put() local
5902 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_get() local
5912 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_put() local
5952 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_get() local
5962 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_put() local
6004 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_get() local
6014 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_put() local
6055 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_get() local
6065 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_put() local
6108 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_get() local
6118 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_put() local
6172 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_get() local
6182 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_put() local
6229 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_get() local
6239 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_put() local
6274 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_get() local
6326 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_put() local
6427 ca0132_alt_dsp_volume_put(struct hda_codec *codec, hda_nid_t nid) ca0132_alt_dsp_volume_put() argument
6460 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_info() local
6498 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_get() local
6519 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_put() local
6566 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_volume_put() local
6606 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_tlv() local
6642 ca0132_alt_add_effect_slider(struct hda_codec *codec, hda_nid_t nid, const char *pfx, int dir) ca0132_alt_add_effect_slider() argument
6677 add_fx_switch(struct hda_codec *codec, hda_nid_t nid, const char *pfx, int dir) add_fx_switch() argument
6696 add_voicefx(struct hda_codec *codec) add_voicefx() argument
6708 add_ca0132_alt_eq_presets(struct hda_codec *codec) add_ca0132_alt_eq_presets() argument
6725 ca0132_alt_add_svm_enum(struct hda_codec *codec) ca0132_alt_add_svm_enum() argument
6742 ca0132_alt_add_output_enum(struct hda_codec *codec) ca0132_alt_add_output_enum() argument
6759 ca0132_alt_add_speaker_channel_cfg_enum(struct hda_codec *codec) ca0132_alt_add_speaker_channel_cfg_enum() argument
6776 ca0132_alt_add_front_full_range_switch(struct hda_codec *codec) ca0132_alt_add_front_full_range_switch() argument
6786 ca0132_alt_add_rear_full_range_switch(struct hda_codec *codec) ca0132_alt_add_rear_full_range_switch() argument
6802 ca0132_alt_add_bass_redirection_crossover(struct hda_codec *codec) ca0132_alt_add_bass_redirection_crossover() argument
6818 ca0132_alt_add_bass_redirection_switch(struct hda_codec *codec) ca0132_alt_add_bass_redirection_switch() argument
6834 ca0132_alt_add_input_enum(struct hda_codec *codec) ca0132_alt_add_input_enum() argument
6850 ca0132_alt_add_mic_boost_enum(struct hda_codec *codec) ca0132_alt_add_mic_boost_enum() argument
6868 ae5_add_headphone_gain_enum(struct hda_codec *codec) ae5_add_headphone_gain_enum() argument
6885 ae5_add_sound_filter_enum(struct hda_codec *codec) ae5_add_sound_filter_enum() argument
6897 zxr_add_headphone_gain_switch(struct hda_codec *codec) zxr_add_headphone_gain_switch() argument
6934 ca0132_alt_add_chmap_ctls(struct hda_codec *codec) ca0132_alt_add_chmap_ctls() argument
7027 ca0132_build_controls(struct hda_codec *codec) ca0132_build_controls() argument
7214 dbpro_build_controls(struct hda_codec *codec) dbpro_build_controls() argument
7278 ca0132_build_pcms(struct hda_codec *codec) ca0132_build_pcms() argument
7338 dbpro_build_pcms(struct hda_codec *codec) dbpro_build_pcms() argument
7372 init_output(struct hda_codec *codec, hda_nid_t pin, hda_nid_t dac) init_output() argument
7386 init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) init_input() argument
7407 refresh_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir) refresh_amp_caps() argument
7419 ca0132_set_dmic(struct hda_codec *codec, int enable) ca0132_set_dmic() argument
7463 ca0132_init_dmic(struct hda_codec *codec) ca0132_init_dmic() argument
7511 ca0132_init_analog_mic2(struct hda_codec *codec) ca0132_init_analog_mic2() argument
7523 ca0132_refresh_widget_caps(struct hda_codec *codec) ca0132_refresh_widget_caps() argument
7545 ca0132_alt_free_active_dma_channels(struct hda_codec *codec) ca0132_alt_free_active_dma_channels() argument
7600 ca0132_alt_start_dsp_audio_streams(struct hda_codec *codec) ca0132_alt_start_dsp_audio_streams() argument
7690 chipio_remap_stream(struct hda_codec *codec, const struct chipio_stream_remap_data *remap_data) chipio_remap_stream() argument
7757 ca0132_alt_init_speaker_tuning(struct hda_codec *codec) ca0132_alt_init_speaker_tuning() argument
7801 ca0132_alt_init_analog_mics(struct hda_codec *codec) ca0132_alt_init_analog_mics() argument
7831 sbz_connect_streams(struct hda_codec *codec) sbz_connect_streams() argument
7860 sbz_chipio_startup_data(struct hda_codec *codec) sbz_chipio_startup_data() argument
7893 ca0132_alt_dsp_initial_mic_setup(struct hda_codec *codec) ca0132_alt_dsp_initial_mic_setup() argument
7924 ae5_post_dsp_register_set(struct hda_codec *codec) ae5_post_dsp_register_set() argument
7949 ae5_post_dsp_param_setup(struct hda_codec *codec) ae5_post_dsp_param_setup() argument
7969 ae5_post_dsp_pll_setup(struct hda_codec *codec) ae5_post_dsp_pll_setup() argument
7978 ae5_post_dsp_stream_setup(struct hda_codec *codec) ae5_post_dsp_stream_setup() argument
8004 ae5_post_dsp_startup_data(struct hda_codec *codec) ae5_post_dsp_startup_data() argument
8036 ae7_post_dsp_setup_ports(struct hda_codec *codec) ae7_post_dsp_setup_ports() argument
8057 ae7_post_dsp_asi_stream_setup(struct hda_codec *codec) ae7_post_dsp_asi_stream_setup() argument
8080 ae7_post_dsp_pll_setup(struct hda_codec *codec) ae7_post_dsp_pll_setup() argument
8094 ae7_post_dsp_asi_setup_ports(struct hda_codec *codec) ae7_post_dsp_asi_setup_ports() argument
8176 ae7_post_dsp_asi_setup(struct hda_codec *codec) ae7_post_dsp_asi_setup() argument
8205 ca0132_setup_defaults(struct hda_codec *codec) ca0132_setup_defaults() argument
8250 r3d_setup_defaults(struct hda_codec *codec) r3d_setup_defaults() argument
8300 sbz_setup_defaults(struct hda_codec *codec) sbz_setup_defaults() argument
8354 ae5_setup_defaults(struct hda_codec *codec) ae5_setup_defaults() argument
8419 ae7_setup_defaults(struct hda_codec *codec) ae7_setup_defaults() argument
8502 ca0132_init_flags(struct hda_codec *codec) ca0132_init_flags() argument
8535 ca0132_init_params(struct hda_codec *codec) ca0132_init_params() argument
8551 ca0132_set_dsp_msr(struct hda_codec *codec, bool is96k) ca0132_set_dsp_msr() argument
8565 ca0132_download_dsp_images(struct hda_codec *codec) ca0132_download_dsp_images() argument
8621 ca0132_download_dsp(struct hda_codec *codec) ca0132_download_dsp() argument
8647 ca0132_process_dsp_response(struct hda_codec *codec, struct hda_jack_callback *callback) ca0132_process_dsp_response() argument
8663 hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) hp_callback() argument
8677 amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb) amic_callback() argument
8687 ca0132_setup_unsol(struct hda_codec *codec) ca0132_setup_unsol() argument
8776 ca0132_init_chip(struct hda_codec *codec) ca0132_init_chip() argument
8861 r3di_gpio_shutdown(struct hda_codec *codec) r3di_gpio_shutdown() argument
8869 sbz_region2_exit(struct hda_codec *codec) sbz_region2_exit() argument
8886 sbz_set_pin_ctl_default(struct hda_codec *codec) sbz_set_pin_ctl_default() argument
8899 ca0132_clear_unsolicited(struct hda_codec *codec) ca0132_clear_unsolicited() argument
8911 sbz_gpio_shutdown_commands(struct hda_codec *codec, int dir, int mask, int data) sbz_gpio_shutdown_commands() argument
8926 zxr_dbpro_power_state_shutdown(struct hda_codec *codec) zxr_dbpro_power_state_shutdown() argument
8936 sbz_exit_chip(struct hda_codec *codec) sbz_exit_chip() argument
8971 r3d_exit_chip(struct hda_codec *codec) r3d_exit_chip() argument
8978 ae5_exit_chip(struct hda_codec *codec) ae5_exit_chip() argument
9003 ae7_exit_chip(struct hda_codec *codec) ae7_exit_chip() argument
9029 zxr_exit_chip(struct hda_codec *codec) zxr_exit_chip() argument
9059 ca0132_exit_chip(struct hda_codec *codec) ca0132_exit_chip() argument
9075 sbz_dsp_startup_check(struct hda_codec *codec) sbz_dsp_startup_check() argument
9140 ca0132_alt_vol_setup(struct hda_codec *codec) ca0132_alt_vol_setup() argument
9155 sbz_pre_dsp_setup(struct hda_codec *codec) sbz_pre_dsp_setup() argument
9168 r3d_pre_dsp_setup(struct hda_codec *codec) r3d_pre_dsp_setup() argument
9178 r3di_pre_dsp_setup(struct hda_codec *codec) r3di_pre_dsp_setup() argument
9195 zxr_pre_dsp_setup(struct hda_codec *codec) zxr_pre_dsp_setup() argument
9268 ca0132_mmio_init_sbz(struct hda_codec *codec) ca0132_mmio_init_sbz() argument
9318 ca0132_mmio_init_ae5(struct hda_codec *codec) ca0132_mmio_init_ae5() argument
9350 ca0132_mmio_init(struct hda_codec *codec) ca0132_mmio_init() argument
9383 ae5_register_set(struct hda_codec *codec) ae5_register_set() argument
9442 ca0132_alt_init(struct hda_codec *codec) ca0132_alt_init() argument
9499 ca0132_init(struct hda_codec *codec) ca0132_init() argument
9620 dbpro_init(struct hda_codec *codec) dbpro_init() argument
9635 ca0132_free(struct hda_codec *codec) ca0132_free() argument
9676 dbpro_free(struct hda_codec *codec) dbpro_free() argument
9687 ca0132_suspend(struct hda_codec *codec) ca0132_suspend() argument
9714 ca0132_config(struct hda_codec *codec) ca0132_config() argument
9914 ca0132_prepare_verbs(struct hda_codec *codec) ca0132_prepare_verbs() argument
9963 sbz_detect_quirk(struct hda_codec *codec) sbz_detect_quirk() argument
9980 patch_ca0132(struct hda_codec *codec) patch_ca0132() argument
[all...]
H A Dhda_codec.c27 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core)
28 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core)
29 #define codec_has_epss(codec) \
30 ((codec)->core.power_caps & AC_PWRST_EPSS)
31 #define codec_has_clkstop(codec) \
32 ((codec)->core.power_caps & AC_PWRST_CLKSTOP)
40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local
41 struct hda_bus *bus = codec in codec_exec_verb()
79 snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) snd_hda_sequence_write() argument
96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) lookup_conn_list() argument
106 add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, const hda_nid_t *list) add_conn_list() argument
121 remove_conn_list(struct hda_codec *codec) remove_conn_list() argument
132 read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) read_and_add_raw_conns() argument
168 snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, const hda_nid_t **listp) snd_hda_get_conn_list() argument
207 snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) snd_hda_get_connections() argument
238 snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, const hda_nid_t *list) snd_hda_override_conn_list() argument
264 snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, hda_nid_t nid, int recursive) snd_hda_get_conn_index() argument
300 snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) snd_hda_get_num_devices() argument
326 snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, u8 *dev_list, int max_devices) snd_hda_get_devices() argument
365 snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid) snd_hda_get_dev_select() argument
383 snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id) snd_hda_set_dev_select() argument
416 read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) read_widget_caps() argument
432 read_pin_defaults(struct hda_codec *codec) read_pin_defaults() argument
460 look_up_pincfg(struct hda_codec *codec, struct snd_array *array, hda_nid_t nid) look_up_pincfg() argument
477 snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list, hda_nid_t nid, unsigned int cfg) snd_hda_add_pincfg() argument
512 snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid, unsigned int cfg) snd_hda_codec_set_pincfg() argument
528 snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) snd_hda_codec_get_pincfg() argument
564 snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, unsigned int val) snd_hda_codec_set_pin_target() argument
582 snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) snd_hda_codec_get_pin_target() argument
600 snd_hda_shutup_pins(struct hda_codec *codec) snd_hda_shutup_pins() argument
621 restore_shutup_pins(struct hda_codec *codec) restore_shutup_pins() argument
641 struct hda_codec *codec = hda_jackpoll_work() local
665 free_init_pincfgs(struct hda_codec *codec) free_init_pincfgs() argument
688 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) get_hda_cvt_setup() argument
713 snd_hda_codec_pcm_new(struct hda_codec *codec, const char *fmt, ...) snd_hda_codec_pcm_new() argument
741 snd_hda_codec_disconnect_pcms(struct hda_codec *codec) snd_hda_codec_disconnect_pcms() argument
755 codec_release_pcms(struct hda_codec *codec) codec_release_pcms() argument
773 snd_hda_codec_cleanup_for_unbind(struct hda_codec *codec) snd_hda_codec_cleanup_for_unbind() argument
813 snd_hda_codec_display_power(struct hda_codec *codec, bool enable) snd_hda_codec_display_power() argument
825 snd_hda_codec_register(struct hda_codec *codec) snd_hda_codec_register() argument
849 snd_hda_codec_unregister(struct hda_codec *codec) snd_hda_codec_unregister() argument
878 struct hda_codec *codec = dev_to_hda_codec(dev); snd_hda_codec_dev_release() local
904 struct hda_codec *codec; snd_hda_codec_device_init() local
964 struct hda_codec *codec; snd_hda_codec_new() local
981 snd_hda_codec_device_new(struct hda_bus *bus, struct snd_card *card, unsigned int codec_addr, struct hda_codec *codec, bool snddev_managed) snd_hda_codec_device_new() argument
1063 snd_hda_codec_update_widgets(struct hda_codec *codec) snd_hda_codec_update_widgets() argument
1089 update_pcm_stream_id(struct hda_codec *codec, struct hda_cvt_setup *p, hda_nid_t nid, u32 stream_tag, int channel_id) update_pcm_stream_id() argument
1108 update_pcm_format(struct hda_codec *codec, struct hda_cvt_setup *p, hda_nid_t nid, int format) update_pcm_format() argument
1134 snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, u32 stream_tag, int channel_id, int format) snd_hda_codec_setup_stream() argument
1185 __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, int do_now) __snd_hda_codec_cleanup_stream() argument
1211 really_cleanup_stream(struct hda_codec *codec, struct hda_cvt_setup *q) really_cleanup_stream() argument
1227 purify_inactive_streams(struct hda_codec *codec) purify_inactive_streams() argument
1243 hda_cleanup_all_streams(struct hda_codec *codec) hda_cleanup_all_streams() argument
1271 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) query_amp_caps() argument
1290 snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int bits) snd_hda_check_amp_caps() argument
1315 snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps) snd_hda_override_amp_caps() argument
1327 encode_amp(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx) encode_amp() argument
1351 snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) snd_hda_codec_amp_update() argument
1372 snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, int direction, int idx, int mask, int val) snd_hda_codec_amp_stereo() argument
1400 snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) snd_hda_codec_amp_init() argument
1422 snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int mask, int val) snd_hda_codec_amp_init_stereo() argument
1436 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int ofs) get_amp_max_value() argument
1458 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_info() local
1480 read_amp_value(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, unsigned int ofs) read_amp_value() argument
1494 update_amp_value(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, unsigned int ofs, unsigned int val) update_amp_value() argument
1521 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_get() local
1548 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_put() local
1570 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); get_ctl_amp_tlv() local
1626 snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int *tlv) snd_hda_set_vmaster_tlv() argument
1645 find_mixer_ctl(struct hda_codec *codec, const char *name, int dev, int idx) find_mixer_ctl() argument
1665 snd_hda_find_mixer_ctl(struct hda_codec *codec, const char *name) snd_hda_find_mixer_ctl() argument
1672 find_empty_mixer_ctl_idx(struct hda_codec *codec, const char *name, int start_idx) find_empty_mixer_ctl_idx() argument
1703 snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, struct snd_kcontrol *kctl) snd_hda_ctl_add() argument
1743 snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl, unsigned int index, hda_nid_t nid) snd_hda_add_nid() argument
1767 snd_hda_ctls_clear(struct hda_codec *codec) snd_hda_ctls_clear() argument
1787 struct hda_codec *codec; snd_hda_lock_devices() local
1841 snd_hda_codec_reset(struct hda_codec *codec) snd_hda_codec_reset() argument
1859 map_followers(struct hda_codec *codec, const char * const *followers, const char *suffix, map_follower_func_t func, void *data) map_followers() argument
1890 check_follower_present(struct hda_codec *codec, void *data, struct snd_kcontrol *sctl) check_follower_present() argument
1911 struct hda_codec *codec; global() member
1970 add_follower(struct hda_codec *codec, void *data, struct snd_kcontrol *follower) add_follower() argument
1996 __snd_hda_add_vmaster(struct hda_codec *codec, char *name, unsigned int *tlv, const char * const *followers, const char *suffix, bool init_follower_vol, unsigned int access, struct snd_kcontrol **ctl_ret) __snd_hda_add_vmaster() argument
2057 snd_hda_add_vmaster_hook(struct hda_codec *codec, struct hda_vmaster_mute_hook *hook) snd_hda_add_vmaster_hook() argument
2121 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_get() local
2149 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_put() local
2208 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_get() local
2279 set_dig_out(struct hda_codec *codec, hda_nid_t nid, int mask, int val) set_dig_out() argument
2294 set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, int dig1, int dig2) set_dig_out_convert() argument
2314 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_put() local
2345 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_get() local
2358 set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, int dig1, int dig2) set_spdif_ctls() argument
2372 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_put() local
2438 snd_hda_create_dig_out_ctls(struct hda_codec *codec, hda_nid_t associated_nid, hda_nid_t cvt_nid, int type) snd_hda_create_dig_out_ctls() argument
2507 snd_hda_spdif_out_of_nid(struct hda_codec *codec, hda_nid_t nid) snd_hda_spdif_out_of_nid() argument
2528 snd_hda_spdif_ctls_unassign(struct hda_codec *codec, int idx) snd_hda_spdif_ctls_unassign() argument
2549 snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) snd_hda_spdif_ctls_assign() argument
2599 snd_hda_create_spdif_share_sw(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_create_spdif_share_sw() argument
2624 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_get() local
2633 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_put() local
2652 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_status_get() local
2695 snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) snd_hda_create_spdif_in_ctls() argument
2734 snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, unsigned int power_state) snd_hda_codec_set_power_to_all() argument
2764 snd_hda_codec_eapd_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) snd_hda_codec_eapd_power_filter() argument
2785 hda_set_power_state(struct hda_codec *codec, unsigned int power_state) hda_set_power_state() argument
2828 sync_power_up_states(struct hda_codec *codec) sync_power_up_states() argument
2852 hda_exec_init_verbs(struct hda_codec *codec) hda_exec_init_verbs() argument
2858 hda_exec_init_verbs(struct hda_codec *codec) hda_exec_init_verbs() argument
2863 update_power_acct(struct hda_codec *codec, bool on) update_power_acct() argument
2874 snd_hda_update_power_acct(struct hda_codec *codec) snd_hda_update_power_acct() argument
2883 hda_call_codec_suspend(struct hda_codec *codec) hda_call_codec_suspend() argument
2901 hda_call_codec_resume(struct hda_codec *codec) hda_call_codec_resume() argument
2931 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_suspend() local
2956 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_resume() local
2974 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_prepare() local
2983 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_complete() local
3008 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_freeze() local
3045 snd_hda_codec_shutdown(struct hda_codec *codec) snd_hda_codec_shutdown() argument
3064 add_std_chmaps(struct hda_codec *codec) add_std_chmaps() argument
3102 snd_hda_codec_build_controls(struct hda_codec *codec) snd_hda_codec_build_controls() argument
3131 hda_pcm_default_open_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hda_pcm_default_open_close() argument
3138 hda_pcm_default_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) hda_pcm_default_prepare() argument
3148 hda_pcm_default_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hda_pcm_default_cleanup() argument
3156 set_pcm_default_values(struct hda_codec *codec, struct hda_pcm_stream *info) set_pcm_default_values() argument
3201 snd_hda_codec_prepare(struct hda_codec *codec, struct hda_pcm_stream *hinfo, unsigned int stream, unsigned int format, struct snd_pcm_substream *substream) snd_hda_codec_prepare() argument
3229 snd_hda_codec_cleanup(struct hda_codec *codec, struct hda_pcm_stream *hinfo, struct snd_pcm_substream *substream) snd_hda_codec_cleanup() argument
3294 snd_hda_codec_parse_pcms(struct hda_codec *codec) snd_hda_codec_parse_pcms() argument
3335 snd_hda_codec_build_pcms(struct hda_codec *codec) snd_hda_codec_build_pcms() argument
3380 snd_hda_add_new_ctls(struct hda_codec *codec, const struct snd_kcontrol_new *knew) snd_hda_add_new_ctls() argument
3433 snd_hda_codec_set_power_save(struct hda_codec *codec, int delay) snd_hda_codec_set_power_save() argument
3482 snd_hda_check_amp_list_power(struct hda_codec *codec, struct hda_loopback_check *check, hda_nid_t nid) snd_hda_check_amp_list_power() argument
3555 snd_hda_input_mux_put(struct hda_codec *codec, const struct hda_input_mux *imux, struct snd_ctl_elem_value *ucontrol, hda_nid_t nid, unsigned int *cur_val) snd_hda_input_mux_put() argument
3610 setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, unsigned int stream_tag, unsigned int format) setup_dig_out_stream() argument
3649 cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) cleanup_dig_out_stream() argument
3664 snd_hda_multi_out_dig_open(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_dig_open() argument
3685 snd_hda_multi_out_dig_prepare(struct hda_codec *codec, struct hda_multi_out *mout, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) snd_hda_multi_out_dig_prepare() argument
3703 snd_hda_multi_out_dig_cleanup(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_dig_cleanup() argument
3718 snd_hda_multi_out_dig_close(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_dig_close() argument
3739 snd_hda_multi_out_analog_open(struct hda_codec *codec, struct hda_multi_out *mout, struct snd_pcm_substream *substream, struct hda_pcm_stream *hinfo) snd_hda_multi_out_analog_open() argument
3793 snd_hda_multi_out_analog_prepare(struct hda_codec *codec, struct hda_multi_out *mout, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) snd_hda_multi_out_analog_prepare() argument
3869 snd_hda_multi_out_analog_cleanup(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_analog_cleanup() argument
3905 snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin) snd_hda_get_default_vref() argument
3932 snd_hda_correct_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val) snd_hda_correct_pin_ctl() argument
3995 _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val, bool cached) _snd_hda_set_pin_ctl() argument
4021 snd_hda_add_imux_item(struct hda_codec *codec, struct hda_input_mux *imux, const char *label, int index, int *type_idx) snd_hda_add_imux_item() argument
4055 struct hda_codec *codec; snd_hda_bus_reset_codecs() local
[all...]
H A Dpatch_hdmi.c78 struct hda_codec *codec; member
99 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid,
102 void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid,
107 int (*pin_hbr_setup)(struct hda_codec *codec, hda_nid_t pin_nid,
110 int (*setup_stream)(struct hda_codec *codec, hda_nid_t cvt_nid,
114 void (*pin_cvt_fixup)(struct hda_codec *codec,
132 struct hda_codec *codec; member
172 /* hdmi interrupt trigger control flag for Nvidia codec */
197 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp() argument
199 struct hdmi_spec *spec = codec in codec_has_acomp()
251 pin_id_to_pin_index(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id) pin_id_to_pin_index() argument
276 hinfo_to_pcm_index(struct hda_codec *codec, struct hda_pcm_stream *hinfo) hinfo_to_pcm_index() argument
290 hinfo_to_pin_index(struct hda_codec *codec, struct hda_pcm_stream *hinfo) hinfo_to_pin_index() argument
323 cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) cvt_nid_to_cvt_index() argument
339 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hdmi_eld_ctl_info() local
366 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hdmi_eld_ctl_get() local
411 hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, int device) hdmi_create_eld_ctl() argument
436 hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, int *packet_index, int *byte_index) hdmi_get_dip_index() argument
449 hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, int packet_index, int byte_index) hdmi_set_dip_index() argument
459 hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, unsigned char val) hdmi_write_dip_byte() argument
465 hdmi_init_pin(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_init_pin() argument
517 struct hda_codec *codec = per_pin->codec; eld_proc_new() local
559 hdmi_start_infoframe_trans(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_start_infoframe_trans() argument
570 hdmi_stop_infoframe_trans(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_stop_infoframe_trans() argument
578 hdmi_debug_dip_size(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_debug_dip_size() argument
595 hdmi_clear_dip_buffers(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_clear_dip_buffers() argument
638 hdmi_fill_audio_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, u8 *dip, int size) hdmi_fill_audio_infoframe() argument
652 hdmi_infoframe_uptodate(struct hda_codec *codec, hda_nid_t pin_nid, u8 *dip, int size) hdmi_infoframe_uptodate() argument
673 hdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, int dev_id, unsigned char *buf, int *eld_size) hdmi_pin_get_eld() argument
681 hdmi_pin_setup_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, int ca, int active_channels, int conn_type) hdmi_pin_setup_infoframe() argument
738 hdmi_setup_audio_infoframe(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, bool non_pcm) hdmi_setup_audio_infoframe() argument
793 check_presence_and_report(struct hda_codec *codec, hda_nid_t nid, int dev_id) check_presence_and_report() argument
806 jack_callback(struct hda_codec *codec, struct hda_jack_callback *jack) jack_callback() argument
816 hdmi_intrinsic_event(struct hda_codec *codec, unsigned int res, struct hda_jack_tbl *jack) hdmi_intrinsic_event() argument
829 hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res) hdmi_non_intrinsic_event() argument
854 hdmi_unsol_event(struct hda_codec *codec, unsigned int res) hdmi_unsol_event() argument
883 haswell_verify_D0(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t nid) haswell_verify_D0() argument
912 hdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, bool hbr) hdmi_pin_hbr_setup() argument
947 hdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, int dev_id, u32 stream_tag, int format) hdmi_setup_stream() argument
992 hdmi_choose_cvt(struct hda_codec *codec, int pin_idx, int *cvt_id, bool silent) hdmi_choose_cvt() argument
1050 intel_verify_pin_cvt_connect(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) intel_verify_pin_cvt_connect() argument
1088 intel_not_share_assigned_cvt(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, int mux_idx) intel_not_share_assigned_cvt() argument
1164 intel_not_share_assigned_cvt_nid(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) intel_not_share_assigned_cvt_nid() argument
1181 pin_cvt_fixup(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, hda_nid_t cvt_nid) pin_cvt_fixup() argument
1192 hdmi_pcm_open_no_pin(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hdmi_pcm_open_no_pin() argument
1240 hdmi_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hdmi_pcm_open() argument
1331 hdmi_read_pin_conn(struct hda_codec *codec, int pin_idx) hdmi_read_pin_conn() argument
1432 struct hda_codec *codec = per_pin->codec; hdmi_pcm_setup_pin() local
1485 pin_idx_to_pcm_jack(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) pin_idx_to_pcm_jack() argument
1500 update_eld(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, struct hdmi_eld *eld, int repoll) update_eld() argument
1605 struct hda_codec *codec = per_pin->codec; hdmi_present_sense_via_verbs() local
1662 silent_stream_enable_i915(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) silent_stream_enable_i915() argument
1682 silent_stream_set_kae(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, bool enable) silent_stream_set_kae() argument
1701 silent_stream_enable(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) silent_stream_enable() argument
1773 silent_stream_disable(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) silent_stream_disable() argument
1819 sync_eld_via_acomp(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) sync_eld_via_acomp() argument
1847 struct hda_codec *codec = per_pin->codec; hdmi_present_sense() local
1859 struct hda_codec *codec = per_pin->codec; hdmi_repoll_eld() local
1876 hdmi_add_pin(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_add_pin() argument
1955 hdmi_add_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) hdmi_add_cvt() argument
2004 hdmi_parse_codec(struct hda_codec *codec) hdmi_parse_codec() argument
2060 check_non_pcm_per_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) check_non_pcm_per_cvt() argument
2083 generic_hdmi_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) generic_hdmi_playback_pcm_prepare() argument
2161 generic_hdmi_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) generic_hdmi_playback_pcm_cleanup() argument
2169 hdmi_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hdmi_pcm_close() argument
2244 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_get_spk_alloc() local
2257 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_get_chmap() local
2271 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_set_chmap() local
2287 struct hda_codec *codec = hdac_to_hda_codec(hdac); is_hdmi_pcm_attached() local
2294 generic_hdmi_build_pcms(struct hda_codec *codec) generic_hdmi_build_pcms() argument
2341 generic_hdmi_build_jack(struct hda_codec *codec, int pcm_idx) generic_hdmi_build_jack() argument
2363 generic_hdmi_build_controls(struct hda_codec *codec) generic_hdmi_build_controls() argument
2427 generic_hdmi_init_per_pins(struct hda_codec *codec) generic_hdmi_init_per_pins() argument
2443 generic_hdmi_init(struct hda_codec *codec) generic_hdmi_init() argument
2477 generic_spec_free(struct hda_codec *codec) generic_spec_free() argument
2489 generic_hdmi_free(struct hda_codec *codec) generic_hdmi_free() argument
2517 generic_hdmi_suspend(struct hda_codec *codec) generic_hdmi_suspend() argument
2529 generic_hdmi_resume(struct hda_codec *codec) generic_hdmi_resume() argument
2565 alloc_generic_hdmi(struct hda_codec *codec) alloc_generic_hdmi() argument
2594 patch_generic_hdmi(struct hda_codec *codec) patch_generic_hdmi() argument
2617 reprogram_jack_detect(struct hda_codec *codec, hda_nid_t nid, int dev_id, bool use_acomp) reprogram_jack_detect() argument
2684 struct hda_codec *codec = audio_ptr; generic_acomp_pin_eld_notify() local
2702 setup_drm_audio_ops(struct hda_codec *codec, const struct drm_audio_component_audio_ops *ops) setup_drm_audio_ops() argument
2720 generic_acomp_init(struct hda_codec *codec, const struct drm_audio_component_audio_ops *ops, int (*port2pin)(struct hda_codec *, int)) generic_acomp_init() argument
2748 intel_haswell_enable_all_pins(struct hda_codec *codec, bool update_tree) intel_haswell_enable_all_pins() argument
2769 intel_haswell_fixup_enable_dp12(struct hda_codec *codec) intel_haswell_fixup_enable_dp12() argument
2789 haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg, unsigned int power_state) haswell_set_power_state() argument
2812 intel_base_nid(struct hda_codec *codec) intel_base_nid() argument
2826 struct hda_codec *codec = audio_ptr; intel_pin2port() local
2850 intel_port2pin(struct hda_codec *codec, int port) intel_port2pin() argument
2868 struct hda_codec *codec = audio_ptr; intel_pin_eld_notify() local
2891 register_i915_notifier(struct hda_codec *codec) register_i915_notifier() argument
2905 i915_hsw_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, int dev_id, u32 stream_tag, int format) i915_hsw_setup_stream() argument
2939 i915_pin_cvt_fixup(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, hda_nid_t cvt_nid) i915_pin_cvt_fixup() argument
2956 i915_adlp_hdmi_suspend(struct hda_codec *codec) i915_adlp_hdmi_suspend() argument
2995 i915_adlp_hdmi_resume(struct hda_codec *codec) i915_adlp_hdmi_resume() argument
3038 alloc_intel_hdmi(struct hda_codec *codec) alloc_intel_hdmi() argument
3059 parse_intel_hdmi(struct hda_codec *codec) parse_intel_hdmi() argument
3078 intel_hsw_common_init(struct hda_codec *codec, hda_nid_t vendor_nid, const int *port_map, int port_num, int dev_num, bool send_silent_stream) intel_hsw_common_init() argument
3118 patch_i915_hsw_hdmi(struct hda_codec *codec) patch_i915_hsw_hdmi() argument
3124 patch_i915_glk_hdmi(struct hda_codec *codec) patch_i915_glk_hdmi() argument
3134 patch_i915_icl_hdmi(struct hda_codec *codec) patch_i915_icl_hdmi() argument
3146 patch_i915_tgl_hdmi(struct hda_codec *codec) patch_i915_tgl_hdmi() argument
3158 patch_i915_adlp_hdmi(struct hda_codec *codec) patch_i915_adlp_hdmi() argument
3181 patch_i915_byt_hdmi(struct hda_codec *codec) patch_i915_byt_hdmi() argument
3205 patch_i915_cpt_hdmi(struct hda_codec *codec) patch_i915_cpt_hdmi() argument
3219 simple_playback_build_pcms(struct hda_codec *codec) simple_playback_build_pcms() argument
3246 simple_hdmi_unsol_event(struct hda_codec *codec, unsigned int res) simple_hdmi_unsol_event() argument
3258 simple_playback_build_controls(struct hda_codec *codec) simple_playback_build_controls() argument
3273 simple_playback_init(struct hda_codec *codec) simple_playback_init() argument
3289 simple_playback_free(struct hda_codec *codec) simple_playback_free() argument
3350 nvhdmi_7x_init_2ch(struct hda_codec *codec) nvhdmi_7x_init_2ch() argument
3356 nvhdmi_7x_init_8ch(struct hda_codec *codec) nvhdmi_7x_init_8ch() argument
3382 simple_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) simple_playback_pcm_open() argument
3415 simple_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) simple_playback_pcm_close() argument
3423 simple_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) simple_playback_pcm_prepare() argument
3453 patch_simple_hdmi(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid) patch_simple_hdmi() argument
3488 nvhdmi_8ch_7x_set_info_frame_parameters(struct hda_codec *codec, int channels) nvhdmi_8ch_7x_set_info_frame_parameters() argument
3521 nvhdmi_8ch_7x_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) nvhdmi_8ch_7x_pcm_close() argument
3546 nvhdmi_8ch_7x_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) nvhdmi_8ch_7x_pcm_prepare() argument
3662 patch_nvhdmi_2ch(struct hda_codec *codec) patch_nvhdmi_2ch() argument
3680 nvhdmi_7x_8ch_build_pcms(struct hda_codec *codec) nvhdmi_7x_8ch_build_pcms() argument
3691 nvhdmi_7x_8ch_build_controls(struct hda_codec *codec) nvhdmi_7x_8ch_build_controls() argument
3722 patch_nvhdmi_8ch_7x(struct hda_codec *codec) patch_nvhdmi_8ch_7x() argument
3778 nvhdmi_port2pin(struct hda_codec *codec, int port) nvhdmi_port2pin() argument
3790 patch_nvhdmi(struct hda_codec *codec) patch_nvhdmi() argument
3824 patch_nvhdmi_legacy(struct hda_codec *codec) patch_nvhdmi_legacy() argument
3891 tegra_hdmi_set_format(struct hda_codec *codec, hda_nid_t cvt_nid, unsigned int format) tegra_hdmi_set_format() argument
3958 tegra_hdmi_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) tegra_hdmi_pcm_prepare() argument
3977 tegra_hdmi_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) tegra_hdmi_pcm_cleanup() argument
3987 hda_find_pcm_by_type(struct hda_codec *codec, int type) hda_find_pcm_by_type() argument
4002 tegra_hdmi_build_pcms(struct hda_codec *codec) tegra_hdmi_build_pcms() argument
4027 tegra_hdmi_init(struct hda_codec *codec) tegra_hdmi_init() argument
4059 patch_tegra_hdmi(struct hda_codec *codec) patch_tegra_hdmi() argument
4070 patch_tegra234_hdmi(struct hda_codec *codec) patch_tegra234_hdmi() argument
4134 atihdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, int dev_id, unsigned char *buf, int *eld_size) atihdmi_pin_get_eld() argument
4143 atihdmi_pin_setup_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, int ca, int active_channels, int conn_type) atihdmi_pin_setup_infoframe() argument
4219 struct hda_codec *codec = hdac_to_hda_codec(hdac); atihdmi_pin_set_slot_channel() local
4255 struct hda_codec *codec = hdac_to_hda_codec(hdac); atihdmi_pin_get_slot_channel() local
4337 atihdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, bool hbr) atihdmi_pin_hbr_setup() argument
4368 atihdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, int dev_id, u32 stream_tag, int format) atihdmi_setup_stream() argument
4386 atihdmi_init(struct hda_codec *codec) atihdmi_init() argument
4421 atihdmi_port2pin(struct hda_codec *codec, int port) atihdmi_port2pin() argument
4433 patch_atihdmi(struct hda_codec *codec) patch_atihdmi() argument
4492 patch_via_hdmi(struct hda_codec *codec) patch_via_hdmi() argument
4497 patch_gf_hdmi(struct hda_codec *codec) patch_gf_hdmi() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_bind.c3 * HD-audio codec driver binding
19 * find a matching codec id
23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
34 codec->preset = list; in hda_codec_match()
44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
47 if (codec in hda_codec_unsol_event()
63 snd_hda_codec_set_name(struct hda_codec *codec, const char *name) snd_hda_codec_set_name() argument
88 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_probe() local
152 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_remove() local
170 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_driver_shutdown() local
199 codec_probed(struct hda_codec *codec) codec_probed() argument
205 request_codec_module(struct hda_codec *codec) request_codec_module() argument
234 codec_bind_module(struct hda_codec *codec) codec_bind_module() argument
245 is_likely_hdmi_codec(struct hda_codec *codec) is_likely_hdmi_codec() argument
267 codec_bind_generic(struct hda_codec *codec) codec_bind_generic() argument
302 snd_hda_codec_configure(struct hda_codec *codec) snd_hda_codec_configure() argument
[all...]
H A Dpatch_ca0132.c1101 struct hda_codec *codec; member
1479 * CA0132 codec access
1481 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() argument
1485 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
1491 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() argument
1494 return codec_send_command(codec, nid, VENDOR_CHIPIO_STREAM_FORMAT, in codec_set_converter_format()
1498 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel() argument
1505 return codec_send_command(codec, nid, AC_VERB_SET_CHANNEL_STREAMID, in codec_set_converter_stream_channel()
1510 static int chipio_send(struct hda_codec *codec, in chipio_send() argument
1519 res = snd_hda_codec_read(codec, WIDGET_CHIP_CTR in chipio_send()
1532 chipio_write_address(struct hda_codec *codec, unsigned int chip_addx) chipio_write_address() argument
1559 chipio_write_data(struct hda_codec *codec, unsigned int data) chipio_write_data() argument
1583 chipio_write_data_multiple(struct hda_codec *codec, const u32 *data, unsigned int count) chipio_write_data_multiple() argument
1604 chipio_read_data(struct hda_codec *codec, unsigned int *data) chipio_read_data() argument
1635 chipio_write(struct hda_codec *codec, unsigned int chip_addx, const unsigned int data) chipio_write() argument
1661 chipio_write_no_mutex(struct hda_codec *codec, unsigned int chip_addx, const unsigned int data) chipio_write_no_mutex() argument
1684 chipio_write_multiple(struct hda_codec *codec, u32 chip_addx, const u32 *data, unsigned int count) chipio_write_multiple() argument
1708 chipio_read(struct hda_codec *codec, unsigned int chip_addx, unsigned int *data) chipio_read() argument
1733 chipio_set_control_flag(struct hda_codec *codec, enum control_flag_id flag_id, bool flag_state) chipio_set_control_flag() argument
1749 chipio_set_control_param(struct hda_codec *codec, enum control_param_id param_id, int param_val) chipio_set_control_param() argument
1776 chipio_set_control_param_no_mutex(struct hda_codec *codec, enum control_param_id param_id, int param_val) chipio_set_control_param_no_mutex() argument
1800 chipio_set_stream_source_dest(struct hda_codec *codec, int streamid, int source_point, int dest_point) chipio_set_stream_source_dest() argument
1814 chipio_set_stream_channels(struct hda_codec *codec, int streamid, unsigned int channels) chipio_set_stream_channels() argument
1826 chipio_set_stream_control(struct hda_codec *codec, int streamid, int enable) chipio_set_stream_control() argument
1839 chipio_set_conn_rate_no_mutex(struct hda_codec *codec, int connid, enum ca0132_sample_rate rate) chipio_set_conn_rate_no_mutex() argument
1851 chipio_set_conn_rate(struct hda_codec *codec, int connid, enum ca0132_sample_rate rate) chipio_set_conn_rate() argument
1864 chipio_8051_write_direct(struct hda_codec *codec, unsigned int addr, unsigned int data) chipio_8051_write_direct() argument
1876 chipio_enable_clocks(struct hda_codec *codec) chipio_enable_clocks() argument
1899 dspio_send(struct hda_codec *codec, unsigned int reg, unsigned int data) dspio_send() argument
1919 dspio_write_wait(struct hda_codec *codec) dspio_write_wait() argument
1937 dspio_write(struct hda_codec *codec, unsigned int scp_data) dspio_write() argument
1968 dspio_write_multiple(struct hda_codec *codec, unsigned int *buffer, unsigned int size) dspio_write_multiple() argument
1988 dspio_read(struct hda_codec *codec, unsigned int *data) dspio_read() argument
2007 dspio_read_multiple(struct hda_codec *codec, unsigned int *buffer, unsigned int *buf_size, unsigned int size_count) dspio_read_multiple() argument
2100 dspio_clear_response_queue(struct hda_codec *codec) dspio_clear_response_queue() argument
2112 dspio_get_response_data(struct hda_codec *codec) dspio_get_response_data() argument
2136 dspio_send_scp_message(struct hda_codec *codec, unsigned char *send_buf, unsigned int send_buf_size, unsigned char *return_buf, unsigned int return_buf_size, unsigned int *bytes_returned) dspio_send_scp_message() argument
2226 dspio_scp(struct hda_codec *codec, int mod_id, int src_id, int req, int dir, const void *data, unsigned int len, void *reply, unsigned int *reply_len) dspio_scp() argument
2308 dspio_set_param(struct hda_codec *codec, int mod_id, int src_id, int req, const void *data, unsigned int len) dspio_set_param() argument
2315 dspio_set_uint_param(struct hda_codec *codec, int mod_id, int req, const unsigned int data) dspio_set_uint_param() argument
2322 dspio_set_uint_param_no_source(struct hda_codec *codec, int mod_id, int req, const unsigned int data) dspio_set_uint_param_no_source() argument
2332 dspio_alloc_dma_chan(struct hda_codec *codec, unsigned int *dma_chan) dspio_alloc_dma_chan() argument
2361 dspio_free_dma_chan(struct hda_codec *codec, unsigned int dma_chan) dspio_free_dma_chan() argument
2386 dsp_set_run_state(struct hda_codec *codec) dsp_set_run_state() argument
2421 dsp_reset(struct hda_codec *codec) dsp_reset() argument
2464 dsp_is_dma_active(struct hda_codec *codec, unsigned int dma_chan) dsp_is_dma_active() argument
2474 dsp_dma_setup_common(struct hda_codec *codec, unsigned int chip_addx, unsigned int dma_chan, unsigned int port_map_mask, bool ovly) dsp_dma_setup_common() argument
2587 dsp_dma_setup(struct hda_codec *codec, unsigned int chip_addx, unsigned int count, unsigned int dma_chan) dsp_dma_setup() argument
2678 dsp_dma_start(struct hda_codec *codec, unsigned int dma_chan, bool ovly) dsp_dma_start() argument
2714 dsp_dma_stop(struct hda_codec *codec, unsigned int dma_chan, bool ovly) dsp_dma_stop() argument
2757 dsp_allocate_router_ports(struct hda_codec *codec, unsigned int num_chans, unsigned int ports_per_channel, unsigned int start_device, unsigned int *port_map) dsp_allocate_router_ports() argument
2798 dsp_free_router_ports(struct hda_codec *codec) dsp_free_router_ports() argument
2818 dsp_allocate_ports(struct hda_codec *codec, unsigned int num_chans, unsigned int rate_multi, unsigned int *port_map) dsp_allocate_ports() argument
2839 dsp_allocate_ports_format(struct hda_codec *codec, const unsigned short fmt, unsigned int *port_map) dsp_allocate_ports_format() argument
2865 dsp_free_ports(struct hda_codec *codec) dsp_free_ports() argument
2885 struct hda_codec *codec; global() member
2897 dma_convert_to_hda_format(struct hda_codec *codec, unsigned int sample_rate, unsigned short channels, unsigned short *hda_format) dma_convert_to_hda_format() argument
2918 struct hda_codec *codec = dma->codec; dma_reset() local
3033 dspxfr_hci_write(struct hda_codec *codec, const struct dsp_image_seg *fls) dspxfr_hci_write() argument
3074 dspxfr_one_seg(struct hda_codec *codec, const struct dsp_image_seg *fls, unsigned int reloc, struct dma_engine *dma_engine, unsigned int dma_chan, unsigned int port_map_mask, bool ovly) dspxfr_one_seg() argument
3270 dspxfr_image(struct hda_codec *codec, const struct dsp_image_seg *fls_data, unsigned int reloc, unsigned int sample_rate, unsigned short channels, bool ovly) dspxfr_image() argument
3391 dspload_post_setup(struct hda_codec *codec) dspload_post_setup() argument
3423 dspload_image(struct hda_codec *codec, const struct dsp_image_seg *fls, bool ovly, unsigned int reloc, bool autostart, int router_chans) dspload_image() argument
3478 dspload_is_loaded(struct hda_codec *codec) dspload_is_loaded() argument
3493 dspload_wait_loaded(struct hda_codec *codec) dspload_wait_loaded() argument
3524 ca0113_mmio_gpio_set(struct hda_codec *codec, unsigned int gpio_pin, bool enable) ca0113_mmio_gpio_set() argument
3544 ca0113_mmio_command_set(struct hda_codec *codec, unsigned int group, unsigned int target, unsigned int value) ca0113_mmio_command_set() argument
3583 ca0113_mmio_command_set_type2(struct hda_codec *codec, unsigned int group, unsigned int target, unsigned int value) ca0113_mmio_command_set_type2() argument
3623 ca0132_gpio_init(struct hda_codec *codec) ca0132_gpio_init() argument
3646 ca0132_gpio_setup(struct hda_codec *codec) ca0132_gpio_setup() argument
3716 r3di_gpio_mic_set(struct hda_codec *codec, enum r3di_mic_select cur_mic) r3di_gpio_mic_set() argument
3736 r3di_gpio_dsp_status_set(struct hda_codec *codec, enum r3di_dsp_status dsp_status) r3di_gpio_dsp_status_set() argument
3768 ca0132_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_playback_pcm_prepare() argument
3781 ca0132_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_playback_pcm_cleanup() argument
3800 ca0132_playback_pcm_delay(struct hda_pcm_stream *info, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_playback_pcm_delay() argument
3828 ca0132_dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_open() argument
3836 ca0132_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_prepare() argument
3847 ca0132_dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_cleanup() argument
3855 ca0132_dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_close() argument
3866 ca0132_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_capture_pcm_prepare() argument
3878 ca0132_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_capture_pcm_cleanup() argument
3891 ca0132_capture_pcm_delay(struct hda_pcm_stream *info, struct hda_codec *codec, struct snd_pcm_substream *substream) ca0132_capture_pcm_delay() argument
4105 tuning_ctl_set(struct hda_codec *codec, hda_nid_t nid, const unsigned int *lookup, int idx) tuning_ctl_set() argument
4128 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); tuning_ctl_get() local
4154 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); voice_focus_ctl_put() local
4189 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mic_svm_ctl_put() local
4224 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); equalizer_ctl_put() local
4246 add_tuning_control(struct hda_codec *codec, hda_nid_t pnid, hda_nid_t nid, const char *name, int dir) add_tuning_control() argument
4286 add_tuning_ctls(struct hda_codec *codec) add_tuning_ctls() argument
4304 ca0132_init_tuning_defaults(struct hda_codec *codec) ca0132_init_tuning_defaults() argument
4326 ca0132_select_out(struct hda_codec *codec) ca0132_select_out() argument
4430 ae5_mmio_select_out(struct hda_codec *codec) ae5_mmio_select_out() argument
4447 ca0132_alt_set_full_range_speaker(struct hda_codec *codec) ca0132_alt_set_full_range_speaker() argument
4492 ca0132_alt_surround_set_bass_redirection(struct hda_codec *codec, bool val) ca0132_alt_surround_set_bass_redirection() argument
4525 ca0132_alt_select_out_get_quirk_data(struct hda_codec *codec, const struct ca0132_alt_out_set_quirk_data **quirk_data) ca0132_alt_select_out_get_quirk_data() argument
4541 ca0132_alt_select_out_quirk_set(struct hda_codec *codec) ca0132_alt_select_out_quirk_set() argument
4614 ca0132_set_out_node_pincfg(struct hda_codec *codec, hda_nid_t nid, bool out_enable, bool hp_enable) ca0132_set_out_node_pincfg() argument
4635 ca0132_alt_select_out(struct hda_codec *codec) ca0132_alt_select_out() argument
4811 ca0132_set_vipsource(struct hda_codec *codec, int val) ca0132_set_vipsource() argument
4849 ca0132_alt_set_vipsource(struct hda_codec *codec, int val) ca0132_alt_set_vipsource() argument
4920 ca0132_select_mic(struct hda_codec *codec) ca0132_select_mic() argument
4972 ca0132_alt_select_in(struct hda_codec *codec) ca0132_alt_select_in() argument
5149 ca0132_is_vnode_effective(struct hda_codec *codec, hda_nid_t vnid, hda_nid_t *shared_nid) ca0132_is_vnode_effective() argument
5177 ca0132_voicefx_set(struct hda_codec *codec, int enable) ca0132_voicefx_set() argument
5199 ca0132_effects_set(struct hda_codec *codec, hda_nid_t nid, long val) ca0132_effects_set() argument
5290 ca0132_pe_switch_set(struct hda_codec *codec) ca0132_pe_switch_set() argument
5312 stop_mic1(struct hda_codec *codec) stop_mic1() argument
5325 resume_mic1(struct hda_codec *codec, unsigned int oldval) resume_mic1() argument
5338 ca0132_cvoice_switch_set(struct hda_codec *codec) ca0132_cvoice_switch_set() argument
5367 ca0132_mic_boost_set(struct hda_codec *codec, long val) ca0132_mic_boost_set() argument
5382 ca0132_alt_mic_boost_set(struct hda_codec *codec, long val) ca0132_alt_mic_boost_set() argument
5392 ae5_headphone_gain_set(struct hda_codec *codec, long val) ae5_headphone_gain_set() argument
5406 zxr_headphone_gain_set(struct hda_codec *codec, long val) zxr_headphone_gain_set() argument
5416 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_vnode_switch_set() local
5477 ca0132_alt_bass_redirection_xover_set(struct hda_codec *codec, long idx) ca0132_alt_bass_redirection_xover_set() argument
5497 ca0132_alt_slider_ctl_set(struct hda_codec *codec, hda_nid_t nid, const unsigned int *lookup, int idx) ca0132_alt_slider_ctl_set() argument
5539 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_ctl_get() local
5555 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_slider_ctl_get() local
5598 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_xbass_xover_slider_put() local
5628 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_effect_slider_put() local
5675 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_get() local
5685 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_mic_boost_put() local
5729 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_get() local
5739 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_headphone_gain_put() local
5782 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_get() local
5792 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ae5_sound_filter_put() local
5832 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_get() local
5842 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_input_source_put() local
5884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_get() local
5894 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_output_select_put() local
5935 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_get() local
5945 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_speaker_channel_cfg_put() local
5988 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_get() local
5998 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_svm_setting_put() local
6052 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_get() local
6062 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_eq_preset_put() local
6109 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_get() local
6119 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_voicefx_put() local
6154 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_get() local
6206 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_switch_put() local
6307 ca0132_alt_dsp_volume_put(struct hda_codec *codec, hda_nid_t nid) ca0132_alt_dsp_volume_put() argument
6340 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_info() local
6378 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_get() local
6399 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_put() local
6446 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_alt_volume_put() local
6486 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ca0132_volume_tlv() local
6522 ca0132_alt_add_effect_slider(struct hda_codec *codec, hda_nid_t nid, const char *pfx, int dir) ca0132_alt_add_effect_slider() argument
6557 add_fx_switch(struct hda_codec *codec, hda_nid_t nid, const char *pfx, int dir) add_fx_switch() argument
6576 add_voicefx(struct hda_codec *codec) add_voicefx() argument
6588 add_ca0132_alt_eq_presets(struct hda_codec *codec) add_ca0132_alt_eq_presets() argument
6605 ca0132_alt_add_svm_enum(struct hda_codec *codec) ca0132_alt_add_svm_enum() argument
6622 ca0132_alt_add_output_enum(struct hda_codec *codec) ca0132_alt_add_output_enum() argument
6639 ca0132_alt_add_speaker_channel_cfg_enum(struct hda_codec *codec) ca0132_alt_add_speaker_channel_cfg_enum() argument
6656 ca0132_alt_add_front_full_range_switch(struct hda_codec *codec) ca0132_alt_add_front_full_range_switch() argument
6666 ca0132_alt_add_rear_full_range_switch(struct hda_codec *codec) ca0132_alt_add_rear_full_range_switch() argument
6682 ca0132_alt_add_bass_redirection_crossover(struct hda_codec *codec) ca0132_alt_add_bass_redirection_crossover() argument
6698 ca0132_alt_add_bass_redirection_switch(struct hda_codec *codec) ca0132_alt_add_bass_redirection_switch() argument
6714 ca0132_alt_add_input_enum(struct hda_codec *codec) ca0132_alt_add_input_enum() argument
6730 ca0132_alt_add_mic_boost_enum(struct hda_codec *codec) ca0132_alt_add_mic_boost_enum() argument
6748 ae5_add_headphone_gain_enum(struct hda_codec *codec) ae5_add_headphone_gain_enum() argument
6765 ae5_add_sound_filter_enum(struct hda_codec *codec) ae5_add_sound_filter_enum() argument
6777 zxr_add_headphone_gain_switch(struct hda_codec *codec) zxr_add_headphone_gain_switch() argument
6814 ca0132_alt_add_chmap_ctls(struct hda_codec *codec) ca0132_alt_add_chmap_ctls() argument
6907 ca0132_build_controls(struct hda_codec *codec) ca0132_build_controls() argument
7094 dbpro_build_controls(struct hda_codec *codec) dbpro_build_controls() argument
7158 ca0132_build_pcms(struct hda_codec *codec) ca0132_build_pcms() argument
7218 dbpro_build_pcms(struct hda_codec *codec) dbpro_build_pcms() argument
7252 init_output(struct hda_codec *codec, hda_nid_t pin, hda_nid_t dac) init_output() argument
7266 init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) init_input() argument
7287 refresh_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir) refresh_amp_caps() argument
7299 ca0132_set_dmic(struct hda_codec *codec, int enable) ca0132_set_dmic() argument
7343 ca0132_init_dmic(struct hda_codec *codec) ca0132_init_dmic() argument
7391 ca0132_init_analog_mic2(struct hda_codec *codec) ca0132_init_analog_mic2() argument
7411 ca0132_refresh_widget_caps(struct hda_codec *codec) ca0132_refresh_widget_caps() argument
7452 ca0132_alt_init_speaker_tuning(struct hda_codec *codec) ca0132_alt_init_speaker_tuning() argument
7497 ca0132_alt_create_dummy_stream(struct hda_codec *codec) ca0132_alt_create_dummy_stream() argument
7514 ca0132_alt_init_analog_mics(struct hda_codec *codec) ca0132_alt_init_analog_mics() argument
7544 sbz_connect_streams(struct hda_codec *codec) sbz_connect_streams() argument
7576 sbz_chipio_startup_data(struct hda_codec *codec) sbz_chipio_startup_data() argument
7627 ca0132_alt_dsp_scp_startup(struct hda_codec *codec) ca0132_alt_dsp_scp_startup() argument
7674 ca0132_alt_dsp_initial_mic_setup(struct hda_codec *codec) ca0132_alt_dsp_initial_mic_setup() argument
7705 ae5_post_dsp_register_set(struct hda_codec *codec) ae5_post_dsp_register_set() argument
7733 ae5_post_dsp_param_setup(struct hda_codec *codec) ae5_post_dsp_param_setup() argument
7758 ae5_post_dsp_pll_setup(struct hda_codec *codec) ae5_post_dsp_pll_setup() argument
7786 ae5_post_dsp_stream_setup(struct hda_codec *codec) ae5_post_dsp_stream_setup() argument
7818 ae5_post_dsp_startup_data(struct hda_codec *codec) ae5_post_dsp_startup_data() argument
7855 ae7_post_dsp_setup_ports(struct hda_codec *codec) ae7_post_dsp_setup_ports() argument
7891 ae7_post_dsp_asi_stream_setup(struct hda_codec *codec) ae7_post_dsp_asi_stream_setup() argument
7916 ae7_post_dsp_pll_setup(struct hda_codec *codec) ae7_post_dsp_pll_setup() argument
7934 ae7_post_dsp_asi_setup_ports(struct hda_codec *codec) ae7_post_dsp_asi_setup_ports() argument
8019 ae7_post_dsp_asi_setup(struct hda_codec *codec) ae7_post_dsp_asi_setup() argument
8059 ca0132_setup_defaults(struct hda_codec *codec) ca0132_setup_defaults() argument
8104 r3d_setup_defaults(struct hda_codec *codec) r3d_setup_defaults() argument
8154 sbz_setup_defaults(struct hda_codec *codec) sbz_setup_defaults() argument
8213 ae5_setup_defaults(struct hda_codec *codec) ae5_setup_defaults() argument
8282 ae7_setup_defaults(struct hda_codec *codec) ae7_setup_defaults() argument
8367 ca0132_init_flags(struct hda_codec *codec) ca0132_init_flags() argument
8400 ca0132_init_params(struct hda_codec *codec) ca0132_init_params() argument
8416 ca0132_set_dsp_msr(struct hda_codec *codec, bool is96k) ca0132_set_dsp_msr() argument
8430 ca0132_download_dsp_images(struct hda_codec *codec) ca0132_download_dsp_images() argument
8486 ca0132_download_dsp(struct hda_codec *codec) ca0132_download_dsp() argument
8512 ca0132_process_dsp_response(struct hda_codec *codec, struct hda_jack_callback *callback) ca0132_process_dsp_response() argument
8528 hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) hp_callback() argument
8542 amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb) amic_callback() argument
8552 ca0132_init_unsol(struct hda_codec *codec) ca0132_init_unsol() argument
8641 ca0132_init_chip(struct hda_codec *codec) ca0132_init_chip() argument
8710 r3di_gpio_shutdown(struct hda_codec *codec) r3di_gpio_shutdown() argument
8718 sbz_region2_exit(struct hda_codec *codec) sbz_region2_exit() argument
8735 sbz_set_pin_ctl_default(struct hda_codec *codec) sbz_set_pin_ctl_default() argument
8748 ca0132_clear_unsolicited(struct hda_codec *codec) ca0132_clear_unsolicited() argument
8760 sbz_gpio_shutdown_commands(struct hda_codec *codec, int dir, int mask, int data) sbz_gpio_shutdown_commands() argument
8775 zxr_dbpro_power_state_shutdown(struct hda_codec *codec) zxr_dbpro_power_state_shutdown() argument
8785 sbz_exit_chip(struct hda_codec *codec) sbz_exit_chip() argument
8820 r3d_exit_chip(struct hda_codec *codec) r3d_exit_chip() argument
8827 ae5_exit_chip(struct hda_codec *codec) ae5_exit_chip() argument
8852 ae7_exit_chip(struct hda_codec *codec) ae7_exit_chip() argument
8878 zxr_exit_chip(struct hda_codec *codec) zxr_exit_chip() argument
8908 ca0132_exit_chip(struct hda_codec *codec) ca0132_exit_chip() argument
8924 sbz_dsp_startup_check(struct hda_codec *codec) sbz_dsp_startup_check() argument
8989 ca0132_alt_vol_setup(struct hda_codec *codec) ca0132_alt_vol_setup() argument
9004 sbz_pre_dsp_setup(struct hda_codec *codec) sbz_pre_dsp_setup() argument
9017 r3d_pre_dsp_setup(struct hda_codec *codec) r3d_pre_dsp_setup() argument
9032 r3di_pre_dsp_setup(struct hda_codec *codec) r3di_pre_dsp_setup() argument
9096 ca0132_mmio_init_sbz(struct hda_codec *codec) ca0132_mmio_init_sbz() argument
9146 ca0132_mmio_init_ae5(struct hda_codec *codec) ca0132_mmio_init_ae5() argument
9178 ca0132_mmio_init(struct hda_codec *codec) ca0132_mmio_init() argument
9211 ae5_register_set(struct hda_codec *codec) ae5_register_set() argument
9282 ca0132_alt_init(struct hda_codec *codec) ca0132_alt_init() argument
9343 ca0132_init(struct hda_codec *codec) ca0132_init() argument
9465 dbpro_init(struct hda_codec *codec) dbpro_init() argument
9480 ca0132_free(struct hda_codec *codec) ca0132_free() argument
9521 dbpro_free(struct hda_codec *codec) dbpro_free() argument
9531 ca0132_reboot_notify(struct hda_codec *codec) ca0132_reboot_notify() argument
9537 ca0132_suspend(struct hda_codec *codec) ca0132_suspend() argument
9565 ca0132_config(struct hda_codec *codec) ca0132_config() argument
9765 ca0132_prepare_verbs(struct hda_codec *codec) ca0132_prepare_verbs() argument
9814 sbz_detect_quirk(struct hda_codec *codec) sbz_detect_quirk() argument
9831 patch_ca0132(struct hda_codec *codec) patch_ca0132() argument
[all...]
H A Dhda_codec.c27 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core)
28 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core)
29 #define codec_has_epss(codec) \
30 ((codec)->core.power_caps & AC_PWRST_EPSS)
31 #define codec_has_clkstop(codec) \
32 ((codec)->core.power_caps & AC_PWRST_CLKSTOP)
40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local
41 struct hda_bus *bus = codec in codec_exec_verb()
79 snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) snd_hda_sequence_write() argument
96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) lookup_conn_list() argument
106 add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, const hda_nid_t *list) add_conn_list() argument
121 remove_conn_list(struct hda_codec *codec) remove_conn_list() argument
132 read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) read_and_add_raw_conns() argument
168 snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, const hda_nid_t **listp) snd_hda_get_conn_list() argument
207 snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) snd_hda_get_connections() argument
238 snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, const hda_nid_t *list) snd_hda_override_conn_list() argument
264 snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, hda_nid_t nid, int recursive) snd_hda_get_conn_index() argument
300 snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) snd_hda_get_num_devices() argument
326 snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, u8 *dev_list, int max_devices) snd_hda_get_devices() argument
365 snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid) snd_hda_get_dev_select() argument
383 snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id) snd_hda_set_dev_select() argument
416 read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) read_widget_caps() argument
432 read_pin_defaults(struct hda_codec *codec) read_pin_defaults() argument
460 look_up_pincfg(struct hda_codec *codec, struct snd_array *array, hda_nid_t nid) look_up_pincfg() argument
477 snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list, hda_nid_t nid, unsigned int cfg) snd_hda_add_pincfg() argument
512 snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid, unsigned int cfg) snd_hda_codec_set_pincfg() argument
528 snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) snd_hda_codec_get_pincfg() argument
564 snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, unsigned int val) snd_hda_codec_set_pin_target() argument
582 snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) snd_hda_codec_get_pin_target() argument
600 snd_hda_shutup_pins(struct hda_codec *codec) snd_hda_shutup_pins() argument
621 restore_shutup_pins(struct hda_codec *codec) restore_shutup_pins() argument
641 struct hda_codec *codec = hda_jackpoll_work() local
665 free_init_pincfgs(struct hda_codec *codec) free_init_pincfgs() argument
688 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) get_hda_cvt_setup() argument
723 snd_hda_codec_pcm_new(struct hda_codec *codec, const char *fmt, ...) snd_hda_codec_pcm_new() argument
751 codec_release_pcms(struct hda_codec *codec) codec_release_pcms() argument
763 snd_hda_codec_cleanup_for_unbind(struct hda_codec *codec) snd_hda_codec_cleanup_for_unbind() argument
801 codec_display_power(struct hda_codec *codec, bool enable) codec_display_power() argument
808 snd_hda_codec_register(struct hda_codec *codec) snd_hda_codec_register() argument
829 struct hda_codec *codec = device->device_data; snd_hda_codec_dev_free() local
853 struct hda_codec *codec = dev_to_hda_codec(dev); snd_hda_codec_dev_release() local
875 struct hda_codec *codec; snd_hda_codec_device_init() local
924 snd_hda_codec_device_new(struct hda_bus *bus, struct snd_card *card, unsigned int codec_addr, struct hda_codec *codec) snd_hda_codec_device_new() argument
1021 snd_hda_codec_update_widgets(struct hda_codec *codec) snd_hda_codec_update_widgets() argument
1047 update_pcm_stream_id(struct hda_codec *codec, struct hda_cvt_setup *p, hda_nid_t nid, u32 stream_tag, int channel_id) update_pcm_stream_id() argument
1066 update_pcm_format(struct hda_codec *codec, struct hda_cvt_setup *p, hda_nid_t nid, int format) update_pcm_format() argument
1092 snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, u32 stream_tag, int channel_id, int format) snd_hda_codec_setup_stream() argument
1143 __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, int do_now) __snd_hda_codec_cleanup_stream() argument
1169 really_cleanup_stream(struct hda_codec *codec, struct hda_cvt_setup *q) really_cleanup_stream() argument
1185 purify_inactive_streams(struct hda_codec *codec) purify_inactive_streams() argument
1201 hda_cleanup_all_streams(struct hda_codec *codec) hda_cleanup_all_streams() argument
1229 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) query_amp_caps() argument
1248 snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int bits) snd_hda_check_amp_caps() argument
1273 snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps) snd_hda_override_amp_caps() argument
1285 encode_amp(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx) encode_amp() argument
1309 snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) snd_hda_codec_amp_update() argument
1330 snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, int direction, int idx, int mask, int val) snd_hda_codec_amp_stereo() argument
1358 snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) snd_hda_codec_amp_init() argument
1380 snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int mask, int val) snd_hda_codec_amp_init_stereo() argument
1394 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int ofs) get_amp_max_value() argument
1416 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_info() local
1438 read_amp_value(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, unsigned int ofs) read_amp_value() argument
1452 update_amp_value(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, unsigned int ofs, unsigned int val) update_amp_value() argument
1479 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_get() local
1506 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_volume_put() local
1528 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); get_ctl_amp_tlv() local
1584 snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int *tlv) snd_hda_set_vmaster_tlv() argument
1603 find_mixer_ctl(struct hda_codec *codec, const char *name, int dev, int idx) find_mixer_ctl() argument
1623 snd_hda_find_mixer_ctl(struct hda_codec *codec, const char *name) snd_hda_find_mixer_ctl() argument
1630 find_empty_mixer_ctl_idx(struct hda_codec *codec, const char *name, int start_idx) find_empty_mixer_ctl_idx() argument
1661 snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, struct snd_kcontrol *kctl) snd_hda_ctl_add() argument
1701 snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl, unsigned int index, hda_nid_t nid) snd_hda_add_nid() argument
1725 snd_hda_ctls_clear(struct hda_codec *codec) snd_hda_ctls_clear() argument
1747 struct hda_codec *codec; snd_hda_lock_devices() local
1801 snd_hda_codec_reset(struct hda_codec *codec) snd_hda_codec_reset() argument
1819 map_followers(struct hda_codec *codec, const char * const *followers, const char *suffix, map_follower_func_t func, void *data) map_followers() argument
1850 check_follower_present(struct hda_codec *codec, void *data, struct snd_kcontrol *sctl) check_follower_present() argument
1871 struct hda_codec *codec; global() member
1930 add_follower(struct hda_codec *codec, void *data, struct snd_kcontrol *follower) add_follower() argument
1955 __snd_hda_add_vmaster(struct hda_codec *codec, char *name, unsigned int *tlv, const char * const *followers, const char *suffix, bool init_follower_vol, struct snd_kcontrol **ctl_ret) __snd_hda_add_vmaster() argument
2064 snd_hda_add_vmaster_hook(struct hda_codec *codec, struct hda_vmaster_mute_hook *hook, bool expose_enum_ctl) snd_hda_add_vmaster_hook() argument
2137 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_get() local
2165 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_put() local
2224 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_get() local
2295 set_dig_out(struct hda_codec *codec, hda_nid_t nid, int mask, int val) set_dig_out() argument
2310 set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, int dig1, int dig2) set_dig_out_convert() argument
2330 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_default_put() local
2361 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_get() local
2374 set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, int dig1, int dig2) set_spdif_ctls() argument
2388 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_out_switch_put() local
2454 snd_hda_create_dig_out_ctls(struct hda_codec *codec, hda_nid_t associated_nid, hda_nid_t cvt_nid, int type) snd_hda_create_dig_out_ctls() argument
2519 snd_hda_spdif_out_of_nid(struct hda_codec *codec, hda_nid_t nid) snd_hda_spdif_out_of_nid() argument
2540 snd_hda_spdif_ctls_unassign(struct hda_codec *codec, int idx) snd_hda_spdif_ctls_unassign() argument
2561 snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) snd_hda_spdif_ctls_assign() argument
2611 snd_hda_create_spdif_share_sw(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_create_spdif_share_sw() argument
2636 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_get() local
2645 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_switch_put() local
2664 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_spdif_in_status_get() local
2707 snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) snd_hda_create_spdif_in_ctls() argument
2746 snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, unsigned int power_state) snd_hda_codec_set_power_to_all() argument
2776 snd_hda_codec_eapd_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) snd_hda_codec_eapd_power_filter() argument
2797 hda_set_power_state(struct hda_codec *codec, unsigned int power_state) hda_set_power_state() argument
2840 sync_power_up_states(struct hda_codec *codec) sync_power_up_states() argument
2864 hda_exec_init_verbs(struct hda_codec *codec) hda_exec_init_verbs() argument
2870 hda_exec_init_verbs(struct hda_codec *codec) hda_exec_init_verbs() argument
2875 update_power_acct(struct hda_codec *codec, bool on) update_power_acct() argument
2886 snd_hda_update_power_acct(struct hda_codec *codec) snd_hda_update_power_acct() argument
2895 hda_call_codec_suspend(struct hda_codec *codec) hda_call_codec_suspend() argument
2912 hda_call_codec_resume(struct hda_codec *codec) hda_call_codec_resume() argument
2942 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_suspend() local
2961 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_runtime_resume() local
2985 struct hda_codec *codec = dev_to_hda_codec(dev); hda_codec_pm_complete() local
3046 add_std_chmaps(struct hda_codec *codec) add_std_chmaps() argument
3084 snd_hda_codec_build_controls(struct hda_codec *codec) snd_hda_codec_build_controls() argument
3113 hda_pcm_default_open_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hda_pcm_default_open_close() argument
3120 hda_pcm_default_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) hda_pcm_default_prepare() argument
3130 hda_pcm_default_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hda_pcm_default_cleanup() argument
3138 set_pcm_default_values(struct hda_codec *codec, struct hda_pcm_stream *info) set_pcm_default_values() argument
3183 snd_hda_codec_prepare(struct hda_codec *codec, struct hda_pcm_stream *hinfo, unsigned int stream, unsigned int format, struct snd_pcm_substream *substream) snd_hda_codec_prepare() argument
3211 snd_hda_codec_cleanup(struct hda_codec *codec, struct hda_pcm_stream *hinfo, struct snd_pcm_substream *substream) snd_hda_codec_cleanup() argument
3276 snd_hda_codec_parse_pcms(struct hda_codec *codec) snd_hda_codec_parse_pcms() argument
3317 snd_hda_codec_build_pcms(struct hda_codec *codec) snd_hda_codec_build_pcms() argument
3362 snd_hda_add_new_ctls(struct hda_codec *codec, const struct snd_kcontrol_new *knew) snd_hda_add_new_ctls() argument
3403 codec_set_power_save(struct hda_codec *codec, int delay) codec_set_power_save() argument
3451 snd_hda_check_amp_list_power(struct hda_codec *codec, struct hda_loopback_check *check, hda_nid_t nid) snd_hda_check_amp_list_power() argument
3524 snd_hda_input_mux_put(struct hda_codec *codec, const struct hda_input_mux *imux, struct snd_ctl_elem_value *ucontrol, hda_nid_t nid, unsigned int *cur_val) snd_hda_input_mux_put() argument
3579 setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, unsigned int stream_tag, unsigned int format) setup_dig_out_stream() argument
3618 cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) cleanup_dig_out_stream() argument
3633 snd_hda_multi_out_dig_open(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_dig_open() argument
3654 snd_hda_multi_out_dig_prepare(struct hda_codec *codec, struct hda_multi_out *mout, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) snd_hda_multi_out_dig_prepare() argument
3672 snd_hda_multi_out_dig_cleanup(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_dig_cleanup() argument
3687 snd_hda_multi_out_dig_close(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_dig_close() argument
3708 snd_hda_multi_out_analog_open(struct hda_codec *codec, struct hda_multi_out *mout, struct snd_pcm_substream *substream, struct hda_pcm_stream *hinfo) snd_hda_multi_out_analog_open() argument
3762 snd_hda_multi_out_analog_prepare(struct hda_codec *codec, struct hda_multi_out *mout, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) snd_hda_multi_out_analog_prepare() argument
3838 snd_hda_multi_out_analog_cleanup(struct hda_codec *codec, struct hda_multi_out *mout) snd_hda_multi_out_analog_cleanup() argument
3874 snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin) snd_hda_get_default_vref() argument
3901 snd_hda_correct_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val) snd_hda_correct_pin_ctl() argument
3964 _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val, bool cached) _snd_hda_set_pin_ctl() argument
3990 snd_hda_add_imux_item(struct hda_codec *codec, struct hda_input_mux *imux, const char *label, int index, int *type_idx) snd_hda_add_imux_item() argument
4024 struct hda_codec *codec; snd_hda_bus_reset_codecs() local
[all...]
H A Dpatch_hdmi.c73 struct hda_codec *codec; member
93 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid,
96 void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid,
101 int (*pin_hbr_setup)(struct hda_codec *codec, hda_nid_t pin_nid,
104 int (*setup_stream)(struct hda_codec *codec, hda_nid_t cvt_nid,
108 void (*pin_cvt_fixup)(struct hda_codec *codec,
120 struct hda_codec *codec; member
184 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp() argument
186 struct hdmi_spec *spec = codec->spec; in codec_has_acomp()
190 #define codec_has_acomp(codec) fals
238 pin_id_to_pin_index(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id) pin_id_to_pin_index() argument
263 hinfo_to_pcm_index(struct hda_codec *codec, struct hda_pcm_stream *hinfo) hinfo_to_pcm_index() argument
277 hinfo_to_pin_index(struct hda_codec *codec, struct hda_pcm_stream *hinfo) hinfo_to_pin_index() argument
310 cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) cvt_nid_to_cvt_index() argument
326 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hdmi_eld_ctl_info() local
353 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hdmi_eld_ctl_get() local
398 hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, int device) hdmi_create_eld_ctl() argument
423 hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, int *packet_index, int *byte_index) hdmi_get_dip_index() argument
436 hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, int packet_index, int byte_index) hdmi_set_dip_index() argument
446 hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, unsigned char val) hdmi_write_dip_byte() argument
452 hdmi_init_pin(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_init_pin() argument
503 struct hda_codec *codec = per_pin->codec; eld_proc_new() local
545 hdmi_start_infoframe_trans(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_start_infoframe_trans() argument
556 hdmi_stop_infoframe_trans(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_stop_infoframe_trans() argument
564 hdmi_debug_dip_size(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_debug_dip_size() argument
581 hdmi_clear_dip_buffers(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_clear_dip_buffers() argument
624 hdmi_fill_audio_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, u8 *dip, int size) hdmi_fill_audio_infoframe() argument
638 hdmi_infoframe_uptodate(struct hda_codec *codec, hda_nid_t pin_nid, u8 *dip, int size) hdmi_infoframe_uptodate() argument
659 hdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, int dev_id, unsigned char *buf, int *eld_size) hdmi_pin_get_eld() argument
667 hdmi_pin_setup_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, int ca, int active_channels, int conn_type) hdmi_pin_setup_infoframe() argument
727 hdmi_setup_audio_infoframe(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, bool non_pcm) hdmi_setup_audio_infoframe() argument
782 check_presence_and_report(struct hda_codec *codec, hda_nid_t nid, int dev_id) check_presence_and_report() argument
795 jack_callback(struct hda_codec *codec, struct hda_jack_callback *jack) jack_callback() argument
805 hdmi_intrinsic_event(struct hda_codec *codec, unsigned int res, struct hda_jack_tbl *jack) hdmi_intrinsic_event() argument
818 hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res) hdmi_non_intrinsic_event() argument
843 hdmi_unsol_event(struct hda_codec *codec, unsigned int res) hdmi_unsol_event() argument
872 haswell_verify_D0(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t nid) haswell_verify_D0() argument
901 hdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, bool hbr) hdmi_pin_hbr_setup() argument
936 hdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, int dev_id, u32 stream_tag, int format) hdmi_setup_stream() argument
981 hdmi_choose_cvt(struct hda_codec *codec, int pin_idx, int *cvt_id) hdmi_choose_cvt() argument
1035 intel_verify_pin_cvt_connect(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) intel_verify_pin_cvt_connect() argument
1073 intel_not_share_assigned_cvt(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, int mux_idx) intel_not_share_assigned_cvt() argument
1149 intel_not_share_assigned_cvt_nid(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) intel_not_share_assigned_cvt_nid() argument
1166 pin_cvt_fixup(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, hda_nid_t cvt_nid) pin_cvt_fixup() argument
1179 hdmi_pcm_open_no_pin(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hdmi_pcm_open_no_pin() argument
1227 hdmi_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hdmi_pcm_open() argument
1326 hdmi_read_pin_conn(struct hda_codec *codec, int pin_idx) hdmi_read_pin_conn() argument
1455 struct hda_codec *codec = per_pin->codec; hdmi_pcm_setup_pin() local
1509 pin_idx_to_pcm_jack(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) pin_idx_to_pcm_jack() argument
1524 update_eld(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, struct hdmi_eld *eld, int repoll) update_eld() argument
1628 struct hda_codec *codec = per_pin->codec; hdmi_present_sense_via_verbs() local
1685 silent_stream_enable(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) silent_stream_enable() argument
1741 silent_stream_disable(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) silent_stream_disable() argument
1769 sync_eld_via_acomp(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin) sync_eld_via_acomp() argument
1815 struct hda_codec *codec = per_pin->codec; hdmi_present_sense() local
1827 struct hda_codec *codec = per_pin->codec; hdmi_repoll_eld() local
1844 hdmi_add_pin(struct hda_codec *codec, hda_nid_t pin_nid) hdmi_add_pin() argument
1929 hdmi_add_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) hdmi_add_cvt() argument
1978 hdmi_parse_codec(struct hda_codec *codec) hdmi_parse_codec() argument
2031 check_non_pcm_per_cvt(struct hda_codec *codec, hda_nid_t cvt_nid) check_non_pcm_per_cvt() argument
2054 generic_hdmi_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) generic_hdmi_playback_pcm_prepare() argument
2137 generic_hdmi_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) generic_hdmi_playback_pcm_cleanup() argument
2145 hdmi_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) hdmi_pcm_close() argument
2220 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_get_spk_alloc() local
2233 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_get_chmap() local
2247 struct hda_codec *codec = hdac_to_hda_codec(hdac); hdmi_set_chmap() local
2263 struct hda_codec *codec = hdac_to_hda_codec(hdac); is_hdmi_pcm_attached() local
2270 generic_hdmi_build_pcms(struct hda_codec *codec) generic_hdmi_build_pcms() argument
2324 generic_hdmi_build_jack(struct hda_codec *codec, int pcm_idx) generic_hdmi_build_jack() argument
2351 generic_hdmi_build_controls(struct hda_codec *codec) generic_hdmi_build_controls() argument
2419 generic_hdmi_init_per_pins(struct hda_codec *codec) generic_hdmi_init_per_pins() argument
2435 generic_hdmi_init(struct hda_codec *codec) generic_hdmi_init() argument
2469 generic_spec_free(struct hda_codec *codec) generic_spec_free() argument
2481 generic_hdmi_free(struct hda_codec *codec) generic_hdmi_free() argument
2513 generic_hdmi_suspend(struct hda_codec *codec) generic_hdmi_suspend() argument
2525 generic_hdmi_resume(struct hda_codec *codec) generic_hdmi_resume() argument
2561 alloc_generic_hdmi(struct hda_codec *codec) alloc_generic_hdmi() argument
2590 patch_generic_hdmi(struct hda_codec *codec) patch_generic_hdmi() argument
2613 reprogram_jack_detect(struct hda_codec *codec, hda_nid_t nid, int dev_id, bool use_acomp) reprogram_jack_detect() argument
2680 struct hda_codec *codec = audio_ptr; generic_acomp_pin_eld_notify() local
2698 setup_drm_audio_ops(struct hda_codec *codec, const struct drm_audio_component_audio_ops *ops) setup_drm_audio_ops() argument
2716 generic_acomp_init(struct hda_codec *codec, const struct drm_audio_component_audio_ops *ops, int (*port2pin)(struct hda_codec *, int)) generic_acomp_init() argument
2744 intel_haswell_enable_all_pins(struct hda_codec *codec, bool update_tree) intel_haswell_enable_all_pins() argument
2765 intel_haswell_fixup_enable_dp12(struct hda_codec *codec) intel_haswell_fixup_enable_dp12() argument
2785 haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg, unsigned int power_state) haswell_set_power_state() argument
2808 intel_base_nid(struct hda_codec *codec) intel_base_nid() argument
2822 struct hda_codec *codec = audio_ptr; intel_pin2port() local
2846 intel_port2pin(struct hda_codec *codec, int port) intel_port2pin() argument
2864 struct hda_codec *codec = audio_ptr; intel_pin_eld_notify() local
2887 register_i915_notifier(struct hda_codec *codec) register_i915_notifier() argument
2901 i915_hsw_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, int dev_id, u32 stream_tag, int format) i915_hsw_setup_stream() argument
2911 i915_pin_cvt_fixup(struct hda_codec *codec, struct hdmi_spec_per_pin *per_pin, hda_nid_t cvt_nid) i915_pin_cvt_fixup() argument
2928 alloc_intel_hdmi(struct hda_codec *codec) alloc_intel_hdmi() argument
2949 parse_intel_hdmi(struct hda_codec *codec) parse_intel_hdmi() argument
2968 intel_hsw_common_init(struct hda_codec *codec, hda_nid_t vendor_nid, const int *port_map, int port_num) intel_hsw_common_init() argument
3007 patch_i915_hsw_hdmi(struct hda_codec *codec) patch_i915_hsw_hdmi() argument
3012 patch_i915_glk_hdmi(struct hda_codec *codec) patch_i915_glk_hdmi() argument
3017 patch_i915_icl_hdmi(struct hda_codec *codec) patch_i915_icl_hdmi() argument
3028 patch_i915_tgl_hdmi(struct hda_codec *codec) patch_i915_tgl_hdmi() argument
3048 patch_i915_byt_hdmi(struct hda_codec *codec) patch_i915_byt_hdmi() argument
3072 patch_i915_cpt_hdmi(struct hda_codec *codec) patch_i915_cpt_hdmi() argument
3086 simple_playback_build_pcms(struct hda_codec *codec) simple_playback_build_pcms() argument
3113 simple_hdmi_unsol_event(struct hda_codec *codec, unsigned int res) simple_hdmi_unsol_event() argument
3125 simple_playback_build_controls(struct hda_codec *codec) simple_playback_build_controls() argument
3140 simple_playback_init(struct hda_codec *codec) simple_playback_init() argument
3156 simple_playback_free(struct hda_codec *codec) simple_playback_free() argument
3217 nvhdmi_7x_init_2ch(struct hda_codec *codec) nvhdmi_7x_init_2ch() argument
3223 nvhdmi_7x_init_8ch(struct hda_codec *codec) nvhdmi_7x_init_8ch() argument
3249 simple_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) simple_playback_pcm_open() argument
3282 simple_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) simple_playback_pcm_close() argument
3290 simple_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) simple_playback_pcm_prepare() argument
3320 patch_simple_hdmi(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid) patch_simple_hdmi() argument
3355 nvhdmi_8ch_7x_set_info_frame_parameters(struct hda_codec *codec, int channels) nvhdmi_8ch_7x_set_info_frame_parameters() argument
3388 nvhdmi_8ch_7x_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) nvhdmi_8ch_7x_pcm_close() argument
3413 nvhdmi_8ch_7x_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) nvhdmi_8ch_7x_pcm_prepare() argument
3529 patch_nvhdmi_2ch(struct hda_codec *codec) patch_nvhdmi_2ch() argument
3547 nvhdmi_7x_8ch_build_pcms(struct hda_codec *codec) nvhdmi_7x_8ch_build_pcms() argument
3558 nvhdmi_7x_8ch_build_controls(struct hda_codec *codec) nvhdmi_7x_8ch_build_controls() argument
3589 patch_nvhdmi_8ch_7x(struct hda_codec *codec) patch_nvhdmi_8ch_7x() argument
3645 nvhdmi_port2pin(struct hda_codec *codec, int port) nvhdmi_port2pin() argument
3657 patch_nvhdmi(struct hda_codec *codec) patch_nvhdmi() argument
3692 patch_nvhdmi_legacy(struct hda_codec *codec) patch_nvhdmi_legacy() argument
3756 tegra_hdmi_set_format(struct hda_codec *codec, unsigned int format) tegra_hdmi_set_format() argument
3797 tegra_hdmi_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) tegra_hdmi_pcm_prepare() argument
3816 tegra_hdmi_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) tegra_hdmi_pcm_cleanup() argument
3826 hda_find_pcm_by_type(struct hda_codec *codec, int type) hda_find_pcm_by_type() argument
3841 tegra_hdmi_build_pcms(struct hda_codec *codec) tegra_hdmi_build_pcms() argument
3866 patch_tegra_hdmi(struct hda_codec *codec) patch_tegra_hdmi() argument
3933 atihdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, int dev_id, unsigned char *buf, int *eld_size) atihdmi_pin_get_eld() argument
3942 atihdmi_pin_setup_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, int ca, int active_channels, int conn_type) atihdmi_pin_setup_infoframe() argument
4018 struct hda_codec *codec = hdac_to_hda_codec(hdac); atihdmi_pin_set_slot_channel() local
4054 struct hda_codec *codec = hdac_to_hda_codec(hdac); atihdmi_pin_get_slot_channel() local
4136 atihdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, int dev_id, bool hbr) atihdmi_pin_hbr_setup() argument
4167 atihdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, int dev_id, u32 stream_tag, int format) atihdmi_setup_stream() argument
4185 atihdmi_init(struct hda_codec *codec) atihdmi_init() argument
4220 atihdmi_port2pin(struct hda_codec *codec, int port) atihdmi_port2pin() argument
4232 patch_atihdmi(struct hda_codec *codec) patch_atihdmi() argument
4289 patch_via_hdmi(struct hda_codec *codec) patch_via_hdmi() argument
4294 patch_gf_hdmi(struct hda_codec *codec) patch_gf_hdmi() argument
[all...]
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_device.c3 * HD-audio codec core device
18 static void setup_fg_nodes(struct hdac_device *codec);
19 static int get_codec_vendor_name(struct hdac_device *codec);
27 * snd_hdac_device_init - initialize the HD-audio codec base device
28 * @codec: device to initialize
31 * @addr: codec address
40 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() argument
47 dev = &codec->dev; in snd_hdac_device_init()
56 codec->bus = bus; in snd_hdac_device_init()
57 codec in snd_hdac_device_init()
127 snd_hdac_device_exit(struct hdac_device *codec) snd_hdac_device_exit() argument
142 snd_hdac_device_register(struct hdac_device *codec) snd_hdac_device_register() argument
165 snd_hdac_device_unregister(struct hdac_device *codec) snd_hdac_device_unregister() argument
184 snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) snd_hdac_device_set_chip_name() argument
207 snd_hdac_codec_modalias(struct hdac_device *codec, char *buf, size_t size) snd_hdac_codec_modalias() argument
224 snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int parm) snd_hdac_make_cmd() argument
256 snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, unsigned int flags, unsigned int *res) snd_hdac_exec_verb() argument
275 snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int parm, unsigned int *res) snd_hdac_read() argument
293 _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, unsigned int *res) _snd_hdac_read_parm() argument
312 snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, int parm) snd_hdac_read_parm_uncached() argument
331 snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, unsigned int parm, unsigned int val) snd_hdac_override_parm() argument
356 snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *start_id) snd_hdac_get_sub_nodes() argument
374 setup_fg_nodes(struct hdac_device *codec) setup_fg_nodes() argument
404 snd_hdac_refresh_widgets(struct hdac_device *codec) snd_hdac_refresh_widgets() argument
436 get_num_conns(struct hdac_device *codec, hda_nid_t nid) get_num_conns() argument
464 snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) snd_hdac_get_connections() argument
567 snd_hdac_power_up(struct hdac_device *codec) snd_hdac_power_up() argument
579 snd_hdac_power_down(struct hdac_device *codec) snd_hdac_power_down() argument
599 snd_hdac_power_up_pm(struct hdac_device *codec) snd_hdac_power_up_pm() argument
611 snd_hdac_keep_power_up(struct hdac_device *codec) snd_hdac_keep_power_up() argument
632 snd_hdac_power_down_pm(struct hdac_device *codec) snd_hdac_power_down_pm() argument
674 get_codec_vendor_name(struct hdac_device *codec) get_codec_vendor_name() argument
789 query_pcm_param(struct hdac_device *codec, hda_nid_t nid) query_pcm_param() argument
803 query_stream_param(struct hdac_device *codec, hda_nid_t nid) query_stream_param() argument
827 snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid, u32 *ratesp, u64 *formatsp, unsigned int *bpsp) snd_hdac_query_supported_pcm() argument
932 snd_hdac_is_supported_format(struct hdac_device *codec, hda_nid_t nid, unsigned int format) snd_hdac_is_supported_format() argument
1079 snd_hdac_sync_power_state(struct hdac_device *codec, hda_nid_t nid, unsigned int power_state) snd_hdac_sync_power_state() argument
[all...]
H A Dhdac_regmap.c26 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() argument
28 return snd_hdac_keep_power_up(codec); in codec_pm_lock()
31 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() argument
34 snd_hdac_power_down_pm(codec); in codec_pm_unlock()
41 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
46 return !codec->cache_coef; in hda_volatile_reg()
68 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
73 snd_array_for_each(&codec->vendor_verbs, i, v) { in hda_writeable_reg()
78 if (codec->caps_overwriting) in hda_writeable_reg()
86 return codec in hda_writeable_reg()
117 struct hdac_device *codec = dev_to_hdac_dev(dev); hda_readable_reg() local
157 hda_reg_read_stereo_amp(struct hdac_device *codec, unsigned int reg, unsigned int *val) hda_reg_read_stereo_amp() argument
175 hda_reg_write_stereo_amp(struct hdac_device *codec, unsigned int reg, unsigned int val) hda_reg_write_stereo_amp() argument
205 hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, unsigned int *val) hda_reg_read_coef() argument
223 hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, unsigned int val) hda_reg_write_coef() argument
243 struct hdac_device *codec = context; hda_reg_read() local
282 struct hdac_device *codec = context; hda_reg_write() local
375 snd_hdac_regmap_init(struct hdac_device *codec) snd_hdac_regmap_init() argument
392 snd_hdac_regmap_exit(struct hdac_device *codec) snd_hdac_regmap_exit() argument
409 snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, unsigned int verb) snd_hdac_regmap_add_vendor_verb() argument
426 reg_raw_write(struct hdac_device *codec, unsigned int reg, unsigned int val) reg_raw_write() argument
460 snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, unsigned int val) snd_hdac_regmap_write_raw() argument
467 reg_raw_read(struct hdac_device *codec, unsigned int reg, unsigned int *val, bool uncached) reg_raw_read() argument
481 __snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, unsigned int *val, bool uncached) __snd_hdac_regmap_read_raw() argument
496 snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, unsigned int *val) snd_hdac_regmap_read_raw() argument
506 snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, unsigned int reg, unsigned int *val) snd_hdac_regmap_read_raw_uncached() argument
512 reg_raw_update(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) reg_raw_update() argument
550 snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) snd_hdac_regmap_update_raw() argument
557 reg_raw_update_once(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) reg_raw_update_once() argument
587 snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) snd_hdac_regmap_update_raw_once() argument
598 snd_hdac_regmap_sync(struct hdac_device *codec) snd_hdac_regmap_sync() argument
[all...]
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_device.c3 * HD-audio codec core device
18 static void setup_fg_nodes(struct hdac_device *codec);
19 static int get_codec_vendor_name(struct hdac_device *codec);
27 * snd_hdac_device_init - initialize the HD-audio codec base device
28 * @codec: device to initialize
31 * @addr: codec address
40 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() argument
47 dev = &codec->dev; in snd_hdac_device_init()
56 codec->bus = bus; in snd_hdac_device_init()
57 codec in snd_hdac_device_init()
127 snd_hdac_device_exit(struct hdac_device *codec) snd_hdac_device_exit() argument
142 snd_hdac_device_register(struct hdac_device *codec) snd_hdac_device_register() argument
165 snd_hdac_device_unregister(struct hdac_device *codec) snd_hdac_device_unregister() argument
184 snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) snd_hdac_device_set_chip_name() argument
207 snd_hdac_codec_modalias(const struct hdac_device *codec, char *buf, size_t size) snd_hdac_codec_modalias() argument
224 snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int parm) snd_hdac_make_cmd() argument
256 snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, unsigned int flags, unsigned int *res) snd_hdac_exec_verb() argument
275 snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int parm, unsigned int *res) snd_hdac_read() argument
293 _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, unsigned int *res) _snd_hdac_read_parm() argument
312 snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, int parm) snd_hdac_read_parm_uncached() argument
331 snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, unsigned int parm, unsigned int val) snd_hdac_override_parm() argument
356 snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *start_id) snd_hdac_get_sub_nodes() argument
374 setup_fg_nodes(struct hdac_device *codec) setup_fg_nodes() argument
404 snd_hdac_refresh_widgets(struct hdac_device *codec) snd_hdac_refresh_widgets() argument
436 get_num_conns(struct hdac_device *codec, hda_nid_t nid) get_num_conns() argument
464 snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) snd_hdac_get_connections() argument
567 snd_hdac_power_up(struct hdac_device *codec) snd_hdac_power_up() argument
579 snd_hdac_power_down(struct hdac_device *codec) snd_hdac_power_down() argument
599 snd_hdac_power_up_pm(struct hdac_device *codec) snd_hdac_power_up_pm() argument
611 snd_hdac_keep_power_up(struct hdac_device *codec) snd_hdac_keep_power_up() argument
632 snd_hdac_power_down_pm(struct hdac_device *codec) snd_hdac_power_down_pm() argument
674 get_codec_vendor_name(struct hdac_device *codec) get_codec_vendor_name() argument
789 query_pcm_param(struct hdac_device *codec, hda_nid_t nid) query_pcm_param() argument
803 query_stream_param(struct hdac_device *codec, hda_nid_t nid) query_stream_param() argument
827 snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid, u32 *ratesp, u64 *formatsp, unsigned int *bpsp) snd_hdac_query_supported_pcm() argument
932 snd_hdac_is_supported_format(struct hdac_device *codec, hda_nid_t nid, unsigned int format) snd_hdac_is_supported_format() argument
1079 snd_hdac_sync_power_state(struct hdac_device *codec, hda_nid_t nid, unsigned int power_state) snd_hdac_sync_power_state() argument
[all...]
H A Dhdac_regmap.c25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() argument
27 return snd_hdac_keep_power_up(codec); in codec_pm_lock()
30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() argument
33 snd_hdac_power_down_pm(codec); in codec_pm_unlock()
40 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
45 return !codec->cache_coef; in hda_volatile_reg()
67 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
72 snd_array_for_each(&codec->vendor_verbs, i, v) { in hda_writeable_reg()
77 if (codec->caps_overwriting) in hda_writeable_reg()
85 return codec in hda_writeable_reg()
116 struct hdac_device *codec = dev_to_hdac_dev(dev); hda_readable_reg() local
156 hda_reg_read_stereo_amp(struct hdac_device *codec, unsigned int reg, unsigned int *val) hda_reg_read_stereo_amp() argument
174 hda_reg_write_stereo_amp(struct hdac_device *codec, unsigned int reg, unsigned int val) hda_reg_write_stereo_amp() argument
204 hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, unsigned int *val) hda_reg_read_coef() argument
222 hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, unsigned int val) hda_reg_write_coef() argument
242 struct hdac_device *codec = context; hda_reg_read() local
281 struct hdac_device *codec = context; hda_reg_write() local
374 snd_hdac_regmap_init(struct hdac_device *codec) snd_hdac_regmap_init() argument
391 snd_hdac_regmap_exit(struct hdac_device *codec) snd_hdac_regmap_exit() argument
408 snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, unsigned int verb) snd_hdac_regmap_add_vendor_verb() argument
425 reg_raw_write(struct hdac_device *codec, unsigned int reg, unsigned int val) reg_raw_write() argument
459 snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, unsigned int val) snd_hdac_regmap_write_raw() argument
466 reg_raw_read(struct hdac_device *codec, unsigned int reg, unsigned int *val, bool uncached) reg_raw_read() argument
480 __snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, unsigned int *val, bool uncached) __snd_hdac_regmap_read_raw() argument
495 snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, unsigned int *val) snd_hdac_regmap_read_raw() argument
505 snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, unsigned int reg, unsigned int *val) snd_hdac_regmap_read_raw_uncached() argument
511 reg_raw_update(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) reg_raw_update() argument
549 snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) snd_hdac_regmap_update_raw() argument
556 reg_raw_update_once(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) reg_raw_update_once() argument
583 snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg, unsigned int mask, unsigned int val) snd_hdac_regmap_update_raw_once() argument
594 snd_hdac_regmap_sync(struct hdac_device *codec) snd_hdac_regmap_sync() argument
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/
H A Dparam_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
56 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
57 ASSERT_NE(codec, nullptr); in HWTEST_F()
58 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
61 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
62 ASSERT_NE(codec, nullptr); in HWTEST_F()
63 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
66 codec = audioBufferAacEncDemo->CreateByMime("aaa"); in HWTEST_F()
67 ASSERT_EQ(codec, nullptr); in HWTEST_F()
68 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
81 OH_AVCodec *codec = nullptr; HWTEST_F() local
109 OH_AVCodec *codec = nullptr; HWTEST_F() local
164 OH_AVCodec *codec = nullptr; HWTEST_F() local
246 OH_AVCodec *codec = nullptr; HWTEST_F() local
283 OH_AVCodec *codec = nullptr; HWTEST_F() local
311 OH_AVCodec *codec = nullptr; HWTEST_F() local
366 OH_AVCodec *codec = nullptr; HWTEST_F() local
412 OH_AVCodec *codec = nullptr; HWTEST_F() local
458 OH_AVCodec *codec = nullptr; HWTEST_F() local
513 OH_AVCodec *codec = nullptr; HWTEST_F() local
541 OH_AVCodec *codec = nullptr; HWTEST_F() local
596 OH_AVCodec *codec = nullptr; HWTEST_F() local
648 OH_AVCodec *codec = nullptr; HWTEST_F() local
700 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
H A Dstatus_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
63 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
64 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
67 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
78 OH_AVCodec *codec = nullptr; in HWTEST_F() local
81 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
82 result0 = audioBufferAacEncDemo->Start(codec); in HWTEST_F()
84 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
95 OH_AVCodec *codec = nullptr; in HWTEST_F() local
99 codec in HWTEST_F()
114 OH_AVCodec *codec = nullptr; HWTEST_F() local
133 OH_AVCodec *codec = nullptr; HWTEST_F() local
150 OH_AVCodec *codec = nullptr; HWTEST_F() local
167 OH_AVCodec *codec = nullptr; HWTEST_F() local
184 OH_AVCodec *codec = nullptr; HWTEST_F() local
200 OH_AVCodec *codec = nullptr; HWTEST_F() local
230 OH_AVCodec *codec = nullptr; HWTEST_F() local
259 OH_AVCodec *codec = nullptr; HWTEST_F() local
290 OH_AVCodec *codec = nullptr; HWTEST_F() local
322 OH_AVCodec *codec = nullptr; HWTEST_F() local
351 OH_AVCodec *codec = nullptr; HWTEST_F() local
380 OH_AVCodec *codec = nullptr; HWTEST_F() local
409 OH_AVCodec *codec = nullptr; HWTEST_F() local
437 OH_AVCodec *codec = nullptr; HWTEST_F() local
469 OH_AVCodec *codec = nullptr; HWTEST_F() local
500 OH_AVCodec *codec = nullptr; HWTEST_F() local
533 OH_AVCodec *codec = nullptr; HWTEST_F() local
567 OH_AVCodec *codec = nullptr; HWTEST_F() local
598 OH_AVCodec *codec = nullptr; HWTEST_F() local
629 OH_AVCodec *codec = nullptr; HWTEST_F() local
660 OH_AVCodec *codec = nullptr; HWTEST_F() local
690 OH_AVCodec *codec = nullptr; HWTEST_F() local
726 OH_AVCodec *codec = nullptr; HWTEST_F() local
761 OH_AVCodec *codec = nullptr; HWTEST_F() local
797 OH_AVCodec *codec = nullptr; HWTEST_F() local
834 OH_AVCodec *codec = nullptr; HWTEST_F() local
869 OH_AVCodec *codec = nullptr; HWTEST_F() local
904 OH_AVCodec *codec = nullptr; HWTEST_F() local
939 OH_AVCodec *codec = nullptr; HWTEST_F() local
973 OH_AVCodec *codec = nullptr; HWTEST_F() local
1009 OH_AVCodec *codec = nullptr; HWTEST_F() local
1044 OH_AVCodec *codec = nullptr; HWTEST_F() local
1080 OH_AVCodec *codec = nullptr; HWTEST_F() local
1117 OH_AVCodec *codec = nullptr; HWTEST_F() local
1152 OH_AVCodec *codec = nullptr; HWTEST_F() local
1187 OH_AVCodec *codec = nullptr; HWTEST_F() local
1222 OH_AVCodec *codec = nullptr; HWTEST_F() local
1256 OH_AVCodec *codec = nullptr; HWTEST_F() local
1290 OH_AVCodec *codec = nullptr; HWTEST_F() local
1323 OH_AVCodec *codec = nullptr; HWTEST_F() local
1358 OH_AVCodec *codec = nullptr; HWTEST_F() local
1394 OH_AVCodec *codec = nullptr; HWTEST_F() local
1427 OH_AVCodec *codec = nullptr; HWTEST_F() local
1460 OH_AVCodec *codec = nullptr; HWTEST_F() local
1493 OH_AVCodec *codec = nullptr; HWTEST_F() local
1525 OH_AVCodec *codec = nullptr; HWTEST_F() local
1559 OH_AVCodec *codec = nullptr; HWTEST_F() local
1592 OH_AVCodec *codec = nullptr; HWTEST_F() local
1627 OH_AVCodec *codec = nullptr; HWTEST_F() local
1663 OH_AVCodec *codec = nullptr; HWTEST_F() local
1696 OH_AVCodec *codec = nullptr; HWTEST_F() local
1729 OH_AVCodec *codec = nullptr; HWTEST_F() local
1762 OH_AVCodec *codec = nullptr; HWTEST_F() local
1794 OH_AVCodec *codec = nullptr; HWTEST_F() local
1821 OH_AVCodec *codec = nullptr; HWTEST_F() local
1840 OH_AVCodec *codec = nullptr; HWTEST_F() local
1861 OH_AVCodec *codec = nullptr; HWTEST_F() local
1883 OH_AVCodec *codec = nullptr; HWTEST_F() local
1902 OH_AVCodec *codec = nullptr; HWTEST_F() local
1921 OH_AVCodec *codec = nullptr; HWTEST_F() local
1940 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/audio_encoder/src/
H A Dparam_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
56 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
57 ASSERT_NE(codec, nullptr); in HWTEST_F()
58 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
61 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
62 ASSERT_NE(codec, nullptr); in HWTEST_F()
63 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
66 codec = audioBufferAacEncDemo->CreateByMime("aaa"); in HWTEST_F()
67 ASSERT_EQ(codec, nullptr); in HWTEST_F()
68 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
81 OH_AVCodec *codec = nullptr; HWTEST_F() local
109 OH_AVCodec *codec = nullptr; HWTEST_F() local
164 OH_AVCodec *codec = nullptr; HWTEST_F() local
246 OH_AVCodec *codec = nullptr; HWTEST_F() local
283 OH_AVCodec *codec = nullptr; HWTEST_F() local
311 OH_AVCodec *codec = nullptr; HWTEST_F() local
366 OH_AVCodec *codec = nullptr; HWTEST_F() local
412 OH_AVCodec *codec = nullptr; HWTEST_F() local
458 OH_AVCodec *codec = nullptr; HWTEST_F() local
513 OH_AVCodec *codec = nullptr; HWTEST_F() local
541 OH_AVCodec *codec = nullptr; HWTEST_F() local
596 OH_AVCodec *codec = nullptr; HWTEST_F() local
648 OH_AVCodec *codec = nullptr; HWTEST_F() local
700 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
H A Dstatus_check_test.cpp53 OH_AVCodec *codec = nullptr; in HWTEST_F() local
63 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
64 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
67 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
78 OH_AVCodec *codec = nullptr; in HWTEST_F() local
81 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F()
82 result0 = audioBufferAacEncDemo->Start(codec); in HWTEST_F()
84 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F()
95 OH_AVCodec *codec = nullptr; in HWTEST_F() local
99 codec in HWTEST_F()
114 OH_AVCodec *codec = nullptr; HWTEST_F() local
133 OH_AVCodec *codec = nullptr; HWTEST_F() local
150 OH_AVCodec *codec = nullptr; HWTEST_F() local
167 OH_AVCodec *codec = nullptr; HWTEST_F() local
184 OH_AVCodec *codec = nullptr; HWTEST_F() local
200 OH_AVCodec *codec = nullptr; HWTEST_F() local
230 OH_AVCodec *codec = nullptr; HWTEST_F() local
259 OH_AVCodec *codec = nullptr; HWTEST_F() local
290 OH_AVCodec *codec = nullptr; HWTEST_F() local
322 OH_AVCodec *codec = nullptr; HWTEST_F() local
351 OH_AVCodec *codec = nullptr; HWTEST_F() local
380 OH_AVCodec *codec = nullptr; HWTEST_F() local
409 OH_AVCodec *codec = nullptr; HWTEST_F() local
437 OH_AVCodec *codec = nullptr; HWTEST_F() local
469 OH_AVCodec *codec = nullptr; HWTEST_F() local
500 OH_AVCodec *codec = nullptr; HWTEST_F() local
533 OH_AVCodec *codec = nullptr; HWTEST_F() local
567 OH_AVCodec *codec = nullptr; HWTEST_F() local
598 OH_AVCodec *codec = nullptr; HWTEST_F() local
629 OH_AVCodec *codec = nullptr; HWTEST_F() local
660 OH_AVCodec *codec = nullptr; HWTEST_F() local
690 OH_AVCodec *codec = nullptr; HWTEST_F() local
726 OH_AVCodec *codec = nullptr; HWTEST_F() local
761 OH_AVCodec *codec = nullptr; HWTEST_F() local
797 OH_AVCodec *codec = nullptr; HWTEST_F() local
834 OH_AVCodec *codec = nullptr; HWTEST_F() local
869 OH_AVCodec *codec = nullptr; HWTEST_F() local
904 OH_AVCodec *codec = nullptr; HWTEST_F() local
939 OH_AVCodec *codec = nullptr; HWTEST_F() local
973 OH_AVCodec *codec = nullptr; HWTEST_F() local
1009 OH_AVCodec *codec = nullptr; HWTEST_F() local
1044 OH_AVCodec *codec = nullptr; HWTEST_F() local
1080 OH_AVCodec *codec = nullptr; HWTEST_F() local
1117 OH_AVCodec *codec = nullptr; HWTEST_F() local
1152 OH_AVCodec *codec = nullptr; HWTEST_F() local
1187 OH_AVCodec *codec = nullptr; HWTEST_F() local
1222 OH_AVCodec *codec = nullptr; HWTEST_F() local
1256 OH_AVCodec *codec = nullptr; HWTEST_F() local
1290 OH_AVCodec *codec = nullptr; HWTEST_F() local
1323 OH_AVCodec *codec = nullptr; HWTEST_F() local
1358 OH_AVCodec *codec = nullptr; HWTEST_F() local
1394 OH_AVCodec *codec = nullptr; HWTEST_F() local
1427 OH_AVCodec *codec = nullptr; HWTEST_F() local
1460 OH_AVCodec *codec = nullptr; HWTEST_F() local
1493 OH_AVCodec *codec = nullptr; HWTEST_F() local
1525 OH_AVCodec *codec = nullptr; HWTEST_F() local
1559 OH_AVCodec *codec = nullptr; HWTEST_F() local
1592 OH_AVCodec *codec = nullptr; HWTEST_F() local
1627 OH_AVCodec *codec = nullptr; HWTEST_F() local
1663 OH_AVCodec *codec = nullptr; HWTEST_F() local
1696 OH_AVCodec *codec = nullptr; HWTEST_F() local
1729 OH_AVCodec *codec = nullptr; HWTEST_F() local
1762 OH_AVCodec *codec = nullptr; HWTEST_F() local
1794 OH_AVCodec *codec = nullptr; HWTEST_F() local
1821 OH_AVCodec *codec = nullptr; HWTEST_F() local
1840 OH_AVCodec *codec = nullptr; HWTEST_F() local
1861 OH_AVCodec *codec = nullptr; HWTEST_F() local
1883 OH_AVCodec *codec = nullptr; HWTEST_F() local
1902 OH_AVCodec *codec = nullptr; HWTEST_F() local
1921 OH_AVCodec *codec = nullptr; HWTEST_F() local
1940 OH_AVCodec *codec = nullptr; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/sound/pci/ali5451/
H A Dali5451.c142 #define ALI_REG(codec, x) ((codec)->port + x)
181 struct snd_ali *codec; member
267 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() argument
270 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek()
273 static inline void snd_ali_5451_poke(struct snd_ali *codec, in snd_ali_5451_poke() argument
277 outl((unsigned int)val, ALI_REG(codec, port)); in snd_ali_5451_poke()
280 static int snd_ali_codec_ready(struct snd_ali *codec, in snd_ali_codec_ready() argument
289 res = snd_ali_5451_peek(codec,port); in snd_ali_codec_ready()
297 snd_ali_5451_poke(codec, por in snd_ali_codec_ready()
302 snd_ali_stimer_ready(struct snd_ali *codec) snd_ali_stimer_ready() argument
323 snd_ali_codec_poke(struct snd_ali *codec,int secondary, unsigned short reg, unsigned short val) snd_ali_codec_poke() argument
355 snd_ali_codec_peek(struct snd_ali *codec, int secondary, unsigned short reg) snd_ali_codec_peek() argument
394 struct snd_ali *codec = ac97->private_data; snd_ali_codec_write() local
410 struct snd_ali *codec = ac97->private_data; snd_ali_codec_read() local
420 snd_ali_reset_5451(struct snd_ali *codec) snd_ali_reset_5451() argument
461 snd_ali_enable_special_channel(struct snd_ali *codec, unsigned int channel) snd_ali_enable_special_channel() argument
471 snd_ali_disable_special_channel(struct snd_ali *codec, unsigned int channel) snd_ali_disable_special_channel() argument
481 snd_ali_enable_address_interrupt(struct snd_ali *codec) snd_ali_enable_address_interrupt() argument
491 snd_ali_disable_address_interrupt(struct snd_ali *codec) snd_ali_disable_address_interrupt() argument
501 snd_ali_disable_voice_irq(struct snd_ali *codec, unsigned int channel) snd_ali_disable_voice_irq() argument
515 snd_ali_alloc_pcm_channel(struct snd_ali *codec, int channel) snd_ali_alloc_pcm_channel() argument
534 snd_ali_find_free_channel(struct snd_ali * codec, int rec) snd_ali_find_free_channel() argument
583 snd_ali_free_channel_pcm(struct snd_ali *codec, int channel) snd_ali_free_channel_pcm() argument
603 snd_ali_stop_voice(struct snd_ali *codec, unsigned int channel) snd_ali_stop_voice() argument
615 snd_ali_delay(struct snd_ali *codec,int interval) snd_ali_delay() argument
630 snd_ali_detect_spdif_rate(struct snd_ali *codec) snd_ali_detect_spdif_rate() argument
686 snd_ali_get_spdif_in_rate(struct snd_ali *codec) snd_ali_get_spdif_in_rate() argument
711 snd_ali_enable_spdif_in(struct snd_ali *codec) snd_ali_enable_spdif_in() argument
726 snd_ali_disable_spdif_in(struct snd_ali *codec) snd_ali_disable_spdif_in() argument
738 snd_ali_set_spdif_out_rate(struct snd_ali *codec, unsigned int rate) snd_ali_set_spdif_out_rate() argument
761 snd_ali_enable_spdif_out(struct snd_ali *codec) snd_ali_enable_spdif_out() argument
794 snd_ali_enable_spdif_chnout(struct snd_ali *codec) snd_ali_enable_spdif_chnout() argument
812 snd_ali_disable_spdif_chnout(struct snd_ali *codec) snd_ali_disable_spdif_chnout() argument
823 snd_ali_disable_spdif_out(struct snd_ali *codec) snd_ali_disable_spdif_out() argument
833 snd_ali_update_ptr(struct snd_ali *codec, int channel) snd_ali_update_ptr() argument
883 struct snd_ali *codec = dev_id; snd_ali_card_interrupt() local
909 snd_ali_alloc_voice(struct snd_ali * codec, int type, int rec, int channel) snd_ali_alloc_voice() argument
939 snd_ali_free_voice(struct snd_ali * codec, struct snd_ali_voice *pvoice) snd_ali_free_voice() argument
964 snd_ali_clear_voices(struct snd_ali *codec, unsigned int v_min, unsigned int v_max) snd_ali_clear_voices() argument
976 snd_ali_write_voice_regs(struct snd_ali *codec, unsigned int Channel, unsigned int LBA, unsigned int CSO, unsigned int ESO, unsigned int DELTA, unsigned int ALPHA_FMS, unsigned int GVSEL, unsigned int PAN, unsigned int VOL, unsigned int CTRL, unsigned int EC) snd_ali_write_voice_regs() argument
1071 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_trigger() local
1135 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_params() local
1165 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_free() local
1179 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_prepare() local
1272 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_prepare() local
1361 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_pointer() local
1383 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_pointer() local
1460 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_open() local
1497 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_close() local
1618 struct snd_ali *codec = pcm->private_data; snd_ali_pcm_free() local
1623 snd_ali_pcm(struct snd_ali *codec, int device, struct ali_pcm_description *desc) snd_ali_pcm() argument
1672 snd_ali_build_pcms(struct snd_ali *codec) snd_ali_build_pcms() argument
1694 struct snd_ali *codec = kcontrol->private_data; snd_ali5451_spdif_get() local
1722 struct snd_ali *codec = kcontrol->private_data; snd_ali5451_spdif_put() local
1787 snd_ali_mixer(struct snd_ali *codec) snd_ali_mixer() argument
1918 snd_ali_free(struct snd_ali * codec) snd_ali_free() argument
1936 snd_ali_chip_init(struct snd_ali *codec) snd_ali_chip_init() argument
2000 struct snd_ali *codec = entry->private_data; snd_ali_proc_read() local
2006 snd_ali_proc_init(struct snd_ali *codec) snd_ali_proc_init() argument
2011 snd_ali_resources(struct snd_ali *codec) snd_ali_resources() argument
2033 struct snd_ali *codec = device->device_data; snd_ali_dev_free() local
2044 struct snd_ali *codec; snd_ali_create() local
2172 struct snd_ali *codec; snd_ali_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/zoran/
H A Dvideocodec.c5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
20 struct videocodec *codec; member
25 const struct videocodec *codec; member
42 struct videocodec *codec; in videocodec_attach() local
63 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach()
64 zrdev_dbg(zr, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach()
66 codec = kmemdup(h->codec, sizeof(struct videocodec), GFP_KERNEL); in videocodec_attach()
67 if (!codec) in videocodec_attach()
70 res = strlen(codec in videocodec_attach()
109 videocodec_detach(struct videocodec *codec) videocodec_detach() argument
167 videocodec_register(const struct videocodec *codec) videocodec_register() argument
202 videocodec_unregister(const struct videocodec *codec) videocodec_unregister() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/ali5451/
H A Dali5451.c141 #define ALI_REG(codec, x) ((codec)->port + x)
180 struct snd_ali *codec; member
266 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() argument
269 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek()
272 static inline void snd_ali_5451_poke(struct snd_ali *codec, in snd_ali_5451_poke() argument
276 outl((unsigned int)val, ALI_REG(codec, port)); in snd_ali_5451_poke()
279 static int snd_ali_codec_ready(struct snd_ali *codec, in snd_ali_codec_ready() argument
288 res = snd_ali_5451_peek(codec,port); in snd_ali_codec_ready()
296 snd_ali_5451_poke(codec, por in snd_ali_codec_ready()
301 snd_ali_stimer_ready(struct snd_ali *codec) snd_ali_stimer_ready() argument
322 snd_ali_codec_poke(struct snd_ali *codec,int secondary, unsigned short reg, unsigned short val) snd_ali_codec_poke() argument
354 snd_ali_codec_peek(struct snd_ali *codec, int secondary, unsigned short reg) snd_ali_codec_peek() argument
393 struct snd_ali *codec = ac97->private_data; snd_ali_codec_write() local
409 struct snd_ali *codec = ac97->private_data; snd_ali_codec_read() local
419 snd_ali_reset_5451(struct snd_ali *codec) snd_ali_reset_5451() argument
460 snd_ali_enable_special_channel(struct snd_ali *codec, unsigned int channel) snd_ali_enable_special_channel() argument
470 snd_ali_disable_special_channel(struct snd_ali *codec, unsigned int channel) snd_ali_disable_special_channel() argument
480 snd_ali_enable_address_interrupt(struct snd_ali *codec) snd_ali_enable_address_interrupt() argument
490 snd_ali_disable_address_interrupt(struct snd_ali *codec) snd_ali_disable_address_interrupt() argument
500 snd_ali_disable_voice_irq(struct snd_ali *codec, unsigned int channel) snd_ali_disable_voice_irq() argument
514 snd_ali_alloc_pcm_channel(struct snd_ali *codec, int channel) snd_ali_alloc_pcm_channel() argument
533 snd_ali_find_free_channel(struct snd_ali * codec, int rec) snd_ali_find_free_channel() argument
582 snd_ali_free_channel_pcm(struct snd_ali *codec, int channel) snd_ali_free_channel_pcm() argument
602 snd_ali_stop_voice(struct snd_ali *codec, unsigned int channel) snd_ali_stop_voice() argument
614 snd_ali_delay(struct snd_ali *codec,int interval) snd_ali_delay() argument
629 snd_ali_detect_spdif_rate(struct snd_ali *codec) snd_ali_detect_spdif_rate() argument
685 snd_ali_get_spdif_in_rate(struct snd_ali *codec) snd_ali_get_spdif_in_rate() argument
710 snd_ali_enable_spdif_in(struct snd_ali *codec) snd_ali_enable_spdif_in() argument
725 snd_ali_disable_spdif_in(struct snd_ali *codec) snd_ali_disable_spdif_in() argument
737 snd_ali_set_spdif_out_rate(struct snd_ali *codec, unsigned int rate) snd_ali_set_spdif_out_rate() argument
760 snd_ali_enable_spdif_out(struct snd_ali *codec) snd_ali_enable_spdif_out() argument
793 snd_ali_enable_spdif_chnout(struct snd_ali *codec) snd_ali_enable_spdif_chnout() argument
811 snd_ali_disable_spdif_chnout(struct snd_ali *codec) snd_ali_disable_spdif_chnout() argument
822 snd_ali_disable_spdif_out(struct snd_ali *codec) snd_ali_disable_spdif_out() argument
832 snd_ali_update_ptr(struct snd_ali *codec, int channel) snd_ali_update_ptr() argument
882 struct snd_ali *codec = dev_id; snd_ali_card_interrupt() local
908 snd_ali_alloc_voice(struct snd_ali * codec, int type, int rec, int channel) snd_ali_alloc_voice() argument
938 snd_ali_free_voice(struct snd_ali * codec, struct snd_ali_voice *pvoice) snd_ali_free_voice() argument
963 snd_ali_clear_voices(struct snd_ali *codec, unsigned int v_min, unsigned int v_max) snd_ali_clear_voices() argument
975 snd_ali_write_voice_regs(struct snd_ali *codec, unsigned int Channel, unsigned int LBA, unsigned int CSO, unsigned int ESO, unsigned int DELTA, unsigned int ALPHA_FMS, unsigned int GVSEL, unsigned int PAN, unsigned int VOL, unsigned int CTRL, unsigned int EC) snd_ali_write_voice_regs() argument
1070 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_trigger() local
1134 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_params() local
1164 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_free() local
1178 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_prepare() local
1271 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_prepare() local
1360 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_pointer() local
1382 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_pointer() local
1459 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_open() local
1496 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_close() local
1617 struct snd_ali *codec = pcm->private_data; snd_ali_pcm_free() local
1622 snd_ali_pcm(struct snd_ali *codec, int device, struct ali_pcm_description *desc) snd_ali_pcm() argument
1671 snd_ali_build_pcms(struct snd_ali *codec) snd_ali_build_pcms() argument
1693 struct snd_ali *codec = kcontrol->private_data; snd_ali5451_spdif_get() local
1721 struct snd_ali *codec = kcontrol->private_data; snd_ali5451_spdif_put() local
1786 snd_ali_mixer(struct snd_ali *codec) snd_ali_mixer() argument
1919 struct snd_ali *codec = card->private_data; snd_ali_free() local
1927 snd_ali_chip_init(struct snd_ali *codec) snd_ali_chip_init() argument
1991 struct snd_ali *codec = entry->private_data; snd_ali_proc_read() local
1997 snd_ali_proc_init(struct snd_ali *codec) snd_ali_proc_init() argument
2002 snd_ali_resources(struct snd_ali *codec) snd_ali_resources() argument
2029 struct snd_ali *codec = card->private_data; snd_ali_create() local
2131 struct snd_ali *codec; __snd_ali_probe() local
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dhda_codec.h32 * codec bus
52 /* status for codec/controller */
64 unsigned int mixer_assigned; /* codec addr for mixer name */
71 * codec preset
105 int (*build_controls)(struct hda_codec *codec);
106 int (*build_pcms)(struct hda_codec *codec);
107 int (*init)(struct hda_codec *codec);
108 void (*free)(struct hda_codec *codec);
109 void (*unsol_event)(struct hda_codec *codec, unsigned int res);
110 void (*set_power_state)(struct hda_codec *codec, hda_nid_
168 struct hda_codec *codec; global() member
325 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hda_codec_read() argument
333 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hda_codec_write() argument
346 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) snd_hda_get_num_conns() argument
379 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hda_codec_write_cache() argument
481 hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid) hda_call_check_power_status() argument
502 snd_hda_codec_set_power_save(struct hda_codec *codec, int delay) snd_hda_codec_set_power_save() argument
506 hda_codec_need_resume(struct hda_codec *codec) hda_codec_need_resume() argument
527 snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, unsigned int size, struct snd_dma_buffer *bufp) snd_hda_codec_load_dsp_prepare() argument
534 snd_hda_codec_load_dsp_trigger(struct hda_codec *codec, bool start) snd_hda_codec_load_dsp_trigger() argument
536 snd_hda_codec_load_dsp_cleanup(struct hda_codec *codec, struct snd_dma_buffer *dmab) snd_hda_codec_load_dsp_cleanup() argument
[all...]
/kernel/linux/linux-5.10/include/sound/
H A Dhda_codec.h35 * codec bus
55 /* status for codec/controller */
64 unsigned int mixer_assigned; /* codec addr for mixer name */
71 * codec preset
105 int (*build_controls)(struct hda_codec *codec);
106 int (*build_pcms)(struct hda_codec *codec);
107 int (*init)(struct hda_codec *codec);
108 void (*free)(struct hda_codec *codec);
109 void (*unsol_event)(struct hda_codec *codec, unsigned int res);
110 void (*set_power_state)(struct hda_codec *codec, hda_nid_
169 struct hda_codec *codec; global() member
319 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hda_codec_read() argument
327 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hda_codec_write() argument
340 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) snd_hda_get_num_conns() argument
373 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hda_codec_write_cache() argument
475 hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid) hda_call_check_power_status() argument
498 hda_codec_need_resume(struct hda_codec *codec) hda_codec_need_resume() argument
519 snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, unsigned int size, struct snd_dma_buffer *bufp) snd_hda_codec_load_dsp_prepare() argument
526 snd_hda_codec_load_dsp_trigger(struct hda_codec *codec, bool start) snd_hda_codec_load_dsp_trigger() argument
528 snd_hda_codec_load_dsp_cleanup(struct hda_codec *codec, struct snd_dma_buffer *dmab) snd_hda_codec_load_dsp_cleanup() argument
[all...]

Completed in 46 milliseconds

12345678910>>...33