Searched refs:frame_base (Results 1 – 2 of 2) sorted by relevance
70 #define XCAN_FRAME_ID_OFFSET(frame_base) ((frame_base) + 0x00) argument71 #define XCAN_FRAME_DLC_OFFSET(frame_base) ((frame_base) + 0x04) argument72 #define XCAN_FRAME_DW1_OFFSET(frame_base) ((frame_base) + 0x08) argument73 #define XCAN_FRAME_DW2_OFFSET(frame_base) ((frame_base) + 0x0C) argument74 #define XCANFD_FRAME_DW_OFFSET(frame_base) ((frame_base) + 0x08) argument780 static int xcan_rx(struct net_device *ndev, int frame_base) in xcan_rx() argument795 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 …]
7966 u64 frame, frame_base = (ESPC_PIO_STAT_READ_START | in niu_pci_eeprom_read() local7973 frame = frame_base; in niu_pci_eeprom_read()7988 frame = frame_base; in niu_pci_eeprom_read()