/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_sms_param_codec.cpp | 28 GsmSmsParamEncode codec; in EncodeAddressPdu() local 29 return codec.EncodeAddressPdu(num, resultNum); in EncodeAddressPdu() 34 GsmSmsParamEncode codec; in EncodeSmscPdu() local 35 return codec.EncodeSmscPdu(num, resultNum); in EncodeSmscPdu() 40 GsmSmsParamEncode codec; in EncodeSmscPdu() local 41 return codec.EncodeSmscPdu(num, smscNum, smscLen); in EncodeSmscPdu() 46 GsmSmsParamEncode codec; in EncodeTimePdu() local 47 codec.EncodeTimePdu(timeStamp, resultValue); in EncodeTimePdu() 52 GsmSmsParamEncode codec; in EncodeDCS() local 53 codec in EncodeDCS() 58 GsmSmsParamDecode codec; DecodeAddressPdu() local 64 GsmSmsParamDecode codec; DecodeTimePdu() local 70 GsmSmsParamDecode codec; DecodeDcsPdu() local 76 GsmSmsParamDecode codec; DecodeSmscPdu() local 82 GsmSmsParamDecode codec; DecodeSmscPdu() local [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_hwdep.c | 3 * HWDEP Interface for HD-audio codec 21 static int verb_write_ioctl(struct hda_codec *codec, in verb_write_ioctl() argument 28 res = snd_hda_codec_read(codec, verb >> 24, 0, in verb_write_ioctl() 35 static int get_wcap_ioctl(struct hda_codec *codec, in get_wcap_ioctl() argument 44 if (verb < codec->core.start_nid || in get_wcap_ioctl() 45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl() 48 verb -= codec->core.start_nid; in get_wcap_ioctl() 49 verb = array_index_nospec(verb, codec->core.num_nodes); in get_wcap_ioctl() 50 res = codec in get_wcap_ioctl() 63 struct hda_codec *codec = hw->private_data; hda_hwdep_ioctl() local 94 snd_hda_create_hwdep(struct hda_codec *codec) snd_hda_create_hwdep() argument [all...] |
H A D | hda_beep.c | 3 * Digital Beep Input Interface for HD-audio codec 26 struct hda_codec *codec = beep->codec; in generate_tone() local 29 snd_hda_power_up(codec); in generate_tone() 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() 40 snd_hda_power_down(codec); in generate_tone() 124 snd_hda_power_up_pm(beep->codec); in turn_on_beep() 135 snd_hda_power_down_pm(beep->codec); in turn_off_beep() 140 * @codec: the HDA codec 143 snd_hda_enable_beep_device(struct hda_codec *codec, int enable) snd_hda_enable_beep_device() argument 204 snd_hda_attach_beep_device(struct hda_codec *codec, int nid) snd_hda_attach_beep_device() argument 278 snd_hda_detach_beep_device(struct hda_codec *codec) snd_hda_detach_beep_device() argument 287 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ctl_has_mute() local 302 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_get_beep() local 325 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_put_beep() local [all...] |
H A D | patch_sigmatel.c | 242 struct hda_codec *codec, in stac_playback_pcm_hook() 246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook() 252 struct hda_codec *codec, in stac_capture_pcm_hook() 256 struct sigmatel_spec *spec = codec->spec; in stac_capture_pcm_hook() 272 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 277 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() argument 293 hda_nid_t fg = codec->core.afg; in stac_gpio_set() 295 codec_dbg(codec, "%s msk %x dir %x gpio %x\n", __func__, mask, dir_mask, data); in stac_gpio_set() 297 gpiostate = snd_hda_codec_read(codec, f in stac_gpio_set() 241 stac_playback_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) stac_playback_pcm_hook() argument 251 stac_capture_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) stac_capture_pcm_hook() argument 327 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); stac_capture_led_update() local 338 stac_vrefout_set(struct hda_codec *codec, hda_nid_t nid, unsigned int new_vref) stac_vrefout_set() argument 363 stac_vref_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) stac_vref_led_power_filter() argument 373 stac_update_led_status(struct hda_codec *codec, bool muted) stac_update_led_status() argument 402 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); stac_vmaster_hook() local 409 stac_update_outputs(struct hda_codec *codec) stac_update_outputs() argument 434 stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, bool enable, bool do_write) stac_toggle_power_map() argument 465 jack_update_power(struct hda_codec *codec, struct hda_jack_callback *jack) jack_update_power() argument 496 stac_vref_event(struct hda_codec *codec, struct hda_jack_callback *event) stac_vref_event() argument 511 stac_init_power_map(struct hda_codec *codec) stac_init_power_map() argument 537 get_int_hint(struct hda_codec *codec, const char *key, int *valp) get_int_hint() argument 544 stac_store_hints(struct hda_codec *codec) stac_store_hints() argument 575 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_aloopback_get() local 587 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_aloopback_put() local 640 hp_bnb2011_with_dock(struct hda_codec *codec) hp_bnb2011_with_dock() argument 710 set_hp_led_gpio(struct hda_codec *codec) set_hp_led_gpio() argument 746 find_mute_led_cfg(struct hda_codec *codec, int default_polarity) find_mute_led_cfg() argument 802 has_builtin_speaker(struct hda_codec *codec) has_builtin_speaker() argument 829 stac_auto_create_beep_ctls(struct hda_codec *codec, hda_nid_t nid) stac_auto_create_beep_ctls() argument 876 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_dig_beep_switch_get() local 884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_dig_beep_switch_put() local 896 stac_beep_switch_ctl(struct hda_codec *codec) stac_beep_switch_ctl() argument 913 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_info() local 921 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_get() local 932 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_put() local 954 stac_create_spdif_mux_ctls(struct hda_codec *codec) stac_create_spdif_mux_ctls() argument 1354 stac9200_fixup_panasonic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9200_fixup_panasonic() argument 1790 stac92hd73xx_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_ref() argument 1802 stac92hd73xx_fixup_dell(struct hda_codec *codec) stac92hd73xx_fixup_dell() argument 1810 stac92hd73xx_fixup_dell_eq(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_eq() argument 1824 stac92hd73xx_fixup_dell_m6_amic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_m6_amic() argument 1835 stac92hd73xx_fixup_dell_m6_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_m6_dmic() argument 1846 stac92hd73xx_fixup_dell_m6_both(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_m6_both() argument 1857 stac92hd73xx_fixup_alienware_m17x(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_alienware_m17x() argument 1869 stac92hd73xx_fixup_no_jd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_no_jd() argument 1877 stac92hd73xx_disable_automute(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_disable_automute() argument 2100 stac92hd83xxx_fixup_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp() argument 2122 stac92hd83xxx_fixup_hp_zephyr(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_zephyr() argument 2132 stac92hd83xxx_fixup_hp_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_led() argument 2141 stac92hd83xxx_fixup_hp_inv_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_inv_led() argument 2150 stac92hd83xxx_fixup_hp_mic_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_mic_led() argument 2164 stac92hd83xxx_fixup_hp_led_gpio10(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_led_gpio10() argument 2175 stac92hd83xxx_fixup_headset_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_headset_jack() argument 2184 stac92hd83xxx_fixup_gpio10_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_gpio10_eapd() argument 2197 hp_envy_ts_fixup_dac_bind(struct hda_codec *codec, const struct hda_fixup *fix, int action) hp_envy_ts_fixup_dac_bind() argument 2956 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_hp_bass_gpio_get() local 2965 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_hp_bass_gpio_put() local 2985 stac_add_hp_bass_switch(struct hda_codec *codec) stac_add_hp_bass_switch() argument 3059 stac92hd71bxx_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_ref() argument 3071 stac92hd71bxx_fixup_hp_m4(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_m4() argument 3094 stac92hd71bxx_fixup_hp_dv4(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_dv4() argument 3104 stac92hd71bxx_fixup_hp_dv5(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_dv5() argument 3124 stac92hd71bxx_fixup_hp_hdx(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_hdx() argument 3134 is_hp_output(struct hda_codec *codec, hda_nid_t pin) is_hp_output() argument 3144 fixup_hp_headphone(struct hda_codec *codec, hda_nid_t pin) fixup_hp_headphone() argument 3158 stac92hd71bxx_fixup_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp() argument 3521 stac922x_fixup_intel_mac_auto(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac922x_fixup_intel_mac_auto() argument 3535 stac922x_fixup_intel_mac_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac922x_fixup_intel_mac_gpio() argument 3827 stac927x_fixup_ref_no_jd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_ref_no_jd() argument 3835 stac927x_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_ref() argument 3847 stac927x_fixup_dell_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_dell_dmic() argument 3865 stac927x_fixup_volknob(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_volknob() argument 4101 stac9205_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9205_fixup_ref() argument 4113 stac9205_fixup_dell_m43(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9205_fixup_dell_m43() argument 4141 stac9205_fixup_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9205_fixup_eapd() argument 4230 stac92hd95_fixup_hp_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd95_fixup_hp_led() argument 4272 stac_parse_auto_config(struct hda_codec *codec) stac_parse_auto_config() argument 4358 stac_init(struct hda_codec *codec) stac_init() argument 4396 stac_shutup(struct hda_codec *codec) stac_shutup() argument 4411 stac92hd_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac92hd_proc_hook() argument 4420 analog_loop_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, unsigned int verb) analog_loop_proc_hook() argument 4429 stac92hd7x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac92hd7x_proc_hook() argument 4437 stac9205_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac9205_proc_hook() argument 4444 stac927x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac927x_proc_hook() argument 4458 stac_suspend(struct hda_codec *codec) stac_suspend() argument 4479 alloc_stac_spec(struct hda_codec *codec) alloc_stac_spec() argument 4494 patch_stac9200(struct hda_codec *codec) patch_stac9200() argument 4526 patch_stac925x(struct hda_codec *codec) patch_stac925x() argument 4556 patch_stac92hd73xx(struct hda_codec *codec) patch_stac92hd73xx() argument 4638 stac_setup_gpio(struct hda_codec *codec) stac_setup_gpio() argument 4662 patch_stac92hd83xxx(struct hda_codec *codec) patch_stac92hd83xxx() argument 4711 patch_stac92hd95(struct hda_codec *codec) patch_stac92hd95() argument 4753 patch_stac92hd71bxx(struct hda_codec *codec) patch_stac92hd71bxx() argument 4837 patch_stac922x(struct hda_codec *codec) patch_stac922x() argument 4879 patch_stac927x(struct hda_codec *codec) patch_stac927x() argument 4937 patch_stac9205(struct hda_codec *codec) patch_stac9205() argument 5024 patch_stac9872(struct hda_codec *codec) patch_stac9872() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_hwdep.c | 3 * HWDEP Interface for HD-audio codec 21 static int verb_write_ioctl(struct hda_codec *codec, in verb_write_ioctl() argument 28 res = snd_hda_codec_read(codec, verb >> 24, 0, in verb_write_ioctl() 35 static int get_wcap_ioctl(struct hda_codec *codec, in get_wcap_ioctl() argument 44 if (verb < codec->core.start_nid || in get_wcap_ioctl() 45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl() 48 verb -= codec->core.start_nid; in get_wcap_ioctl() 49 verb = array_index_nospec(verb, codec->core.num_nodes); in get_wcap_ioctl() 50 res = codec in get_wcap_ioctl() 63 struct hda_codec *codec = hw->private_data; hda_hwdep_ioctl() local 94 snd_hda_create_hwdep(struct hda_codec *codec) snd_hda_create_hwdep() argument [all...] |
H A D | hda_beep.c | 3 * Digital Beep Input Interface for HD-audio codec 26 struct hda_codec *codec = beep->codec; in generate_tone() local 29 snd_hda_power_up(codec); in generate_tone() 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() 40 snd_hda_power_down(codec); in generate_tone() 124 snd_hda_power_up_pm(beep->codec); in turn_on_beep() 135 snd_hda_power_down_pm(beep->codec); in turn_off_beep() 140 * @codec: the HDA codec 143 snd_hda_enable_beep_device(struct hda_codec *codec, int enable) snd_hda_enable_beep_device() argument 204 snd_hda_attach_beep_device(struct hda_codec *codec, int nid) snd_hda_attach_beep_device() argument 278 snd_hda_detach_beep_device(struct hda_codec *codec) snd_hda_detach_beep_device() argument 287 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ctl_has_mute() local 302 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_get_beep() local 325 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); snd_hda_mixer_amp_switch_put_beep() local [all...] |
H A D | hda_generic.h | 206 /* additional parameters set by codec drivers */ 277 void (*init_hook)(struct hda_codec *codec); 278 void (*automute_hook)(struct hda_codec *codec); 279 void (*cap_sync_hook)(struct hda_codec *codec, 285 struct hda_codec *codec, 289 struct hda_codec *codec, 294 void (*hp_automute_hook)(struct hda_codec *codec, 296 void (*line_automute_hook)(struct hda_codec *codec, 298 void (*mic_autoswitch_hook)(struct hda_codec *codec, 314 int snd_hda_gen_init(struct hda_codec *codec); [all...] |
H A D | patch_sigmatel.c | 242 struct hda_codec *codec, in stac_playback_pcm_hook() 246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook() 252 struct hda_codec *codec, in stac_capture_pcm_hook() 256 struct sigmatel_spec *spec = codec->spec; in stac_capture_pcm_hook() 272 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 277 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() argument 293 hda_nid_t fg = codec->core.afg; in stac_gpio_set() 295 codec_dbg(codec, "%s msk %x dir %x gpio %x\n", __func__, mask, dir_mask, data); in stac_gpio_set() 297 gpiostate = snd_hda_codec_read(codec, f in stac_gpio_set() 241 stac_playback_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) stac_playback_pcm_hook() argument 251 stac_capture_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) stac_capture_pcm_hook() argument 327 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); stac_capture_led_update() local 338 stac_vrefout_set(struct hda_codec *codec, hda_nid_t nid, unsigned int new_vref) stac_vrefout_set() argument 363 stac_vref_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) stac_vref_led_power_filter() argument 373 stac_update_led_status(struct hda_codec *codec, bool muted) stac_update_led_status() argument 402 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); stac_vmaster_hook() local 409 stac_update_outputs(struct hda_codec *codec) stac_update_outputs() argument 434 stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, bool enable, bool do_write) stac_toggle_power_map() argument 465 jack_update_power(struct hda_codec *codec, struct hda_jack_callback *jack) jack_update_power() argument 496 stac_vref_event(struct hda_codec *codec, struct hda_jack_callback *event) stac_vref_event() argument 511 stac_init_power_map(struct hda_codec *codec) stac_init_power_map() argument 537 get_int_hint(struct hda_codec *codec, const char *key, int *valp) get_int_hint() argument 544 stac_store_hints(struct hda_codec *codec) stac_store_hints() argument 575 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_aloopback_get() local 587 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_aloopback_put() local 640 hp_bnb2011_with_dock(struct hda_codec *codec) hp_bnb2011_with_dock() argument 710 set_hp_led_gpio(struct hda_codec *codec) set_hp_led_gpio() argument 746 find_mute_led_cfg(struct hda_codec *codec, int default_polarity) find_mute_led_cfg() argument 802 has_builtin_speaker(struct hda_codec *codec) has_builtin_speaker() argument 829 stac_auto_create_beep_ctls(struct hda_codec *codec, hda_nid_t nid) stac_auto_create_beep_ctls() argument 876 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_dig_beep_switch_get() local 884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_dig_beep_switch_put() local 896 stac_beep_switch_ctl(struct hda_codec *codec) stac_beep_switch_ctl() argument 913 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_info() local 921 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_get() local 932 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_smux_enum_put() local 954 stac_create_spdif_mux_ctls(struct hda_codec *codec) stac_create_spdif_mux_ctls() argument 1354 stac9200_fixup_panasonic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9200_fixup_panasonic() argument 1790 stac92hd73xx_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_ref() argument 1802 stac92hd73xx_fixup_dell(struct hda_codec *codec) stac92hd73xx_fixup_dell() argument 1810 stac92hd73xx_fixup_dell_eq(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_eq() argument 1824 stac92hd73xx_fixup_dell_m6_amic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_m6_amic() argument 1835 stac92hd73xx_fixup_dell_m6_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_m6_dmic() argument 1846 stac92hd73xx_fixup_dell_m6_both(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_dell_m6_both() argument 1857 stac92hd73xx_fixup_alienware_m17x(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_alienware_m17x() argument 1869 stac92hd73xx_fixup_no_jd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_fixup_no_jd() argument 1877 stac92hd73xx_disable_automute(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd73xx_disable_automute() argument 2100 stac92hd83xxx_fixup_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp() argument 2122 stac92hd83xxx_fixup_hp_zephyr(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_zephyr() argument 2132 stac92hd83xxx_fixup_hp_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_led() argument 2141 stac92hd83xxx_fixup_hp_inv_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_inv_led() argument 2150 stac92hd83xxx_fixup_hp_mic_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_mic_led() argument 2164 stac92hd83xxx_fixup_hp_led_gpio10(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_hp_led_gpio10() argument 2175 stac92hd83xxx_fixup_headset_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_headset_jack() argument 2184 stac92hd83xxx_fixup_gpio10_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd83xxx_fixup_gpio10_eapd() argument 2197 hp_envy_ts_fixup_dac_bind(struct hda_codec *codec, const struct hda_fixup *fix, int action) hp_envy_ts_fixup_dac_bind() argument 2956 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_hp_bass_gpio_get() local 2965 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); stac_hp_bass_gpio_put() local 2985 stac_add_hp_bass_switch(struct hda_codec *codec) stac_add_hp_bass_switch() argument 3059 stac92hd71bxx_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_ref() argument 3071 stac92hd71bxx_fixup_hp_m4(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_m4() argument 3094 stac92hd71bxx_fixup_hp_dv4(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_dv4() argument 3104 stac92hd71bxx_fixup_hp_dv5(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_dv5() argument 3124 stac92hd71bxx_fixup_hp_hdx(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp_hdx() argument 3134 is_hp_output(struct hda_codec *codec, hda_nid_t pin) is_hp_output() argument 3144 fixup_hp_headphone(struct hda_codec *codec, hda_nid_t pin) fixup_hp_headphone() argument 3158 stac92hd71bxx_fixup_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd71bxx_fixup_hp() argument 3521 stac922x_fixup_intel_mac_auto(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac922x_fixup_intel_mac_auto() argument 3535 stac922x_fixup_intel_mac_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac922x_fixup_intel_mac_gpio() argument 3827 stac927x_fixup_ref_no_jd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_ref_no_jd() argument 3835 stac927x_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_ref() argument 3847 stac927x_fixup_dell_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_dell_dmic() argument 3865 stac927x_fixup_volknob(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac927x_fixup_volknob() argument 4101 stac9205_fixup_ref(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9205_fixup_ref() argument 4113 stac9205_fixup_dell_m43(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9205_fixup_dell_m43() argument 4141 stac9205_fixup_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac9205_fixup_eapd() argument 4230 stac92hd95_fixup_hp_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) stac92hd95_fixup_hp_led() argument 4272 stac_parse_auto_config(struct hda_codec *codec) stac_parse_auto_config() argument 4358 stac_init(struct hda_codec *codec) stac_init() argument 4399 stac92hd_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac92hd_proc_hook() argument 4408 analog_loop_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, unsigned int verb) analog_loop_proc_hook() argument 4417 stac92hd7x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac92hd7x_proc_hook() argument 4425 stac9205_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac9205_proc_hook() argument 4432 stac927x_proc_hook(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid) stac927x_proc_hook() argument 4446 stac_suspend(struct hda_codec *codec) stac_suspend() argument 4474 alloc_stac_spec(struct hda_codec *codec) alloc_stac_spec() argument 4489 patch_stac9200(struct hda_codec *codec) patch_stac9200() argument 4521 patch_stac925x(struct hda_codec *codec) patch_stac925x() argument 4551 patch_stac92hd73xx(struct hda_codec *codec) patch_stac92hd73xx() argument 4633 stac_setup_gpio(struct hda_codec *codec) stac_setup_gpio() argument 4657 patch_stac92hd83xxx(struct hda_codec *codec) patch_stac92hd83xxx() argument 4706 patch_stac92hd95(struct hda_codec *codec) patch_stac92hd95() argument 4748 patch_stac92hd71bxx(struct hda_codec *codec) patch_stac92hd71bxx() argument 4832 patch_stac922x(struct hda_codec *codec) patch_stac922x() argument 4874 patch_stac927x(struct hda_codec *codec) patch_stac927x() argument 4932 patch_stac9205(struct hda_codec *codec) patch_stac9205() argument 5019 patch_stac9872(struct hda_codec *codec) patch_stac9872() argument [all...] |
/foundation/multimedia/av_codec/interfaces/kits/c/ |
H A D | native_avcodec_audiocodec.h | 45 * @brief Create an audio codec instance through the audio codec name. 46 * The premise of using this interface is to know the exact name of the codec. 48 * @param name Audio codec name 55 * @brief Clear the internal resources of the codec and destroy the codec instance 57 * @param codec Pointer to an OH_AVCodec instance 60 * {@link AV_ERR_INVALID_VAL}, the codec is nullptr or invalid. 66 OH_AVErrCode OH_AudioCodec_Destroy(OH_AVCodec *codec); 70 * can respond to the events generated by the audio codec [all...] |
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_codec/ |
H A D | video_codec_base.cpp | 32 std::shared_ptr<VideoCodecBase> codec = nullptr; in CreateVideoCodec() local 36 codec = CreateVideoDecoder(mode); in CreateVideoCodec() 40 codec = CreateVideoEncoder(mode); in CreateVideoCodec() 43 AVCODEC_LOGW("Not supported codec type, %{public}d", type); in CreateVideoCodec() 45 return codec; in CreateVideoCodec() 50 std::shared_ptr<VideoCodecBase> codec = nullptr; in CreateVideoDecoder() local 53 codec = std::make_shared<VideoDecoderAPI10Surface>(); in CreateVideoDecoder() 56 codec = std::make_shared<VideoDecoderAPI10Buffer>(); in CreateVideoDecoder() 59 codec = std::make_shared<VideoDecoderAPI11Surface>(); in CreateVideoDecoder() 62 codec in CreateVideoDecoder() 72 std::shared_ptr<VideoCodecBase> codec = nullptr; CreateVideoEncoder() local [all...] |
/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/ |
H A D | native_audio_encoder.cpp | 55 NativeAudioEncoderCallback(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeAudioEncoderCallback() argument 56 : codec_(codec), callback_(cb), userData_(userData) in NativeAudioEncoderCallback() 124 OH_AVMemory *GetInputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory> memory) in GetInputData() argument 126 CHECK_AND_RETURN_RET_LOG(codec != nullptr, nullptr, "input codec is nullptr!"); in GetInputData() 127 CHECK_AND_RETURN_RET_LOG(codec->magic_ == AVMagic::AVCODEC_MAGIC_AUDIO_ENCODER, nullptr, "magic error!"); in GetInputData() 129 struct AudioEncoderObject *audioEncObj = reinterpret_cast<AudioEncoderObject *>(codec); in GetInputData() 150 OH_AVMemory *GetOutputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory> memory) in GetOutputData() argument 152 CHECK_AND_RETURN_RET_LOG(codec != nullptr, nullptr, "input codec i in GetOutputData() 216 OH_AudioEncoder_Destroy(struct OH_AVCodec *codec) OH_AudioEncoder_Destroy() argument 246 OH_AudioEncoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_AudioEncoder_Configure() argument 264 OH_AudioEncoder_Prepare(struct OH_AVCodec *codec) OH_AudioEncoder_Prepare() argument 280 OH_AudioEncoder_Start(struct OH_AVCodec *codec) OH_AudioEncoder_Start() argument 299 OH_AudioEncoder_Stop(struct OH_AVCodec *codec) OH_AudioEncoder_Stop() argument 322 OH_AudioEncoder_Flush(struct OH_AVCodec *codec) OH_AudioEncoder_Flush() argument 349 OH_AudioEncoder_Reset(struct OH_AVCodec *codec) OH_AudioEncoder_Reset() argument 369 OH_AudioEncoder_PushInputData(struct OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr) OH_AudioEncoder_PushInputData() argument 396 OH_AudioEncoder_GetOutputDescription(struct OH_AVCodec *codec) OH_AudioEncoder_GetOutputDescription() argument 415 OH_AudioEncoder_FreeOutputData(struct OH_AVCodec *codec, uint32_t index) OH_AudioEncoder_FreeOutputData() argument 431 OH_AudioEncoder_SetParameter(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_AudioEncoder_SetParameter() argument 449 OH_AudioEncoder_SetCallback(struct OH_AVCodec *codec, struct OH_AVCodecAsyncCallback callback, void *userData) OH_AudioEncoder_SetCallback() argument 476 OH_AudioEncoder_IsValid(OH_AVCodec *codec, bool *isValid) OH_AudioEncoder_IsValid() argument [all...] |
H A D | native_audio_decoder.cpp | 53 NativeAudioDecoder(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeAudioDecoder() argument 54 : codec_(codec), callback_(cb), userData_(userData) {} in NativeAudioDecoder() 124 OH_AVMemory *GetInputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory> memory) in GetInputData() argument 126 CHECK_AND_RETURN_RET_LOG(codec != nullptr, nullptr, "input codec is nullptr!"); in GetInputData() 127 CHECK_AND_RETURN_RET_LOG(codec->magic_ == AVMagic::AVCODEC_MAGIC_AUDIO_DECODER, nullptr, "magic error!"); in GetInputData() 129 struct AudioDecoderObject *audioDecObj = reinterpret_cast<AudioDecoderObject *>(codec); in GetInputData() 150 OH_AVMemory *GetOutputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory> memory) in GetOutputData() argument 152 CHECK_AND_RETURN_RET_LOG(codec != nullptr, nullptr, "input codec i in GetOutputData() 216 OH_AudioDecoder_Destroy(struct OH_AVCodec *codec) OH_AudioDecoder_Destroy() argument 247 OH_AudioDecoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_AudioDecoder_Configure() argument 265 OH_AudioDecoder_Prepare(struct OH_AVCodec *codec) OH_AudioDecoder_Prepare() argument 280 OH_AudioDecoder_Start(struct OH_AVCodec *codec) OH_AudioDecoder_Start() argument 298 OH_AudioDecoder_Stop(struct OH_AVCodec *codec) OH_AudioDecoder_Stop() argument 322 OH_AudioDecoder_Flush(struct OH_AVCodec *codec) OH_AudioDecoder_Flush() argument 348 OH_AudioDecoder_Reset(struct OH_AVCodec *codec) OH_AudioDecoder_Reset() argument 371 OH_AudioDecoder_PushInputData(struct OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr) OH_AudioDecoder_PushInputData() argument 398 OH_AudioDecoder_GetOutputDescription(struct OH_AVCodec *codec) OH_AudioDecoder_GetOutputDescription() argument 417 OH_AudioDecoder_FreeOutputData(struct OH_AVCodec *codec, uint32_t index) OH_AudioDecoder_FreeOutputData() argument 433 OH_AudioDecoder_SetParameter(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_AudioDecoder_SetParameter() argument 451 OH_AudioDecoder_SetCallback( struct OH_AVCodec *codec, struct OH_AVCodecAsyncCallback callback, void *userData) OH_AudioDecoder_SetCallback() argument 478 OH_AudioDecoder_IsValid(OH_AVCodec *codec, bool *isValid) OH_AudioDecoder_IsValid() argument [all...] |
H A D | native_video_encoder.cpp | 73 NativeVideoEncoderCallback(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeVideoEncoderCallback() argument 74 : codec_(codec), asyncCallback_(cb), userData_(userData) in NativeVideoEncoderCallback() 78 NativeVideoEncoderCallback(OH_AVCodec *codec, OH_VideoEncoder_OnNeedInputParameter onInputParameter, void *userData) in NativeVideoEncoderCallback() argument 79 : codec_(codec), onInputParameter_(onInputParameter), paramUserData_(userData) in NativeVideoEncoderCallback() 83 NativeVideoEncoderCallback(OH_AVCodec *codec, struct OH_AVCodecCallback cb, void *userData) in NativeVideoEncoderCallback() argument 84 : codec_(codec), callback_(cb), userData_(userData) in NativeVideoEncoderCallback() 248 OH_AVMemory *GetTransData(struct OH_AVCodec *codec, uint32_t &index, std::shared_ptr<AVSharedMemory> &memory, in GetTransData() argument 251 struct VideoEncoderObject *videoEncObj = reinterpret_cast<VideoEncoderObject *>(codec); in GetTransData() 279 OH_AVBuffer *GetTransData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVBuffer> &buffer, in GetTransData() argument 282 struct VideoEncoderObject *videoEncObj = reinterpret_cast<VideoEncoderObject *>(codec); in GetTransData() 310 GetTransData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<Format> ¶meter) GetTransData() argument 454 OH_VideoEncoder_Destroy(struct OH_AVCodec *codec) OH_VideoEncoder_Destroy() argument 479 OH_VideoEncoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_VideoEncoder_Configure() argument 497 OH_VideoEncoder_Prepare(struct OH_AVCodec *codec) OH_VideoEncoder_Prepare() argument 513 OH_VideoEncoder_Start(struct OH_AVCodec *codec) OH_VideoEncoder_Start() argument 530 OH_VideoEncoder_Stop(struct OH_AVCodec *codec) OH_VideoEncoder_Stop() argument 548 OH_VideoEncoder_Flush(struct OH_AVCodec *codec) OH_VideoEncoder_Flush() argument 564 OH_VideoEncoder_Reset(struct OH_AVCodec *codec) OH_VideoEncoder_Reset() argument 582 OH_VideoEncoder_GetSurface(OH_AVCodec *codec, OHNativeWindow **window) OH_VideoEncoder_GetSurface() argument 601 OH_VideoEncoder_GetOutputDescription(struct OH_AVCodec *codec) OH_VideoEncoder_GetOutputDescription() argument 620 OH_VideoEncoder_FreeOutputData(struct OH_AVCodec *codec, uint32_t index) OH_VideoEncoder_FreeOutputData() argument 638 OH_VideoEncoder_FreeOutputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_VideoEncoder_FreeOutputBuffer() argument 656 OH_VideoEncoder_NotifyEndOfStream(OH_AVCodec *codec) OH_VideoEncoder_NotifyEndOfStream() argument 673 OH_VideoEncoder_SetParameter(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_VideoEncoder_SetParameter() argument 691 OH_VideoEncoder_SetCallback(struct OH_AVCodec *codec, struct OH_AVCodecAsyncCallback callback, void *userData) OH_VideoEncoder_SetCallback() argument 714 OH_VideoEncoder_RegisterCallback(struct OH_AVCodec *codec, struct OH_AVCodecCallback callback, void *userData) OH_VideoEncoder_RegisterCallback() argument 739 OH_VideoEncoder_RegisterParameterCallback(OH_AVCodec *codec, OH_VideoEncoder_OnNeedInputParameter onInputParameter, void *userData) OH_VideoEncoder_RegisterParameterCallback() argument 763 OH_VideoEncoder_PushInputData(struct OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr) OH_VideoEncoder_PushInputData() argument 795 OH_VideoEncoder_PushInputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_VideoEncoder_PushInputBuffer() argument 826 OH_VideoEncoder_PushInputParameter(OH_AVCodec *codec, uint32_t index) OH_VideoEncoder_PushInputParameter() argument 840 OH_VideoEncoder_GetInputDescription(OH_AVCodec *codec) OH_VideoEncoder_GetInputDescription() argument 859 OH_VideoEncoder_IsValid(OH_AVCodec *codec, bool *isValid) OH_VideoEncoder_IsValid() argument [all...] |
H A D | native_video_decoder.cpp | 73 NativeVideoDecoderCallback(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeVideoDecoderCallback() argument 74 : codec_(codec), asyncCallback_(cb), userData_(userData) in NativeVideoDecoderCallback() 77 NativeVideoDecoderCallback(OH_AVCodec *codec, struct OH_AVCodecCallback cb, void *userData) in NativeVideoDecoderCallback() argument 78 : codec_(codec), callback_(cb), userData_(userData) in NativeVideoDecoderCallback() 224 OH_AVMemory *GetTransData(struct OH_AVCodec *codec, uint32_t &index, std::shared_ptr<AVSharedMemory> &memory, in GetTransData() argument 227 struct VideoDecoderObject *videoDecObj = reinterpret_cast<VideoDecoderObject *>(codec); in GetTransData() 255 OH_AVBuffer *GetTransData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVBuffer> &buffer, in GetTransData() argument 258 struct VideoDecoderObject *videoDecObj = reinterpret_cast<VideoDecoderObject *>(codec); in GetTransData() 369 OH_AVErrCode OH_VideoDecoder_Destroy(struct OH_AVCodec *codec) in OH_VideoDecoder_Destroy() argument 371 CHECK_AND_RETURN_RET_LOG(codec ! in OH_VideoDecoder_Destroy() 394 OH_VideoDecoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_VideoDecoder_Configure() argument 412 OH_VideoDecoder_Prepare(struct OH_AVCodec *codec) OH_VideoDecoder_Prepare() argument 428 OH_VideoDecoder_Start(struct OH_AVCodec *codec) OH_VideoDecoder_Start() argument 445 OH_VideoDecoder_Stop(struct OH_AVCodec *codec) OH_VideoDecoder_Stop() argument 463 OH_VideoDecoder_Flush(struct OH_AVCodec *codec) OH_VideoDecoder_Flush() argument 479 OH_VideoDecoder_Reset(struct OH_AVCodec *codec) OH_VideoDecoder_Reset() argument 497 OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window) OH_VideoDecoder_SetSurface() argument 519 OH_VideoDecoder_PushInputData(struct OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr) OH_VideoDecoder_PushInputData() argument 551 OH_VideoDecoder_PushInputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_VideoDecoder_PushInputBuffer() argument 582 OH_VideoDecoder_GetOutputDescription(struct OH_AVCodec *codec) OH_VideoDecoder_GetOutputDescription() argument 601 OH_VideoDecoder_RenderOutputData(struct OH_AVCodec *codec, uint32_t index) OH_VideoDecoder_RenderOutputData() argument 619 OH_VideoDecoder_FreeOutputData(struct OH_AVCodec *codec, uint32_t index) OH_VideoDecoder_FreeOutputData() argument 638 OH_VideoDecoder_RenderOutputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_VideoDecoder_RenderOutputBuffer() argument 655 OH_VideoDecoder_RenderOutputBufferAtTime(OH_AVCodec *codec, uint32_t index, int64_t renderTimestampNs) OH_VideoDecoder_RenderOutputBufferAtTime() argument 671 OH_VideoDecoder_FreeOutputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_VideoDecoder_FreeOutputBuffer() argument 690 OH_VideoDecoder_SetParameter(struct OH_AVCodec *codec, struct OH_AVFormat *format) OH_VideoDecoder_SetParameter() argument 708 OH_VideoDecoder_SetCallback(struct OH_AVCodec *codec, struct OH_AVCodecAsyncCallback callback, void *userData) OH_VideoDecoder_SetCallback() argument 732 OH_VideoDecoder_RegisterCallback(struct OH_AVCodec *codec, struct OH_AVCodecCallback callback, void *userData) OH_VideoDecoder_RegisterCallback() argument 760 OH_VideoDecoder_IsValid(OH_AVCodec *codec, bool *isValid) OH_VideoDecoder_IsValid() argument 771 OH_VideoDecoder_SetDecryptionConfig(OH_AVCodec *codec, MediaKeySession *mediaKeySession, bool secureVideoPath) OH_VideoDecoder_SetDecryptionConfig() argument 799 OH_VideoDecoder_SetDecryptionConfig(OH_AVCodec *codec, MediaKeySession *mediaKeySession, bool secureVideoPath) OH_VideoDecoder_SetDecryptionConfig() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | hda.c | 16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument 19 struct device *dev = &codec->core.dev; in hda_codec_create_dais() 28 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in hda_codec_create_dais() 81 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais() argument 88 if (list_empty(&codec->pcm_list_head)) in hda_codec_register_dais() 90 list_for_each_entry(pcm, &codec->pcm_list_head, list) in hda_codec_register_dais() 93 ret = hda_codec_create_dais(codec, pcm_count, &drvs); in hda_codec_register_dais() 99 list_for_each_entry(pcm, &codec->pcm_list_head, list) { in hda_codec_register_dais() 122 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais() argument 131 list_for_each_entry(pcm, &codec in hda_codec_unregister_dais() 144 hda_codec_probe_complete(struct hda_codec *codec) hda_codec_probe_complete() argument 173 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_probe() local 271 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_remove() local 348 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_attach() local 375 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_detach() local [all...] |
/kernel/linux/linux-6.6/sound/hda/ |
H A D | hdac_bus.c | 142 * @res_ex: codec addr and flags (upper 32bit or RIRB entry) 172 struct hdac_device *codec; in snd_hdac_bus_process_unsol_events() local 185 codec = bus->caddr_tbl[caddr & 0x0f]; in snd_hdac_bus_process_unsol_events() 186 if (!codec || !codec->registered) in snd_hdac_bus_process_unsol_events() 189 drv = drv_to_hdac_driver(codec->dev.driver); in snd_hdac_bus_process_unsol_events() 191 drv->unsol_event(codec, res); in snd_hdac_bus_process_unsol_events() 198 * snd_hdac_bus_add_device - Add a codec to bus 200 * @codec: HDA core device to add 202 * Adds the given codec t 206 snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) snd_hdac_bus_add_device() argument 226 snd_hdac_bus_remove_device(struct hdac_bus *bus, struct hdac_device *codec) snd_hdac_bus_remove_device() argument 269 snd_hdac_codec_link_up(struct hdac_device *codec) snd_hdac_codec_link_up() argument 280 snd_hdac_codec_link_down(struct hdac_device *codec) snd_hdac_codec_link_down() argument [all...] |
/kernel/linux/linux-5.10/sound/aoa/codecs/ |
H A D | toonie.c | 3 * Apple Onboard Audio driver for Toonie codec 7 * This is a driver for the toonie codec chip. This chip is present 15 MODULE_DESCRIPTION("toonie codec driver for snd-aoa"); 21 #define PFX "snd-aoa-codec-toonie: " 24 struct aoa_codec codec; member 26 #define codec_to_toonie(c) container_of(c, struct toonie, codec) 85 static int toonie_init_codec(struct aoa_codec *codec) in toonie_init_codec() argument 87 struct toonie *toonie = codec_to_toonie(codec); in toonie_init_codec() 90 if (toonie->codec.connected != 1) in toonie_init_codec() 98 if (toonie->codec in toonie_init_codec() 109 toonie_exit_codec(struct aoa_codec *codec) toonie_exit_codec() argument [all...] |
/kernel/linux/linux-6.6/sound/aoa/codecs/ |
H A D | toonie.c | 3 * Apple Onboard Audio driver for Toonie codec 7 * This is a driver for the toonie codec chip. This chip is present 15 MODULE_DESCRIPTION("toonie codec driver for snd-aoa"); 21 #define PFX "snd-aoa-codec-toonie: " 24 struct aoa_codec codec; member 26 #define codec_to_toonie(c) container_of(c, struct toonie, codec) 85 static int toonie_init_codec(struct aoa_codec *codec) in toonie_init_codec() argument 87 struct toonie *toonie = codec_to_toonie(codec); in toonie_init_codec() 90 if (toonie->codec.connected != 1) in toonie_init_codec() 98 if (toonie->codec in toonie_init_codec() 109 toonie_exit_codec(struct aoa_codec *codec) toonie_exit_codec() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-codec.c | 26 /* load the legacy HDA codec driver */ 27 static int request_codec_module(struct hda_codec *codec) in request_codec_module() argument 33 switch (codec->probe_id) { in request_codec_module() 36 mod = "snd-hda-codec-generic"; in request_codec_module() 40 snd_hdac_codec_modalias(&codec->core, alias, sizeof(alias)); in request_codec_module() 46 dev_dbg(&codec->core.dev, "loading codec module: %s\n", mod); in request_codec_module() 50 return device_attach(hda_codec_dev(codec)); in request_codec_module() 53 static int hda_codec_load_module(struct hda_codec *codec) in hda_codec_load_module() argument 55 int ret = request_codec_module(codec); in hda_codec_load_module() 70 struct hda_codec *codec; hda_codec_jack_wake_enable() local 85 struct hda_codec *codec; hda_codec_jack_check() local 118 struct hda_codec *codec; hda_codec_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zr36016.c | 15 /* codec io API */ 39 read/write via codec layer (registers are located in the master device) 48 if (ptr->codec->master_data->readreg) in zr36016_read() 49 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read() 63 if (ptr->codec->master_data->writereg) in zr36016_write() 64 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write() 77 if ((ptr->codec->master_data->writereg) && (ptr->codec in zr36016_readi() 225 zr36016_set_mode(struct videocodec *codec, int mode) zr36016_set_mode() argument 241 zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) zr36016_set_video() argument 276 zr36016_control(struct videocodec *codec, int type, int size, void *data) zr36016_control() argument 325 zr36016_unset(struct videocodec *codec) zr36016_unset() argument 352 zr36016_setup(struct videocodec *codec) zr36016_setup() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapiflush_fuzzer/ |
H A D | audioencoderdemo.h | 32 extern void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData); 33 extern void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData); 34 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData); 35 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, 72 OH_AVErrCode Destroy(OH_AVCodec* codec); 74 OH_AVErrCode SetCallback(OH_AVCodec* codec); 76 OH_AVErrCode Prepare(OH_AVCodec* codec); 78 OH_AVErrCode Start(OH_AVCodec* codec); 80 OH_AVErrCode Stop(OH_AVCodec* codec); 82 OH_AVErrCode Flush(OH_AVCodec* codec); [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapireset_fuzzer/ |
H A D | audioencoderdemo.h | 32 extern void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData); 33 extern void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData); 34 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData); 35 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, 72 OH_AVErrCode Destroy(OH_AVCodec* codec); 74 OH_AVErrCode SetCallback(OH_AVCodec* codec); 76 OH_AVErrCode Prepare(OH_AVCodec* codec); 78 OH_AVErrCode Start(OH_AVCodec* codec); 80 OH_AVErrCode Stop(OH_AVCodec* codec); 82 OH_AVErrCode Flush(OH_AVCodec* codec); [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapisetparameter_fuzzer/ |
H A D | audioencoderdemo.h | 32 extern void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData); 33 extern void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData); 34 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData); 35 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, 72 OH_AVErrCode Destroy(OH_AVCodec* codec); 74 OH_AVErrCode SetCallback(OH_AVCodec* codec); 76 OH_AVErrCode Prepare(OH_AVCodec* codec); 78 OH_AVErrCode Start(OH_AVCodec* codec); 80 OH_AVErrCode Stop(OH_AVCodec* codec); 82 OH_AVErrCode Flush(OH_AVCodec* codec); [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapidescription_fuzzer/ |
H A D | audioencoderdemo.h | 32 extern void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData); 33 extern void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData); 34 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData); 35 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, 72 OH_AVErrCode Destroy(OH_AVCodec* codec); 74 OH_AVErrCode SetCallback(OH_AVCodec* codec); 76 OH_AVErrCode Prepare(OH_AVCodec* codec); 78 OH_AVErrCode Start(OH_AVCodec* codec); 80 OH_AVErrCode Stop(OH_AVCodec* codec); 82 OH_AVErrCode Flush(OH_AVCodec* codec); [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | videocodec.h | 5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's 71 * one codec which may be quite similar to access, nevertheless it 76 * set_mode -> this fn-ref. resets the entire codec, and sets up the mode 83 * additional setup may be available, too - but the codec should work with 90 * setup_interrupt -> codec irq setup (not needed for 36050/60) 91 * handle_interrupt -> codec irq handling (not needed for 36050/60) 94 * put_image -> puts image data to the codec (not needed for 36050/60) 95 * get_image -> gets image data from the codec (not needed for 36050/60) 132 /* this are the current codec flags I think they are needed */ 134 #define CODEC_FLAG_JPEG 0x00000001L // JPEG codec 318 videocodec_to_zoran(struct videocodec *codec) videocodec_to_zoran() argument [all...] |