Home
last modified time | relevance | path

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

/linux/drivers/net/can/rcar/
H A Drcar_can.c75 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()
[all …]
/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.c2060 unsigned char ecor, ecsr; in smc_enable_device() local
2100 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()
/linux/drivers/net/ethernet/renesas/
H A Dravb_main.c1108 u32 ecsr, psr; in ravb_emac_interrupt_unlocked() local
1110 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()