Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qualcomm/emac/
A Demac-mac.h42 #define BITS_GET(val, lo, hi) ((le32_to_cpu(val) & GENMASK((hi), (lo))) >> lo) macro
52 #define RRD_NOR(rrd) BITS_GET((rrd)->word[0], 16, 19)
54 #define RRD_SI(rrd) BITS_GET((rrd)->word[0], 20, 31)
56 #define RRD_CVALN_TAG(rrd) BITS_GET((rrd)->word[2], 0, 15)
58 #define RRD_PKT_SIZE(rrd) BITS_GET((rrd)->word[3], 0, 13)
60 #define RRD_L4F(rrd) BITS_GET((rrd)->word[3], 14, 14)
62 #define RRD_CVTAG(rrd) BITS_GET((rrd)->word[3], 16, 16)
66 #define RRD_UPDT(rrd) BITS_GET((rrd)->word[3], 31, 31)
69 #define RRD_TS_LOW(rrd) BITS_GET((rrd)->word[4], 0, 29)
83 #define TPD_LSO(tpd) BITS_GET((tpd)->word[1], 12, 12)

Completed in 5 milliseconds