Lines Matching defs:swap
39 * @read_4 - Function to read 4 raw bytes (may swap)
40 * @read_8 - Function to read 8 raw bytes (may swap)
41 * @read_long - Function to read a long word (4 or 8 bytes with needed swap)
91 unsigned long long swap;
93 swap = ((data & 0xffULL) << 56) |
102 return swap;
115 unsigned int swap;
117 swap = ((data & 0xffULL) << 24) |
122 return swap;
410 * @swap: Set to 1 if bytes in words need to be swapped when read
418 void *kbuffer_translate_data(int swap, void *data, unsigned int *size)
426 if (swap) {