Home
last modified time | relevance | path

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

/drivers/net/can/
Dxilinx_can.c70 #define XCAN_FRAME_ID_OFFSET(frame_base) ((frame_base) + 0x00) argument
71 #define XCAN_FRAME_DLC_OFFSET(frame_base) ((frame_base) + 0x04) argument
72 #define XCAN_FRAME_DW1_OFFSET(frame_base) ((frame_base) + 0x08) argument
73 #define XCAN_FRAME_DW2_OFFSET(frame_base) ((frame_base) + 0x0C) argument
74 #define XCANFD_FRAME_DW_OFFSET(frame_base) ((frame_base) + 0x08) argument
780 static int xcan_rx(struct net_device *ndev, int frame_base) in xcan_rx() argument
795 id_xcan = priv->read_reg(priv, XCAN_FRAME_ID_OFFSET(frame_base)); in xcan_rx()
796 dlc = priv->read_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_base)) >> in xcan_rx()
820 data[0] = priv->read_reg(priv, XCAN_FRAME_DW1_OFFSET(frame_base)); in xcan_rx()
821 data[1] = priv->read_reg(priv, XCAN_FRAME_DW2_OFFSET(frame_base)); in xcan_rx()
[all …]
/drivers/net/ethernet/sun/
Dniu.c7966 u64 frame, frame_base = (ESPC_PIO_STAT_READ_START | in niu_pci_eeprom_read() local
7973 frame = frame_base; in niu_pci_eeprom_read()
7988 frame = frame_base; in niu_pci_eeprom_read()