| 833 | static u32 DmaCommand[] = { 0xffffffff }; |
| 834 | |
| 835 | inline static BOOL IsImmCommandWithResult(u32 command) |
| 836 | { |
| 837 | u32 i; |
| 838 | |
| 839 | if (command == 9 || command == 10 || command == 11 || command == 12) |
| 840 | { |
| 841 | return TRUE; |
| 842 | } |
| 843 | |
| 844 | for (i = 0; i < sizeof(ImmCommand) / sizeof(ImmCommand[0]); i++) |
| 845 | { |
| 846 | if (command == ImmCommand[i]) |
| 847 | return TRUE; |
| 848 | } |
| 849 | |
| 850 | return FALSE; |
| 851 | } |
| 852 | |
| 853 | inline static BOOL IsDmaCommand(u32 command) |
| 854 | { |