Home
last modified time | relevance | path

Searched +defs:val +defs:codec (Results 26 – 50 of 77) sorted by relevance

1234

/linux-6.14.4/drivers/media/pci/zoran/
Dzoran_card.c98 static u32 zr36060_read(struct videocodec *codec, u16 reg) in zr36060_read()
111 static void zr36060_write(struct videocodec *codec, u16 reg, u32 val) in zr36060_write()
123 static u32 zr36050_read(struct videocodec *codec, u16 reg) in zr36050_read()
135 static void zr36050_write(struct videocodec *codec, u16 reg, u32 val) in zr36050_write()
146 static u32 zr36016_read(struct videocodec *codec, u16 reg) in zr36016_read()
159 void zr36016_write(struct videocodec *codec, u16 reg, u32 val) in zr36016_write()
/linux-6.14.4/sound/soc/sof/intel/
Dhda-codec.c29 static int request_codec_module(struct hda_codec *codec) in request_codec_module()
55 static int hda_codec_load_module(struct hda_codec *codec) in hda_codec_load_module()
80 struct hda_codec *codec; in hda_codec_jack_wake_enable() local
82 unsigned int val = 0; in hda_codec_jack_wake_enable() local
110 struct hda_codec *codec; in hda_codec_jack_check() local
135 struct hda_codec *codec; in hda_codec_device_init() local
153 struct hda_codec *codec; in hda_codec_probe() local
/linux-6.14.4/sound/pci/hda/
Dpatch_cirrus.c130 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get()
140 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set()
157 static void cs_automute(struct hda_codec *codec) in cs_automute()
178 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin()
180 unsigned int val; in is_active_pin() local
186 static void init_input_coef(struct hda_codec *codec) in init_input_coef()
278 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef()
292 static int cs_init(struct hda_codec *codec) in cs_init()
323 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls()
344 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config()
[all …]
Dtas2781_hda_spi.c123 unsigned int *val) in tasdevice_spi_dev_read()
230 int ret, val; in tasdevice_spi_dev_update_bits() local
266 void *codec, struct module *module, in tascodec_spi_init()
318 int val, ret; in tasdevice_spi_amp_putvol() local
340 int ret, val; in tasdevice_spi_amp_getvol() local
364 int val, ret; in tasdevice_spi_digital_putvol() local
382 int ret, val; in tasdevice_spi_digital_getvol() local
510 int val; in tasdevice_set_profile_id() local
563 int val; in tasdevice_program_put() local
590 int val; in tasdevice_config_put() local
[all …]
Dhda_controller.c701 int snd_hda_attach_pcm_stream(struct hda_bus *_bus, struct hda_codec *codec, in snd_hda_attach_pcm_stream()
867 static int azx_single_send_cmd(struct hdac_bus *bus, u32 val) in azx_single_send_cmd()
911 static int azx_send_cmd(struct hdac_bus *bus, unsigned int val) in azx_send_cmd()
961 int snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, in snd_hda_codec_load_dsp_prepare()
995 void snd_hda_codec_load_dsp_trigger(struct hda_codec *codec, bool start) in snd_hda_codec_load_dsp_trigger()
1005 void snd_hda_codec_load_dsp_cleanup(struct hda_codec *codec, in snd_hda_codec_load_dsp_cleanup()
1238 struct hda_codec *codec; in azx_probe_codecs() local
1259 struct hda_codec *codec, *next; in azx_codec_configure() local
Dtas2781_hda_i2c.c249 int val, ret = 0; in tasdevice_set_profile_id() local
321 int val, ret = 0; in tasdevice_program_put() local
364 int val, ret = 0; in tasdevice_config_put() local
444 bool change, val = (bool)ucontrol->value.integer.value[0]; in tas2781_force_fwload_put() local
645 struct hda_codec *codec = tas_hda->priv->codec; in tas2781_hda_remove_controls() local
660 struct hda_codec *codec = tas_priv->codec; in tasdev_fw_ready() local
770 struct hda_codec *codec; in tas2781_hda_bind() local
Dhda_intel.c370 unsigned char mask, unsigned char val) in update_pci_byte()
449 u32 val; in bxt_reduce_dma_latency() local
469 u32 val, t; in intel_get_lctl_scf() local
487 u32 val; in intel_ml_lctl_set_power() local
514 u32 val; in intel_init_lctl() local
552 u32 val; in hda_intel_init_chip() local
931 static int __maybe_unused param_set_xint(const char *val, const struct kernel_param *kp) in param_set_xint()
977 struct hda_codec *codec; in __azx_runtime_resume() local
1181 struct hda_codec *codec; in azx_vs_set_state() local
1254 struct hda_codec *codec; in setup_vga_switcheroo_runtime_pm() local
[all …]
/linux-6.14.4/sound/soc/codecs/
Dtas2781-i2c.c129 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_getvol() local
140 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_putvol() local
151 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_getvol() local
162 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_putvol() local
193 bool change, val = (bool)ucontrol->value.integer.value[0]; in tasdev_force_fwload_put() local
618 int i, val, rc = -1; in tas2781_latch_reg_get() local
746 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2563_digital_gain_get() local
790 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2563_digital_gain_put() local
878 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_set_profile_id() local
895 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_active_num() local
[all …]
Dcx2072x.c42 struct snd_soc_component *codec; member
486 const void *val, size_t val_count) in cx2072x_reg_raw_write()
860 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); in afg_power_ev() local
906 struct snd_soc_component *codec = dai->component; in cx2072x_hw_params() local
974 struct snd_soc_component *codec = dai->component; in cx2072x_set_dai_bclk_ratio() local
984 struct snd_soc_component *codec = dai->component; in cx2072x_set_dai_sysclk() local
998 struct snd_soc_component *codec = dai->component; in cx2072x_set_dai_fmt() local
1340 static int cx2072x_set_bias_level(struct snd_soc_component *codec, in cx2072x_set_bias_level()
1363 static void cx2072x_enable_jack_detect(struct snd_soc_component *codec) in cx2072x_enable_jack_detect()
1395 static void cx2072x_disable_jack_detect(struct snd_soc_component *codec) in cx2072x_disable_jack_detect()
[all …]
Dpcm6240.c542 unsigned int dev_no, unsigned int reg, unsigned int *val) in pcmdev_dev_read()
606 unsigned int val; in pcmdev_get_volsw() local
678 unsigned int val, val_mask; in pcmdev_put_volsw() local
1142 struct snd_soc_component *codec in pcmdevice_info_profile() local
1159 struct snd_soc_component *codec in pcmdevice_get_profile_id() local
1173 struct snd_soc_component *codec in pcmdevice_set_profile_id() local
1653 static void pcmdevice_comp_remove(struct snd_soc_component *codec) in pcmdevice_comp_remove()
1890 struct snd_soc_component *codec = dai->component; in pcmdevice_mute() local
Dwm8940.c479 u16 val; in wm8940_set_bias_level() local
681 struct snd_soc_component *codec = dai->component; in wm8940_update_clocks() local
708 struct snd_soc_component *codec = dai->component; in wm8940_set_dai_sysclk() local
Dtas2781-comlib.c118 unsigned short chn, unsigned int reg, unsigned int *val) in tasdevice_dev_read()
294 int tascodec_init(struct tasdevice_priv *tas_priv, void *codec, in tascodec_init()
458 static int tasdevice_clamp(int val, int max, unsigned int invert) in tasdevice_clamp()
476 int val, i, ret; in tasdevice_amp_putvol() local
502 int val; in tasdevice_amp_getvol() local
530 int val, i; in tasdevice_digital_putvol() local
555 int ret, val; in tasdevice_digital_getvol() local
/linux-6.14.4/sound/hda/ext/
Dhdac_ext_controller.c170 u32 val; in check_hdac_link_power_active() local
358 static void hdac_ext_codec_link_up(struct hdac_device *codec) in hdac_ext_codec_link_up()
368 static void hdac_ext_codec_link_down(struct hdac_device *codec) in hdac_ext_codec_link_down()
378 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_ext_bus_link_power()
/linux-6.14.4/sound/drivers/vx/
Dvx_mixer.c20 static void vx_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) in vx_write_codec_reg()
74 static void vx_set_codec_reg(struct vx_core *chip, int codec, int reg, int val) in vx_set_codec_reg()
91 static void vx_set_analog_output_level(struct vx_core *chip, int codec, int left, int right) in vx_set_analog_output_level()
413 int codec = kcontrol->id.index; in vx_output_level_get() local
424 int codec = kcontrol->id.index; in vx_output_level_put() local
425 unsigned int val[2], vmax; in vx_output_level_put() local
586 unsigned int val[2]; in vx_audio_gain_put() local
620 unsigned int val[2]; in vx_audio_monitor_put() local
778 unsigned int val; in vx_iec958_put() local
920 int val = i * 2; in snd_vx_mixer_new() local
[all …]
/linux-6.14.4/sound/ac97/
Dbus.c39 unsigned short reg, unsigned short val) in ac97_unbound_ctrl_write()
104 struct ac97_codec_device *codec; in ac97_codec_add() local
393 struct ac97_codec_device *codec = to_ac97_device(dev); in ac97_pm_runtime_suspend() local
408 struct ac97_codec_device *codec = to_ac97_device(dev); in ac97_pm_runtime_resume() local
461 struct ac97_codec_device *codec = to_ac97_device(dev); in vendor_id_show() local
/linux-6.14.4/sound/pci/ac97/
Dac97_codec.c414 static int snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, u… in snd_ac97_ad18xx_update_pcm_bits()
460 unsigned short val, bitmask; in snd_ac97_get_enum_double() local
477 unsigned short val; in snd_ac97_put_enum_double() local
567 unsigned short val, val2, val_mask; in snd_ac97_put_volsw() local
732 unsigned short val = 0; in snd_ac97_spdif_default_put() local
866 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \ argument
891 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_get_bits() local
905 int codec = kcontrol->private_value & 3; in snd_ac97_ad18xx_pcm_put_bits() local
909 unsigned short val, valmask; in snd_ac97_ad18xx_pcm_put_bits() local
920 #define AD18XX_PCM_VOLUME(xname, codec) \ argument
[all …]
/linux-6.14.4/sound/aoa/codecs/
Dtas.c83 struct aoa_codec codec; member
102 static struct tas *codec_to_tas(struct aoa_codec *codec) in codec_to_tas()
117 unsigned char val[6]; in tas3004_set_drc() local
189 u8 val; in tas_set_mixer() local
795 static int tas_init_codec(struct aoa_codec *codec) in tas_init_codec()
868 static void tas_exit_codec(struct aoa_codec *codec) in tas_exit_codec()
Donyx.c50 struct aoa_codec codec; member
582 u8 val; in onyx_register_init() local
861 static int onyx_init_codec(struct aoa_codec *codec) in onyx_init_codec()
983 static void onyx_exit_codec(struct aoa_codec *codec) in onyx_exit_codec()
/linux-6.14.4/sound/mips/
Dhal2.c97 static inline void hal2_write(u32 val, u32 *reg) in hal2_write()
117 static void hal2_i_write16(struct snd_hal2 *hal2, u16 addr, u16 val) in hal2_i_write16()
129 static void hal2_i_write32(struct snd_hal2 *hal2, u16 addr, u32 val) in hal2_i_write32()
314 static int hal2_compute_rate(struct hal2_codec *codec, unsigned int rate) in hal2_compute_rate()
444 static int hal2_alloc_dmabuf(struct snd_hal2 *hal2, struct hal2_codec *codec, in hal2_alloc_dmabuf()
481 static void hal2_free_dmabuf(struct snd_hal2 *hal2, struct hal2_codec *codec, in hal2_free_dmabuf()
735 static void hal2_init_codec(struct hal2_codec *codec, struct hpc3_regs *hpc3, in hal2_init_codec()
/linux-6.14.4/drivers/media/platform/verisilicon/
Dhantro.h91 unsigned int codec; member
134 unsigned int codec; member
390 u32 val, u32 reg) in vepu_write_relaxed()
396 static __always_inline void vepu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vepu_write()
404 u32 val = readl(vpu->enc_base + reg); in vepu_read() local
411 u32 val, u32 reg) in vdpu_write_relaxed()
417 static __always_inline void vdpu_write(struct hantro_dev *vpu, u32 val, u32 reg) in vdpu_write()
432 u32 val = readl(vpu->dec_base + reg); in vdpu_read() local
440 u32 val) in vdpu_read_mask()
452 u32 val) in hantro_reg_write()
[all …]
/linux-6.14.4/drivers/gpu/drm/xlnx/
Dzynqmp_dp_audio.c48 struct snd_soc_dai_link_component codec; member
96 u32 val) in zynqmp_dp_audio_write()
273 unsigned int reg, unsigned int val) in zynqmp_dp_dai_write()
/linux-6.14.4/sound/soc/generic/
Dsimple-card-utils.c21 int val = -EINVAL; in simple_util_get_sample_fmt() local
25 u32 val; in simple_util_get_sample_fmt() member
48 int val; in simple_fixup_sample_fmt() local
102 struct device_node *codec, in simple_util_parse_daifmt()
247 u32 val; in simple_util_parse_clk() local
692 struct snd_soc_dai_link_component *codec; in simple_util_clean_reference() local
1161 u32 val[SND_SOC_TRIGGER_SIZE]; in __graph_util_parse_trigger_order() local
/linux-6.14.4/sound/hda/
Dhdac_controller.c170 static int snd_hdac_bus_send_cmd_pio(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd_pio()
226 static int snd_hdac_bus_send_cmd_corb(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd_corb()
384 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd()
771 void snd_hdac_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_bus_link_power()
/linux-6.14.4/drivers/media/platform/allegro-dvt/
Dallegro-mail.c93 u32 val; in allegro_encode_config_blob() local
94 unsigned int codec = settings_get_mcu_codec(param); in allegro_encode_config_blob() local
/linux-6.14.4/sound/pcmcia/vx/
Dvxp_ops.c58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb()
69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val) argument
436 static void vxp_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) in vxp_write_codec_reg()

1234