Searched refs:reg_err_counter (Results 1 – 1 of 1) sorted by relevance
696 unsigned int reg_err_counter; in __c_can_get_berr_counter() local699 reg_err_counter = priv->read_reg(priv, C_CAN_ERR_CNT_REG); in __c_can_get_berr_counter()700 bec->rxerr = (reg_err_counter & ERR_CNT_REC_MASK) >> in __c_can_get_berr_counter()702 bec->txerr = reg_err_counter & ERR_CNT_TEC_MASK; in __c_can_get_berr_counter()912 unsigned int reg_err_counter; in c_can_handle_state_change() local948 reg_err_counter = priv->read_reg(priv, C_CAN_ERR_CNT_REG); in c_can_handle_state_change()949 rx_err_passive = (reg_err_counter & ERR_CNT_RP_MASK) >> in c_can_handle_state_change()