Home
last modified time | relevance | path

Searched refs:ecsr (Results 1 – 3 of 3) sorted by relevance

/drivers/net/can/rcar/
Drcar_can.c75 u8 ecsr; /* Error Code Store Register */ member
246 u8 ecsr; in rcar_can_error() local
252 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 …]
/drivers/net/ethernet/renesas/
Dravb_main.c692 u32 ecsr, psr; in ravb_emac_interrupt_unlocked() local
694 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()
/drivers/net/ethernet/smsc/
Dsmc91x.c2061 unsigned char ecor, ecsr; in smc_enable_device() local
2101 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()