Lines Matching refs:word

138     uint16_t word, *ptr = (uint16_t *) &test_data[offset];  in init_test_data_u16()  local
139 const int max = (TEST_SIZE - offset) / sizeof(word); in init_test_data_u16()
148 word = BYTE_SHIFT(high, 1) | BYTE_SHIFT(low, 0); in init_test_data_u16()
149 *ptr++ = word; in init_test_data_u16()
158 uint32_t word, *ptr = (uint32_t *) &test_data[offset]; in init_test_data_u32() local
159 const int max = (TEST_SIZE - offset) / sizeof(word); in init_test_data_u32()
169 word = BYTE_SHIFT(b1, 3) | BYTE_SHIFT(b2, 2) | BYTE_SHIFT(b3, 1) | in init_test_data_u32()
171 *ptr++ = word; in init_test_data_u32()
181 uint64_t word, *ptr = (uint64_t *) &test_data[offset]; in init_test_data_u64() local
182 const int max = (TEST_SIZE - offset) / sizeof(word); in init_test_data_u64()
194 word = BYTE_SHIFT(b1, 7) | BYTE_SHIFT(b2, 6) | BYTE_SHIFT(b3, 5) | in init_test_data_u64()
197 *ptr++ = word; in init_test_data_u64()
206 uint16_t word, *ptr = (uint16_t *)&test_data[offset]; in read_test_data_u16() local
208 const int max = (TEST_SIZE - offset) / sizeof(word); in read_test_data_u16()
214 word = *ptr++; in read_test_data_u16()
215 high = (word >> 8) & 0xff; in read_test_data_u16()
216 low = word & 0xff; in read_test_data_u16()
231 uint32_t word, *ptr = (uint32_t *)&test_data[offset]; in read_test_data_u32() local
233 const int max = (TEST_SIZE - offset) / sizeof(word); in read_test_data_u32()
240 word = *ptr++; in read_test_data_u32()
242 b1 = word >> 24 & 0xff; in read_test_data_u32()
243 b2 = word >> 16 & 0xff; in read_test_data_u32()
244 b3 = word >> 8 & 0xff; in read_test_data_u32()
245 b4 = word & 0xff; in read_test_data_u32()
273 uint64_t word, *ptr = (uint64_t *)&test_data[offset]; in read_test_data_u64() local
275 const int max = (TEST_SIZE - offset) / sizeof(word); in read_test_data_u64()
282 word = *ptr++; in read_test_data_u64()
284 b1 = ((uint64_t) (word >> 56)) & 0xff; in read_test_data_u64()
285 b2 = ((uint64_t) (word >> 48)) & 0xff; in read_test_data_u64()
286 b3 = ((uint64_t) (word >> 40)) & 0xff; in read_test_data_u64()
287 b4 = (word >> 32) & 0xff; in read_test_data_u64()
288 b5 = (word >> 24) & 0xff; in read_test_data_u64()
289 b6 = (word >> 16) & 0xff; in read_test_data_u64()
290 b7 = (word >> 8) & 0xff; in read_test_data_u64()
291 b8 = (word >> 0) & 0xff; in read_test_data_u64()