diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-14 23:51:30 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:14:43 -0500 |
commit | e153a97c2103706e3d2308e70c78b95b4f040321 (patch) | |
tree | 80c5dae0e44fdf357699d2917bc294f9e85c159f /arch/blackfin/mach-bf538 | |
parent | cd32cc73625641c068393978e7bb337d29c0cd29 (diff) |
Blackfin: punt unused MXVR masks
There are no MXVR device drivers, and if someday there is, we can put
these in a dedicated header rather than polluting the global namespace.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf538')
-rw-r--r-- | arch/blackfin/mach-bf538/include/mach/defBF539.h | 1013 |
1 files changed, 0 insertions, 1013 deletions
diff --git a/arch/blackfin/mach-bf538/include/mach/defBF539.h b/arch/blackfin/mach-bf538/include/mach/defBF539.h index 5a9d0d56ea75..312686a5194d 100644 --- a/arch/blackfin/mach-bf538/include/mach/defBF539.h +++ b/arch/blackfin/mach-bf538/include/mach/defBF539.h | |||
@@ -2540,1019 +2540,6 @@ | |||
2540 | #define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */ | 2540 | #define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */ |
2541 | 2541 | ||
2542 | 2542 | ||
2543 | /********************************* MXVR MASKS ****************************************/ | ||
2544 | |||
2545 | /* MXVR_CONFIG Masks */ | ||
2546 | |||
2547 | #define MXVREN 0x00000001lu | ||
2548 | #define MMSM 0x00000002lu | ||
2549 | #define ACTIVE 0x00000004lu | ||
2550 | #define SDELAY 0x00000008lu | ||
2551 | #define NCMRXEN 0x00000010lu | ||
2552 | #define RWRRXEN 0x00000020lu | ||
2553 | #define MTXEN 0x00000040lu | ||
2554 | #define MTXON 0x00000080lu /*legacy*/ | ||
2555 | #define MTXONB 0x00000080lu | ||
2556 | #define EPARITY 0x00000100lu | ||
2557 | #define MSB 0x00001E00lu | ||
2558 | #define APRXEN 0x00002000lu | ||
2559 | #define WAKEUP 0x00004000lu | ||
2560 | #define LMECH 0x00008000lu | ||
2561 | |||
2562 | #ifdef _MISRA_RULES | ||
2563 | #define SET_MSB(x) (((x)&0xFu) << 0x9) | ||
2564 | #else | ||
2565 | #define SET_MSB(x) (((x)&0xF) << 0x9) | ||
2566 | #endif /* _MISRA_RULES */ | ||
2567 | |||
2568 | |||
2569 | /* MXVR_PLL_CTL_0 Masks */ | ||
2570 | |||
2571 | #define MXTALCEN 0x00000001lu | ||
2572 | #define MXTALFEN 0x00000002lu | ||
2573 | #define MPLLMS 0x00000008lu | ||
2574 | #define MXTALMUL 0x00000030lu | ||
2575 | #define MPLLEN 0x00000040lu | ||
2576 | #define MPLLEN0 0x00000040lu /* legacy */ | ||
2577 | #define MPLLEN1 0x00000080lu /* legacy */ | ||
2578 | #define MMCLKEN 0x00000100lu | ||
2579 | #define MMCLKMUL 0x00001E00lu | ||
2580 | #define MPLLRSTB 0x00002000lu | ||
2581 | #define MPLLRSTB0 0x00002000lu /* legacy */ | ||
2582 | #define MPLLRSTB1 0x00004000lu /* legacy */ | ||
2583 | #define MBCLKEN 0x00010000lu | ||
2584 | #define MBCLKDIV 0x001E0000lu | ||
2585 | #define MPLLCDR 0x00200000lu | ||
2586 | #define MPLLCDR0 0x00200000lu /* legacy */ | ||
2587 | #define MPLLCDR1 0x00400000lu /* legacy */ | ||
2588 | #define INVRX 0x00800000lu | ||
2589 | #define MFSEN 0x01000000lu | ||
2590 | #define MFSDIV 0x1E000000lu | ||
2591 | #define MFSSEL 0x60000000lu | ||
2592 | #define MFSSYNC 0x80000000lu | ||
2593 | |||
2594 | #define MXTALMUL_256FS 0x00000000lu /* legacy */ | ||
2595 | #define MXTALMUL_384FS 0x00000010lu /* legacy */ | ||
2596 | #define MXTALMUL_512FS 0x00000020lu /* legacy */ | ||
2597 | #define MXTALMUL_1024FS 0x00000030lu | ||
2598 | |||
2599 | #define MMCLKMUL_1024FS 0x00000000lu | ||
2600 | #define MMCLKMUL_512FS 0x00000200lu | ||
2601 | #define MMCLKMUL_256FS 0x00000400lu | ||
2602 | #define MMCLKMUL_128FS 0x00000600lu | ||
2603 | #define MMCLKMUL_64FS 0x00000800lu | ||
2604 | #define MMCLKMUL_32FS 0x00000A00lu | ||
2605 | #define MMCLKMUL_16FS 0x00000C00lu | ||
2606 | #define MMCLKMUL_8FS 0x00000E00lu | ||
2607 | #define MMCLKMUL_4FS 0x00001000lu | ||
2608 | #define MMCLKMUL_2FS 0x00001200lu | ||
2609 | #define MMCLKMUL_1FS 0x00001400lu | ||
2610 | #define MMCLKMUL_1536FS 0x00001A00lu | ||
2611 | #define MMCLKMUL_768FS 0x00001C00lu | ||
2612 | #define MMCLKMUL_384FS 0x00001E00lu | ||
2613 | |||
2614 | #define MBCLKDIV_DIV2 0x00020000lu | ||
2615 | #define MBCLKDIV_DIV4 0x00040000lu | ||
2616 | #define MBCLKDIV_DIV8 0x00060000lu | ||
2617 | #define MBCLKDIV_DIV16 0x00080000lu | ||
2618 | #define MBCLKDIV_DIV32 0x000A0000lu | ||
2619 | #define MBCLKDIV_DIV64 0x000C0000lu | ||
2620 | #define MBCLKDIV_DIV128 0x000E0000lu | ||
2621 | #define MBCLKDIV_DIV256 0x00100000lu | ||
2622 | #define MBCLKDIV_DIV512 0x00120000lu | ||
2623 | #define MBCLKDIV_DIV1024 0x00140000lu | ||
2624 | |||
2625 | #define MFSDIV_DIV2 0x02000000lu | ||
2626 | #define MFSDIV_DIV4 0x04000000lu | ||
2627 | #define MFSDIV_DIV8 0x06000000lu | ||
2628 | #define MFSDIV_DIV16 0x08000000lu | ||
2629 | #define MFSDIV_DIV32 0x0A000000lu | ||
2630 | #define MFSDIV_DIV64 0x0C000000lu | ||
2631 | #define MFSDIV_DIV128 0x0E000000lu | ||
2632 | #define MFSDIV_DIV256 0x10000000lu | ||
2633 | #define MFSDIV_DIV512 0x12000000lu | ||
2634 | #define MFSDIV_DIV1024 0x14000000lu | ||
2635 | |||
2636 | #define MFSSEL_CLOCK 0x00000000lu | ||
2637 | #define MFSSEL_PULSE_HI 0x20000000lu | ||
2638 | #define MFSSEL_PULSE_LO 0x40000000lu | ||
2639 | |||
2640 | |||
2641 | /* MXVR_PLL_CTL_1 Masks */ | ||
2642 | |||
2643 | #define MSTO 0x00000001lu | ||
2644 | #define MSTO0 0x00000001lu /* legacy */ | ||
2645 | #define MHOGGD 0x00000004lu | ||
2646 | #define MHOGGD0 0x00000004lu /* legacy */ | ||
2647 | #define MHOGGD1 0x00000008lu /* legacy */ | ||
2648 | #define MSHAPEREN 0x00000010lu | ||
2649 | #define MSHAPEREN0 0x00000010lu /* legacy */ | ||
2650 | #define MSHAPEREN1 0x00000020lu /* legacy */ | ||
2651 | #define MPLLCNTEN 0x00008000lu | ||
2652 | #define MPLLCNT 0xFFFF0000lu | ||
2653 | |||
2654 | #ifdef _MISRA_RULES | ||
2655 | #define SET_MPLLCNT(x) (((x)&0xFFFFu) << 0x10) | ||
2656 | #else | ||
2657 | #define SET_MPLLCNT(x) (((x)&0xFFFF) << 0x10) | ||
2658 | #endif /* _MISRA_RULES */ | ||
2659 | |||
2660 | |||
2661 | /* MXVR_PLL_CTL_2 Masks */ | ||
2662 | |||
2663 | #define MSHAPERSEL 0x00000007lu | ||
2664 | #define MCPSEL 0x000000E0lu | ||
2665 | |||
2666 | /* MXVR_INT_STAT_0 Masks */ | ||
2667 | |||
2668 | #define NI2A 0x00000001lu | ||
2669 | #define NA2I 0x00000002lu | ||
2670 | #define SBU2L 0x00000004lu | ||
2671 | #define SBL2U 0x00000008lu | ||
2672 | #define PRU 0x00000010lu | ||
2673 | #define MPRU 0x00000020lu | ||
2674 | #define DRU 0x00000040lu | ||
2675 | #define MDRU 0x00000080lu | ||
2676 | #define SBU 0x00000100lu | ||
2677 | #define ATU 0x00000200lu | ||
2678 | #define FCZ0 0x00000400lu | ||
2679 | #define FCZ1 0x00000800lu | ||
2680 | #define PERR 0x00001000lu | ||
2681 | #define MH2L 0x00002000lu | ||
2682 | #define ML2H 0x00004000lu | ||
2683 | #define WUP 0x00008000lu | ||
2684 | #define FU2L 0x00010000lu | ||
2685 | #define FL2U 0x00020000lu | ||
2686 | #define BU2L 0x00040000lu | ||
2687 | #define BL2U 0x00080000lu | ||
2688 | #define PCZ 0x00400000lu | ||
2689 | #define FERR 0x00800000lu | ||
2690 | #define CMR 0x01000000lu | ||
2691 | #define CMROF 0x02000000lu | ||
2692 | #define CMTS 0x04000000lu | ||
2693 | #define CMTC 0x08000000lu | ||
2694 | #define RWRC 0x10000000lu | ||
2695 | #define BCZ 0x20000000lu | ||
2696 | #define BMERR 0x40000000lu | ||
2697 | #define DERR 0x80000000lu | ||
2698 | |||
2699 | |||
2700 | /* MXVR_INT_EN_0 Masks */ | ||
2701 | |||
2702 | #define NI2AEN NI2A | ||
2703 | #define NA2IEN NA2I | ||
2704 | #define SBU2LEN SBU2L | ||
2705 | #define SBL2UEN SBL2U | ||
2706 | #define PRUEN PRU | ||
2707 | #define MPRUEN MPRU | ||
2708 | #define DRUEN DRU | ||
2709 | #define MDRUEN MDRU | ||
2710 | #define SBUEN SBU | ||
2711 | #define ATUEN ATU | ||
2712 | #define FCZ0EN FCZ0 | ||
2713 | #define FCZ1EN FCZ1 | ||
2714 | #define PERREN PERR | ||
2715 | #define MH2LEN MH2L | ||
2716 | #define ML2HEN ML2H | ||
2717 | #define WUPEN WUP | ||
2718 | #define FU2LEN FU2L | ||
2719 | #define FL2UEN FL2U | ||
2720 | #define BU2LEN BU2L | ||
2721 | #define BL2UEN BL2U | ||
2722 | #define PCZEN PCZ | ||
2723 | #define FERREN FERR | ||
2724 | #define CMREN CMR | ||
2725 | #define CMROFEN CMROF | ||
2726 | #define CMTSEN CMTS | ||
2727 | #define CMTCEN CMTC | ||
2728 | #define RWRCEN RWRC | ||
2729 | #define BCZEN BCZ | ||
2730 | #define BMERREN BMERR | ||
2731 | #define DERREN DERR | ||
2732 | |||
2733 | |||
2734 | /* MXVR_INT_STAT_1 Masks */ | ||
2735 | |||
2736 | #define APR 0x00000004lu | ||
2737 | #define APROF 0x00000008lu | ||
2738 | #define APTS 0x00000040lu | ||
2739 | #define APTC 0x00000080lu | ||
2740 | #define APRCE 0x00000400lu | ||
2741 | #define APRPE 0x00000800lu | ||
2742 | |||
2743 | #define HDONE0 0x00000001lu | ||
2744 | #define DONE0 0x00000002lu | ||
2745 | #define HDONE1 0x00000010lu | ||
2746 | #define DONE1 0x00000020lu | ||
2747 | #define HDONE2 0x00000100lu | ||
2748 | #define DONE2 0x00000200lu | ||
2749 | #define HDONE3 0x00001000lu | ||
2750 | #define DONE3 0x00002000lu | ||
2751 | #define HDONE4 0x00010000lu | ||
2752 | #define DONE4 0x00020000lu | ||
2753 | #define HDONE5 0x00100000lu | ||
2754 | #define DONE5 0x00200000lu | ||
2755 | #define HDONE6 0x01000000lu | ||
2756 | #define DONE6 0x02000000lu | ||
2757 | #define HDONE7 0x10000000lu | ||
2758 | #define DONE7 0x20000000lu | ||
2759 | |||
2760 | #define DONEX(x) (0x00000002 << (4 * (x))) | ||
2761 | #define HDONEX(x) (0x00000001 << (4 * (x))) | ||
2762 | |||
2763 | |||
2764 | /* MXVR_INT_EN_1 Masks */ | ||
2765 | |||
2766 | #define APREN APR | ||
2767 | #define APROFEN APROF | ||
2768 | #define APTSEN APTS | ||
2769 | #define APTCEN APTC | ||
2770 | #define APRCEEN APRCE | ||
2771 | #define APRPEEN APRPE | ||
2772 | |||
2773 | #define HDONEEN0 HDONE0 | ||
2774 | #define DONEEN0 DONE0 | ||
2775 | #define HDONEEN1 HDONE1 | ||
2776 | #define DONEEN1 DONE1 | ||
2777 | #define HDONEEN2 HDONE2 | ||
2778 | #define DONEEN2 DONE2 | ||
2779 | #define HDONEEN3 HDONE3 | ||
2780 | #define DONEEN3 DONE3 | ||
2781 | #define HDONEEN4 HDONE4 | ||
2782 | #define DONEEN4 DONE4 | ||
2783 | #define HDONEEN5 HDONE5 | ||
2784 | #define DONEEN5 DONE5 | ||
2785 | #define HDONEEN6 HDONE6 | ||
2786 | #define DONEEN6 DONE6 | ||
2787 | #define HDONEEN7 HDONE7 | ||
2788 | #define DONEEN7 DONE7 | ||
2789 | |||
2790 | #define DONEENX(x) (0x00000002 << (4 * (x))) | ||
2791 | #define HDONEENX(x) (0x00000001 << (4 * (x))) | ||
2792 | |||
2793 | |||
2794 | /* MXVR_STATE_0 Masks */ | ||
2795 | |||
2796 | #define NACT 0x00000001lu | ||
2797 | #define SBLOCK 0x00000002lu | ||
2798 | #define PFDLOCK 0x00000004lu | ||
2799 | #define PFDLOCK0 0x00000004lu /* legacy */ | ||
2800 | #define PDD 0x00000008lu | ||
2801 | #define PDD0 0x00000008lu /* legacy */ | ||
2802 | #define PVCO 0x00000010lu | ||
2803 | #define PVCO0 0x00000010lu /* legacy */ | ||
2804 | #define PFDLOCK1 0x00000020lu /* legacy */ | ||
2805 | #define PDD1 0x00000040lu /* legacy */ | ||
2806 | #define PVCO1 0x00000080lu /* legacy */ | ||
2807 | #define APBSY 0x00000100lu | ||
2808 | #define APARB 0x00000200lu | ||
2809 | #define APTX 0x00000400lu | ||
2810 | #define APRX 0x00000800lu | ||
2811 | #define CMBSY 0x00001000lu | ||
2812 | #define CMARB 0x00002000lu | ||
2813 | #define CMTX 0x00004000lu | ||
2814 | #define CMRX 0x00008000lu | ||
2815 | #define MRXONB 0x00010000lu | ||
2816 | #define RGSIP 0x00020000lu | ||
2817 | #define DALIP 0x00040000lu | ||
2818 | #define ALIP 0x00080000lu | ||
2819 | #define RRDIP 0x00100000lu | ||
2820 | #define RWRIP 0x00200000lu | ||
2821 | #define FLOCK 0x00400000lu | ||
2822 | #define BLOCK 0x00800000lu | ||
2823 | #define RSB 0x0F000000lu | ||
2824 | #define DERRNUM 0xF0000000lu | ||
2825 | |||
2826 | |||
2827 | /* MXVR_STATE_1 Masks */ | ||
2828 | |||
2829 | #define STXNUMB 0x0000000Flu | ||
2830 | #define SRXNUMB 0x000000F0lu | ||
2831 | #define APCONT 0x00000100lu | ||
2832 | #define DMAACTIVEX 0x00FF0000lu | ||
2833 | #define DMAACTIVE0 0x00010000lu | ||
2834 | #define DMAACTIVE1 0x00020000lu | ||
2835 | #define DMAACTIVE2 0x00040000lu | ||
2836 | #define DMAACTIVE3 0x00080000lu | ||
2837 | #define DMAACTIVE4 0x00100000lu | ||
2838 | #define DMAACTIVE5 0x00200000lu | ||
2839 | #define DMAACTIVE6 0x00400000lu | ||
2840 | #define DMAACTIVE7 0x00800000lu | ||
2841 | #define DMAPMENX 0xFF000000lu | ||
2842 | #define DMAPMEN0 0x01000000lu | ||
2843 | #define DMAPMEN1 0x02000000lu | ||
2844 | #define DMAPMEN2 0x04000000lu | ||
2845 | #define DMAPMEN3 0x08000000lu | ||
2846 | #define DMAPMEN4 0x10000000lu | ||
2847 | #define DMAPMEN5 0x20000000lu | ||
2848 | #define DMAPMEN6 0x40000000lu | ||
2849 | #define DMAPMEN7 0x80000000lu | ||
2850 | |||
2851 | |||
2852 | /* MXVR_POSITION Masks */ | ||
2853 | |||
2854 | #define PVALID 0x8000 | ||
2855 | #define POSITION 0x003F | ||
2856 | |||
2857 | |||
2858 | /* MXVR_MAX_POSITION Masks */ | ||
2859 | |||
2860 | #define MPVALID 0x8000 | ||
2861 | #define MPOSITION 0x003F | ||
2862 | |||
2863 | |||
2864 | /* MXVR_DELAY Masks */ | ||
2865 | |||
2866 | #define DVALID 0x8000 | ||
2867 | #define DELAY 0x003F | ||
2868 | |||
2869 | |||
2870 | /* MXVR_MAX_DELAY Masks */ | ||
2871 | |||
2872 | #define MDVALID 0x8000 | ||
2873 | #define MDELAY 0x003F | ||
2874 | |||
2875 | |||
2876 | /* MXVR_LADDR Masks */ | ||
2877 | |||
2878 | #define LVALID 0x80000000lu | ||
2879 | #define LADDR 0x0000FFFFlu | ||
2880 | |||
2881 | |||
2882 | /* MXVR_GADDR Masks */ | ||
2883 | |||
2884 | #define GVALID 0x8000 | ||
2885 | #define GADDRL 0x00FF | ||
2886 | |||
2887 | |||
2888 | /* MXVR_AADDR Masks */ | ||
2889 | |||
2890 | #define AVALID 0x80000000lu | ||
2891 | #define AADDR 0x0000FFFFlu | ||
2892 | |||
2893 | |||
2894 | /* MXVR_ALLOC_0 Masks */ | ||
2895 | |||
2896 | #define CIU0 0x00000080lu | ||
2897 | #define CIU1 0x00008000lu | ||
2898 | #define CIU2 0x00800000lu | ||
2899 | #define CIU3 0x80000000lu | ||
2900 | |||
2901 | #define CL0 0x0000007Flu | ||
2902 | #define CL1 0x00007F00lu | ||
2903 | #define CL2 0x007F0000lu | ||
2904 | #define CL3 0x7F000000lu | ||
2905 | |||
2906 | |||
2907 | /* MXVR_ALLOC_1 Masks */ | ||
2908 | |||
2909 | #define CIU4 0x00000080lu | ||
2910 | #define CIU5 0x00008000lu | ||
2911 | #define CIU6 0x00800000lu | ||
2912 | #define CIU7 0x80000000lu | ||
2913 | |||
2914 | #define CL4 0x0000007Flu | ||
2915 | #define CL5 0x00007F00lu | ||
2916 | #define CL6 0x007F0000lu | ||
2917 | #define CL7 0x7F000000lu | ||
2918 | |||
2919 | |||
2920 | /* MXVR_ALLOC_2 Masks */ | ||
2921 | |||
2922 | #define CIU8 0x00000080lu | ||
2923 | #define CIU9 0x00008000lu | ||
2924 | #define CIU10 0x00800000lu | ||
2925 | #define CIU11 0x80000000lu | ||
2926 | |||
2927 | #define CL8 0x0000007Flu | ||
2928 | #define CL9 0x00007F00lu | ||
2929 | #define CL10 0x007F0000lu | ||
2930 | #define CL11 0x7F000000lu | ||
2931 | |||
2932 | |||
2933 | /* MXVR_ALLOC_3 Masks */ | ||
2934 | |||
2935 | #define CIU12 0x00000080lu | ||
2936 | #define CIU13 0x00008000lu | ||
2937 | #define CIU14 0x00800000lu | ||
2938 | #define CIU15 0x80000000lu | ||
2939 | |||
2940 | #define CL12 0x0000007Flu | ||
2941 | #define CL13 0x00007F00lu | ||
2942 | #define CL14 0x007F0000lu | ||
2943 | #define CL15 0x7F000000lu | ||
2944 | |||
2945 | |||
2946 | /* MXVR_ALLOC_4 Masks */ | ||
2947 | |||
2948 | #define CIU16 0x00000080lu | ||
2949 | #define CIU17 0x00008000lu | ||
2950 | #define CIU18 0x00800000lu | ||
2951 | #define CIU19 0x80000000lu | ||
2952 | |||
2953 | #define CL16 0x0000007Flu | ||
2954 | #define CL17 0x00007F00lu | ||
2955 | #define CL18 0x007F0000lu | ||
2956 | #define CL19 0x7F000000lu | ||
2957 | |||
2958 | |||
2959 | /* MXVR_ALLOC_5 Masks */ | ||
2960 | |||
2961 | #define CIU20 0x00000080lu | ||
2962 | #define CIU21 0x00008000lu | ||
2963 | #define CIU22 0x00800000lu | ||
2964 | #define CIU23 0x80000000lu | ||
2965 | |||
2966 | #define CL20 0x0000007Flu | ||
2967 | #define CL21 0x00007F00lu | ||
2968 | #define CL22 0x007F0000lu | ||
2969 | #define CL23 0x7F000000lu | ||
2970 | |||
2971 | |||
2972 | /* MXVR_ALLOC_6 Masks */ | ||
2973 | |||
2974 | #define CIU24 0x00000080lu | ||
2975 | #define CIU25 0x00008000lu | ||
2976 | #define CIU26 0x00800000lu | ||
2977 | #define CIU27 0x80000000lu | ||
2978 | |||
2979 | #define CL24 0x0000007Flu | ||
2980 | #define CL25 0x00007F00lu | ||
2981 | #define CL26 0x007F0000lu | ||
2982 | #define CL27 0x7F000000lu | ||
2983 | |||
2984 | |||
2985 | /* MXVR_ALLOC_7 Masks */ | ||
2986 | |||
2987 | #define CIU28 0x00000080lu | ||
2988 | #define CIU29 0x00008000lu | ||
2989 | #define CIU30 0x00800000lu | ||
2990 | #define CIU31 0x80000000lu | ||
2991 | |||
2992 | #define CL28 0x0000007Flu | ||
2993 | #define CL29 0x00007F00lu | ||
2994 | #define CL30 0x007F0000lu | ||
2995 | #define CL31 0x7F000000lu | ||
2996 | |||
2997 | |||
2998 | /* MXVR_ALLOC_8 Masks */ | ||
2999 | |||
3000 | #define CIU32 0x00000080lu | ||
3001 | #define CIU33 0x00008000lu | ||
3002 | #define CIU34 0x00800000lu | ||
3003 | #define CIU35 0x80000000lu | ||
3004 | |||
3005 | #define CL32 0x0000007Flu | ||
3006 | #define CL33 0x00007F00lu | ||
3007 | #define CL34 0x007F0000lu | ||
3008 | #define CL35 0x7F000000lu | ||
3009 | |||
3010 | |||
3011 | /* MXVR_ALLOC_9 Masks */ | ||
3012 | |||
3013 | #define CIU36 0x00000080lu | ||
3014 | #define CIU37 0x00008000lu | ||
3015 | #define CIU38 0x00800000lu | ||
3016 | #define CIU39 0x80000000lu | ||
3017 | |||
3018 | #define CL36 0x0000007Flu | ||
3019 | #define CL37 0x00007F00lu | ||
3020 | #define CL38 0x007F0000lu | ||
3021 | #define CL39 0x7F000000lu | ||
3022 | |||
3023 | |||
3024 | /* MXVR_ALLOC_10 Masks */ | ||
3025 | |||
3026 | #define CIU40 0x00000080lu | ||
3027 | #define CIU41 0x00008000lu | ||
3028 | #define CIU42 0x00800000lu | ||
3029 | #define CIU43 0x80000000lu | ||
3030 | |||
3031 | #define CL40 0x0000007Flu | ||
3032 | #define CL41 0x00007F00lu | ||
3033 | #define CL42 0x007F0000lu | ||
3034 | #define CL43 0x7F000000lu | ||
3035 | |||
3036 | |||
3037 | /* MXVR_ALLOC_11 Masks */ | ||
3038 | |||
3039 | #define CIU44 0x00000080lu | ||
3040 | #define CIU45 0x00008000lu | ||
3041 | #define CIU46 0x00800000lu | ||
3042 | #define CIU47 0x80000000lu | ||
3043 | |||
3044 | #define CL44 0x0000007Flu | ||
3045 | #define CL45 0x00007F00lu | ||
3046 | #define CL46 0x007F0000lu | ||
3047 | #define CL47 0x7F000000lu | ||
3048 | |||
3049 | |||
3050 | /* MXVR_ALLOC_12 Masks */ | ||
3051 | |||
3052 | #define CIU48 0x00000080lu | ||
3053 | #define CIU49 0x00008000lu | ||
3054 | #define CIU50 0x00800000lu | ||
3055 | #define CIU51 0x80000000lu | ||
3056 | |||
3057 | #define CL48 0x0000007Flu | ||
3058 | #define CL49 0x00007F00lu | ||
3059 | #define CL50 0x007F0000lu | ||
3060 | #define CL51 0x7F000000lu | ||
3061 | |||
3062 | |||
3063 | /* MXVR_ALLOC_13 Masks */ | ||
3064 | |||
3065 | #define CIU52 0x00000080lu | ||
3066 | #define CIU53 0x00008000lu | ||
3067 | #define CIU54 0x00800000lu | ||
3068 | #define CIU55 0x80000000lu | ||
3069 | |||
3070 | #define CL52 0x0000007Flu | ||
3071 | #define CL53 0x00007F00lu | ||
3072 | #define CL54 0x007F0000lu | ||
3073 | #define CL55 0x7F000000lu | ||
3074 | |||
3075 | |||
3076 | /* MXVR_ALLOC_14 Masks */ | ||
3077 | |||
3078 | #define CIU56 0x00000080lu | ||
3079 | #define CIU57 0x00008000lu | ||
3080 | #define CIU58 0x00800000lu | ||
3081 | #define CIU59 0x80000000lu | ||
3082 | |||
3083 | #define CL56 0x0000007Flu | ||
3084 | #define CL57 0x00007F00lu | ||
3085 | #define CL58 0x007F0000lu | ||
3086 | #define CL59 0x7F000000lu | ||
3087 | |||
3088 | |||
3089 | /* MXVR_SYNC_LCHAN_0 Masks */ | ||
3090 | |||
3091 | #define LCHANPC0 0x0000000Flu | ||
3092 | #define LCHANPC1 0x000000F0lu | ||
3093 | #define LCHANPC2 0x00000F00lu | ||
3094 | #define LCHANPC3 0x0000F000lu | ||
3095 | #define LCHANPC4 0x000F0000lu | ||
3096 | #define LCHANPC5 0x00F00000lu | ||
3097 | #define LCHANPC6 0x0F000000lu | ||
3098 | #define LCHANPC7 0xF0000000lu | ||
3099 | |||
3100 | |||
3101 | /* MXVR_SYNC_LCHAN_1 Masks */ | ||
3102 | |||
3103 | #define LCHANPC8 0x0000000Flu | ||
3104 | #define LCHANPC9 0x000000F0lu | ||
3105 | #define LCHANPC10 0x00000F00lu | ||
3106 | #define LCHANPC11 0x0000F000lu | ||
3107 | #define LCHANPC12 0x000F0000lu | ||
3108 | #define LCHANPC13 0x00F00000lu | ||
3109 | #define LCHANPC14 0x0F000000lu | ||
3110 | #define LCHANPC15 0xF0000000lu | ||
3111 | |||
3112 | |||
3113 | /* MXVR_SYNC_LCHAN_2 Masks */ | ||
3114 | |||
3115 | #define LCHANPC16 0x0000000Flu | ||
3116 | #define LCHANPC17 0x000000F0lu | ||
3117 | #define LCHANPC18 0x00000F00lu | ||
3118 | #define LCHANPC19 0x0000F000lu | ||
3119 | #define LCHANPC20 0x000F0000lu | ||
3120 | #define LCHANPC21 0x00F00000lu | ||
3121 | #define LCHANPC22 0x0F000000lu | ||
3122 | #define LCHANPC23 0xF0000000lu | ||
3123 | |||
3124 | |||
3125 | /* MXVR_SYNC_LCHAN_3 Masks */ | ||
3126 | |||
3127 | #define LCHANPC24 0x0000000Flu | ||
3128 | #define LCHANPC25 0x000000F0lu | ||
3129 | #define LCHANPC26 0x00000F00lu | ||
3130 | #define LCHANPC27 0x0000F000lu | ||
3131 | #define LCHANPC28 0x000F0000lu | ||
3132 | #define LCHANPC29 0x00F00000lu | ||
3133 | #define LCHANPC30 0x0F000000lu | ||
3134 | #define LCHANPC31 0xF0000000lu | ||
3135 | |||
3136 | |||
3137 | /* MXVR_SYNC_LCHAN_4 Masks */ | ||
3138 | |||
3139 | #define LCHANPC32 0x0000000Flu | ||
3140 | #define LCHANPC33 0x000000F0lu | ||
3141 | #define LCHANPC34 0x00000F00lu | ||
3142 | #define LCHANPC35 0x0000F000lu | ||
3143 | #define LCHANPC36 0x000F0000lu | ||
3144 | #define LCHANPC37 0x00F00000lu | ||
3145 | #define LCHANPC38 0x0F000000lu | ||
3146 | #define LCHANPC39 0xF0000000lu | ||
3147 | |||
3148 | |||
3149 | /* MXVR_SYNC_LCHAN_5 Masks */ | ||
3150 | |||
3151 | #define LCHANPC40 0x0000000Flu | ||
3152 | #define LCHANPC41 0x000000F0lu | ||
3153 | #define LCHANPC42 0x00000F00lu | ||
3154 | #define LCHANPC43 0x0000F000lu | ||
3155 | #define LCHANPC44 0x000F0000lu | ||
3156 | #define LCHANPC45 0x00F00000lu | ||
3157 | #define LCHANPC46 0x0F000000lu | ||
3158 | #define LCHANPC47 0xF0000000lu | ||
3159 | |||
3160 | |||
3161 | /* MXVR_SYNC_LCHAN_6 Masks */ | ||
3162 | |||
3163 | #define LCHANPC48 0x0000000Flu | ||
3164 | #define LCHANPC49 0x000000F0lu | ||
3165 | #define LCHANPC50 0x00000F00lu | ||
3166 | #define LCHANPC51 0x0000F000lu | ||
3167 | #define LCHANPC52 0x000F0000lu | ||
3168 | #define LCHANPC53 0x00F00000lu | ||
3169 | #define LCHANPC54 0x0F000000lu | ||
3170 | #define LCHANPC55 0xF0000000lu | ||
3171 | |||
3172 | |||
3173 | /* MXVR_SYNC_LCHAN_7 Masks */ | ||
3174 | |||
3175 | #define LCHANPC56 0x0000000Flu | ||
3176 | #define LCHANPC57 0x000000F0lu | ||
3177 | #define LCHANPC58 0x00000F00lu | ||
3178 | #define LCHANPC59 0x0000F000lu | ||
3179 | |||
3180 | |||
3181 | /* MXVR_DMAx_CONFIG Masks */ | ||
3182 | |||
3183 | #define MDMAEN 0x00000001lu | ||
3184 | #define DD 0x00000002lu | ||
3185 | #define LCHAN 0x000003C0lu | ||
3186 | #define BITSWAPEN 0x00000400lu | ||
3187 | #define BYSWAPEN 0x00000800lu | ||
3188 | #define MFLOW 0x00007000lu | ||
3189 | #define FIXEDPM 0x00080000lu | ||
3190 | #define STARTPAT 0x00300000lu | ||
3191 | #define STOPPAT 0x00C00000lu | ||
3192 | #define COUNTPOS 0x1C000000lu | ||
3193 | |||
3194 | #define DD_TX 0x00000000lu | ||
3195 | #define DD_RX 0x00000002lu | ||
3196 | |||
3197 | #define LCHAN_0 0x00000000lu | ||
3198 | #define LCHAN_1 0x00000040lu | ||
3199 | #define LCHAN_2 0x00000080lu | ||
3200 | #define LCHAN_3 0x000000C0lu | ||
3201 | #define LCHAN_4 0x00000100lu | ||
3202 | #define LCHAN_5 0x00000140lu | ||
3203 | #define LCHAN_6 0x00000180lu | ||
3204 | #define LCHAN_7 0x000001C0lu | ||
3205 | |||
3206 | #define MFLOW_STOP 0x00000000lu | ||
3207 | #define MFLOW_AUTO 0x00001000lu | ||
3208 | #define MFLOW_PVC 0x00002000lu | ||
3209 | #define MFLOW_PSS 0x00003000lu | ||
3210 | #define MFLOW_PFC 0x00004000lu | ||
3211 | |||
3212 | #define STARTPAT_0 0x00000000lu | ||
3213 | #define STARTPAT_1 0x00100000lu | ||
3214 | |||
3215 | #define STOPPAT_0 0x00000000lu | ||
3216 | #define STOPPAT_1 0x00400000lu | ||
3217 | |||
3218 | #define COUNTPOS_0 0x00000000lu | ||
3219 | #define COUNTPOS_1 0x04000000lu | ||
3220 | #define COUNTPOS_2 0x08000000lu | ||
3221 | #define COUNTPOS_3 0x0C000000lu | ||
3222 | #define COUNTPOS_4 0x10000000lu | ||
3223 | #define COUNTPOS_5 0x14000000lu | ||
3224 | #define COUNTPOS_6 0x18000000lu | ||
3225 | #define COUNTPOS_7 0x1C000000lu | ||
3226 | |||
3227 | |||
3228 | /* MXVR_AP_CTL Masks */ | ||
3229 | |||
3230 | #define STARTAP 0x00000001lu | ||
3231 | #define CANCELAP 0x00000002lu | ||
3232 | #define RESETAP 0x00000004lu | ||
3233 | #define APRBE0 0x00004000lu | ||
3234 | #define APRBE1 0x00008000lu | ||
3235 | #define APRBEX 0x0000C000lu | ||
3236 | |||
3237 | |||
3238 | /* MXVR_CM_CTL Masks */ | ||
3239 | |||
3240 | #define STARTCM 0x00000001lu | ||
3241 | #define CANCELCM 0x00000002lu | ||
3242 | #define CMRBEX 0xFFFF0000lu | ||
3243 | #define CMRBE0 0x00010000lu | ||
3244 | #define CMRBE1 0x00020000lu | ||
3245 | #define CMRBE2 0x00040000lu | ||
3246 | #define CMRBE3 0x00080000lu | ||
3247 | #define CMRBE4 0x00100000lu | ||
3248 | #define CMRBE5 0x00200000lu | ||
3249 | #define CMRBE6 0x00400000lu | ||
3250 | #define CMRBE7 0x00800000lu | ||
3251 | #define CMRBE8 0x01000000lu | ||
3252 | #define CMRBE9 0x02000000lu | ||
3253 | #define CMRBE10 0x04000000lu | ||
3254 | #define CMRBE11 0x08000000lu | ||
3255 | #define CMRBE12 0x10000000lu | ||
3256 | #define CMRBE13 0x20000000lu | ||
3257 | #define CMRBE14 0x40000000lu | ||
3258 | #define CMRBE15 0x80000000lu | ||
3259 | |||
3260 | |||
3261 | /* MXVR_PAT_DATA_x Masks */ | ||
3262 | |||
3263 | #define MATCH_DATA_0 0x000000FFlu | ||
3264 | #define MATCH_DATA_1 0x0000FF00lu | ||
3265 | #define MATCH_DATA_2 0x00FF0000lu | ||
3266 | #define MATCH_DATA_3 0xFF000000lu | ||
3267 | |||
3268 | |||
3269 | |||
3270 | /* MXVR_PAT_EN_x Masks */ | ||
3271 | |||
3272 | #define MATCH_EN_0_0 0x00000001lu | ||
3273 | #define MATCH_EN_0_1 0x00000002lu | ||
3274 | #define MATCH_EN_0_2 0x00000004lu | ||
3275 | #define MATCH_EN_0_3 0x00000008lu | ||
3276 | #define MATCH_EN_0_4 0x00000010lu | ||
3277 | #define MATCH_EN_0_5 0x00000020lu | ||
3278 | #define MATCH_EN_0_6 0x00000040lu | ||
3279 | #define MATCH_EN_0_7 0x00000080lu | ||
3280 | |||
3281 | #define MATCH_EN_1_0 0x00000100lu | ||
3282 | #define MATCH_EN_1_1 0x00000200lu | ||
3283 | #define MATCH_EN_1_2 0x00000400lu | ||
3284 | #define MATCH_EN_1_3 0x00000800lu | ||
3285 | #define MATCH_EN_1_4 0x00001000lu | ||
3286 | #define MATCH_EN_1_5 0x00002000lu | ||
3287 | #define MATCH_EN_1_6 0x00004000lu | ||
3288 | #define MATCH_EN_1_7 0x00008000lu | ||
3289 | |||
3290 | #define MATCH_EN_2_0 0x00010000lu | ||
3291 | #define MATCH_EN_2_1 0x00020000lu | ||
3292 | #define MATCH_EN_2_2 0x00040000lu | ||
3293 | #define MATCH_EN_2_3 0x00080000lu | ||
3294 | #define MATCH_EN_2_4 0x00100000lu | ||
3295 | #define MATCH_EN_2_5 0x00200000lu | ||
3296 | #define MATCH_EN_2_6 0x00400000lu | ||
3297 | #define MATCH_EN_2_7 0x00800000lu | ||
3298 | |||
3299 | #define MATCH_EN_3_0 0x01000000lu | ||
3300 | #define MATCH_EN_3_1 0x02000000lu | ||
3301 | #define MATCH_EN_3_2 0x04000000lu | ||
3302 | #define MATCH_EN_3_3 0x08000000lu | ||
3303 | #define MATCH_EN_3_4 0x10000000lu | ||
3304 | #define MATCH_EN_3_5 0x20000000lu | ||
3305 | #define MATCH_EN_3_6 0x40000000lu | ||
3306 | #define MATCH_EN_3_7 0x80000000lu | ||
3307 | |||
3308 | |||
3309 | /* MXVR_ROUTING_0 Masks */ | ||
3310 | |||
3311 | #define MUTE_CH0 0x00000080lu | ||
3312 | #define MUTE_CH1 0x00008000lu | ||
3313 | #define MUTE_CH2 0x00800000lu | ||
3314 | #define MUTE_CH3 0x80000000lu | ||
3315 | |||
3316 | #define TX_CH0 0x0000007Flu | ||
3317 | #define TX_CH1 0x00007F00lu | ||
3318 | #define TX_CH2 0x007F0000lu | ||
3319 | #define TX_CH3 0x7F000000lu | ||
3320 | |||
3321 | |||
3322 | /* MXVR_ROUTING_1 Masks */ | ||
3323 | |||
3324 | #define MUTE_CH4 0x00000080lu | ||
3325 | #define MUTE_CH5 0x00008000lu | ||
3326 | #define MUTE_CH6 0x00800000lu | ||
3327 | #define MUTE_CH7 0x80000000lu | ||
3328 | |||
3329 | #define TX_CH4 0x0000007Flu | ||
3330 | #define TX_CH5 0x00007F00lu | ||
3331 | #define TX_CH6 0x007F0000lu | ||
3332 | #define TX_CH7 0x7F000000lu | ||
3333 | |||
3334 | |||
3335 | /* MXVR_ROUTING_2 Masks */ | ||
3336 | |||
3337 | #define MUTE_CH8 0x00000080lu | ||
3338 | #define MUTE_CH9 0x00008000lu | ||
3339 | #define MUTE_CH10 0x00800000lu | ||
3340 | #define MUTE_CH11 0x80000000lu | ||
3341 | |||
3342 | #define TX_CH8 0x0000007Flu | ||
3343 | #define TX_CH9 0x00007F00lu | ||
3344 | #define TX_CH10 0x007F0000lu | ||
3345 | #define TX_CH11 0x7F000000lu | ||
3346 | |||
3347 | /* MXVR_ROUTING_3 Masks */ | ||
3348 | |||
3349 | #define MUTE_CH12 0x00000080lu | ||
3350 | #define MUTE_CH13 0x00008000lu | ||
3351 | #define MUTE_CH14 0x00800000lu | ||
3352 | #define MUTE_CH15 0x80000000lu | ||
3353 | |||
3354 | #define TX_CH12 0x0000007Flu | ||
3355 | #define TX_CH13 0x00007F00lu | ||
3356 | #define TX_CH14 0x007F0000lu | ||
3357 | #define TX_CH15 0x7F000000lu | ||
3358 | |||
3359 | |||
3360 | /* MXVR_ROUTING_4 Masks */ | ||
3361 | |||
3362 | #define MUTE_CH16 0x00000080lu | ||
3363 | #define MUTE_CH17 0x00008000lu | ||
3364 | #define MUTE_CH18 0x00800000lu | ||
3365 | #define MUTE_CH19 0x80000000lu | ||
3366 | |||
3367 | #define TX_CH16 0x0000007Flu | ||
3368 | #define TX_CH17 0x00007F00lu | ||
3369 | #define TX_CH18 0x007F0000lu | ||
3370 | #define TX_CH19 0x7F000000lu | ||
3371 | |||
3372 | |||
3373 | /* MXVR_ROUTING_5 Masks */ | ||
3374 | |||
3375 | #define MUTE_CH20 0x00000080lu | ||
3376 | #define MUTE_CH21 0x00008000lu | ||
3377 | #define MUTE_CH22 0x00800000lu | ||
3378 | #define MUTE_CH23 0x80000000lu | ||
3379 | |||
3380 | #define TX_CH20 0x0000007Flu | ||
3381 | #define TX_CH21 0x00007F00lu | ||
3382 | #define TX_CH22 0x007F0000lu | ||
3383 | #define TX_CH23 0x7F000000lu | ||
3384 | |||
3385 | |||
3386 | /* MXVR_ROUTING_6 Masks */ | ||
3387 | |||
3388 | #define MUTE_CH24 0x00000080lu | ||
3389 | #define MUTE_CH25 0x00008000lu | ||
3390 | #define MUTE_CH26 0x00800000lu | ||
3391 | #define MUTE_CH27 0x80000000lu | ||
3392 | |||
3393 | #define TX_CH24 0x0000007Flu | ||
3394 | #define TX_CH25 0x00007F00lu | ||
3395 | #define TX_CH26 0x007F0000lu | ||
3396 | #define TX_CH27 0x7F000000lu | ||
3397 | |||
3398 | |||
3399 | /* MXVR_ROUTING_7 Masks */ | ||
3400 | |||
3401 | #define MUTE_CH28 0x00000080lu | ||
3402 | #define MUTE_CH29 0x00008000lu | ||
3403 | #define MUTE_CH30 0x00800000lu | ||
3404 | #define MUTE_CH31 0x80000000lu | ||
3405 | |||
3406 | #define TX_CH28 0x0000007Flu | ||
3407 | #define TX_CH29 0x00007F00lu | ||
3408 | #define TX_CH30 0x007F0000lu | ||
3409 | #define TX_CH31 0x7F000000lu | ||
3410 | |||
3411 | |||
3412 | /* MXVR_ROUTING_8 Masks */ | ||
3413 | |||
3414 | #define MUTE_CH32 0x00000080lu | ||
3415 | #define MUTE_CH33 0x00008000lu | ||
3416 | #define MUTE_CH34 0x00800000lu | ||
3417 | #define MUTE_CH35 0x80000000lu | ||
3418 | |||
3419 | #define TX_CH32 0x0000007Flu | ||
3420 | #define TX_CH33 0x00007F00lu | ||
3421 | #define TX_CH34 0x007F0000lu | ||
3422 | #define TX_CH35 0x7F000000lu | ||
3423 | |||
3424 | |||
3425 | /* MXVR_ROUTING_9 Masks */ | ||
3426 | |||
3427 | #define MUTE_CH36 0x00000080lu | ||
3428 | #define MUTE_CH37 0x00008000lu | ||
3429 | #define MUTE_CH38 0x00800000lu | ||
3430 | #define MUTE_CH39 0x80000000lu | ||
3431 | |||
3432 | #define TX_CH36 0x0000007Flu | ||
3433 | #define TX_CH37 0x00007F00lu | ||
3434 | #define TX_CH38 0x007F0000lu | ||
3435 | #define TX_CH39 0x7F000000lu | ||
3436 | |||
3437 | |||
3438 | /* MXVR_ROUTING_10 Masks */ | ||
3439 | |||
3440 | #define MUTE_CH40 0x00000080lu | ||
3441 | #define MUTE_CH41 0x00008000lu | ||
3442 | #define MUTE_CH42 0x00800000lu | ||
3443 | #define MUTE_CH43 0x80000000lu | ||
3444 | |||
3445 | #define TX_CH40 0x0000007Flu | ||
3446 | #define TX_CH41 0x00007F00lu | ||
3447 | #define TX_CH42 0x007F0000lu | ||
3448 | #define TX_CH43 0x7F000000lu | ||
3449 | |||
3450 | |||
3451 | /* MXVR_ROUTING_11 Masks */ | ||
3452 | |||
3453 | #define MUTE_CH44 0x00000080lu | ||
3454 | #define MUTE_CH45 0x00008000lu | ||
3455 | #define MUTE_CH46 0x00800000lu | ||
3456 | #define MUTE_CH47 0x80000000lu | ||
3457 | |||
3458 | #define TX_CH44 0x0000007Flu | ||
3459 | #define TX_CH45 0x00007F00lu | ||
3460 | #define TX_CH46 0x007F0000lu | ||
3461 | #define TX_CH47 0x7F000000lu | ||
3462 | |||
3463 | |||
3464 | /* MXVR_ROUTING_12 Masks */ | ||
3465 | |||
3466 | #define MUTE_CH48 0x00000080lu | ||
3467 | #define MUTE_CH49 0x00008000lu | ||
3468 | #define MUTE_CH50 0x00800000lu | ||
3469 | #define MUTE_CH51 0x80000000lu | ||
3470 | |||
3471 | #define TX_CH48 0x0000007Flu | ||
3472 | #define TX_CH49 0x00007F00lu | ||
3473 | #define TX_CH50 0x007F0000lu | ||
3474 | #define TX_CH51 0x7F000000lu | ||
3475 | |||
3476 | |||
3477 | /* MXVR_ROUTING_13 Masks */ | ||
3478 | |||
3479 | #define MUTE_CH52 0x00000080lu | ||
3480 | #define MUTE_CH53 0x00008000lu | ||
3481 | #define MUTE_CH54 0x00800000lu | ||
3482 | #define MUTE_CH55 0x80000000lu | ||
3483 | |||
3484 | #define TX_CH52 0x0000007Flu | ||
3485 | #define TX_CH53 0x00007F00lu | ||
3486 | #define TX_CH54 0x007F0000lu | ||
3487 | #define TX_CH55 0x7F000000lu | ||
3488 | |||
3489 | |||
3490 | /* MXVR_ROUTING_14 Masks */ | ||
3491 | |||
3492 | #define MUTE_CH56 0x00000080lu | ||
3493 | #define MUTE_CH57 0x00008000lu | ||
3494 | #define MUTE_CH58 0x00800000lu | ||
3495 | #define MUTE_CH59 0x80000000lu | ||
3496 | |||
3497 | #define TX_CH56 0x0000007Flu | ||
3498 | #define TX_CH57 0x00007F00lu | ||
3499 | #define TX_CH58 0x007F0000lu | ||
3500 | #define TX_CH59 0x7F000000lu | ||
3501 | |||
3502 | |||
3503 | /* Control Message Receive Buffer (CMRB) Address Offsets */ | ||
3504 | |||
3505 | #define CMRB_STRIDE 0x00000016lu | ||
3506 | |||
3507 | #define CMRB_DST_OFFSET 0x00000000lu | ||
3508 | #define CMRB_SRC_OFFSET 0x00000002lu | ||
3509 | #define CMRB_DATA_OFFSET 0x00000005lu | ||
3510 | |||
3511 | |||
3512 | /* Control Message Transmit Buffer (CMTB) Address Offsets */ | ||
3513 | |||
3514 | #define CMTB_PRIO_OFFSET 0x00000000lu | ||
3515 | #define CMTB_DST_OFFSET 0x00000002lu | ||
3516 | #define CMTB_SRC_OFFSET 0x00000004lu | ||
3517 | #define CMTB_TYPE_OFFSET 0x00000006lu | ||
3518 | #define CMTB_DATA_OFFSET 0x00000007lu | ||
3519 | |||
3520 | #define CMTB_ANSWER_OFFSET 0x0000000Alu | ||
3521 | |||
3522 | #define CMTB_STAT_N_OFFSET 0x00000018lu | ||
3523 | #define CMTB_STAT_A_OFFSET 0x00000016lu | ||
3524 | #define CMTB_STAT_D_OFFSET 0x0000000Elu | ||
3525 | #define CMTB_STAT_R_OFFSET 0x00000014lu | ||
3526 | #define CMTB_STAT_W_OFFSET 0x00000014lu | ||
3527 | #define CMTB_STAT_G_OFFSET 0x00000014lu | ||
3528 | |||
3529 | |||
3530 | /* Asynchronous Packet Receive Buffer (APRB) Address Offsets */ | ||
3531 | |||
3532 | #define APRB_STRIDE 0x00000400lu | ||
3533 | |||
3534 | #define APRB_DST_OFFSET 0x00000000lu | ||
3535 | #define APRB_LEN_OFFSET 0x00000002lu | ||
3536 | #define APRB_SRC_OFFSET 0x00000004lu | ||
3537 | #define APRB_DATA_OFFSET 0x00000006lu | ||
3538 | |||
3539 | |||
3540 | /* Asynchronous Packet Transmit Buffer (APTB) Address Offsets */ | ||
3541 | |||
3542 | #define APTB_PRIO_OFFSET 0x00000000lu | ||
3543 | #define APTB_DST_OFFSET 0x00000002lu | ||
3544 | #define APTB_LEN_OFFSET 0x00000004lu | ||
3545 | #define APTB_SRC_OFFSET 0x00000006lu | ||
3546 | #define APTB_DATA_OFFSET 0x00000008lu | ||
3547 | |||
3548 | |||
3549 | /* Remote Read Buffer (RRDB) Address Offsets */ | ||
3550 | |||
3551 | #define RRDB_WADDR_OFFSET 0x00000100lu | ||
3552 | #define RRDB_WLEN_OFFSET 0x00000101lu | ||
3553 | |||
3554 | |||
3555 | |||
3556 | /* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/ | 2543 | /* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/ |
3557 | /* CAN_CONTROL Masks */ | 2544 | /* CAN_CONTROL Masks */ |
3558 | #define SRS 0x0001 /* Software Reset */ | 2545 | #define SRS 0x0001 /* Software Reset */ |