Searched refs:E1000_GET_DESC (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 197 #define E1000_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i])) macro 198 #define E1000_RX_DESC(R, i) E1000_GET_DESC(R, i, e1000_rx_desc) 199 #define E1000_TX_DESC(R, i) E1000_GET_DESC(R, i, e1000_tx_desc) 200 #define E1000_CONTEXT_DESC(R, i) E1000_GET_DESC(R, i, e1000_context_desc)
|
/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 446 #define E1000_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i])) macro 447 #define E1000_TX_DESC(R, i) E1000_GET_DESC(R, i, e1000_tx_desc) 448 #define E1000_CONTEXT_DESC(R, i) E1000_GET_DESC(R, i, e1000_context_desc)
|