Searched refs:ecsr (Results 1 – 3 of 3) sorted by relevance
75 u8 ecsr; /* Error Code Store Register */ member241 u8 ecsr; in rcar_can_error() local247 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()[all …]
2063 unsigned char ecor, ecsr; in smc_enable_device() local2103 ecsr = readb(addr + (ECSR << SMC_IO_SHIFT)) & ~ECSR_IOIS8; in smc_enable_device()2105 ecsr |= ECSR_IOIS8; in smc_enable_device()2106 writeb(ecsr, addr + (ECSR << SMC_IO_SHIFT)); in smc_enable_device()
1067 u32 ecsr, psr; in ravb_emac_interrupt_unlocked() local1069 ecsr = ravb_read(ndev, ECSR); in ravb_emac_interrupt_unlocked()1070 ravb_write(ndev, ecsr, ECSR); /* clear interrupt */ in ravb_emac_interrupt_unlocked()1072 if (ecsr & ECSR_MPD) in ravb_emac_interrupt_unlocked()1074 if (ecsr & ECSR_ICD) in ravb_emac_interrupt_unlocked()1076 if (ecsr & ECSR_LCHNG) { in ravb_emac_interrupt_unlocked()