637{
639
641 DWORD dwGlobalStatus;
644
646
647
648
649
652 return ntStatus;
653
654
655
656
659 return ntStatus;
660
661
662 if (wCodecReg != 0x8000)
664
665
666
667
670 return ntStatus;
671
672
673
674
675
677
678
681
682
684
686 else
687
689
690
691
692
693
697
698
701
704
705
706
707
708
709
710
712
713
715
716
718
719
720
721
722
723
724
725
726
729 return ntStatus;
730
731
733
734
737
738
739
740
743 return ntStatus;
744
745
746
747 if (wCodecReg == 0x8000)
749 else if (!wCodecReg)
750 {
751
754 return ntStatus;
755
756
759 return ntStatus;
760
761 if (wCodecReg == 0x8000)
762 {
763
765
767 }
768 else
769
771 }
772 else
773
775
776
779
780
781
782
785 return ntStatus;
786
787
789
790
793
794
795
796
799 return ntStatus;
800
801
803
804
807
808
809
810
813 return ntStatus;
814
815
817
818
821
822
823
824
827 return ntStatus;
828
829
830 if (wCodecReg & 0x0100)
832 else
833 {
834
837 return ntStatus;
838
839
842 return ntStatus;
843
844 if (wCodecReg & 0x0100)
845 {
846
848
850 }
851 else
853 }
854
855
858
859
860
861
863 {
864
865
866
869 return ntStatus;
870
871
872
875 return ntStatus;
876
877
878
879
880
881
883
884
886
887
888
889
891
892
893
895
896
898
899
901 (wCodecReg & 0x0F00) != 0x0A00)
902 {
904 }
905
906
908 (wCodecReg & 0x000F) != 0x000A)
909 {
911 }
912 }
913
914
915
916
917
918
919
920
921
922
924
925
926
927
929 {
931 }
932
933
934
935
937 {
939 }
940
941
942
943
946 return ntStatus;
947
948
949
950
957
958
959
960
961
962 if (wCodecReg)
963 {
964
965
966
967
969
970
971
972
973
974
976 {
977
979
980
985 return ntStatus;
986
987
988
989
991 }
992
993
994
995
997 {
998 dwGlobalStatus = ReadBMControlRegister32 (
GLOB_STA);
999
1000
1001
1002
1006 {
1008 }
1009 else
1010 {
1012 }
1013
1014
1015
1016
1018 }
1019 else
1020 {
1021
1022
1023
1026 }
1027 }
1028
1029
1032
1033
1036
1037
1038
1039
1042
1045
1046
1047
1048
1051
1053}
@ AC97REG_SURROUND_VOLUME
@ AC97REG_RECORD_SAMPLERATE
@ AC97REG_CENTER_LFE_VOLUME
@ AC97REG_FRONT_SAMPLERATE
NTSTATUS Check6thBitSupport(IN AC97Register, IN TopoNodeConfig)
BOOL DisableAC97Pin(IN TopoPinConfig)
@ PINC_CENTER_LFE_PRESENT
@ NODEC_6BIT_CENTER_LFE_VOLUME
@ NODEC_3D_DEPTH_ADJUSTABLE
@ NODEC_PCM_DOUBLERATE_SUPPORTED
@ NODEC_MIC_VARIABLERATE_SUPPORTED
@ NODEC_6BIT_HPOUT_VOLUME
@ NODEC_SURROUND_DAC_PRESENT
@ NODEC_CENTER_DAC_PRESENT
@ NODEC_PCM_VARIABLERATE_SUPPORTED
@ NODEC_3D_CENTER_ADJUSTABLE
@ NODEC_6BIT_SURROUND_VOLUME
@ NODEC_SIMUL_STEREO_PRESENT
@ NODEC_6BIT_MONOOUT_VOLUME
@ NODEC_6BIT_MASTER_VOLUME
@ NODEC_PCM_VSR_INDEPENDENT_RATES
#define STATUS_NO_SUCH_DEVICE