Searched refs:BITS_GET (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.h | 50 #define BITS_GET(val, lo, hi) ((le32_to_cpu(val) & GENMASK((hi), (lo))) >> lo) macro 60 #define RRD_NOR(rrd) BITS_GET((rrd)->word[0], 16, 19) 62 #define RRD_SI(rrd) BITS_GET((rrd)->word[0], 20, 31) 64 #define RRD_CVALN_TAG(rrd) BITS_GET((rrd)->word[2], 0, 15) 66 #define RRD_PKT_SIZE(rrd) BITS_GET((rrd)->word[3], 0, 13) 68 #define RRD_L4F(rrd) BITS_GET((rrd)->word[3], 14, 14) 70 #define RRD_CVTAG(rrd) BITS_GET((rrd)->word[3], 16, 16) 74 #define RRD_UPDT(rrd) BITS_GET((rrd)->word[3], 31, 31) 77 #define RRD_TS_LOW(rrd) BITS_GET((rrd)->word[4], 0, 29) 91 #define TPD_LSO(tpd) BITS_GET((tpd)->word[1], 12, 12)
|