Searched refs:sgentry (Results 1 – 1 of 1) sorted by relevance
2142 static inline void __cpu_to_hw_sg(struct qm_sg_entry *sgentry) in __cpu_to_hw_sg() argument2144 sgentry->opaque = cpu_to_be64(sgentry->opaque); in __cpu_to_hw_sg()2145 sgentry->val = cpu_to_be32(sgentry->val); in __cpu_to_hw_sg()2146 sgentry->val_off = cpu_to_be16(sgentry->val_off); in __cpu_to_hw_sg()2149 static inline void __hw_sg_to_cpu(struct qm_sg_entry *sgentry) in __hw_sg_to_cpu() argument2151 sgentry->opaque = be64_to_cpu(sgentry->opaque); in __hw_sg_to_cpu()2152 sgentry->val = be32_to_cpu(sgentry->val); in __hw_sg_to_cpu()2153 sgentry->val_off = be16_to_cpu(sgentry->val_off); in __hw_sg_to_cpu()