Searched refs:width_in_blocks (Results 1 – 2 of 2) sorted by relevance
164 int width_in_blocks = ALIGN(fb->width, AFBC_DATA_BLOCK_WIDTH) in mtk_plane_update_new_state() local172 hdr_pitch = width_in_blocks * AFBC_HEADER_BLOCK_SIZE; in mtk_plane_update_new_state()173 pitch = width_in_blocks * AFBC_DATA_BLOCK_WIDTH * in mtk_plane_update_new_state()
1288 unsigned int width_in_blocks = DIV_ROUND_UP(width, 32); in intel_ytile_get_offset() local1291 offset = ((y / YTILE_HEIGHT) * width_in_blocks + (x / YTILE_WIDTH)) * YTILE_SIZE; in intel_ytile_get_offset()1306 unsigned int width_in_blocks = DIV_ROUND_UP(width, 32); in intel_4tile_get_offset() local1309 offset = ((y / YTILE_HEIGHT) * width_in_blocks + (x / YTILE_WIDTH)) * YTILE_SIZE; in intel_4tile_get_offset()