Lines Matching refs:rctx_g35
204 static inline void set_num_sge(struct RAID_CONTEXT_G35 *rctx_g35, in set_num_sge() argument
207 rctx_g35->u.bytes[0] = (u8)(sge_count & NUM_SGE_MASK_LOWER); in set_num_sge()
208 rctx_g35->u.bytes[1] |= (u8)((sge_count >> NUM_SGE_SHIFT_UPPER) in set_num_sge()
212 static inline u16 get_num_sge(struct RAID_CONTEXT_G35 *rctx_g35) in get_num_sge() argument
216 sge_count = (u16)(((rctx_g35->u.bytes[1] & NUM_SGE_MASK_UPPER) in get_num_sge()
217 << NUM_SGE_SHIFT_UPPER) | (rctx_g35->u.bytes[0])); in get_num_sge()
221 #define SET_STREAM_DETECTED(rctx_g35) \ argument
222 (rctx_g35.u.bytes[1] |= STREAM_DETECT_MASK)
224 #define CLEAR_STREAM_DETECTED(rctx_g35) \ argument
225 (rctx_g35.u.bytes[1] &= ~(STREAM_DETECT_MASK))
227 static inline bool is_stream_detected(struct RAID_CONTEXT_G35 *rctx_g35) in is_stream_detected() argument
229 return ((rctx_g35->u.bytes[1] & STREAM_DETECT_MASK)); in is_stream_detected()