Home
last modified time | relevance | path

Searched refs:audio_mode (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/ps3/
Dps3av_cmd.c624 const struct ps3av_pkt_audio_mode *audio_mode, in ps3av_cmd_set_av_audio_param() argument
636 param->mclk = ps3av_cnv_mclk(audio_mode->audio_fs) | 0x80; in ps3av_cmd_set_av_audio_param()
637 ps3av_cnv_ns(param->ns, audio_mode->audio_fs, video_vid); in ps3av_cmd_set_av_audio_param()
638 param->enable = ps3av_cnv_enable(audio_mode->audio_source, in ps3av_cmd_set_av_audio_param()
639 audio_mode->audio_enable); in ps3av_cmd_set_av_audio_param()
641 param->fifomap = ps3av_cnv_fifomap(audio_mode->audio_map); in ps3av_cmd_set_av_audio_param()
643 param->inputlen = ps3av_cnv_inputlen(audio_mode->audio_word_bits); in ps3av_cmd_set_av_audio_param()
644 param->layout = ps3av_cnv_layout(audio_mode->audio_num_of_ch); in ps3av_cmd_set_av_audio_param()
645 ps3av_cnv_info(&param->info, audio_mode); in ps3av_cmd_set_av_audio_param()
646 ps3av_cnv_chstat(param->chstat, audio_mode->audio_cs_info); in ps3av_cmd_set_av_audio_param()
[all …]
Dps3av.c410 struct ps3av_pkt_audio_mode audio_mode; in ps3av_set_audio_mode() local
435 ps3av_cmd_set_audio_mode(&audio_mode, ps3av->av_port[i], ch, in ps3av_set_audio_mode()
441 &audio_mode, vid); in ps3av_set_audio_mode()
444 res = ps3av_cmd_audio_mode(&audio_mode); in ps3av_set_audio_mode()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dsaa717x.c757 static void set_audio_mode(struct v4l2_subdev *sd, int audio_mode) in set_audio_mode() argument
760 audio_mode); in set_audio_mode()
762 saa717x_write(sd, 0x46c, reg_set_audio_template[audio_mode][0]); in set_audio_mode()
763 saa717x_write(sd, 0x470, reg_set_audio_template[audio_mode][1]); in set_audio_mode()
1101 int audio_mode; in saa717x_s_tuner() local
1106 audio_mode = TUNER_AUDIO_STEREO; in saa717x_s_tuner()
1110 audio_mode = TUNER_AUDIO_MONO; in saa717x_s_tuner()
1113 audio_mode = TUNER_AUDIO_STEREO; in saa717x_s_tuner()
1116 audio_mode = TUNER_AUDIO_LANG2; in saa717x_s_tuner()
1119 audio_mode = TUNER_AUDIO_LANG1; in saa717x_s_tuner()
[all …]
Dsony-btf-mpx.c117 enum { AUD_MONO, AUD_A2, AUD_NICAM, AUD_NICAM_L } audio_mode; member
180 if (mpx_audio_modes[mode].audio_mode != AUD_MONO) { in mpx_setup()
183 switch (mpx_audio_modes[mode].audio_mode) { in mpx_setup()
222 if (mpx_audio_modes[mode].audio_mode == AUD_A2) in mpx_setup()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c512 const struct audio_mode *audio_mode = in dce_aud_az_configure() local
515 audio_mode->sample_rates; in dce_aud_az_configure()
516 uint8_t byte2 = audio_mode->max_bit_rate; in dce_aud_az_configure()
523 audio_mode->channel_count, in dce_aud_az_configure()
527 byte2 = audio_mode->sample_size; in dce_aud_az_configure()
543 byte2 = audio_mode->vendor_specific; in dce_aud_az_configure()
551 audio_mode->channel_count - 1, in dce_aud_az_configure()
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-core.c401 switch (dev->audio_mode.ac97) { in em28xx_set_audio_source()
436 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_analog_set()
460 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_analog_set()
544 dev->audio_mode.ac97 = EM28XX_NO_AC97; in em28xx_audio_setup()
550 dev->audio_mode.ac97 = EM28XX_AC97_OTHER; in em28xx_audio_setup()
561 dev->audio_mode.ac97 = EM28XX_NO_AC97; in em28xx_audio_setup()
583 dev->audio_mode.ac97 = EM28XX_AC97_EM202; in em28xx_audio_setup()
585 dev->audio_mode.ac97 = EM28XX_AC97_SIGMATEL; in em28xx_audio_setup()
589 switch (dev->audio_mode.ac97) { in em28xx_audio_setup()
Dem28xx.h682 struct em28xx_audio_mode audio_mode; member
Dem28xx-audio.c864 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_init()
Dem28xx-video.c2646 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_v4l2_init()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dxc4000.c179 u16 audio_mode; member
350 u16 video_mode, u16 audio_mode) in xc_set_tv_standard() argument
353 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard()
363 ret = xc_write_reg(priv, XREG_AUDIO_MODE, audio_mode); in xc_set_tv_standard()
1215 u16 video_mode, audio_mode; in xc4000_set_params() local
1217 audio_mode = xc4000_standard[priv->video_standard].audio_mode; in xc4000_set_params()
1220 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_params()
1409 u16 video_mode, audio_mode; in xc4000_set_analog_params() local
1411 audio_mode = xc4000_standard[priv->video_standard].audio_mode; in xc4000_set_analog_params()
1421 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_analog_params()
Dxc5000.c146 u16 audio_mode; member
410 u16 video_mode, u16 audio_mode, u8 radio_mode) in xc_set_tv_standard() argument
413 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard()
426 ret = xc_write_reg(priv, XREG_AUDIO_MODE, audio_mode); in xc_set_tv_standard()
699 xc5000_standard[priv->video_standard].audio_mode, 0); in xc5000_tune_digital()
914 xc5000_standard[priv->video_standard].audio_mode, 0); in xc5000_set_tv_freq()
987 xc5000_standard[radio_input].audio_mode, radio_input); in xc5000_set_radio_freq()
/kernel/linux/linux-5.10/drivers/media/common/
Dcx2341x.c226 .audio_mode = V4L2_MPEG_AUDIO_MODE_STEREO,
282 ctrl->value = params->audio_mode; in cx2341x_get_ctrl()
410 params->audio_mode = ctrl->value; in cx2341x_set_ctrl()
645 params->audio_mode != V4L2_MPEG_AUDIO_MODE_JOINT_STEREO) in cx2341x_ctrl_query()
900 (params->audio_mode << 8) | in cx2341x_calc_audio_properties()
1256 if (p->audio_mode == V4L2_MPEG_AUDIO_MODE_JOINT_STEREO) in cx2341x_log_status()
1402 (hdl->audio_mode->val << 8) | in cx2341x_s_ctrl()
1438 hdl->audio_mode->val == V4L2_MPEG_AUDIO_MODE_JOINT_STEREO); in cx2341x_s_ctrl()
1442 if (cx2341x_neq(hdl->audio_mode) && in cx2341x_s_ctrl()
1444 return hdl->ops->s_audio_mode(hdl, hdl->audio_mode->val); in cx2341x_s_ctrl()
[all …]
/kernel/linux/linux-5.10/include/media/drv-intf/
Dcx2341x.h42 enum v4l2_mpeg_audio_mode audio_mode; member
125 struct v4l2_ctrl *audio_mode; member
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs42l51.c47 unsigned int audio_mode; /* The mode (I2S or left-justified) */ member
320 cs42l51->audio_mode = format & SND_SOC_DAIFMT_FORMAT_MASK; in cs42l51_set_dai_fmt()
469 switch (cs42l51->audio_mode) { in cs42l51_hw_params()
Dwl1273.c207 ucontrol->value.enumerated.item[0] = wl1273->core->audio_mode; in snd_wl1273_fm_audio_get()
222 if (wl1273->core->audio_mode == val) in snd_wl1273_fm_audio_put()
/kernel/linux/linux-5.10/include/linux/mfd/
Dwl1273-core.h264 unsigned int audio_mode; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_types.h607 struct audio_mode { struct
636 struct audio_mode modes[DC_MAX_AUDIO_DESC_COUNT]; argument
/kernel/linux/linux-5.10/drivers/mfd/
Dwl1273-core.c131 core->audio_mode = new_mode; in wl1273_fm_set_audio()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-fileops.c152 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_dualwatch()
164 if (v4l2_ctrl_s_ctrl(cx->cxhdl.audio_mode, new_stereo_mode)) in cx18_dualwatch()
Dcx18-streams.c786 cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_start_v4l2_encode_stream()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-fileops.c146 new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_dualwatch()
157 if (v4l2_ctrl_s_ctrl(itv->cxhdl.audio_mode, new_stereo_mode)) in ivtv_dualwatch()
Divtv-streams.c514 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_start_v4l2_encode_stream()
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-wl1273.c746 r = core->set_audio(core, core->audio_mode); in wl1273_fm_set_mode()
2033 radio->core->audio_mode = WL1273_AUDIO_ANALOG; in wl1273_fm_radio_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c2976 static unsigned int get_max_audio_sample_rate(struct audio_mode *modes) in get_max_audio_sample_rate()