Lines Matching defs:error
15 #include <linux/can/error.h>
42 #define CPC_MSG_TYPE_ERR_COUNTER 25 /* RX/TX error counter */
54 #define CPC_CMD_TYPE_INQ_ERR_COUNTER 25 /* request the CAN error counters */
150 u8 error; /* error code */
166 /* structure for CAN error conditions */
173 /* Other controllers may also provide error code capture regs */
181 * Structure containing RX/TX error counter. This structure is used to request
182 * the values of the CAN controllers TX and RX error counter.
203 struct cpc_can_error error;
357 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc;
358 u8 txerr = msg->msg.error.cc.regs.sja1000.txerr;
359 u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr;
361 /* bus error interrupt */
471 netdev_err(netdev, "format error\n");
562 * message, bus error or CAN state changed notifications.