Lines Matching refs:member
24 #define HINIC_CMDQ_CTRL_SET(val, member) \ argument
25 (((u32)(val) & HINIC_CMDQ_CTRL_##member##_MASK) \
26 << HINIC_CMDQ_CTRL_##member##_SHIFT)
28 #define HINIC_CMDQ_CTRL_GET(val, member) \ argument
29 (((val) >> HINIC_CMDQ_CTRL_##member##_SHIFT) \
30 & HINIC_CMDQ_CTRL_##member##_MASK)
48 #define HINIC_CMDQ_WQE_HEADER_SET(val, member) \ argument
49 (((u32)(val) & HINIC_CMDQ_WQE_HEADER_##member##_MASK) \
50 << HINIC_CMDQ_WQE_HEADER_##member##_SHIFT)
52 #define HINIC_CMDQ_WQE_HEADER_GET(val, member) \ argument
53 (((val) >> HINIC_CMDQ_WQE_HEADER_##member##_SHIFT) \
54 & HINIC_CMDQ_WQE_HEADER_##member##_MASK)
84 #define HINIC_SQ_CTRL_SET(val, member) \ argument
85 (((u32)(val) & HINIC_SQ_CTRL_##member##_MASK) \
86 << HINIC_SQ_CTRL_##member##_SHIFT)
88 #define HINIC_SQ_CTRL_GET(val, member) \ argument
89 (((val) >> HINIC_SQ_CTRL_##member##_SHIFT) \
90 & HINIC_SQ_CTRL_##member##_MASK)
92 #define HINIC_SQ_CTRL_CLEAR(val, member) \ argument
93 ((u32)(val) & (~(HINIC_SQ_CTRL_##member##_MASK \
94 << HINIC_SQ_CTRL_##member##_SHIFT)))
114 #define HINIC_SQ_TASK_INFO0_SET(val, member) \ argument
115 (((u32)(val) & HINIC_SQ_TASK_INFO0_##member##_MASK) << \
116 HINIC_SQ_TASK_INFO0_##member##_SHIFT)
128 #define HINIC_SQ_TASK_INFO1_SET(val, member) \ argument
129 (((u32)(val) & HINIC_SQ_TASK_INFO1_##member##_MASK) << \
130 HINIC_SQ_TASK_INFO1_##member##_SHIFT)
146 #define HINIC_SQ_TASK_INFO2_SET(val, member) \ argument
147 (((u32)(val) & HINIC_SQ_TASK_INFO2_##member##_MASK) << \
148 HINIC_SQ_TASK_INFO2_##member##_SHIFT)
156 #define HINIC_SQ_TASK_INFO4_SET(val, member) \ argument
157 (((u32)(val) & HINIC_SQ_TASK_INFO4_##member##_MASK) << \
158 HINIC_SQ_TASK_INFO4_##member##_SHIFT)
168 #define HINIC_RQ_CQE_STATUS_GET(val, member) \ argument
169 (((val) >> HINIC_RQ_CQE_STATUS_##member##_SHIFT) & \
170 HINIC_RQ_CQE_STATUS_##member##_MASK)
172 #define HINIC_RQ_CQE_STATUS_CLEAR(val, member) \ argument
173 ((val) & (~(HINIC_RQ_CQE_STATUS_##member##_MASK << \
174 HINIC_RQ_CQE_STATUS_##member##_SHIFT)))
180 #define HINIC_RQ_CQE_SGE_GET(val, member) \ argument
181 (((val) >> HINIC_RQ_CQE_SGE_##member##_SHIFT) & \
182 HINIC_RQ_CQE_SGE_##member##_MASK)
194 #define HINIC_RQ_CTRL_SET(val, member) \ argument
195 (((u32)(val) & HINIC_RQ_CTRL_##member##_MASK) << \
196 HINIC_RQ_CTRL_##member##_SHIFT)
216 #define RQ_CQE_STATUS_GET(val, member) (((val) >> \ argument
217 RQ_CQE_STATUS_##member##_SHIFT) & \
218 RQ_CQE_STATUS_##member##_MASK)
228 #define RQ_CQE_OFFOLAD_TYPE_GET(val, member) (((val) >> \ argument
229 RQ_CQE_OFFOLAD_TYPE_##member##_SHIFT) & \
230 RQ_CQE_OFFOLAD_TYPE_##member##_MASK)
241 #define RQ_CQE_SGE_GET(val, member) (((val) >> \ argument
242 RQ_CQE_SGE_##member##_SHIFT) & \
243 RQ_CQE_SGE_##member##_MASK)
258 #define HINIC_RSS_TYPE_SET(val, member) \ argument
259 (((u32)(val) & 0x1) << HINIC_RSS_TYPE_##member##_SHIFT)
261 #define HINIC_RSS_TYPE_GET(val, member) \ argument
262 (((u32)(val) >> HINIC_RSS_TYPE_##member##_SHIFT) & 0x1)