Home
last modified time | relevance | path

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

/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c816 static void flexcan_irq_bus_err(struct net_device *dev, u32 reg_esr) in flexcan_irq_bus_err() argument
834 if (reg_esr & FLEXCAN_ESR_BIT1_ERR) { in flexcan_irq_bus_err()
839 if (reg_esr & FLEXCAN_ESR_BIT0_ERR) { in flexcan_irq_bus_err()
844 if (reg_esr & FLEXCAN_ESR_ACK_ERR) { in flexcan_irq_bus_err()
850 if (reg_esr & FLEXCAN_ESR_CRC_ERR) { in flexcan_irq_bus_err()
856 if (reg_esr & FLEXCAN_ESR_FRM_ERR) { in flexcan_irq_bus_err()
861 if (reg_esr & FLEXCAN_ESR_STF_ERR) { in flexcan_irq_bus_err()
878 static void flexcan_irq_state(struct net_device *dev, u32 reg_esr) in flexcan_irq_state() argument
890 flt = reg_esr & FLEXCAN_ESR_FLT_CONF_MASK; in flexcan_irq_state()
892 tx_state = unlikely(reg_esr & FLEXCAN_ESR_TX_WRN) ? in flexcan_irq_state()
[all …]