Lines Matching defs:error
16 #include <linux/can/error.h>
43 #define CPC_MSG_TYPE_ERR_COUNTER 25 /* RX/TX error counter */
55 #define CPC_CMD_TYPE_INQ_ERR_COUNTER 25 /* request the CAN error counters */
151 u8 error; /* error code */
167 /* structure for CAN error conditions */
174 /* Other controllers may also provide error code capture regs */
182 * Structure containing RX/TX error counter. This structure is used to request
183 * the values of the CAN controllers TX and RX error counter.
204 struct cpc_can_error error;
358 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc;
359 u8 txerr = msg->msg.error.cc.regs.sja1000.txerr;
360 u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr;
362 /* bus error interrupt */
470 netdev_err(netdev, "format error\n");
560 * message, bus error or CAN state changed notifications.