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 …]
2060 unsigned char ecor, ecsr; in smc_enable_device() local2100 ecsr = readb(addr + (ECSR << SMC_IO_SHIFT)) & ~ECSR_IOIS8; in smc_enable_device()2102 ecsr |= ECSR_IOIS8; in smc_enable_device()2103 writeb(ecsr, addr + (ECSR << SMC_IO_SHIFT)); in smc_enable_device()
1108 u32 ecsr, psr; in ravb_emac_interrupt_unlocked() local1110 ecsr = ravb_read(ndev, ECSR); in ravb_emac_interrupt_unlocked()1111 ravb_write(ndev, ecsr, ECSR); /* clear interrupt */ in ravb_emac_interrupt_unlocked()1113 if (ecsr & ECSR_MPD) in ravb_emac_interrupt_unlocked()1115 if (ecsr & ECSR_ICD) in ravb_emac_interrupt_unlocked()1117 if (ecsr & ECSR_LCHNG) { in ravb_emac_interrupt_unlocked()