Lines Matching defs:byte_index
1118 * @byte_index: index in wqe
1121 static inline void set_64bit_val(__le64 *wqe_words, u32 byte_index, u64 val)
1123 wqe_words[byte_index >> 3] = cpu_to_le64(val);
1129 * @byte_index: index in wqe
1132 static inline void set_32bit_val(__le32 *wqe_words, u32 byte_index, u32 val)
1134 wqe_words[byte_index >> 2] = cpu_to_le32(val);
1140 * @byte_index: index to read from
1143 static inline void get_64bit_val(__le64 *wqe_words, u32 byte_index, u64 *val)
1145 *val = le64_to_cpu(wqe_words[byte_index >> 3]);
1151 * @byte_index: index to reaad from
1154 static inline void get_32bit_val(__le32 *wqe_words, u32 byte_index, u32 *val)
1156 *val = le32_to_cpu(wqe_words[byte_index >> 2]);