Lines Matching full:avs
381 ret = ps3av_set_audio_mode(card->avs.avs_audio_ch, in snd_ps3_change_avsetting()
382 card->avs.avs_audio_rate, in snd_ps3_change_avsetting()
383 card->avs.avs_audio_width, in snd_ps3_change_avsetting()
384 card->avs.avs_audio_format, in snd_ps3_change_avsetting()
385 card->avs.avs_audio_source); in snd_ps3_change_avsetting()
441 struct snd_ps3_avsetting_info avs; in snd_ps3_set_avsetting() local
444 avs = card->avs; in snd_ps3_set_avsetting()
451 card->avs.avs_audio_rate, card->avs.avs_audio_width); in snd_ps3_set_avsetting()
456 avs.avs_audio_rate = PS3AV_CMD_AUDIO_FS_44K; in snd_ps3_set_avsetting()
459 avs.avs_audio_rate = PS3AV_CMD_AUDIO_FS_48K; in snd_ps3_set_avsetting()
462 avs.avs_audio_rate = PS3AV_CMD_AUDIO_FS_88K; in snd_ps3_set_avsetting()
465 avs.avs_audio_rate = PS3AV_CMD_AUDIO_FS_96K; in snd_ps3_set_avsetting()
476 avs.avs_audio_width = PS3AV_CMD_AUDIO_WORD_BITS_16; in snd_ps3_set_avsetting()
479 avs.avs_audio_width = PS3AV_CMD_AUDIO_WORD_BITS_24; in snd_ps3_set_avsetting()
487 memcpy(avs.avs_cs_info, ps3av_mode_cs_info, 8); in snd_ps3_set_avsetting()
489 if (memcmp(&card->avs, &avs, sizeof(avs))) { in snd_ps3_set_avsetting()
491 card->avs.avs_audio_rate, card->avs.avs_audio_width); in snd_ps3_set_avsetting()
493 card->avs = avs; in snd_ps3_set_avsetting()
500 if (avs.avs_cs_info[0] & 0x02) in snd_ps3_set_avsetting()
875 card->avs.avs_audio_ch = PS3AV_CMD_AUDIO_NUM_OF_CH_2; in snd_ps3_init_avsetting()
876 card->avs.avs_audio_rate = PS3AV_CMD_AUDIO_FS_48K; in snd_ps3_init_avsetting()
877 card->avs.avs_audio_width = PS3AV_CMD_AUDIO_WORD_BITS_16; in snd_ps3_init_avsetting()
878 card->avs.avs_audio_format = PS3AV_CMD_AUDIO_FORMAT_PCM; in snd_ps3_init_avsetting()
879 card->avs.avs_audio_source = PS3AV_CMD_AUDIO_SOURCE_SERIAL; in snd_ps3_init_avsetting()
880 memcpy(card->avs.avs_cs_info, ps3av_mode_cs_info, 8); in snd_ps3_init_avsetting()