canrflg 130 drivers/net/can/mscan/mscan.c u8 canrflg; canrflg 152 drivers/net/can/mscan/mscan.c canrflg = in_8(®s->canrflg); canrflg 153 drivers/net/can/mscan/mscan.c priv->shadow_statflg = canrflg & MSCAN_STAT_MSK; canrflg 154 drivers/net/can/mscan/mscan.c priv->can.state = state_map[max(MSCAN_STATE_RX(canrflg), canrflg 155 drivers/net/can/mscan/mscan.c MSCAN_STATE_TX(canrflg))]; canrflg 281 drivers/net/can/mscan/mscan.c static enum can_state get_new_state(struct net_device *dev, u8 canrflg) canrflg 285 drivers/net/can/mscan/mscan.c if (unlikely(canrflg & MSCAN_CSCIF)) canrflg 286 drivers/net/can/mscan/mscan.c return state_map[max(MSCAN_STATE_RX(canrflg), canrflg 287 drivers/net/can/mscan/mscan.c MSCAN_STATE_TX(canrflg))]; canrflg 329 drivers/net/can/mscan/mscan.c out_8(®s->canrflg, MSCAN_RXF); canrflg 333 drivers/net/can/mscan/mscan.c u8 canrflg) canrflg 340 drivers/net/can/mscan/mscan.c netdev_dbg(dev, "error interrupt (canrflg=%#x)\n", canrflg); canrflg 343 drivers/net/can/mscan/mscan.c if (canrflg & MSCAN_OVRIF) { canrflg 352 drivers/net/can/mscan/mscan.c new_state = get_new_state(dev, canrflg); canrflg 355 drivers/net/can/mscan/mscan.c state_map[MSCAN_STATE_TX(canrflg)], canrflg 356 drivers/net/can/mscan/mscan.c state_map[MSCAN_STATE_RX(canrflg)]); canrflg 373 drivers/net/can/mscan/mscan.c priv->shadow_statflg = canrflg & MSCAN_STAT_MSK; canrflg 375 drivers/net/can/mscan/mscan.c out_8(®s->canrflg, MSCAN_ERR_IF); canrflg 387 drivers/net/can/mscan/mscan.c u8 canrflg; canrflg 390 drivers/net/can/mscan/mscan.c canrflg = in_8(®s->canrflg); canrflg 391 drivers/net/can/mscan/mscan.c if (!(canrflg & (MSCAN_RXF | MSCAN_ERR_IF))) canrflg 399 drivers/net/can/mscan/mscan.c out_8(®s->canrflg, canrflg); canrflg 403 drivers/net/can/mscan/mscan.c if (canrflg & MSCAN_RXF) canrflg 405 drivers/net/can/mscan/mscan.c else if (canrflg & MSCAN_ERR_IF) canrflg 406 drivers/net/can/mscan/mscan.c mscan_get_err_frame(dev, frame, canrflg); canrflg 430 drivers/net/can/mscan/mscan.c u8 cantier, cantflg, canrflg; canrflg 470 drivers/net/can/mscan/mscan.c canrflg = in_8(®s->canrflg); canrflg 471 drivers/net/can/mscan/mscan.c if ((canrflg & ~MSCAN_STAT_MSK) && canrflg 473 drivers/net/can/mscan/mscan.c if (canrflg & ~MSCAN_STAT_MSK) { canrflg 65 drivers/net/can/mscan/mscan.h #define MSCAN_STATE_TX(canrflg) (((canrflg)&MSCAN_TSTAT_MSK)>>2) canrflg 66 drivers/net/can/mscan/mscan.h #define MSCAN_STATE_RX(canrflg) (((canrflg)&MSCAN_RSTAT_MSK)>>4) canrflg 147 drivers/net/can/mscan/mscan.h u8 canrflg; /* + 0x08 0x04 */