/linux/drivers/ps3/ |
H A D | ps3av_cmd.c | 624 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(¶m->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 D | ps3av.c | 411 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 D | saa717x.c | 757 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 D | sony-btf-mpx.c | 117 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 D | xc4000.c | 179 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 D | xc5000.c | 146 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 D | em28xx-core.c | 391 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 D | em28xx.h | 672 struct em28xx_audio_mode audio_mode; member
|
H A D | em28xx-audio.c | 854 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_init()
|
/linux/drivers/media/common/ |
H A D | cx2341x.c | 226 .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 D | dce_audio.c | 790 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 D | cx2341x.h | 42 enum v4l2_mpeg_audio_mode audio_mode; member 125 struct v4l2_ctrl *audio_mode; member
|
/linux/sound/soc/codecs/ |
H A D | cs42l51.c | 47 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 D | wl1273.c | 207 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 D | wl1273-core.h | 264 unsigned int audio_mode; member
|
/linux/drivers/mfd/ |
H A D | wl1273-core.c | 131 core->audio_mode = new_mode; in wl1273_fm_set_audio()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_types.h | 501 struct audio_mode { struct 530 struct audio_mode modes[DC_MAX_AUDIO_DESC_COUNT]; argument
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-fileops.c | 152 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 D | ivtv-fileops.c | 147 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 D | ivtv-streams.c | 511 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_start_v4l2_encode_stream()
|