44 void (*ahb_irq_callback)(void);
45 void (*pps_irq_callback)(void);
46 void (*m5_irq_callback)(void);
47 void (*m4_irq_callback)(void);
48 void (*m3_irq_callback)(void);
49 void (*m2_irq_callback)(void);
50 void (*m1_irq_callback)(void);
51 void (*sync_irq_callback)(void);
52 void (*can_irq_callback)(
unsigned int fifo);
55#define SATCAN_HEADER_SIZE 4
56#define SATCAN_HEADER_NMM_POS 3
57#define SATCAN_PAYLOAD_SIZE 8
61 unsigned char header[SATCAN_HEADER_SIZE];
62 unsigned char payload[SATCAN_PAYLOAD_SIZE];
75#define SATCAN_IRQ_NONACT_TO_ACT 0
76#define SATCAN_IRQ_ACTIVE_TO_NONACT 1
77#define SATCAN_IRQ_STR1_TO_DPS 2
78#define SATCAN_IRQ_DPS_TO_STR1 3
79#define SATCAN_IRQ_STR2_TO_DPS 4
80#define SATCAN_IRQ_DPS_TO_STR2 5
81#define SATCAN_IRQ_STR3_TO_DPS 6
82#define SATCAN_IRQ_DPS_TO_STR3 7
83#define SATCAN_IRQ_PLD1_TO_DPS 8
84#define SATCAN_IRQ_DPS_TO_PLD1 9
85#define SATCAN_IRQ_PLD2_TO_DPS 10
86#define SATCAN_IRQ_DPS_TO_PLD2 11
87#define SATCAN_IRQ_SYNC 16
88#define SATCAN_IRQ_TIME_MARKER1 17
89#define SATCAN_IRQ_TIME_MARKER2 18
90#define SATCAN_IRQ_TIME_MARKER3 19
91#define SATCAN_IRQ_TIME_MARKER4 20
92#define SATCAN_IRQ_TIME_MARKER5 21
93#define SATCAN_IRQ_EOD1 22
94#define SATCAN_IRQ_EOD2 23
95#define SATCAN_IRQ_TOD 24
96#define SATCAN_IRQ_CRITICAL 25
99#define SATCAN_IOC_DMA_2K 1
100#define SATCAN_IOC_DMA_8K 2
101#define SATCAN_IOC_GET_REG 3
102#define SATCAN_IOC_SET_REG 4
103#define SATCAN_IOC_OR_REG 5
104#define SATCAN_IOC_AND_REG 6
105#define SATCAN_IOC_EN_TX1_DIS_TX2 7
106#define SATCAN_IOC_EN_TX2_DIS_TX1 8
107#define SATCAN_IOC_GET_DMA_MODE 9
108#define SATCAN_IOC_SET_DMA_MODE 10
109#define SATCAN_IOC_ACTIVATE_DMA 11
110#define SATCAN_IOC_DEACTIVATE_DMA 12
111#define SATCAN_IOC_DMA_STATUS 13
112#define SATCAN_IOC_GET_DOFFSET 14
113#define SATCAN_IOC_SET_DOFFSET 15
114#define SATCAN_IOC_GET_TIMEOUT 16
115#define SATCAN_IOC_SET_TIMEOUT 17
119#define SATCAN_SWRES 0
120#define SATCAN_INT_EN 1
122#define SATCAN_FIFO_RES 4
123#define SATCAN_TSTAMP 5
126#define SATCAN_START_CTC 8
127#define SATCAN_RAM_BASE 9
128#define SATCAN_STOP_CTC 10
129#define SATCAN_DPS_ACT 10
130#define SATCAN_PLL_RST 11
131#define SATCAN_PLL_CMD 12
132#define SATCAN_PLL_STAT 13
133#define SATCAN_PLL_OFF 14
135#define SATCAN_DMA_TX_1_CUR 16
136#define SATCAN_DMA_TX_1_END 17
137#define SATCAN_DMA_TX_2_CUR 18
138#define SATCAN_DMA_TX_2_END 19
140#define SATCAN_FILTER_START 20
141#define SATCAN_FILTER_SETUP 21
142#define SATCAN_FILTER_STOP 21
143#define SATCAN_WCTRL 32
144#define SATCAN_WIPEND 33
145#define SATCAN_WIMASK 34
146#define SATCAN_WAHBADDR 35
150#define SATCAN_DMA_MODE_USER 0
151#define SATCAN_DMA_MODE_SYSTEM 1
154#define SATCAN_DMA_ENABLE_TX1 1
155#define SATCAN_DMA_ENABLE_TX2 2