Lines Matching refs:GET_BIT_VALUE

53 #define GET_BIT_VALUE(v, bit)		(((v) >> (bit)) & 0x1)  macro
85 #define MAC_CMDCFG_TX_ENA_GET(v) GET_BIT_VALUE(v, 0)
86 #define MAC_CMDCFG_RX_ENA_GET(v) GET_BIT_VALUE(v, 1)
87 #define MAC_CMDCFG_XON_GEN_GET(v) GET_BIT_VALUE(v, 2)
88 #define MAC_CMDCFG_ETH_SPEED_GET(v) GET_BIT_VALUE(v, 3)
89 #define MAC_CMDCFG_PROMIS_EN_GET(v) GET_BIT_VALUE(v, 4)
90 #define MAC_CMDCFG_PAD_EN_GET(v) GET_BIT_VALUE(v, 5)
91 #define MAC_CMDCFG_CRC_FWD_GET(v) GET_BIT_VALUE(v, 6)
92 #define MAC_CMDCFG_PAUSE_FWD_GET(v) GET_BIT_VALUE(v, 7)
93 #define MAC_CMDCFG_PAUSE_IGNORE_GET(v) GET_BIT_VALUE(v, 8)
94 #define MAC_CMDCFG_TX_ADDR_INS_GET(v) GET_BIT_VALUE(v, 9)
95 #define MAC_CMDCFG_HD_ENA_GET(v) GET_BIT_VALUE(v, 10)
96 #define MAC_CMDCFG_EXCESS_COL_GET(v) GET_BIT_VALUE(v, 11)
97 #define MAC_CMDCFG_LATE_COL_GET(v) GET_BIT_VALUE(v, 12)
98 #define MAC_CMDCFG_SW_RESET_GET(v) GET_BIT_VALUE(v, 13)
99 #define MAC_CMDCFG_MHASH_SEL_GET(v) GET_BIT_VALUE(v, 14)
100 #define MAC_CMDCFG_LOOP_ENA_GET(v) GET_BIT_VALUE(v, 15)
102 #define MAC_CMDCFG_MAGIC_ENA_GET(v) GET_BIT_VALUE(v, 19)
103 #define MAC_CMDCFG_SLEEP_GET(v) GET_BIT_VALUE(v, 20)
104 #define MAC_CMDCFG_WAKEUP_GET(v) GET_BIT_VALUE(v, 21)
105 #define MAC_CMDCFG_XOFF_GEN_GET(v) GET_BIT_VALUE(v, 22)
106 #define MAC_CMDCFG_CNTL_FRM_ENA_GET(v) GET_BIT_VALUE(v, 23)
107 #define MAC_CMDCFG_NO_LGTH_CHECK_GET(v) GET_BIT_VALUE(v, 24)
108 #define MAC_CMDCFG_ENA_10_GET(v) GET_BIT_VALUE(v, 25)
109 #define MAC_CMDCFG_RX_ERR_DISC_GET(v) GET_BIT_VALUE(v, 26)
110 #define MAC_CMDCFG_DISABLE_READ_TIMEOUT_GET(v) GET_BIT_VALUE(v, 27)
111 #define MAC_CMDCFG_CNT_RESET_GET(v) GET_BIT_VALUE(v, 31)