Searched refs:XCAN_ECR_OFFSET (Results 1 – 1 of 1) sorted by relevance
43 XCAN_ECR_OFFSET = 0x10, /* Error counter */ enumerator962 u32 ecr = priv->read_reg(priv, XCAN_ECR_OFFSET); in xcan_set_error_state()1524 bec->txerr = priv->read_reg(priv, XCAN_ECR_OFFSET) & XCAN_ECR_TEC_MASK; in xcan_get_berr_counter()1525 bec->rxerr = ((priv->read_reg(priv, XCAN_ECR_OFFSET) & in xcan_get_berr_counter()