Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h51 #define BITS_SET(val, lo, hi, new_val) \ macro
75 #define RRD_UPDT_SET(rrd, val) BITS_SET((rrd)->word[3], 31, 31, val)
87 #define TPD_BUF_LEN_SET(tpd, val) BITS_SET((tpd)->word[0], 0, 15, val)
89 #define TPD_CSX_SET(tpd, val) BITS_SET((tpd)->word[1], 8, 8, val)
92 #define TPD_LSO_SET(tpd, val) BITS_SET((tpd)->word[1], 12, 12, val)
97 #define TPD_LSOV_SET(tpd, val) BITS_SET((tpd)->word[1], 13, 13, val)
101 #define TPD_IPV4_SET(tpd, val) BITS_SET((tpd)->word[1], 16, 16, val)
105 #define TPD_TYP_SET(tpd, val) BITS_SET((tpd)->word[1], 17, 17, val)
111 #define TPD_CVLAN_TAG_SET(tpd, val) BITS_SET((tpd)->word[3], 0, 15, val)
114 #define TPD_INSTC_SET(tpd, val) BITS_SET((tpd)->word[3], 17, 17, val)
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_runtime_pm.c1125 #define BITS_SET(val, bits) (((val) & (bits)) == (bits)) macro
1168 if (BITS_SET(phy_control, in assert_chv_phy_status()
1178 if (BITS_SET(phy_control, in assert_chv_phy_status()
1183 if (BITS_SET(phy_control, in assert_chv_phy_status()
1186 if (BITS_SET(phy_control, in assert_chv_phy_status()
1190 if (BITS_SET(phy_control, in assert_chv_phy_status()
1193 if (BITS_SET(phy_control, in assert_chv_phy_status()
1205 if (BITS_SET(phy_control, in assert_chv_phy_status()
1209 if (BITS_SET(phy_control, in assert_chv_phy_status()
1212 if (BITS_SET(phy_control, in assert_chv_phy_status()
[all …]