Home
last modified time | relevance | path

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

/linux/drivers/net/can/
H A Dxilinx_can.c78 #define XCAN_FRAME_ID_OFFSET(frame_base) ((frame_base) + 0x00) argument
79 #define XCAN_FRAME_DLC_OFFSET(frame_base) ((frame_base) + 0x04) argument
80 #define XCAN_FRAME_DW1_OFFSET(frame_base) ((frame_base) + 0x08) argument
81 #define XCAN_FRAME_DW2_OFFSET(frame_base) ((frame_base) + 0x0C) argument
82 #define XCANFD_FRAME_DW_OFFSET(frame_base) ((frame_base) + 0x08) argument
842 static int xcan_rx(struct net_device *ndev, int frame_base) in xcan_rx() argument
857 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 …]