Lines Matching refs:audio_mode
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()
783 int ps3av_cmd_audio_mode(struct ps3av_pkt_audio_mode *audio_mode) in ps3av_cmd_audio_mode() argument
787 res = ps3av_do_pkt(PS3AV_CID_AUDIO_MODE, sizeof(*audio_mode), in ps3av_cmd_audio_mode()
788 sizeof(*audio_mode), &audio_mode->send_hdr); in ps3av_cmd_audio_mode()
792 res = get_status(audio_mode); in ps3av_cmd_audio_mode()