pitches 142 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c mode_cmd->pitches[0] = amdgpu_align_pitch(adev, mode_cmd->width, cpp, pitches 146 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c size = mode_cmd->pitches[0] * height; pitches 271 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c DRM_INFO(" pitch is %d\n", fb->pitches[0]); pitches 249 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fb->pitches[0] / fb->format->cpp[0]); pitches 2041 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 267 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fb->pitches[0] / fb->format->cpp[0]); pitches 2083 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 201 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fb->pitches[0] / fb->format->cpp[0]); pitches 1976 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 194 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fb->pitches[0] / fb->format->cpp[0]); pitches 1950 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 2788 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[0] / fb->format->cpp[0]; pitches 2801 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[0] / fb->format->cpp[0]; pitches 2810 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[1] / fb->format->cpp[1]; pitches 182 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c malidp_write32(reg, BLK_P1_STRIDE, fb->pitches[1] * block_h); pitches 187 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c malidp_write32(reg, BLK_P0_STRIDE, fb->pitches[0] * block_h); pitches 133 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if ((fb->pitches[i] * block_h) % mdev->chip.bus_width) { pitches 135 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c i, fb->pitches[i], mdev->chip.bus_width); pitches 149 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if (fb->pitches[1] != fb->pitches[2]) { pitches 260 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c + plane_y * fb->pitches[plane]; pitches 273 drivers/gpu/drm/arm/hdlcd_crtc.c hdlcd_write(hdlcd, HDLCD_REG_FB_LINE_LENGTH, fb->pitches[0]); pitches 274 drivers/gpu/drm/arm/hdlcd_crtc.c hdlcd_write(hdlcd, HDLCD_REG_FB_LINE_PITCH, fb->pitches[0]); pitches 335 drivers/gpu/drm/arm/malidp_drv.c if ((mode_cmd->width * bpp) != (mode_cmd->pitches[0] * BITS_PER_BYTE)) { pitches 338 drivers/gpu/drm/arm/malidp_drv.c (mode_cmd->pitches[0] * BITS_PER_BYTE), pitches 504 drivers/gpu/drm/arm/malidp_hw.c dma_addr_t *addrs, s32 *pitches, pitches 525 drivers/gpu/drm/arm/malidp_hw.c malidp_hw_write(hwdev, pitches[1], base + MALIDP_MW_P2_STRIDE); pitches 530 drivers/gpu/drm/arm/malidp_hw.c malidp_hw_write(hwdev, pitches[0], base + MALIDP_MW_P1_STRIDE); pitches 845 drivers/gpu/drm/arm/malidp_hw.c dma_addr_t *addrs, s32 *pitches, pitches 862 drivers/gpu/drm/arm/malidp_hw.c malidp_hw_write(hwdev, pitches[1], base + MALIDP_MW_P2_STRIDE); pitches 867 drivers/gpu/drm/arm/malidp_hw.c malidp_hw_write(hwdev, pitches[0], base + MALIDP_MW_P1_STRIDE); pitches 204 drivers/gpu/drm/arm/malidp_hw.h s32 *pitches, int num_planes, u16 w, u16 h, u32 fmt_id, pitches 27 drivers/gpu/drm/arm/malidp_mw.c s32 pitches[2]; pitches 168 drivers/gpu/drm/arm/malidp_mw.c if (fb->pitches[i] & (alignment - 1)) { pitches 170 drivers/gpu/drm/arm/malidp_mw.c fb->pitches[i], i); pitches 173 drivers/gpu/drm/arm/malidp_mw.c mw_state->pitches[i] = fb->pitches[i]; pitches 257 drivers/gpu/drm/arm/malidp_mw.c mw_state->pitches[0], pitches 263 drivers/gpu/drm/arm/malidp_mw.c mw_state->pitches, mw_state->n_planes, pitches 530 drivers/gpu/drm/arm/malidp_planes.c if (((fb->pitches[i] * drm_format_info_block_height(fb->format, i)) pitches 533 drivers/gpu/drm/arm/malidp_planes.c fb->pitches[i], i); pitches 562 drivers/gpu/drm/arm/malidp_planes.c (state->fb->pitches[1] != state->fb->pitches[2])) pitches 616 drivers/gpu/drm/arm/malidp_planes.c int num_planes, unsigned int pitches[3]) pitches 636 drivers/gpu/drm/arm/malidp_planes.c malidp_hw_write(mp->hwdev, pitches[i] * block_h, pitches 831 drivers/gpu/drm/arm/malidp_planes.c state->fb->pitches); pitches 97 drivers/gpu/drm/armada/armada_fb.c mode->flags, mode->pitches[0], mode->pitches[1], pitches 98 drivers/gpu/drm/armada/armada_fb.c mode->pitches[2]); pitches 41 drivers/gpu/drm/armada/armada_fbdev.c mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); pitches 45 drivers/gpu/drm/armada/armada_fbdev.c size = mode.pitches[0] * mode.height; pitches 38 drivers/gpu/drm/armada/armada_plane.c u16 pitches[3], bool interlaced) pitches 49 drivers/gpu/drm/armada/armada_plane.c fb->pitches[0], x, y, format->cpp[0] * 8); pitches 54 drivers/gpu/drm/armada/armada_plane.c addrs[0][0] = addr + fb->offsets[0] + y * fb->pitches[0] + pitches 56 drivers/gpu/drm/armada/armada_plane.c pitches[0] = fb->pitches[0]; pitches 62 drivers/gpu/drm/armada/armada_plane.c addrs[0][i] = addr + fb->offsets[i] + y * fb->pitches[i] + pitches 64 drivers/gpu/drm/armada/armada_plane.c pitches[i] = fb->pitches[i]; pitches 68 drivers/gpu/drm/armada/armada_plane.c pitches[i] = 0; pitches 72 drivers/gpu/drm/armada/armada_plane.c addrs[1][i] = addrs[0][i] + pitches[i]; pitches 73 drivers/gpu/drm/armada/armada_plane.c pitches[i] *= 2; pitches 152 drivers/gpu/drm/armada/armada_plane.c armada_drm_plane_calc(state, st->addrs, st->pitches, interlace); pitches 10 drivers/gpu/drm/armada/armada_plane.h u16 pitches[3]; pitches 20 drivers/gpu/drm/armada/armada_plane.h #define armada_pitch(state, n) to_armada_plane_state(state)->pitches[n] pitches 23 drivers/gpu/drm/armada/armada_plane.h u16 pitches[3], bool interlaced); pitches 395 drivers/gpu/drm/ast/ast_mode.c offset = fb->pitches[0] >> 3; pitches 654 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c fb->pitches[i]; pitches 658 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c fb->pitches[i]) - pitches 660 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->pstride[i] = fb->pitches[i] - state->bpp[i]; pitches 664 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c ydiv) * fb->pitches[i]; pitches 668 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->bpp[i]) - fb->pitches[i]; pitches 673 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c ydiv) * fb->pitches[i]; pitches 676 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c fb->pitches[i]; pitches 677 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->pstride[i] = -fb->pitches[i] - state->bpp[i]; pitches 681 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c offset = (state->src_y / ydiv) * fb->pitches[i]; pitches 683 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->xstride[i] = fb->pitches[i] - pitches 41 drivers/gpu/drm/bochs/bochs_kms.c state->fb->pitches[0], pitches 124 drivers/gpu/drm/cirrus/cirrus.c if (fb->format->cpp[0] == 4 && fb->pitches[0] > CIRRUS_MAX_PITCH) { pitches 150 drivers/gpu/drm/cirrus/cirrus.c return fb->pitches[0]; pitches 93 drivers/gpu/drm/drm_fb_cma_helper.c paddr += fb->pitches[plane] * block_start_y; pitches 386 drivers/gpu/drm/drm_fb_helper.c size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp; pitches 394 drivers/gpu/drm/drm_fb_helper.c src += fb->pitches[0]; pitches 395 drivers/gpu/drm/drm_fb_helper.c dst += fb->pitches[0]; pitches 1717 drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); pitches 2228 drivers/gpu/drm/drm_fb_helper.c fbi->screen_size = fb->height * fb->pitches[0]; pitches 43 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], cpp); pitches 46 drivers/gpu/drm/drm_format_helper.c vaddr += fb->pitches[0]; pitches 67 drivers/gpu/drm/drm_format_helper.c unsigned int offset = clip_offset(clip, fb->pitches[0], cpp); pitches 75 drivers/gpu/drm/drm_format_helper.c vaddr += fb->pitches[0]; pitches 76 drivers/gpu/drm/drm_format_helper.c dst += fb->pitches[0]; pitches 104 drivers/gpu/drm/drm_format_helper.c src = vaddr + (y * fb->pitches[0]); pitches 166 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], sizeof(u32)); pitches 170 drivers/gpu/drm/drm_format_helper.c vaddr += fb->pitches[0]; pitches 206 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], sizeof(u32)); pitches 211 drivers/gpu/drm/drm_format_helper.c vaddr += fb->pitches[0]; pitches 258 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], sizeof(u32)); pitches 263 drivers/gpu/drm/drm_format_helper.c vaddr += fb->pitches[0]; pitches 306 drivers/gpu/drm/drm_format_helper.c src = vaddr + (y * fb->pitches[0]); pitches 135 drivers/gpu/drm/drm_framebuffer.c r.pitches[0] = or->pitch; pitches 220 drivers/gpu/drm/drm_framebuffer.c if ((uint64_t) height * r->pitches[i] + r->offsets[i] > UINT_MAX) pitches 223 drivers/gpu/drm/drm_framebuffer.c if (block_size && r->pitches[i] < min_pitch) { pitches 224 drivers/gpu/drm/drm_framebuffer.c DRM_DEBUG_KMS("bad pitch %u for plane %d\n", r->pitches[i], i); pitches 249 drivers/gpu/drm/drm_framebuffer.c r->pitches[i] % 128) { pitches 275 drivers/gpu/drm/drm_framebuffer.c if (r->pitches[i]) { pitches 534 drivers/gpu/drm/drm_framebuffer.c r->pitch = fb->pitches[0]; pitches 1057 drivers/gpu/drm/drm_framebuffer.c drm_printf_indent(p, indent + 1, "pitch[%u]=%u\n", i, fb->pitches[i]); pitches 168 drivers/gpu/drm/drm_gem_framebuffer_helper.c min_size = (height - 1) * mode_cmd->pitches[i] pitches 878 drivers/gpu/drm/drm_ioc32.c u32 pitches[4]; pitches 90 drivers/gpu/drm/drm_modeset_helper.c fb->pitches[i] = mode_cmd->pitches[i]; pitches 854 drivers/gpu/drm/drm_plane.c .pitches = { req->width * 4 }, pitches 408 drivers/gpu/drm/exynos/exynos5433_drm_decon.c unsigned int pitch = fb->pitches[0]; pitches 324 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (fb->pitches[0] / fb->format->cpp[0]) - fb->width; pitches 392 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned int pitch = fb->pitches[0]; pitches 108 drivers/gpu/drm/exynos/exynos_drm_fb.c unsigned long size = height * mode_cmd->pitches[i] + pitches 104 drivers/gpu/drm/exynos/exynos_drm_fbdev.c offset += fbi->var.yoffset * fb->pitches[0]; pitches 130 drivers/gpu/drm/exynos/exynos_drm_fbdev.c mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); pitches 134 drivers/gpu/drm/exynos/exynos_drm_fbdev.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 800 drivers/gpu/drm/exynos/exynos_drm_fimd.c unsigned int pitch = fb->pitches[0]; pitches 534 drivers/gpu/drm/exynos/exynos_mixer.c luma_addr[1] = luma_addr[0] + fb->pitches[0]; pitches 535 drivers/gpu/drm/exynos/exynos_mixer.c chroma_addr[1] = chroma_addr[0] + fb->pitches[1]; pitches 554 drivers/gpu/drm/exynos/exynos_mixer.c vp_reg_write(ctx, VP_IMG_SIZE_Y, VP_IMG_HSIZE(fb->pitches[0]) | pitches 557 drivers/gpu/drm/exynos/exynos_mixer.c vp_reg_write(ctx, VP_IMG_SIZE_C, VP_IMG_HSIZE(fb->pitches[1]) | pitches 651 drivers/gpu/drm/exynos/exynos_mixer.c + (state->src.y * fb->pitches[0]); pitches 661 drivers/gpu/drm/exynos/exynos_mixer.c fb->pitches[0] / fb->format->cpp[0]); pitches 243 drivers/gpu/drm/gma500/accel_2d.c stride = fb->pitches[0]; pitches 227 drivers/gpu/drm/gma500/framebuffer.c if (mode_cmd->pitches[0] & 63) pitches 334 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); pitches 336 drivers/gpu/drm/gma500/framebuffer.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 362 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 64); pitches 364 drivers/gpu/drm/gma500/framebuffer.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 81 drivers/gpu/drm/gma500/gma_display.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; pitches 83 drivers/gpu/drm/gma500/gma_display.c REG_WRITE(map->stride, fb->pitches[0]); pitches 190 drivers/gpu/drm/gma500/mdfld_intel_display.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; pitches 192 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->stride, fb->pitches[0]); pitches 612 drivers/gpu/drm/gma500/oaktrail_crtc.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; pitches 614 drivers/gpu/drm/gma500/oaktrail_crtc.c REG_WRITE(map->stride, fb->pitches[0]); pitches 32 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c size = mode_cmd->pitches[0] * mode_cmd->height; pitches 76 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c mode_cmd.pitches[0] = mode_cmd.width * bytes_per_pixel; pitches 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c size = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height); pitches 554 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c u32 stride = fb->pitches[0]; pitches 2181 drivers/gpu/drm/i915/display/intel_display.c return fb->pitches[color_plane]; pitches 2405 drivers/gpu/drm/i915/display/intel_display.c if (add_overflows_t(u32, mul_u32_u32(height, fb->pitches[color_plane]), pitches 2408 drivers/gpu/drm/i915/display/intel_display.c fb->offsets[color_plane], fb->pitches[color_plane], pitches 2418 drivers/gpu/drm/i915/display/intel_display.c fb->pitches[color_plane], pitches 2550 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[color_plane] > max_stride) pitches 2591 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[i] & alignment) pitches 2698 drivers/gpu/drm/i915/display/intel_display.c (x + width) * cpp > fb->pitches[i]) { pitches 2712 drivers/gpu/drm/i915/display/intel_display.c fb->pitches[i], pitches 2725 drivers/gpu/drm/i915/display/intel_display.c rot_info->plane[i].stride = DIV_ROUND_UP(fb->pitches[i], tile_width * cpp); pitches 2775 drivers/gpu/drm/i915/display/intel_display.c size = DIV_ROUND_UP((y + height) * fb->pitches[i] + pitches 2853 drivers/gpu/drm/i915/display/intel_display.c fb, i, fb->pitches[i], pitches 2858 drivers/gpu/drm/i915/display/intel_display.c info->plane[i].stride = DIV_ROUND_UP(fb->pitches[i], pitches 3083 drivers/gpu/drm/i915/display/intel_display.c obj->tiling_and_stride = fb->pitches[0] | plane_config->tiling; pitches 3093 drivers/gpu/drm/i915/display/intel_display.c mode_cmd.pitches[0] = fb->pitches[0]; pitches 8657 drivers/gpu/drm/i915/display/intel_display.c fb->pitches[0] = val & 0xffffffc0; pitches 8661 drivers/gpu/drm/i915/display/intel_display.c plane_config->size = fb->pitches[0] * aligned_height; pitches 8665 drivers/gpu/drm/i915/display/intel_display.c fb->format->cpp[0] * 8, base, fb->pitches[0], pitches 9900 drivers/gpu/drm/i915/display/intel_display.c fb->pitches[0] = (val & 0x3ff) * stride_mult; pitches 9904 drivers/gpu/drm/i915/display/intel_display.c plane_config->size = fb->pitches[0] * aligned_height; pitches 9908 drivers/gpu/drm/i915/display/intel_display.c fb->format->cpp[0] * 8, base, fb->pitches[0], pitches 10683 drivers/gpu/drm/i915/display/intel_display.c plane_state->color_plane[0].stride != fb->pitches[0]); pitches 10685 drivers/gpu/drm/i915/display/intel_display.c switch (fb->pitches[0]) { pitches 10693 drivers/gpu/drm/i915/display/intel_display.c fb->pitches[0]); pitches 10899 drivers/gpu/drm/i915/display/intel_display.c plane_state->color_plane[0].stride != fb->pitches[0]); pitches 10901 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[0] != plane_state->base.crtc_w * fb->format->cpp[0]) { pitches 10903 drivers/gpu/drm/i915/display/intel_display.c fb->pitches[0], plane_state->base.crtc_w); pitches 15655 drivers/gpu/drm/i915/display/intel_display.c if (mode_cmd->pitches[0] > max_stride) { pitches 15659 drivers/gpu/drm/i915/display/intel_display.c mode_cmd->pitches[0], max_stride); pitches 15667 drivers/gpu/drm/i915/display/intel_display.c if (tiling != I915_TILING_NONE && mode_cmd->pitches[0] != stride) { pitches 15669 drivers/gpu/drm/i915/display/intel_display.c mode_cmd->pitches[0], stride); pitches 15702 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[i] & (stride_alignment - 1)) { pitches 15704 drivers/gpu/drm/i915/display/intel_display.c i, fb->pitches[i], stride_alignment); pitches 692 drivers/gpu/drm/i915/display/intel_fbc.c cache->fb.stride = fb->pitches[0]; pitches 133 drivers/gpu/drm/i915/display/intel_fbdev.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * pitches 138 drivers/gpu/drm/i915/display/intel_fbdev.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 371 drivers/gpu/drm/i915/display/intel_fbdev.c if (fb->base.pitches[0] < cur_size) { pitches 374 drivers/gpu/drm/i915/display/intel_fbdev.c cur_size, fb->base.pitches[0]); pitches 381 drivers/gpu/drm/i915/display/intel_fbdev.c cur_size *= fb->base.pitches[0]; pitches 103 drivers/gpu/drm/imx/ipuv3-plane.c return cma_obj->paddr + fb->offsets[plane] + fb->pitches[plane] * y + pitches 122 drivers/gpu/drm/imx/ipuv3-plane.c return cma_obj->paddr + fb->offsets[1] + fb->pitches[1] * y + pitches 141 drivers/gpu/drm/imx/ipuv3-plane.c return cma_obj->paddr + fb->offsets[2] + fb->pitches[2] * y + pitches 415 drivers/gpu/drm/imx/ipuv3-plane.c if (fb->pitches[0] < 1 || fb->pitches[0] > 16384) pitches 418 drivers/gpu/drm/imx/ipuv3-plane.c if (old_fb && fb->pitches[0] != old_fb->pitches[0]) pitches 447 drivers/gpu/drm/imx/ipuv3-plane.c if (fb->pitches[1] != fb->pitches[2]) pitches 464 drivers/gpu/drm/imx/ipuv3-plane.c if (fb->pitches[1] < 1 || fb->pitches[1] > 16384) pitches 467 drivers/gpu/drm/imx/ipuv3-plane.c if (old_fb && old_fb->pitches[1] != fb->pitches[1]) pitches 488 drivers/gpu/drm/imx/ipuv3-plane.c if (fb->pitches[1] < 1 || fb->pitches[1] > 16384) pitches 491 drivers/gpu/drm/imx/ipuv3-plane.c if (old_fb && old_fb->pitches[1] != fb->pitches[1]) pitches 595 drivers/gpu/drm/imx/ipuv3-plane.c fb->pitches[0], fb->format->format, pitches 631 drivers/gpu/drm/imx/ipuv3-plane.c ipu_calculate_bursts(width, info->cpp[0], fb->pitches[0], pitches 641 drivers/gpu/drm/imx/ipuv3-plane.c ipu_cpmem_set_stride(ipu_plane->ipu_ch, fb->pitches[0]); pitches 659 drivers/gpu/drm/imx/ipuv3-plane.c fb->pitches[1], ubo, vbo); pitches 670 drivers/gpu/drm/imx/ipuv3-plane.c fb->pitches[1], ubo, ubo); pitches 697 drivers/gpu/drm/imx/ipuv3-plane.c ipu_cpmem_set_stride(ipu_plane->alpha_ch, fb->pitches[1]); pitches 171 drivers/gpu/drm/mcde/mcde_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { pitches 73 drivers/gpu/drm/mediatek/mtk_drm_fb.c size = (height - 1) * cmd->pitches[0] + width * bpp; pitches 121 drivers/gpu/drm/mediatek/mtk_drm_plane.c pitch = fb->pitches[0]; pitches 464 drivers/gpu/drm/meson/meson_overlay.c priv->viu.vd1_stride2 = fb->pitches[2]; pitches 476 drivers/gpu/drm/meson/meson_overlay.c priv->viu.vd1_stride1 = fb->pitches[1]; pitches 488 drivers/gpu/drm/meson/meson_overlay.c priv->viu.vd1_stride0 = fb->pitches[0]; pitches 306 drivers/gpu/drm/meson/meson_plane.c priv->viu.osd1_stride = fb->pitches[0]; pitches 1025 drivers/gpu/drm/mgag200/mgag200_mode.c pitch = fb->pitches[0] / fb->format->cpp[0]; pitches 1144 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < ARRAY_SIZE(fb->pitches); i++) pitches 1146 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c fb->pitches[i]); pitches 664 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t *pitches) pitches 721 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (pitches && layout->plane_pitch[i] < pitches[i]) pitches 722 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[i] = pitches[i]; pitches 736 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t *pitches) pitches 751 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c return _dpu_format_get_plane_sizes_linear(fmt, w, h, layout, pitches); pitches 854 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (layout->plane_pitch[i] > fb->pitches[i]) { pitches 856 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c i, layout->plane_pitch[i], fb->pitches[i]); pitches 898 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout, fb->pitches); pitches 942 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c &layout, cmd->pitches); pitches 146 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_STRIDE_A_P0(fb->pitches[0]) | pitches 147 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_STRIDE_A_P1(fb->pitches[1])); pitches 150 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_STRIDE_B_P2(fb->pitches[2]) | pitches 151 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_STRIDE_B_P3(fb->pitches[3])); pitches 541 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_STRIDE_A_P0(fb->pitches[0]) | pitches 542 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_STRIDE_A_P1(fb->pitches[1])); pitches 545 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_STRIDE_B_P2(fb->pitches[2]) | pitches 546 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_STRIDE_B_P3(fb->pitches[3])); pitches 44 drivers/gpu/drm/msm/msm_fb.c i, fb->offsets[i], fb->pitches[i]); pitches 176 drivers/gpu/drm/msm/msm_fb.c min_size = (height - 1) * mode_cmd->pitches[i] pitches 213 drivers/gpu/drm/msm/msm_fb.c .pitches = { p }, pitches 220 drivers/gpu/drm/msm/msm_fb.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 371 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = fb->pitches[0] / 8; pitches 384 drivers/gpu/drm/nouveau/dispnv04/crtc.c XLATE(fb->pitches[0] / 8, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); pitches 386 drivers/gpu/drm/nouveau/dispnv04/crtc.c XLATE(fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11); pitches 865 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->CRTC[NV_CIO_CR_OFFSET_INDEX] = drm_fb->pitches[0] >> 3; pitches 867 drivers/gpu/drm/nouveau/dispnv04/crtc.c XLATE(drm_fb->pitches[0] >> 3, 8, NV_CIO_CRE_RPC0_OFFSET_10_8); pitches 869 drivers/gpu/drm/nouveau/dispnv04/crtc.c XLATE(drm_fb->pitches[0] / 8, 11, NV_CIO_CRE_42_OFFSET_11); pitches 876 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->fb_start += (y * drm_fb->pitches[0]) + (x * drm_fb->format->cpp[0]); pitches 1193 drivers/gpu/drm/nouveau/dispnv04/crtc.c { { }, event, crtc, fb->format->cpp[0] * 8, fb->pitches[0], pitches 177 drivers/gpu/drm/nouveau/dispnv04/overlay.c nvif_wr32(dev, NV_PVIDEO_FORMAT(flip), format | fb->pitches[0]); pitches 401 drivers/gpu/drm/nouveau/dispnv04/overlay.c fb->pitches[0]); pitches 261 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->image.blocks[0] = fb->base.pitches[0] / 64; pitches 267 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->image.pitch[0] = fb->base.pitches[0]; pitches 244 drivers/gpu/drm/nouveau/nouveau_display.c (mode_cmd->pitches[0] & 0x3f || /* align 64 */ pitches 245 drivers/gpu/drm/nouveau/nouveau_display.c mode_cmd->pitches[0] >= 0x10000 || /* at most 64k pitch */ pitches 246 drivers/gpu/drm/nouveau/nouveau_display.c (mode_cmd->pitches[1] && /* pitches for planes must match */ pitches 247 drivers/gpu/drm/nouveau/nouveau_display.c mode_cmd->pitches[0] != mode_cmd->pitches[1]))) { pitches 252 drivers/gpu/drm/nouveau/nouveau_display.c mode_cmd->pitches[0], pitches 253 drivers/gpu/drm/nouveau/nouveau_display.c mode_cmd->pitches[1]); pitches 324 drivers/gpu/drm/nouveau/nouveau_fbcon.c mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); pitches 325 drivers/gpu/drm/nouveau/nouveau_fbcon.c mode_cmd.pitches[0] = roundup(mode_cmd.pitches[0], 256); pitches 330 drivers/gpu/drm/nouveau/nouveau_fbcon.c ret = nouveau_gem_new(&drm->client, mode_cmd.pitches[0] * pitches 91 drivers/gpu/drm/omapdrm/omap_fb.c + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); pitches 205 drivers/gpu/drm/omapdrm/omap_fb.c info->screen_width = fb->pitches[0]; pitches 300 drivers/gpu/drm/omapdrm/omap_fb.c i, fb->offsets[n], fb->pitches[i]); pitches 343 drivers/gpu/drm/omapdrm/omap_fb.c unsigned int pitch = mode_cmd->pitches[0]; pitches 379 drivers/gpu/drm/omapdrm/omap_fb.c if (format->num_planes == 2 && pitch != mode_cmd->pitches[1]) { pitches 116 drivers/gpu/drm/omapdrm/omap_fbdev.c mode_cmd.pitches[0] = pitches 122 drivers/gpu/drm/omapdrm/omap_fbdev.c mode_cmd.pitches[0] = PAGE_ALIGN(mode_cmd.pitches[0]); pitches 127 drivers/gpu/drm/omapdrm/omap_fbdev.c .bytes = PAGE_ALIGN(mode_cmd.pitches[0] * mode_cmd.height), pitches 106 drivers/gpu/drm/pl111/pl111_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) pitches 142 drivers/gpu/drm/qxl/qxl_draw.c int stride = fb->pitches[0]; pitches 1426 drivers/gpu/drm/radeon/atombios_crtc.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 1642 drivers/gpu/drm/radeon/atombios_crtc.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 545 drivers/gpu/drm/radeon/radeon_display.c pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; pitches 144 drivers/gpu/drm/radeon/radeon_fb.c mode_cmd->pitches[0] = radeon_align_pitch(rdev, mode_cmd->width, cpp, pitches 149 drivers/gpu/drm/radeon/radeon_fb.c size = mode_cmd->pitches[0] * height; pitches 178 drivers/gpu/drm/radeon/radeon_fb.c mode_cmd->pitches[0]); pitches 291 drivers/gpu/drm/radeon/radeon_fb.c DRM_INFO(" pitch is %d\n", fb->pitches[0]); pitches 477 drivers/gpu/drm/radeon/radeon_legacy_crtc.c pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; pitches 347 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (mode_cmd->pitches[0] & (align - 1) || pitches 348 drivers/gpu/drm/rcar-du/rcar_du_kms.c mode_cmd->pitches[0] > max_pitch) { pitches 350 drivers/gpu/drm/rcar-du/rcar_du_kms.c mode_cmd->pitches[0]); pitches 355 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (mode_cmd->pitches[i] != mode_cmd->pitches[0]) { pitches 347 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = fb->pitches[0]; pitches 349 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = fb->pitches[0] * 8 / state->format->bpp; pitches 156 drivers/gpu/drm/rcar-du/rcar_du_vsp.c .pitch = fb->pitches[0], pitches 232 drivers/gpu/drm/rcar-du/rcar_du_writeback.c cfg->pitch = fb->pitches[0]; pitches 82 drivers/gpu/drm/rockchip/rockchip_drm_fb.c min_size = (height - 1) * mode_cmd->pitches[i] + pitches 57 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; pitches 61 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 91 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c offset += fbi->var.yoffset * fb->pitches[0]; pitches 834 drivers/gpu/drm/rockchip/rockchip_drm_vop.c offset += (src->y1 >> 16) * fb->pitches[0]; pitches 842 drivers/gpu/drm/rockchip/rockchip_drm_vop.c dma_addr += (actual_h - 1) * fb->pitches[0]; pitches 849 drivers/gpu/drm/rockchip/rockchip_drm_vop.c VOP_WIN_SET(vop, win, yrgb_vir, DIV_ROUND_UP(fb->pitches[0], 4)); pitches 866 drivers/gpu/drm/rockchip/rockchip_drm_vop.c offset += (src->y1 >> 16) * fb->pitches[1] / vsub; pitches 869 drivers/gpu/drm/rockchip/rockchip_drm_vop.c VOP_WIN_SET(vop, win, uv_vir, DIV_ROUND_UP(fb->pitches[1], 4)); pitches 30 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 }, pitches 35 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 40 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 }, pitches 45 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 }, pitches 50 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 }, pitches 55 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 60 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 65 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 70 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 75 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 80 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 86 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 4 * MAX_WIDTH, 0, 0 }, .flags = DRM_MODE_FB_MODIFIERS, pitches 91 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .offsets = { UINT_MAX / 2, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, pitches 98 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 4 * MAX_WIDTH, 0, 0 }, .flags = DRM_MODE_FB_MODIFIERS, pitches 105 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 4 * MAX_WIDTH, 4 * MAX_WIDTH, 0 }, pitches 111 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 4 * MAX_WIDTH, 4 * MAX_WIDTH, 0 }, pitches 116 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 0 }, .pitches = { 600, 600, 0 }, pitches 121 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 0 }, .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 126 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 0 }, .pitches = { MAX_WIDTH, MAX_WIDTH - 1, 0 }, pitches 132 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 139 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 146 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 153 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 161 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 166 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 1 }, .flags = DRM_MODE_FB_MODIFIERS, .pitches = { MAX_WIDTH, MAX_WIDTH, 0 }, pitches 171 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 1 }, .pitches = { 600, 600, 600 }, pitches 177 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 600, 300, 300 }, pitches 182 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 1 }, .pitches = { 600, 300, 300 }, pitches 187 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 1 }, .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), pitches 193 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 1 }, .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2) - 1, pitches 199 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 1, 1 }, .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2) + 1, pitches 207 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2) + 1, DIV_ROUND_UP(MAX_WIDTH, 2) + 7 }, pitches 213 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, pitches 219 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, pitches 226 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, pitches 233 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, pitches 241 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, pitches 249 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { MAX_WIDTH, DIV_ROUND_UP(MAX_WIDTH, 2), DIV_ROUND_UP(MAX_WIDTH, 2) }, pitches 254 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 1200, 0, 0 } pitches 259 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 2 * MAX_WIDTH, 0, 0 } pitches 264 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 2 * MAX_WIDTH - 1, 0, 0 } pitches 269 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 2 * MAX_WIDTH + 1, 0, 0 } pitches 275 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 2 * MAX_WIDTH + 1, 0, 0 } pitches 281 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 2 * MAX_WIDTH + 1, 0, 0 } pitches 286 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 2 * MAX_WIDTH + 1, 0, 0 }, pitches 292 drivers/gpu/drm/selftests/test-drm_framebuffer.c .handles = { 1, 0, 0 }, .pitches = { 2 * MAX_WIDTH + 1, 0, 0 }, pitches 299 drivers/gpu/drm/selftests/test-drm_framebuffer.c .pitches = { 2 * MAX_WIDTH + 1, 0, 0 }, pitches 296 drivers/gpu/drm/shmobile/shmob_drm_crtc.c + y * fb->pitches[0] + x * bpp / 8; pitches 302 drivers/gpu/drm/shmobile/shmob_drm_crtc.c + y / (bpp == 4 ? 2 : 1) * fb->pitches[1] pitches 361 drivers/gpu/drm/shmobile/shmob_drm_crtc.c scrtc->line_size = crtc->primary->fb->pitches[0]; pitches 104 drivers/gpu/drm/shmobile/shmob_drm_kms.c if (mode_cmd->pitches[0] & 7 || mode_cmd->pitches[0] >= 65536) { pitches 106 drivers/gpu/drm/shmobile/shmob_drm_kms.c mode_cmd->pitches[0]); pitches 113 drivers/gpu/drm/shmobile/shmob_drm_kms.c if (mode_cmd->pitches[1] != mode_cmd->pitches[0] * chroma_cpp) { pitches 49 drivers/gpu/drm/shmobile/shmob_drm_plane.c + y * fb->pitches[0] + x * bpp / 8; pitches 55 drivers/gpu/drm/shmobile/shmob_drm_plane.c + y / (bpp == 4 ? 2 : 1) * fb->pitches[1] pitches 138 drivers/gpu/drm/shmobile/shmob_drm_plane.c fb->pitches[0] << LDBBSMWR_BSMW_SHIFT); pitches 781 drivers/gpu/drm/sti/sti_gdp.c top_field->gam_gdp_pml += src_y * fb->pitches[0]; pitches 795 drivers/gpu/drm/sti/sti_gdp.c top_field->gam_gdp_pmp = fb->pitches[0]; pitches 806 drivers/gpu/drm/sti/sti_gdp.c fb->pitches[0]; pitches 1185 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.luma_processed_pitch = fb->pitches[0]; pitches 1186 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.luma_src_pitch = fb->pitches[0]; pitches 1187 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.chroma_processed_pitch = fb->pitches[1]; pitches 1188 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.chroma_src_pitch = fb->pitches[1]; pitches 818 drivers/gpu/drm/stm/ltdc.c pitch_in_bytes = fb->pitches[0]; pitches 337 drivers/gpu/drm/sun4i/sun4i_backend.c DRM_DEBUG_DRIVER("Layer line width: %d bits\n", fb->pitches[0] * 8); pitches 339 drivers/gpu/drm/sun4i/sun4i_backend.c fb->pitches[0] * 8); pitches 353 drivers/gpu/drm/sun4i/sun4i_backend.c DRM_DEBUG_DRIVER("Layer line width: %d bits\n", fb->pitches[0] * 8); pitches 356 drivers/gpu/drm/sun4i/sun4i_backend.c fb->pitches[0] * 8); pitches 170 drivers/gpu/drm/sun4i/sun4i_frontend.c strides[0] = SUN4I_FRONTEND_LINESTRD_TILED(fb->pitches[0]); pitches 184 drivers/gpu/drm/sun4i/sun4i_frontend.c SUN4I_FRONTEND_LINESTRD_TILED(fb->pitches[1]); pitches 192 drivers/gpu/drm/sun4i/sun4i_frontend.c SUN4I_FRONTEND_LINESTRD_TILED(fb->pitches[2]); pitches 198 drivers/gpu/drm/sun4i/sun4i_frontend.c strides[0] = fb->pitches[0]; pitches 201 drivers/gpu/drm/sun4i/sun4i_frontend.c strides[1] = fb->pitches[1]; pitches 204 drivers/gpu/drm/sun4i/sun4i_frontend.c strides[2] = fb->pitches[2]; pitches 208 drivers/gpu/drm/sun4i/sun4i_frontend.c DRM_DEBUG_DRIVER("Frontend stride: %d bytes\n", fb->pitches[0]); pitches 219 drivers/gpu/drm/sun4i/sun8i_ui_layer.c paddr += (state->src.y1 >> 16) * fb->pitches[0]; pitches 222 drivers/gpu/drm/sun4i/sun8i_ui_layer.c DRM_DEBUG_DRIVER("Layer line width: %d bytes\n", fb->pitches[0]); pitches 225 drivers/gpu/drm/sun4i/sun8i_ui_layer.c fb->pitches[0]); pitches 299 drivers/gpu/drm/sun4i/sun8i_vi_layer.c paddr += dy * fb->pitches[i]; pitches 303 drivers/gpu/drm/sun4i/sun8i_vi_layer.c i + 1, fb->pitches[i]); pitches 307 drivers/gpu/drm/sun4i/sun8i_vi_layer.c fb->pitches[i]); pitches 655 drivers/gpu/drm/tegra/dc.c if (state->fb->pitches[2] != state->fb->pitches[1]) { pitches 728 drivers/gpu/drm/tegra/dc.c window.stride[i] = fb->pitches[i]; pitches 153 drivers/gpu/drm/tegra/fb.c size = (height - 1) * cmd->pitches[i] + pitches 223 drivers/gpu/drm/tegra/fb.c cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, pitches 229 drivers/gpu/drm/tegra/fb.c size = cmd.pitches[0] * cmd.height; pitches 260 drivers/gpu/drm/tegra/fb.c info->var.yoffset * fb->pitches[0]; pitches 361 drivers/gpu/drm/tegra/hub.c if (state->fb->pitches[2] != state->fb->pitches[1]) { pitches 481 drivers/gpu/drm/tegra/hub.c value = PITCH(fb->pitches[0]); pitches 73 drivers/gpu/drm/tilcdc/tilcdc_crtc.c crtc->y * fb->pitches[0] + pitches 76 drivers/gpu/drm/tilcdc/tilcdc_crtc.c end = start + (crtc->mode.vdisplay * fb->pitches[0]); pitches 59 drivers/gpu/drm/tilcdc/tilcdc_plane.c if (state->fb->pitches[0] != pitch) { pitches 296 drivers/gpu/drm/tiny/gm12u320.c src = vaddr + y1 * fb->pitches[0] + x1 * 4; pitches 327 drivers/gpu/drm/tiny/gm12u320.c src += fb->pitches[0]; pitches 104 drivers/gpu/drm/tve200/tve200_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { pitches 126 drivers/gpu/drm/udl/udl_fb.c const int line_offset = fb->base.pitches[0] * i; pitches 368 drivers/gpu/drm/udl/udl_fb.c mode_cmd.pitches[0] = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); pitches 373 drivers/gpu/drm/udl/udl_fb.c size = mode_cmd.pitches[0] * mode_cmd.height; pitches 509 drivers/gpu/drm/udl/udl_fb.c size = mode_cmd->pitches[0] * mode_cmd->height; pitches 513 drivers/gpu/drm/udl/udl_fb.c DRM_ERROR("object size not sufficient for fb %d %zu %d %d\n", size, obj->size, mode_cmd->pitches[0], mode_cmd->height); pitches 64 drivers/gpu/drm/vboxvideo/vbox_fb.c mode_cmd.pitches[0] = pitch; pitches 42 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch = fb ? fb->pitches[0] : width * bpp / 8; pitches 637 drivers/gpu/drm/vc4/vc4_plane.c pitch0 = VC4_SET_FIELD(fb->pitches[0], SCALER_SRC_PITCH); pitches 645 drivers/gpu/drm/vc4/vc4_plane.c fb->pitches[i]; pitches 669 drivers/gpu/drm/vc4/vc4_plane.c u32 tiles_w = fb->pitches[0] >> (tile_size_shift - tile_h_shift); pitches 850 drivers/gpu/drm/vc4/vc4_plane.c VC4_SET_FIELD(fb->pitches[i], pitches 256 drivers/gpu/drm/vc4/vc4_txp.c if (fb->pitches[0] & GENMASK(3, 0)) pitches 297 drivers/gpu/drm/vc4/vc4_txp.c TXP_WRITE(TXP_DST_PITCH, fb->pitches[0]); pitches 109 drivers/gpu/drm/vkms/vkms_plane.c composer->pitch = fb->pitches[0]; pitches 142 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h uint32 *pitches, /* OUT (optional) */ pitches 158 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h if (pitches) { pitches 159 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h pitches[0] = *width; pitches 168 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h if (pitches) { pitches 169 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h pitches[1] = pitches[2] = tmp; pitches 186 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h if (pitches) { pitches 187 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h pitches[0] = *size; pitches 1353 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 pitches[3]; pitches 238 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c (dst_y1 * par->set_fb->pitches[0] + dst_x1 * cpp); pitches 245 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c dst_ptr += par->set_fb->pitches[0]; pitches 515 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c mode_cmd.pitches[0] = ((var->bits_per_pixel + 7) / 8) * mode_cmd.width; pitches 523 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c cur_fb->pitches[0] == mode_cmd.pitches[0]) pitches 527 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c new_bo_size = (size_t) mode_cmd.pitches[0] * (size_t) mode_cmd.height; pitches 1178 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c content_base_size.width = mode_cmd->pitches[0] / bytes_pp; pitches 1228 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c requested_size = mode_cmd->height * mode_cmd->pitches[0]; pitches 102 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c return vmw_kms_write_svga(dev_priv, w, h, fb->pitches[0], pitches 111 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c vmw_kms_write_svga(dev_priv, fb->width, fb->height, fb->pitches[0], pitches 495 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c gmr->body.bytesPerLine = update->vfb->base.pitches[0]; pitches 1005 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.bytesPerLine = framebuffer->base.pitches[0]; pitches 708 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty.pitch = vfb->base.pitches[0]; pitches 1175 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->cpp = new_fb->pitches[0] / new_fb->width; pitches 1214 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd_dma->body.guest.pitch = update->vfb->base.pitches[0]; pitches 1315 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c src_pitch = update->vfb->base.pitches[0]; pitches 220 drivers/gpu/drm/zte/zx_plane.c paddr += src_y * fb->pitches[i]; pitches 237 drivers/gpu/drm/zte/zx_plane.c zx_writel(layer + VL_STRIDE, LUMA_STRIDE(fb->pitches[0]) | pitches 238 drivers/gpu/drm/zte/zx_plane.c CHROMA_STRIDE(fb->pitches[1])); pitches 370 drivers/gpu/drm/zte/zx_plane.c stride = fb->pitches[0]; pitches 1205 drivers/video/fbdev/intelfb/intelfbdrv.c static const int pitches[] = { pitches 1223 drivers/video/fbdev/intelfb/intelfbdrv.c for (i = 0; pitches[i] != 0; i++) { pitches 1224 drivers/video/fbdev/intelfb/intelfbdrv.c if (pitches[i] >= v.xres_virtual) { pitches 1225 drivers/video/fbdev/intelfb/intelfbdrv.c v.xres_virtual = pitches[i]; pitches 150 include/drm/drm_framebuffer.h unsigned int pitches[4]; pitches 521 include/uapi/drm/drm_mode.h __u32 pitches[4]; /* pitch for each plane */