Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
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)
/kernel/liteos_a/kernel/include/
Dlos_bitmap.h53 #define BITS_GET(x, high, low) ((x) & (((_ONE(x) << ((high) + 1)) - 1) & ~((_ONE(x) << (low)) - 1))) macro
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c213 …fsrFlag = ((BIT_GET(fsr, FSR_FLAG_OFFSET_BIT) ? 0b10000 : 0) | BITS_GET(fsr, FSR_BITS_BEGIN_BIT, 0… in OsArmSharedPageFault()