#include <linux/types.h>
Go to the source code of this file.
#define _MSCAN_RESERVED_ |
( |
|
n, |
|
|
|
num |
|
) |
| |
#define _MSCAN_RESERVED_DSR_SIZE 0 |
#define BTR0_BRP_MASK 0x3f |
#define BTR0_SET_SJW |
( |
|
sjw | ) |
|
#define BTR0_SJW_MASK (0x3 << BTR0_SJW_SHIFT) |
#define BTR1_SET_TSEG2 |
( |
|
tseg2 | ) |
|
#define BTR1_TSEG1_MASK 0xf |
#define BTR1_TSEG2_MASK (0x7 << BTR1_TSEG2_SHIFT) |
#define BTR1_TSEG2_SHIFT 4 |
#define MSCAN_ABTAK0 0x01 |
#define MSCAN_ABTAK1 0x02 |
#define MSCAN_ABTAK2 0x04 |
#define MSCAN_ABTRQ0 0x01 |
#define MSCAN_ABTRQ1 0x02 |
#define MSCAN_ABTRQ2 0x04 |
#define MSCAN_AF_32BIT 0x00 |
#define MSCAN_BOHOLD 0x01 |
#define MSCAN_CLKSRC 0x40 |
#define MSCAN_CLKSRC_XTAL 0 |
#define MSCAN_ECHO_SKB_MAX 3 |
#define MSCAN_EFF_FLAGS 0x18 /* IDE + SRR */ |
#define MSCAN_EFF_RTR_SHIFT 0 |
#define MSCAN_IDHIT0 0x01 |
#define MSCAN_IDHIT1 0x02 |
#define MSCAN_IDHIT2 0x04 |
#define MSCAN_INITAK 0x01 |
#define MSCAN_INITRQ 0x01 |
#define MSCAN_LISTEN 0x10 |
#define MSCAN_NORMAL_MODE 0 |
#define MSCAN_RSTAT0 0x10 |
#define MSCAN_RSTAT1 0x20 |
#define MSCAN_RSTATE0 0x10 |
#define MSCAN_RSTATE1 0x20 |
#define MSCAN_RX_INTS_ENABLE |
#define MSCAN_SET_MODE_RETRIES 255 |
#define MSCAN_SFF_RTR_SHIFT 4 |
#define MSCAN_STATE_ACTIVE 0 |
#define MSCAN_STATE_BUS_OFF |
Value:
Definition at line 74 of file mscan.h.
#define MSCAN_STATE_BUSOFF 3 |
#define MSCAN_STATE_PASSIVE 2 |
#define MSCAN_STATE_WARNING 1 |
#define MSCAN_TSTAT0 0x04 |
#define MSCAN_TSTAT1 0x08 |
#define MSCAN_TSTATE0 0x04 |
#define MSCAN_TSTATE1 0x08 |
- Enumerator:
MSCAN_TYPE_MPC5200 |
|
MSCAN_TYPE_MPC5121 |
|
Definition at line 246 of file mscan.h.