Lines Matching refs:word
49 u32 word[6]; member
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)
67 #define RRD_UPDT_SET(rrd, val) BITS_SET((rrd)->word[3], 31, 31, val)
69 #define RRD_TS_LOW(rrd) BITS_GET((rrd)->word[4], 0, 29)
71 #define RRD_TS_HI(rrd) le32_to_cpu((rrd)->word[5])
76 u32 word[4]; member
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)
83 #define TPD_LSO(tpd) BITS_GET((tpd)->word[1], 12, 12)
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)
99 #define TPD_BUFFER_ADDR_L_SET(tpd, val) ((tpd)->word[2] = cpu_to_le32(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)
111 #define TPD_BUFFER_ADDR_H_SET(tpd, val) BITS_SET((tpd)->word[3], 18, 31, val)
115 #define TPD_PAYLOAD_OFFSET_SET(tpd, val) BITS_SET((tpd)->word[1], 0, 7, val)
119 #define TPD_CXSUM_OFFSET_SET(tpd, val) BITS_SET((tpd)->word[1], 18, 25, val)
122 #define TPD_TCPHDR_OFFSET_SET(tpd, val) BITS_SET((tpd)->word[1], 0, 7, val)
125 #define TPD_MSS_SET(tpd, val) BITS_SET((tpd)->word[1], 18, 30, val)
127 #define TPD_PKT_LEN_SET(tpd, val) ((tpd)->word[2] = cpu_to_le32(val))