Searched refs:frame_base (Results 1 – 1 of 1) sorted by relevance
78 #define XCAN_FRAME_ID_OFFSET(frame_base) ((frame_base) + 0x00) argument79 #define XCAN_FRAME_DLC_OFFSET(frame_base) ((frame_base) + 0x04) argument80 #define XCAN_FRAME_DW1_OFFSET(frame_base) ((frame_base) + 0x08) argument81 #define XCAN_FRAME_DW2_OFFSET(frame_base) ((frame_base) + 0x0C) argument82 #define XCANFD_FRAME_DW_OFFSET(frame_base) ((frame_base) + 0x08) argument842 static int xcan_rx(struct net_device *ndev, int frame_base) in xcan_rx() argument857 id_xcan = priv->read_reg(priv, XCAN_FRAME_ID_OFFSET(frame_base)); in xcan_rx()858 dlc = priv->read_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_base)) >> in xcan_rx()882 data[0] = priv->read_reg(priv, XCAN_FRAME_DW1_OFFSET(frame_base)); in xcan_rx()883 data[1] = priv->read_reg(priv, XCAN_FRAME_DW2_OFFSET(frame_base)); in xcan_rx()[all …]