Searched refs:ecsr (Results 1 – 3 of 3) sorted by relevance
75 u8 ecsr; /* Error Code Store Register */ member246 u8 ecsr; in rcar_can_error() local252 ecsr = readb(&priv->regs->ecsr); in rcar_can_error()253 if (ecsr & RCAR_CAN_ECSR_ADEF) { in rcar_can_error()256 writeb(~RCAR_CAN_ECSR_ADEF, &priv->regs->ecsr); in rcar_can_error()260 if (ecsr & RCAR_CAN_ECSR_BE0F) { in rcar_can_error()263 writeb(~RCAR_CAN_ECSR_BE0F, &priv->regs->ecsr); in rcar_can_error()267 if (ecsr & RCAR_CAN_ECSR_BE1F) { in rcar_can_error()270 writeb(~RCAR_CAN_ECSR_BE1F, &priv->regs->ecsr); in rcar_can_error()274 if (ecsr & RCAR_CAN_ECSR_CEF) { in rcar_can_error()[all …]
692 u32 ecsr, psr; in ravb_emac_interrupt_unlocked() local694 ecsr = ravb_read(ndev, ECSR); in ravb_emac_interrupt_unlocked()695 ravb_write(ndev, ecsr, ECSR); /* clear interrupt */ in ravb_emac_interrupt_unlocked()697 if (ecsr & ECSR_MPD) in ravb_emac_interrupt_unlocked()699 if (ecsr & ECSR_ICD) in ravb_emac_interrupt_unlocked()701 if (ecsr & ECSR_LCHNG) { in ravb_emac_interrupt_unlocked()
2061 unsigned char ecor, ecsr; in smc_enable_device() local2101 ecsr = readb(addr + (ECSR << SMC_IO_SHIFT)) & ~ECSR_IOIS8; in smc_enable_device()2103 ecsr |= ECSR_IOIS8; in smc_enable_device()2104 writeb(ecsr, addr + (ECSR << SMC_IO_SHIFT)); in smc_enable_device()