|
@@ -332,3 +332,75 @@ struct bfin_can_regs {
|
|
#define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */
|
|
#define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */
|
|
#define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */
|
|
#define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */
|
|
#define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */
|
|
#define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */
|
|
|
|
+#define OPSS5 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 5 */
|
|
|
|
+#define OPSS6 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 6 */
|
|
|
|
+#define OPSS7 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 7 */
|
|
|
|
+#define OPSS8 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 8 */
|
|
|
|
+#define OPSS9 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 9 */
|
|
|
|
+#define OPSS10 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 10 */
|
|
|
|
+#define OPSS11 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 11 */
|
|
|
|
+#define OPSS12 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 12 */
|
|
|
|
+#define OPSS13 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 13 */
|
|
|
|
+#define OPSS14 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 14 */
|
|
|
|
+#define OPSS15 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 15 */
|
|
|
|
+
|
|
|
|
+/* CAN_OPSS2 Masks */
|
|
|
|
+#define OPSS16 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 16 */
|
|
|
|
+#define OPSS17 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 17 */
|
|
|
|
+#define OPSS18 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 18 */
|
|
|
|
+#define OPSS19 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 19 */
|
|
|
|
+#define OPSS20 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 20 */
|
|
|
|
+#define OPSS21 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 21 */
|
|
|
|
+#define OPSS22 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 22 */
|
|
|
|
+#define OPSS23 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 23 */
|
|
|
|
+#define OPSS24 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 24 */
|
|
|
|
+#define OPSS25 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 25 */
|
|
|
|
+#define OPSS26 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 26 */
|
|
|
|
+#define OPSS27 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 27 */
|
|
|
|
+#define OPSS28 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 28 */
|
|
|
|
+#define OPSS29 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 29 */
|
|
|
|
+#define OPSS30 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 30 */
|
|
|
|
+#define OPSS31 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 31 */
|
|
|
|
+
|
|
|
|
+/* CAN_TRR1 Masks */
|
|
|
|
+#define TRR0 0x0001 /* Deny But Don't Lock Access To Mailbox 0 */
|
|
|
|
+#define TRR1 0x0002 /* Deny But Don't Lock Access To Mailbox 1 */
|
|
|
|
+#define TRR2 0x0004 /* Deny But Don't Lock Access To Mailbox 2 */
|
|
|
|
+#define TRR3 0x0008 /* Deny But Don't Lock Access To Mailbox 3 */
|
|
|
|
+#define TRR4 0x0010 /* Deny But Don't Lock Access To Mailbox 4 */
|
|
|
|
+#define TRR5 0x0020 /* Deny But Don't Lock Access To Mailbox 5 */
|
|
|
|
+#define TRR6 0x0040 /* Deny But Don't Lock Access To Mailbox 6 */
|
|
|
|
+#define TRR7 0x0080 /* Deny But Don't Lock Access To Mailbox 7 */
|
|
|
|
+#define TRR8 0x0100 /* Deny But Don't Lock Access To Mailbox 8 */
|
|
|
|
+#define TRR9 0x0200 /* Deny But Don't Lock Access To Mailbox 9 */
|
|
|
|
+#define TRR10 0x0400 /* Deny But Don't Lock Access To Mailbox 10 */
|
|
|
|
+#define TRR11 0x0800 /* Deny But Don't Lock Access To Mailbox 11 */
|
|
|
|
+#define TRR12 0x1000 /* Deny But Don't Lock Access To Mailbox 12 */
|
|
|
|
+#define TRR13 0x2000 /* Deny But Don't Lock Access To Mailbox 13 */
|
|
|
|
+#define TRR14 0x4000 /* Deny But Don't Lock Access To Mailbox 14 */
|
|
|
|
+#define TRR15 0x8000 /* Deny But Don't Lock Access To Mailbox 15 */
|
|
|
|
+
|
|
|
|
+/* CAN_TRR2 Masks */
|
|
|
|
+#define TRR16 0x0001 /* Deny But Don't Lock Access To Mailbox 16 */
|
|
|
|
+#define TRR17 0x0002 /* Deny But Don't Lock Access To Mailbox 17 */
|
|
|
|
+#define TRR18 0x0004 /* Deny But Don't Lock Access To Mailbox 18 */
|
|
|
|
+#define TRR19 0x0008 /* Deny But Don't Lock Access To Mailbox 19 */
|
|
|
|
+#define TRR20 0x0010 /* Deny But Don't Lock Access To Mailbox 20 */
|
|
|
|
+#define TRR21 0x0020 /* Deny But Don't Lock Access To Mailbox 21 */
|
|
|
|
+#define TRR22 0x0040 /* Deny But Don't Lock Access To Mailbox 22 */
|
|
|
|
+#define TRR23 0x0080 /* Deny But Don't Lock Access To Mailbox 23 */
|
|
|
|
+#define TRR24 0x0100 /* Deny But Don't Lock Access To Mailbox 24 */
|
|
|
|
+#define TRR25 0x0200 /* Deny But Don't Lock Access To Mailbox 25 */
|
|
|
|
+#define TRR26 0x0400 /* Deny But Don't Lock Access To Mailbox 26 */
|
|
|
|
+#define TRR27 0x0800 /* Deny But Don't Lock Access To Mailbox 27 */
|
|
|
|
+#define TRR28 0x1000 /* Deny But Don't Lock Access To Mailbox 28 */
|
|
|
|
+#define TRR29 0x2000 /* Deny But Don't Lock Access To Mailbox 29 */
|
|
|
|
+#define TRR30 0x4000 /* Deny But Don't Lock Access To Mailbox 30 */
|
|
|
|
+#define TRR31 0x8000 /* Deny But Don't Lock Access To Mailbox 31 */
|
|
|
|
+
|
|
|
|
+/* CAN_TRS1 Masks */
|
|
|
|
+#define TRS0 0x0001 /* Remote Frame Request For Mailbox 0 */
|
|
|
|
+#define TRS1 0x0002 /* Remote Frame Request For Mailbox 1 */
|
|
|
|
+#define TRS2 0x0004 /* Remote Frame Request For Mailbox 2 */
|
|
|
|
+#define TRS3 0x0008 /* Remote Frame Request For Mailbox 3 */
|
|
|
|
+#define TRS4 0x0010 /* Remote Frame Request For Mailbox 4 */
|