Go to the documentation of this file.
9 #ifndef __ASM_BFIN_CAN_H__
10 #define __ASM_BFIN_CAN_H__
15 #define TRANSMIT_CHL 24
16 #define RECEIVE_STD_CHL 0
17 #define RECEIVE_EXT_CHL 4
18 #define RECEIVE_RTR_CHL 8
19 #define RECEIVE_EXT_RTR_CHL 12
20 #define MAX_CHL_NUMBER 32
26 #define __BFP(m) u16 m; u16 __pad_##m
113 #define TXPRIO 0x0008
150 #define RXECNT 0x00FF
151 #define TXECNT 0xFF00
154 #define MBRIRQ 0x0001
155 #define MBTIRQ 0x0002
163 #define EXTID_LO 0xFFFF
164 #define EXTID_HI 0x0003
165 #define BASEID 0x1FFC
178 #define EXTID_LO 0xFFFF
179 #define EXTID_HI 0x0003
180 #define BASEID 0x1FFC
340 #define OPSS10 0x0400
341 #define OPSS11 0x0800
342 #define OPSS12 0x1000
343 #define OPSS13 0x2000
344 #define OPSS14 0x4000
345 #define OPSS15 0x8000
348 #define OPSS16 0x0001
349 #define OPSS17 0x0002
350 #define OPSS18 0x0004
351 #define OPSS19 0x0008
352 #define OPSS20 0x0010
353 #define OPSS21 0x0020
354 #define OPSS22 0x0040
355 #define OPSS23 0x0080
356 #define OPSS24 0x0100
357 #define OPSS25 0x0200
358 #define OPSS26 0x0400
359 #define OPSS27 0x0800
360 #define OPSS28 0x1000
361 #define OPSS29 0x2000
362 #define OPSS30 0x4000
363 #define OPSS31 0x8000
551 #define MBTIF0 0x0001
552 #define MBTIF1 0x0002
553 #define MBTIF2 0x0004
554 #define MBTIF3 0x0008
555 #define MBTIF4 0x0010
556 #define MBTIF5 0x0020
557 #define MBTIF6 0x0040
558 #define MBTIF7 0x0080
559 #define MBTIF8 0x0100
560 #define MBTIF9 0x0200
561 #define MBTIF10 0x0400
562 #define MBTIF11 0x0800
563 #define MBTIF12 0x1000
564 #define MBTIF13 0x2000
565 #define MBTIF14 0x4000
566 #define MBTIF15 0x8000
569 #define MBTIF16 0x0001
570 #define MBTIF17 0x0002
571 #define MBTIF18 0x0004
572 #define MBTIF19 0x0008
573 #define MBTIF20 0x0010
574 #define MBTIF21 0x0020
575 #define MBTIF22 0x0040
576 #define MBTIF23 0x0080
577 #define MBTIF24 0x0100
578 #define MBTIF25 0x0200
579 #define MBTIF26 0x0400
580 #define MBTIF27 0x0800
581 #define MBTIF28 0x1000
582 #define MBTIF29 0x2000
583 #define MBTIF30 0x4000
584 #define MBTIF31 0x8000
587 #define MBRIF0 0x0001
588 #define MBRIF1 0x0002
589 #define MBRIF2 0x0004
590 #define MBRIF3 0x0008
591 #define MBRIF4 0x0010
592 #define MBRIF5 0x0020
593 #define MBRIF6 0x0040
594 #define MBRIF7 0x0080
595 #define MBRIF8 0x0100
596 #define MBRIF9 0x0200
597 #define MBRIF10 0x0400
598 #define MBRIF11 0x0800
599 #define MBRIF12 0x1000
600 #define MBRIF13 0x2000
601 #define MBRIF14 0x4000
602 #define MBRIF15 0x8000
605 #define MBRIF16 0x0001
606 #define MBRIF17 0x0002
607 #define MBRIF18 0x0004
608 #define MBRIF19 0x0008
609 #define MBRIF20 0x0010
610 #define MBRIF21 0x0020
611 #define MBRIF22 0x0040
612 #define MBRIF23 0x0080
613 #define MBRIF24 0x0100
614 #define MBRIF25 0x0200
615 #define MBRIF26 0x0400
616 #define MBRIF27 0x0800
617 #define MBRIF28 0x1000
618 #define MBRIF29 0x2000
619 #define MBRIF30 0x4000
620 #define MBRIF31 0x8000
633 #define MBIM10 0x0400
634 #define MBIM11 0x0800
635 #define MBIM12 0x1000
636 #define MBIM13 0x2000
637 #define MBIM14 0x4000
638 #define MBIM15 0x8000
641 #define MBIM16 0x0001
642 #define MBIM17 0x0002
643 #define MBIM18 0x0004
644 #define MBIM19 0x0008
645 #define MBIM20 0x0010
646 #define MBIM21 0x0020
647 #define MBIM22 0x0040
648 #define MBIM23 0x0080
649 #define MBIM24 0x0100
650 #define MBIM25 0x0200
651 #define MBIM26 0x0400
652 #define MBIM27 0x0800
653 #define MBIM28 0x1000
654 #define MBIM29 0x2000
655 #define MBIM30 0x4000
656 #define MBIM31 0x8000
699 #define UC_STAMP 0x0001
700 #define UC_WDOG 0x0002
701 #define UC_AUTOTX 0x0003
702 #define UC_ERROR 0x0006
703 #define UC_OVER 0x0007
704 #define UC_LOST 0x0008
707 #define UC_REJECT 0x000B
708 #define UC_RML 0x000C
710 #define UC_RMP 0x000E
711 #define UC_ALL 0x000F
725 #define EWLREC 0x00FF
726 #define EWLTEC 0xFF00