Home
last modified time | relevance | path

Searched refs:byte_value (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c254 u8 byte_value = ~0; in _mali_profiling_read_packet_int() local
256 while ((byte_value & 0x80) != 0) { in _mali_profiling_read_packet_int()
259 byte_value = buf[*pos]; in _mali_profiling_read_packet_int()
261 int_value |= (u32)(byte_value & 0x7f) << shift; in _mali_profiling_read_packet_int()
265 if (shift < 8 * sizeof(int_value) && (byte_value & 0x40) != 0) { in _mali_profiling_read_packet_int()
278 char byte_value = value & 0x7f; in _mali_profiling_pack_int() local
281 if ((value == 0 && (byte_value & 0x40) == 0) || (value == -1 && (byte_value & 0x40) != 0)) { in _mali_profiling_pack_int()
284 byte_value |= 0x80; in _mali_profiling_pack_int()
289 buf[pos + add_bytes] = byte_value; in _mali_profiling_pack_int()
302 char byte_value = val & 0x7f; in _mali_profiling_pack_long() local
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_core.c645 u32 byte_value; in _cyttsp5_compute_crc() local
651 byte_value = buf[index]; in _cyttsp5_compute_crc()
652 table_index = ((byte_value >> 4) & 0x0F) in _cyttsp5_compute_crc()
655 table_index = (byte_value & 0x0F) in _cyttsp5_compute_crc()