Lines Matching refs:error

28 #include <linux/can/error.h>
96 #define XCAN_ECR_REC_MASK 0x0000FF00 /* Receive error counter */
97 #define XCAN_ECR_TEC_MASK 0x000000FF /* Transmit error counter */
98 #define XCAN_ESR_ACKER_MASK 0x00000010 /* ACK error */
99 #define XCAN_ESR_BERR_MASK 0x00000008 /* Bit error */
100 #define XCAN_ESR_STER_MASK 0x00000004 /* Stuff error */
101 #define XCAN_ESR_FMER_MASK 0x00000002 /* Form error */
102 #define XCAN_ESR_CRCER_MASK 0x00000001 /* CRC error */
358 * Return: 0 on success and failure value on error
388 * Return: 0 on success and failure value on error
457 * Return: 0 on success and failure value on error
522 * Return: 0 on success and failure value on error
883 * xcan_current_error_state - Get current error state from HW
886 * Checks the current CAN error state from the HW. Note that this
907 * xcan_set_error_state - Set new CAN error state
912 * Set new CAN error state for the device, updating statistics and
913 * populating the error frame if given.
939 * xcan_update_error_state_after_rxtx - Update CAN error state after RX/TX
952 /* changing error state due to successful frame RX/TX can only
980 * xcan_err_interrupt - error frame Isr
984 * This is the CAN error interrupt and it will
985 * check the the type of error and forward the error
1036 /* Check for error interrupt */
1045 /* Check for Ack error interrupt */
1054 /* Check for Bit error interrupt */
1063 /* Check for Stuff error interrupt */
1072 /* Check for Form error interrupt */
1081 /* Check for CRC error interrupt */
1105 netdev_dbg(ndev, "%s: error status register:0x%x\n",
1343 /* Check for the type of error interrupt and Processing it */
1387 * Return: 0 on success and failure value on error
1465 * xcan_get_berr_counter - error counter routine
1469 * This is the driver error counter routine.
1470 * Return: 0 on success and failure value on error
1507 * Return: 0 on success and failure value on error
1527 * Return: 0 on success and failure value on error
1577 * Return: 0 on success and failure value on error
1664 * Return: 0 on success and failure value on error