Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h53 #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)
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)
95 #define MAC_CMDCFG_HD_ENA_GET(v) GET_BIT_VALUE(v, 10)
103 #define MAC_CMDCFG_SLEEP_GET(v) GET_BIT_VALUE(v, 20)
104 #define MAC_CMDCFG_WAKEUP_GET(v) GET_BIT_VALUE(v, 21)
[all …]
H A Daltera_msgdmahw.h105 #define MSGDMA_CSR_STAT_BUSY_GET(v) GET_BIT_VALUE(v, 0)
106 #define MSGDMA_CSR_STAT_DESC_BUF_EMPTY_GET(v) GET_BIT_VALUE(v, 1)
107 #define MSGDMA_CSR_STAT_DESC_BUF_FULL_GET(v) GET_BIT_VALUE(v, 2)
108 #define MSGDMA_CSR_STAT_RESP_BUF_EMPTY_GET(v) GET_BIT_VALUE(v, 3)
109 #define MSGDMA_CSR_STAT_RESP_BUF_FULL_GET(v) GET_BIT_VALUE(v, 4)
110 #define MSGDMA_CSR_STAT_STOPPED_GET(v) GET_BIT_VALUE(v, 5)
111 #define MSGDMA_CSR_STAT_RESETTING_GET(v) GET_BIT_VALUE(v, 6)
112 #define MSGDMA_CSR_STAT_STOPPED_ON_ERR_GET(v) GET_BIT_VALUE(v, 7)
113 #define MSGDMA_CSR_STAT_STOPPED_ON_EARLY_GET(v) GET_BIT_VALUE(v, 8)
114 #define MSGDMA_CSR_STAT_IRQ_GET(v) GET_BIT_VALUE(v, 9)