Searched refs:va_bit_idx (Results 1 – 2 of 2) sorted by relevance
55 unsigned va_bit_idx = VA_BIT_OFFSET + (VA_BIT_SIZE * idx); in lima_texture_desc_set_va() local56 unsigned va_idx = va_bit_idx / 32; in lima_texture_desc_set_va()57 va_bit_idx %= 32; in lima_texture_desc_set_va()61 desc->va[va_idx] |= va << va_bit_idx; in lima_texture_desc_set_va()62 if (va_bit_idx <= 6) in lima_texture_desc_set_va()64 desc->va[va_idx + 1] |= va >> (32 - va_bit_idx); in lima_texture_desc_set_va()
805 unsigned va_bit_idx; in parse_texture() local815 va_bit_idx = VA_BIT_OFFSET + (VA_BIT_SIZE * j); in parse_texture()816 va_idx = va_bit_idx / 32; in parse_texture()817 va_bit_idx %= 32; in parse_texture()820 va_1 |= (*(&data[i + offset + va_idx - 1]) >> va_bit_idx); in parse_texture()823 if (va_bit_idx > 6) { in parse_texture()825 va_2 |= (*(&data[i + offset + va_idx]) << (2 * 32 - VA_BIT_SIZE - va_bit_idx)); in parse_texture()826 va_2 >>= ((2 * 32 - VA_BIT_SIZE - va_bit_idx) - (32 - va_bit_idx)); in parse_texture()