Searched refs:byteshift (Results 1 – 2 of 2) sorted by relevance
468 int byteshift = target_fb->bits_per_pixel >> 4; in radeon_crtc_do_set_base() local469 int tile_addr = (((y >> 3) * pitch_pixels + x) >> (8 - byteshift)) << 11; in radeon_crtc_do_set_base()470 base += tile_addr + ((x << byteshift) % 256) + ((y % 8) << 8); in radeon_crtc_do_set_base()
423 int byteshift = fb->bits_per_pixel >> 4; in radeon_crtc_page_flip() local424 int tile_addr = (((crtc->y >> 3) * pitch_pixels + crtc->x) >> (8 - byteshift)) << 11; in radeon_crtc_page_flip()425 base += tile_addr + ((crtc->x << byteshift) % 256) + ((crtc->y % 8) << 8); in radeon_crtc_page_flip()