reg_sr 131 drivers/net/can/at91_can.c u32 reg_sr; reg_sr 680 drivers/net/can/at91_can.c u32 reg_sr = at91_read(priv, AT91_SR); reg_sr 681 drivers/net/can/at91_can.c const unsigned long *addr = (unsigned long *)®_sr; reg_sr 686 drivers/net/can/at91_can.c reg_sr & get_mb_rx_low_mask(priv)) reg_sr 693 drivers/net/can/at91_can.c reg_sr = at91_read(priv, AT91_SR), reg_sr 721 drivers/net/can/at91_can.c struct can_frame *cf, u32 reg_sr) reg_sr 726 drivers/net/can/at91_can.c if (reg_sr & AT91_IRQ_CERR) { reg_sr 734 drivers/net/can/at91_can.c if (reg_sr & AT91_IRQ_SERR) { reg_sr 743 drivers/net/can/at91_can.c if (reg_sr & AT91_IRQ_AERR) { reg_sr 750 drivers/net/can/at91_can.c if (reg_sr & AT91_IRQ_FERR) { reg_sr 759 drivers/net/can/at91_can.c if (reg_sr & AT91_IRQ_BERR) { reg_sr 768 drivers/net/can/at91_can.c static int at91_poll_err(struct net_device *dev, int quota, u32 reg_sr) reg_sr 780 drivers/net/can/at91_can.c at91_poll_err_frame(dev, cf, reg_sr); reg_sr 793 drivers/net/can/at91_can.c u32 reg_sr = at91_read(priv, AT91_SR); reg_sr 796 drivers/net/can/at91_can.c if (reg_sr & get_irq_mb_rx(priv)) reg_sr 803 drivers/net/can/at91_can.c reg_sr |= priv->reg_sr; reg_sr 804 drivers/net/can/at91_can.c if (reg_sr & AT91_IRQ_ERR_FRAME) reg_sr 805 drivers/net/can/at91_can.c work_done += at91_poll_err(dev, quota - work_done, reg_sr); reg_sr 831 drivers/net/can/at91_can.c static void at91_irq_tx(struct net_device *dev, u32 reg_sr) reg_sr 843 drivers/net/can/at91_can.c if (!(reg_sr & (1 << mb))) reg_sr 1014 drivers/net/can/at91_can.c u32 reg_sr; reg_sr 1018 drivers/net/can/at91_can.c reg_sr = at91_read(priv, AT91_SR); reg_sr 1021 drivers/net/can/at91_can.c if (unlikely(reg_sr & AT91_IRQ_BOFF)) reg_sr 1023 drivers/net/can/at91_can.c else if (unlikely(reg_sr & AT91_IRQ_ERRP)) reg_sr 1025 drivers/net/can/at91_can.c else if (unlikely(reg_sr & AT91_IRQ_WARN)) reg_sr 1027 drivers/net/can/at91_can.c else if (likely(reg_sr & AT91_IRQ_ERRA)) reg_sr 1064 drivers/net/can/at91_can.c u32 reg_sr, reg_imr; reg_sr 1066 drivers/net/can/at91_can.c reg_sr = at91_read(priv, AT91_SR); reg_sr 1070 drivers/net/can/at91_can.c reg_sr &= reg_imr; reg_sr 1071 drivers/net/can/at91_can.c if (!reg_sr) reg_sr 1077 drivers/net/can/at91_can.c if (reg_sr & (get_irq_mb_rx(priv) | AT91_IRQ_ERR_FRAME)) { reg_sr 1082 drivers/net/can/at91_can.c priv->reg_sr = reg_sr; reg_sr 1089 drivers/net/can/at91_can.c if (reg_sr & get_irq_mb_tx(priv)) reg_sr 1090 drivers/net/can/at91_can.c at91_irq_tx(dev, reg_sr);