Home
last modified time | relevance | path

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

/linux/drivers/ps3/
H A 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 …]
H A Dps3av.c411 struct ps3av_pkt_audio_mode audio_mode; in ps3av_set_audio_mode() local
436 ps3av_cmd_set_audio_mode(&audio_mode, ps3av->av_port[i], ch, in ps3av_set_audio_mode()
442 &audio_mode, vid); in ps3av_set_audio_mode()
445 res = ps3av_cmd_audio_mode(&audio_mode); in ps3av_set_audio_mode()
/linux/drivers/media/i2c/
H A 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 …]
H A 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()
/linux/drivers/media/tuners/
H A Dxc4000.c179 u16 audio_mode; member
348 u16 video_mode, u16 audio_mode) in xc_set_tv_standard() argument
351 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard()
361 ret = xc_write_reg(priv, XREG_AUDIO_MODE, audio_mode); in xc_set_tv_standard()
1213 u16 video_mode, audio_mode; in xc4000_set_params() local
1215 audio_mode = xc4000_standard[priv->video_standard].audio_mode; in xc4000_set_params()
1218 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_params()
1407 u16 video_mode, audio_mode; in xc4000_set_analog_params() local
1409 audio_mode = xc4000_standard[priv->video_standard].audio_mode; in xc4000_set_analog_params()
1419 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_analog_params()
H A 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()
/linux/drivers/media/usb/em28xx/
H A Dem28xx-core.c391 switch (dev->audio_mode.ac97) { in em28xx_set_audio_source()
427 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_analog_set()
451 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_analog_set()
535 dev->audio_mode.ac97 = EM28XX_NO_AC97; in em28xx_audio_setup()
541 dev->audio_mode.ac97 = EM28XX_AC97_OTHER; in em28xx_audio_setup()
552 dev->audio_mode.ac97 = EM28XX_NO_AC97; in em28xx_audio_setup()
574 dev->audio_mode.ac97 = EM28XX_AC97_EM202; in em28xx_audio_setup()
576 dev->audio_mode.ac97 = EM28XX_AC97_SIGMATEL; in em28xx_audio_setup()
580 switch (dev->audio_mode.ac97) { in em28xx_audio_setup()
H A Dem28xx.h672 struct em28xx_audio_mode audio_mode; member
H A Dem28xx-audio.c854 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_init()
/linux/drivers/media/common/
H A 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 …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c790 const struct audio_mode *audio_mode = in dce_aud_az_configure() local
793 audio_mode->sample_rates; in dce_aud_az_configure()
794 uint8_t byte2 = audio_mode->max_bit_rate; in dce_aud_az_configure()
795 uint8_t channel_count = audio_mode->channel_count; in dce_aud_az_configure()
808 byte2 = audio_mode->sample_size; in dce_aud_az_configure()
824 byte2 = audio_mode->vendor_specific; in dce_aud_az_configure()
/linux/include/media/drv-intf/
H A Dcx2341x.h42 enum v4l2_mpeg_audio_mode audio_mode; member
125 struct v4l2_ctrl *audio_mode; member
/linux/sound/soc/codecs/
H A Dcs42l51.c47 unsigned int audio_mode; /* The mode (I2S or left-justified) */ member
317 cs42l51->audio_mode = format & SND_SOC_DAIFMT_FORMAT_MASK; in cs42l51_set_dai_fmt()
466 switch (cs42l51->audio_mode) { in cs42l51_hw_params()
H A 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()
/linux/include/linux/mfd/
H A Dwl1273-core.h264 unsigned int audio_mode; member
/linux/drivers/mfd/
H A Dwl1273-core.c131 core->audio_mode = new_mode; in wl1273_fm_set_audio()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h501 struct audio_mode { struct
530 struct audio_mode modes[DC_MAX_AUDIO_DESC_COUNT]; argument
/linux/drivers/media/pci/cx18/
H A 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()
/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c147 new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_dualwatch()
158 if (v4l2_ctrl_s_ctrl(itv->cxhdl.audio_mode, new_stereo_mode)) in ivtv_dualwatch()
H A Divtv-streams.c511 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_start_v4l2_encode_stream()