Lines Matching refs:ecsr
75 u8 ecsr; /* Error Code Store Register */ member
241 u8 ecsr; in rcar_can_error() local
247 ecsr = readb(&priv->regs->ecsr); in rcar_can_error()
248 if (ecsr & RCAR_CAN_ECSR_ADEF) { in rcar_can_error()
251 writeb(~RCAR_CAN_ECSR_ADEF, &priv->regs->ecsr); in rcar_can_error()
255 if (ecsr & RCAR_CAN_ECSR_BE0F) { in rcar_can_error()
258 writeb(~RCAR_CAN_ECSR_BE0F, &priv->regs->ecsr); in rcar_can_error()
262 if (ecsr & RCAR_CAN_ECSR_BE1F) { in rcar_can_error()
265 writeb(~RCAR_CAN_ECSR_BE1F, &priv->regs->ecsr); in rcar_can_error()
269 if (ecsr & RCAR_CAN_ECSR_CEF) { in rcar_can_error()
272 writeb(~RCAR_CAN_ECSR_CEF, &priv->regs->ecsr); in rcar_can_error()
276 if (ecsr & RCAR_CAN_ECSR_AEF) { in rcar_can_error()
279 writeb(~RCAR_CAN_ECSR_AEF, &priv->regs->ecsr); in rcar_can_error()
285 if (ecsr & RCAR_CAN_ECSR_FEF) { in rcar_can_error()
288 writeb(~RCAR_CAN_ECSR_FEF, &priv->regs->ecsr); in rcar_can_error()
292 if (ecsr & RCAR_CAN_ECSR_SEF) { in rcar_can_error()
295 writeb(~RCAR_CAN_ECSR_SEF, &priv->regs->ecsr); in rcar_can_error()
485 writeb(RCAR_CAN_ECSR_EDPM, &priv->regs->ecsr); in rcar_can_start()