Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.h43 #define BITS_SET(val, lo, hi, new_val) \ macro
67 #define RRD_UPDT_SET(rrd, val) BITS_SET((rrd)->word[3], 31, 31, val)
79 #define TPD_BUF_LEN_SET(tpd, val) BITS_SET((tpd)->word[0], 0, 15, val)
81 #define TPD_CSX_SET(tpd, val) BITS_SET((tpd)->word[1], 8, 8, val)
84 #define TPD_LSO_SET(tpd, val) BITS_SET((tpd)->word[1], 12, 12, val)
89 #define TPD_LSOV_SET(tpd, val) BITS_SET((tpd)->word[1], 13, 13, val)
93 #define TPD_IPV4_SET(tpd, val) BITS_SET((tpd)->word[1], 16, 16, val)
97 #define TPD_TYP_SET(tpd, val) BITS_SET((tpd)->word[1], 17, 17, val)
103 #define TPD_CVLAN_TAG_SET(tpd, val) BITS_SET((tpd)->word[3], 0, 15, val)
106 #define TPD_INSTC_SET(tpd, val) BITS_SET((tpd)->word[3], 17, 17, val)
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_power_well.c1301 #define BITS_SET(val, bits) (((val) & (bits)) == (bits)) macro
1344 if (BITS_SET(phy_control, in assert_chv_phy_status()
1354 if (BITS_SET(phy_control, in assert_chv_phy_status()
1359 if (BITS_SET(phy_control, in assert_chv_phy_status()
1362 if (BITS_SET(phy_control, in assert_chv_phy_status()
1366 if (BITS_SET(phy_control, in assert_chv_phy_status()
1369 if (BITS_SET(phy_control, in assert_chv_phy_status()
1381 if (BITS_SET(phy_control, in assert_chv_phy_status()
1385 if (BITS_SET(phy_control, in assert_chv_phy_status()
1388 if (BITS_SET(phy_control, in assert_chv_phy_status()
[all …]