Home
last modified time | relevance | path

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

/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()
/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()
/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()
/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()
/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()
/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 …]
/drivers/gpu/drm/amd/display/dc/
Ddc_types.h607 struct audio_mode { struct
636 struct audio_mode modes[DC_MAX_AUDIO_DESC_COUNT]; argument
/drivers/mfd/
Dwl1273-core.c131 core->audio_mode = new_mode; in wl1273_fm_set_audio()
/drivers/usb/gadget/function/
Df_accessory.c108 int audio_mode; member
882 return dev->audio_mode; in acc_ioctl()
1011 dev->audio_mode = w_value; in acc_ctrlrequest()
1063 dev->audio_mode = 0; in acc_ctrlrequest()
/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()
/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.c511 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_start_v4l2_encode_stream()
/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()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c2982 static unsigned int get_max_audio_sample_rate(struct audio_mode *modes) in get_max_audio_sample_rate()