/kernel/linux/linux-5.10/drivers/ps3/ |
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 …]
|
D | ps3av.c | 410 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/ |
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 …]
|
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 512 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/ |
D | em28xx-core.c | 401 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()
|
D | em28xx.h | 682 struct em28xx_audio_mode audio_mode; member
|
D | em28xx-audio.c | 864 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_audio_init()
|
D | em28xx-video.c | 2646 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) { in em28xx_v4l2_init()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | xc4000.c | 179 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()
|
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()
|
/kernel/linux/linux-5.10/drivers/media/common/ |
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 …]
|
/kernel/linux/linux-5.10/include/media/drv-intf/ |
D | cx2341x.h | 42 enum v4l2_mpeg_audio_mode audio_mode; member 125 struct v4l2_ctrl *audio_mode; member
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | cs42l51.c | 47 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()
|
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()
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
D | wl1273-core.h | 264 unsigned int audio_mode; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 607 struct audio_mode { struct 636 struct audio_mode modes[DC_MAX_AUDIO_DESC_COUNT]; argument
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | wl1273-core.c | 131 core->audio_mode = new_mode; in wl1273_fm_set_audio()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
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()
|
D | cx18-streams.c | 786 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/ |
D | ivtv-fileops.c | 146 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()
|
D | ivtv-streams.c | 514 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/ |
D | radio-wl1273.c | 746 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/ |
D | dc_resource.c | 2976 static unsigned int get_max_audio_sample_rate(struct audio_mode *modes) in get_max_audio_sample_rate()
|