Go to the documentation of this file.
28 #define SR_RX_DMA_ENA 0x04
29 #define SR_TX_DMA_ENA 0x08
31 #define SR_USR_INT_ENA 0x20
32 #define SR_TX_INT_ENA 0x40
33 #define SR_RX_INT_ENA 0x80
36 #define SR_USR_RQ 0x20
37 #define SR_TX_RDY 0x40
38 #define SR_RX_RDY 0x80
40 #define SR_UP_REQUEST 0x02
42 #define SR_DOWN_REQUEST 0x01
44 #define SR_END_OF_TRANSFER 0x03
47 #define SR_CMD_FROM_SRP_MASK 0x03
50 #define SR_RDY_RCV 0x01
51 #define SR_RDY_SND 0x02
52 #define SR_CMD_PND 0x04
55 #define SR_PKT_UP 0x01
56 #define SR_PKT_DOWN 0x02
60 #define SR_LOAD_ADDR 0x4400
61 #define SR_START_ADDR 0x4400
63 #define COSA_LOAD_ADDR 0x400
64 #define COSA_MAX_FIRMWARE_SIZE 0x10000
73 #define COSAIORSET _IO('C',0xf0)
76 #define COSAIOSTRT _IOW('C',0xf1, int)
79 #define COSAIORMEM _IOWR('C',0xf2, struct cosa_download *)
85 #define COSAIODOWNLD _IOW('C',0xf2, struct cosa_download *)
91 #define COSAIORTYPE _IOR('C',0xf3, char *)
94 #define COSAIORIDSTR _IOR('C',0xf4, char *)
96 #define COSA_MAX_ID_STRING 128
103 #define COSAIONRCARDS _IO('C',0xf7)
106 #define COSAIONRCHANS _IO('C',0xf8)
109 #define COSAIOBMSET _IOW('C', 0xf9, unsigned short)
111 #define COSA_BM_OFF 0
115 #define COSAIOBMGET _IO('C', 0xfa)