pitch 13 arch/powerpc/include/asm/btext.h int depth, int pitch); pitch 14 arch/powerpc/include/asm/btext.h extern void btext_setup_display(int width, int height, int depth, int pitch, pitch 552 arch/powerpc/include/asm/ps3av.h u32 pitch; /* in: line size in byte */ pitch 577 arch/powerpc/include/asm/ps3av.h u32 pitch; /* in: line size in byte */ pitch 59 arch/powerpc/include/asm/ps3gpu.h u64 ioif_offset, u64 sync_width, u64 pitch) pitch 64 arch/powerpc/include/asm/ps3gpu.h pitch); pitch 120 arch/powerpc/kernel/btext.c void __init btext_setup_display(int width, int height, int depth, int pitch, pitch 129 arch/powerpc/kernel/btext.c dispDeviceRowBytes = pitch; pitch 175 arch/powerpc/kernel/btext.c unsigned int width, height, depth, pitch; pitch 197 arch/powerpc/kernel/btext.c pitch = width * ((depth + 7) / 8); pitch 202 arch/powerpc/kernel/btext.c pitch = *prop; pitch 203 arch/powerpc/kernel/btext.c if (pitch == 1) pitch 204 arch/powerpc/kernel/btext.c pitch = 0x1000; pitch 222 arch/powerpc/kernel/btext.c dispDeviceRowBytes = pitch; pitch 274 arch/powerpc/kernel/btext.c int depth, int pitch) pitch 289 arch/powerpc/kernel/btext.c dispDeviceRowBytes = pitch; pitch 2394 arch/powerpc/kernel/prom_init.c u32 width, height, pitch, addr; pitch 2399 arch/powerpc/kernel/prom_init.c prom_getprop(node, "linebytes", &pitch, 4); pitch 2402 arch/powerpc/kernel/prom_init.c width, height, pitch, addr); pitch 2403 arch/powerpc/kernel/prom_init.c btext_setup_display(width, height, 8, pitch, addr); pitch 45 arch/sparc/kernel/btext.c unsigned int width, height, depth, pitch; pitch 55 arch/sparc/kernel/btext.c pitch = width * ((depth + 7) / 8); pitch 59 arch/sparc/kernel/btext.c pitch = prop; pitch 61 arch/sparc/kernel/btext.c if (pitch == 1) pitch 62 arch/sparc/kernel/btext.c pitch = 0x1000; pitch 78 arch/sparc/kernel/btext.c dispDeviceRowBytes = pitch; pitch 550 drivers/char/dtlk.c status.pitch = *t++; pitch 765 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->pitch = amdgpu_align_pitch(adev, args->width, pitch 767 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->size = (u64)args->pitch * args->height; pitch 521 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c unsigned pitch = msg[28]; pitch 681 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (width > pitch) { pitch 673 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c u32 pitch; pitch 676 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c pitch = RREG32_SOC15(DCE, 0, mmHUBPREQ0_DCSURF_SURFACE_PITCH); pitch 679 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c REG_GET_FIELD(pitch, HUBPREQ0_DCSURF_SURFACE_PITCH, PITCH) * pitch 5464 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c attributes.pitch = attributes.width; pitch 527 drivers/gpu/drm/amd/display/dc/dc_hw_types.h uint32_t pitch; pitch 170 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c uint32_t pitch, meta_pitch, pitch_c, meta_pitch_c; pitch 179 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c pitch = plane_size->surface_pitch - 1; pitch 184 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c pitch = plane_size->surface_pitch - 1; pitch 196 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c PITCH, pitch, META_PITCH, meta_pitch); pitch 1047 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c enum cursor_pitch hubp1_get_cursor_pitch(unsigned int pitch) pitch 1051 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c switch (pitch) { pitch 1063 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c "Only 64/128/256 is supported on DCN.\n", pitch); pitch 1096 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c enum cursor_pitch hw_pitch = hubp1_get_cursor_pitch(attr->pitch); pitch 741 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h enum cursor_pitch hubp1_get_cursor_pitch(unsigned int pitch); pitch 329 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c uint32_t pitch, meta_pitch, pitch_c, meta_pitch_c; pitch 341 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c pitch = plane_size->surface_pitch - 1; pitch 346 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c pitch = plane_size->surface_pitch - 1; pitch 358 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c PITCH, pitch, META_PITCH, meta_pitch); pitch 576 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c enum cursor_pitch hw_pitch = hubp1_get_cursor_pitch(attr->pitch); pitch 31 drivers/gpu/drm/arm/display/komeda/komeda_kms.c u32 pitch = DIV_ROUND_UP(args->width * args->bpp, 8); pitch 33 drivers/gpu/drm/arm/display/komeda/komeda_kms.c args->pitch = ALIGN(pitch, mdev->chip.bus_width); pitch 467 drivers/gpu/drm/arm/malidp_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment); pitch 34 drivers/gpu/drm/armada/armada_drm.h uint32_t pitch = bpp != 4 ? width * ((bpp + 7) / 8) : width / 2; pitch 37 drivers/gpu/drm/armada/armada_drm.h return ALIGN(pitch, 128); pitch 239 drivers/gpu/drm/armada/armada_gem.c args->pitch = armada_pitch(args->width, args->bpp); pitch 240 drivers/gpu/drm/armada/armada_gem.c args->size = size = args->pitch * args->height; pitch 57 drivers/gpu/drm/cirrus/cirrus.c unsigned int pitch; pitch 274 drivers/gpu/drm/cirrus/cirrus.c cirrus->pitch = cirrus_pitch(fb); pitch 275 drivers/gpu/drm/cirrus/cirrus.c tmp = cirrus->pitch / 8; pitch 280 drivers/gpu/drm/cirrus/cirrus.c tmp |= (cirrus->pitch >> 7) & 0x10; pitch 281 drivers/gpu/drm/cirrus/cirrus.c tmp |= (cirrus->pitch >> 6) & 0x40; pitch 315 drivers/gpu/drm/cirrus/cirrus.c cirrus->pitch, pitch 320 drivers/gpu/drm/cirrus/cirrus.c cirrus->pitch, pitch 344 drivers/gpu/drm/cirrus/cirrus.c int pitch = width * 2; pitch 347 drivers/gpu/drm/cirrus/cirrus.c pitch = cirrus_pitch(fb); pitch 349 drivers/gpu/drm/cirrus/cirrus.c if (pitch > CIRRUS_MAX_PITCH) pitch 351 drivers/gpu/drm/cirrus/cirrus.c if (pitch * height > CIRRUS_VRAM_SIZE) pitch 193 drivers/gpu/drm/cirrus/cirrus_drv.h int bpp, int pitch); pitch 272 drivers/gpu/drm/drm_client.c buffer->pitch = dumb_args.pitch; pitch 374 drivers/gpu/drm/drm_client.c fb_req.pitch = buffer->pitch; pitch 91 drivers/gpu/drm/drm_dumb_buffers.c args->pitch = 0; pitch 1658 drivers/gpu/drm/drm_fb_helper.c static void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, pitch 1672 drivers/gpu/drm/drm_fb_helper.c info->fix.line_length = pitch; pitch 21 drivers/gpu/drm/drm_format_helper.c unsigned int pitch, unsigned int cpp) pitch 23 drivers/gpu/drm/drm_format_helper.c return clip->y1 * pitch + clip->x1 * cpp; pitch 135 drivers/gpu/drm/drm_framebuffer.c r.pitches[0] = or->pitch; pitch 534 drivers/gpu/drm/drm_framebuffer.c r->pitch = fb->pitches[0]; pitch 218 drivers/gpu/drm/drm_gem_cma_helper.c if (args->pitch < min_pitch) pitch 219 drivers/gpu/drm/drm_gem_cma_helper.c args->pitch = min_pitch; pitch 221 drivers/gpu/drm/drm_gem_cma_helper.c if (args->size < args->pitch * args->height) pitch 222 drivers/gpu/drm/drm_gem_cma_helper.c args->size = args->pitch * args->height; pitch 254 drivers/gpu/drm/drm_gem_cma_helper.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); pitch 255 drivers/gpu/drm/drm_gem_cma_helper.c args->size = args->pitch * args->height; pitch 454 drivers/gpu/drm/drm_gem_shmem_helper.c if (!args->pitch || !args->size) { pitch 455 drivers/gpu/drm/drm_gem_shmem_helper.c args->pitch = min_pitch; pitch 456 drivers/gpu/drm/drm_gem_shmem_helper.c args->size = args->pitch * args->height; pitch 459 drivers/gpu/drm/drm_gem_shmem_helper.c if (args->pitch < min_pitch) pitch 460 drivers/gpu/drm/drm_gem_shmem_helper.c args->pitch = min_pitch; pitch 461 drivers/gpu/drm/drm_gem_shmem_helper.c if (args->size < args->pitch * args->height) pitch 462 drivers/gpu/drm/drm_gem_shmem_helper.c args->size = args->pitch * args->height; pitch 370 drivers/gpu/drm/drm_gem_vram_helper.c size_t pitch, size; pitch 375 drivers/gpu/drm/drm_gem_vram_helper.c pitch = args->width * ((args->bpp + 7) / 8); pitch 376 drivers/gpu/drm/drm_gem_vram_helper.c size = pitch * args->height; pitch 392 drivers/gpu/drm/drm_gem_vram_helper.c args->pitch = pitch; pitch 408 drivers/gpu/drm/exynos/exynos5433_drm_decon.c unsigned int pitch = fb->pitches[0]; pitch 439 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = dma_addr + pitch * state->src.h; pitch 443 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = BIT_VAL(pitch - state->crtc.w * cpp, 27, 14) pitch 446 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = BIT_VAL(pitch - state->crtc.w * cpp, 29, 15) pitch 392 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned int pitch = fb->pitches[0]; pitch 411 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (pitch / cpp) - fb->width; pitch 472 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; pitch 507 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; pitch 849 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; pitch 800 drivers/gpu/drm/exynos/exynos_drm_fimd.c unsigned int pitch = fb->pitches[0]; pitch 806 drivers/gpu/drm/exynos/exynos_drm_fimd.c offset += state->src.y * pitch; pitch 814 drivers/gpu/drm/exynos/exynos_drm_fimd.c size = pitch * state->crtc.h; pitch 825 drivers/gpu/drm/exynos/exynos_drm_fimd.c buf_offsize = pitch - (state->crtc.w * cpp); pitch 360 drivers/gpu/drm/exynos/exynos_drm_gem.c args->pitch = args->width * ((args->bpp + 7) / 8); pitch 361 drivers/gpu/drm/exynos/exynos_drm_gem.c args->size = args->pitch * args->height; pitch 585 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg |= (GSC_SRCIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) | pitch 887 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg |= GSC_DSTIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) | pitch 356 drivers/gpu/drm/exynos/exynos_drm_ipp.c unsigned long size = height * buf->buf.pitch[i]; pitch 481 drivers/gpu/drm/exynos/exynos_drm_ipp.c int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; pitch 575 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->buf.pitch[i] == 0) pitch 576 drivers/gpu/drm/exynos/exynos_drm_ipp.c buf->buf.pitch[i] = width * buf->format->cpp[i]; pitch 577 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->buf.pitch[i] < width * buf->format->cpp[i]) pitch 585 drivers/gpu/drm/exynos/exynos_drm_ipp.c buf->buf.pitch[1] != buf->buf.pitch[2]) pitch 145 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]); pitch 193 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]); pitch 170 drivers/gpu/drm/exynos/exynos_drm_scaler.c val = SCALER_SRC_SPAN_SET_Y_SPAN(src_buf->buf.pitch[0] / pitch 174 drivers/gpu/drm/exynos/exynos_drm_scaler.c val |= SCALER_SRC_SPAN_SET_C_SPAN(src_buf->buf.pitch[1]); pitch 233 drivers/gpu/drm/exynos/exynos_drm_scaler.c val = SCALER_DST_SPAN_SET_Y_SPAN(dst_buf->buf.pitch[0] / pitch 237 drivers/gpu/drm/exynos/exynos_drm_scaler.c val |= SCALER_DST_SPAN_SET_C_SPAN(dst_buf->buf.pitch[1]); pitch 103 drivers/gpu/drm/gma500/gem.c args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); pitch 104 drivers/gpu/drm/gma500/gem.c args->size = args->pitch * args->height; pitch 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 16); pitch 81 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->size = args->pitch * args->height; pitch 387 drivers/gpu/drm/i810/i810_dma.c dev_priv->pitch = init->pitch; pitch 600 drivers/gpu/drm/i810/i810_dma.c int pitch = dev_priv->pitch; pitch 625 drivers/gpu/drm/i810/i810_dma.c unsigned int start = y * pitch + x * cpp; pitch 635 drivers/gpu/drm/i810/i810_dma.c OUT_RING(BR13_SOLID_PATTERN | (0xF0 << 16) | pitch); pitch 646 drivers/gpu/drm/i810/i810_dma.c OUT_RING(BR13_SOLID_PATTERN | (0xF0 << 16) | pitch); pitch 657 drivers/gpu/drm/i810/i810_dma.c OUT_RING(BR13_SOLID_PATTERN | (0xF0 << 16) | pitch); pitch 673 drivers/gpu/drm/i810/i810_dma.c int pitch = dev_priv->pitch; pitch 688 drivers/gpu/drm/i810/i810_dma.c unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; pitch 698 drivers/gpu/drm/i810/i810_dma.c OUT_RING(pitch | (0xCC << 16)); pitch 704 drivers/gpu/drm/i810/i810_dma.c OUT_RING(pitch); pitch 796 drivers/gpu/drm/i810/i810_dma.c int pitch = dev_priv->pitch; pitch 815 drivers/gpu/drm/i810/i810_dma.c OUT_RING(CMD_OP_FRONTBUFFER_INFO | (pitch << 5) /*| ASYNC_FLIP */ ); pitch 104 drivers/gpu/drm/i810/i810_drv.h int pitch; pitch 2179 drivers/gpu/drm/i915/display/intel_display.c return to_intel_framebuffer(fb)->rotated[color_plane].pitch; pitch 2196 drivers/gpu/drm/i915/display/intel_display.c unsigned int pitch = state->color_plane[color_plane].stride; pitch 2198 drivers/gpu/drm/i915/display/intel_display.c return y * pitch + x * cpp; pitch 2251 drivers/gpu/drm/i915/display/intel_display.c unsigned int pitch, pitch 2267 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = pitch / tile_height; pitch 2270 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = pitch / (tile_width * cpp); pitch 2277 drivers/gpu/drm/i915/display/intel_display.c old_offset += *y * pitch + *x * cpp; pitch 2279 drivers/gpu/drm/i915/display/intel_display.c *y = (old_offset - new_offset) / pitch; pitch 2280 drivers/gpu/drm/i915/display/intel_display.c *x = ((old_offset - new_offset) - *y * pitch) / cpp; pitch 2319 drivers/gpu/drm/i915/display/intel_display.c unsigned int pitch, pitch 2337 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = pitch / tile_height; pitch 2340 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = pitch / (tile_width * cpp); pitch 2356 drivers/gpu/drm/i915/display/intel_display.c offset = *y * pitch + *x * cpp; pitch 2359 drivers/gpu/drm/i915/display/intel_display.c *y = (offset & alignment) / pitch; pitch 2360 drivers/gpu/drm/i915/display/intel_display.c *x = ((offset & alignment) - *y * pitch) / cpp; pitch 2374 drivers/gpu/drm/i915/display/intel_display.c int pitch = state->color_plane[color_plane].stride; pitch 2383 drivers/gpu/drm/i915/display/intel_display.c pitch, rotation, alignment); pitch 2729 drivers/gpu/drm/i915/display/intel_display.c intel_fb->rotated[i].pitch = pitch 2754 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = intel_fb->rotated[i].pitch / tile_height; pitch 97 drivers/gpu/drm/i915/display/intel_display_types.h unsigned int pitch; /* pixels */ pitch 230 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c unsigned int pitch; pitch 278 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c for (pitch = max_pitch; pitch; pitch >>= 1) { pitch 279 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * pitch; pitch 286 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c if (pitch > 2 && INTEL_GEN(i915) >= 4) { pitch 287 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * (pitch - 1); pitch 295 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c if (pitch < max_pitch && INTEL_GEN(i915) >= 4) { pitch 296 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * (pitch + 1); pitch 306 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c for_each_prime_number(pitch, max_pitch) { pitch 307 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * pitch; pitch 212 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->width * cpp, 64); pitch 215 drivers/gpu/drm/i915/i915_gem.c if (args->pitch > intel_plane_fb_max_stride(to_i915(dev), format, pitch 217 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->pitch, 4096); pitch 219 drivers/gpu/drm/i915/i915_gem.c args->size = args->pitch * args->height; pitch 197 drivers/gpu/drm/mediatek/mtk_disp_ovl.c unsigned int pitch = pending->pitch & 0xffff; pitch 211 drivers/gpu/drm/mediatek/mtk_disp_ovl.c writel_relaxed(pitch, comp->regs + DISP_REG_OVL_PITCH(idx)); pitch 198 drivers/gpu/drm/mediatek/mtk_disp_rdma.c unsigned int pitch = pending->pitch & 0xffff; pitch 217 drivers/gpu/drm/mediatek/mtk_disp_rdma.c writel_relaxed(pitch, comp->regs + DISP_RDMA_MEM_SRC_PITCH); pitch 104 drivers/gpu/drm/mediatek/mtk_drm_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); pitch 105 drivers/gpu/drm/mediatek/mtk_drm_gem.c args->size = args->pitch * args->height; pitch 112 drivers/gpu/drm/mediatek/mtk_drm_plane.c unsigned int pitch, format; pitch 121 drivers/gpu/drm/mediatek/mtk_drm_plane.c pitch = fb->pitches[0]; pitch 125 drivers/gpu/drm/mediatek/mtk_drm_plane.c addr += (plane->state->src.y1 >> 16) * pitch; pitch 128 drivers/gpu/drm/mediatek/mtk_drm_plane.c state->pending.pitch = pitch; pitch 17 drivers/gpu/drm/mediatek/mtk_drm_plane.h unsigned int pitch; pitch 82 drivers/gpu/drm/meson/meson_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), SZ_64); pitch 83 drivers/gpu/drm/meson/meson_drv.c args->size = PAGE_ALIGN(args->pitch * args->height); pitch 46 drivers/gpu/drm/mga/mga_state.c unsigned int pitch = dev_priv->front_pitch; pitch 61 drivers/gpu/drm/mga/mga_state.c MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); pitch 908 drivers/gpu/drm/mgag200/mgag200_mode.c int pitch; pitch 1025 drivers/gpu/drm/mgag200/mgag200_mode.c pitch = fb->pitches[0] / fb->format->cpp[0]; pitch 1027 drivers/gpu/drm/mgag200/mgag200_mode.c pitch = (pitch * 3) >> (4 - bppshift); pitch 1029 drivers/gpu/drm/mgag200/mgag200_mode.c pitch = pitch >> (4 - bppshift); pitch 1081 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_CRT(19, pitch & 0xFF); pitch 1093 drivers/gpu/drm/mgag200/mgag200_mode.c ext_vga[0] |= (pitch & 0x300) >> 4; pitch 71 drivers/gpu/drm/msm/msm_fbdev.c int ret, pitch; pitch 79 drivers/gpu/drm/msm/msm_fbdev.c pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); pitch 81 drivers/gpu/drm/msm/msm_fbdev.c sizes->surface_height, pitch, format); pitch 525 drivers/gpu/drm/msm/msm_gem.c args->pitch = align_pitch(args->width, args->bpp); pitch 526 drivers/gpu/drm/msm/msm_gem.c args->size = PAGE_ALIGN(args->pitch * args->height); pitch 1037 drivers/gpu/drm/nouveau/dispnv04/crtc.c int bpp, pitch; pitch 1087 drivers/gpu/drm/nouveau/dispnv04/crtc.c state.pitch + state.crtc->x * pitch 72 drivers/gpu/drm/nouveau/dispnv50/atom.h u32 pitch:20; pitch 203 drivers/gpu/drm/nouveau/dispnv50/atom.h u32 pitch[3]; pitch 81 drivers/gpu/drm/nouveau/dispnv50/base507c.c (asyw->image.pitch[0] >> 8) << 8 | pitch 48 drivers/gpu/drm/nouveau/dispnv50/base827c.c (asyw->image.pitch[0] >> 8) << 8 | pitch 39 drivers/gpu/drm/nouveau/dispnv50/base907c.c (asyw->image.pitch[0] >> 8) << 8 | pitch 181 drivers/gpu/drm/nouveau/dispnv50/head507d.c (asyh->core.pitch >> 8) << 8 | pitch 229 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.pitch = ALIGN(asyh->core.w, 64) * 4; pitch 66 drivers/gpu/drm/nouveau/dispnv50/head827d.c (asyh->core.pitch >> 8) << 8 | pitch 176 drivers/gpu/drm/nouveau/dispnv50/head907d.c (asyh->core.pitch >> 8) << 8 | pitch 85 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c (asyw->image.pitch[0] >> 8) << 8 | pitch 43 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c (asyw->image.pitch[0] >> 8) << 8 | pitch 41 drivers/gpu/drm/nouveau/dispnv50/ovly907e.c (asyw->image.pitch[0] >> 8) << 8 | pitch 262 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->image.pitch[0] = 0; pitch 267 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->image.pitch[0] = fb->base.pitches[0]; pitch 133 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c evo_data(push, asyw->image.blocks[0] | (asyw->image.pitch[0] >> 6)); pitch 46 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c evo_data(push, asyw->image.blocks[0] | (asyw->image.pitch[0] >> 6)); pitch 28 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h u32 pitch; pitch 51 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h u32 pitch, u32 flags, struct nvkm_fb_tile *); pitch 53 drivers/gpu/drm/nouveau/nouveau_bo.c u32 addr, u32 size, u32 pitch, u32 flags) pitch 62 drivers/gpu/drm/nouveau/nouveau_bo.c if (tile->pitch) pitch 65 drivers/gpu/drm/nouveau/nouveau_bo.c if (pitch) pitch 66 drivers/gpu/drm/nouveau/nouveau_bo.c nvkm_fb_tile_init(fb, i, addr, size, pitch, flags, tile); pitch 105 drivers/gpu/drm/nouveau/nouveau_bo.c u32 size, u32 pitch, u32 zeta) pitch 115 drivers/gpu/drm/nouveau/nouveau_bo.c if (pitch && !found) { pitch 119 drivers/gpu/drm/nouveau/nouveau_bo.c } else if (tile && fb->tile.region[i].pitch) { pitch 128 drivers/gpu/drm/nouveau/nouveau_bo.c nv10_bo_update_tile_region(dev, found, addr, size, pitch, zeta); pitch 651 drivers/gpu/drm/nouveau/nouveau_display.c args->pitch = roundup(args->width * (args->bpp / 8), 256); pitch 652 drivers/gpu/drm/nouveau/nouveau_display.c args->size = args->pitch * args->height; pitch 1027 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 next = init->addr + init->count * init->pitch; pitch 1031 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c addr += init->pitch; pitch 1047 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 next = init->addr + init->count * init->pitch; pitch 1067 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c addr += init->pitch; pitch 1084 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 next = init->addr + init->count * init->pitch; pitch 1094 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c addr += init->pitch; pitch 1665 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 tail = head + init->count * init->pitch; pitch 1678 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c head = head + init->pitch; pitch 283 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h u32 pitch; pitch 67 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c ent->pitch = 1; pitch 116 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c ent->pitch = 1; pitch 176 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c init->pitch = 1; pitch 1060 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c nvkm_wr32(device, NV10_PGRAPH_TSIZE(i), tile->pitch); pitch 160 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); pitch 166 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nvkm_wr32(device, NV10_PGRAPH_RDI_DATA, tile->pitch); pitch 189 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); pitch 192 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch); pitch 214 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch); pitch 217 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch); pitch 44 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); pitch 53 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch); pitch 56 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch); pitch 61 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); pitch 64 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch); pitch 119 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c nvkm_wr32(device, 0x00b008 + (i * 0x10), tile->pitch); pitch 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c u32 pitch, u32 flags, struct nvkm_fb_tile *tile) pitch 44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); pitch 30 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c nv10_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, pitch 35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c tile->pitch = pitch; pitch 43 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c tile->pitch = 0; pitch 52 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch); pitch 30 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c nv20_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, pitch 35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c tile->pitch = pitch; pitch 64 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c tile->pitch = 0; pitch 74 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch); pitch 30 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c nv30_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, pitch 45 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c tile->pitch = pitch; pitch 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.c nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch); pitch 30 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c nv44_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, pitch 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c tile->pitch = pitch; pitch 44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch); pitch 30 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.c nv46_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, pitch 40 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.c tile->pitch = pitch; pitch 22 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h u32 pitch, u32 flags, struct nvkm_fb_tile *); pitch 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h u32 pitch, u32 flags, struct nvkm_fb_tile *); pitch 48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h u32 pitch, u32 flags, struct nvkm_fb_tile *); pitch 54 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h u32 pitch, u32 flags, struct nvkm_fb_tile *); pitch 66 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h u32 pitch, u32 flags, struct nvkm_fb_tile *); pitch 343 drivers/gpu/drm/omapdrm/omap_fb.c unsigned int pitch = mode_cmd->pitches[0]; pitch 379 drivers/gpu/drm/omapdrm/omap_fb.c if (format->num_planes == 2 && pitch != mode_cmd->pitches[1]) { pitch 385 drivers/gpu/drm/omapdrm/omap_fb.c if (pitch % format->cpp[0]) { pitch 388 drivers/gpu/drm/omapdrm/omap_fb.c pitch, format->cpp[0]); pitch 398 drivers/gpu/drm/omapdrm/omap_fb.c size = pitch * mode_cmd->height / vsub; pitch 596 drivers/gpu/drm/omapdrm/omap_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); pitch 598 drivers/gpu/drm/omapdrm/omap_gem.c args->size = PAGE_ALIGN(args->pitch * args->height); pitch 40 drivers/gpu/drm/qxl/qxl_dumb.c uint32_t pitch, format; pitch 42 drivers/gpu/drm/qxl/qxl_dumb.c pitch = args->width * ((args->bpp + 1) / 8); pitch 43 drivers/gpu/drm/qxl/qxl_dumb.c args->size = pitch * args->height; pitch 59 drivers/gpu/drm/qxl/qxl_dumb.c surf.stride = pitch; pitch 68 drivers/gpu/drm/qxl/qxl_dumb.c args->pitch = pitch; pitch 284 drivers/gpu/drm/r128/r128_state.c u32 pitch, offset; pitch 307 drivers/gpu/drm/r128/r128_state.c pitch = dev_priv->back_pitch >> 3; pitch 319 drivers/gpu/drm/r128/r128_state.c OUT_RING((pitch << 21) | (offset >> 5)); pitch 858 drivers/gpu/drm/r128/r128_state.c data[2] = cpu_to_le32((blit->pitch << 21) | (blit->offset >> 5)); pitch 398 drivers/gpu/drm/radeon/evergreen_cs.c unsigned pitch, slice, mslice; pitch 403 drivers/gpu/drm/radeon/evergreen_cs.c pitch = track->cb_color_pitch[id]; pitch 405 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = (pitch + 1) * 8; pitch 565 drivers/gpu/drm/radeon/evergreen_cs.c unsigned pitch, slice, mslice; pitch 570 drivers/gpu/drm/radeon/evergreen_cs.c pitch = G_028058_PITCH_TILE_MAX(track->db_depth_size); pitch 572 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = (pitch + 1) * 8; pitch 662 drivers/gpu/drm/radeon/evergreen_cs.c unsigned pitch, slice, mslice; pitch 667 drivers/gpu/drm/radeon/evergreen_cs.c pitch = G_028058_PITCH_TILE_MAX(track->db_depth_size); pitch 669 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = (pitch + 1) * 8; pitch 900 drivers/gpu/drm/radeon/r100.c uint32_t pitch; pitch 909 drivers/gpu/drm/radeon/r100.c pitch = stride_bytes / 64; pitch 942 drivers/gpu/drm/radeon/r100.c radeon_ring_write(ring, (pitch << 22) | (src_offset >> 10)); pitch 943 drivers/gpu/drm/radeon/r100.c radeon_ring_write(ring, (pitch << 22) | (dst_offset >> 10)); pitch 1717 drivers/gpu/drm/radeon/r100.c track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK; pitch 1721 drivers/gpu/drm/radeon/r100.c track->zb.pitch = idx_value & RADEON_DEPTHPITCH_MASK; pitch 1804 drivers/gpu/drm/radeon/r100.c track->textures[i].pitch = idx_value + 32; pitch 2079 drivers/gpu/drm/radeon/r100.c DRM_ERROR("pitch %d\n", t->pitch); pitch 2177 drivers/gpu/drm/radeon/r100.c w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i); pitch 2179 drivers/gpu/drm/radeon/r100.c w = track->textures[u].pitch / (1 << i); pitch 2254 drivers/gpu/drm/radeon/r100.c size = track->cb[i].pitch * track->cb[i].cpp * track->maxy; pitch 2261 drivers/gpu/drm/radeon/r100.c i, track->cb[i].pitch, track->cb[i].cpp, pitch 2273 drivers/gpu/drm/radeon/r100.c size = track->zb.pitch * track->zb.cpp * track->maxy; pitch 2280 drivers/gpu/drm/radeon/r100.c track->zb.pitch, track->zb.cpp, pitch 2293 drivers/gpu/drm/radeon/r100.c size = track->aa.pitch * track->cb[0].cpp * track->maxy; pitch 2300 drivers/gpu/drm/radeon/r100.c i, track->aa.pitch, track->cb[0].cpp, pitch 2402 drivers/gpu/drm/radeon/r100.c track->cb[i].pitch = 8192; pitch 2408 drivers/gpu/drm/radeon/r100.c track->zb.pitch = 8192; pitch 2421 drivers/gpu/drm/radeon/r100.c track->textures[i].pitch = 16536; pitch 3094 drivers/gpu/drm/radeon/r100.c uint32_t tiling_flags, uint32_t pitch, pitch 3109 drivers/gpu/drm/radeon/r100.c pitch = 0; pitch 3129 drivers/gpu/drm/radeon/r100.c flags |= pitch / 16; pitch 3131 drivers/gpu/drm/radeon/r100.c flags |= pitch / 8; pitch 17 drivers/gpu/drm/radeon/r100_track.h unsigned pitch; pitch 41 drivers/gpu/drm/radeon/r100_track.h unsigned pitch; pitch 304 drivers/gpu/drm/radeon/r200.c track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK; pitch 308 drivers/gpu/drm/radeon/r200.c track->zb.pitch = idx_value & RADEON_DEPTHPITCH_MASK; pitch 409 drivers/gpu/drm/radeon/r200.c track->textures[i].pitch = idx_value + 32; pitch 804 drivers/gpu/drm/radeon/r300.c track->cb[i].pitch = idx_value & 0x3FFE; pitch 888 drivers/gpu/drm/radeon/r300.c track->zb.pitch = idx_value & 0x3FFC; pitch 1034 drivers/gpu/drm/radeon/r300.c track->textures[i].pitch = tmp + 1; pitch 1139 drivers/gpu/drm/radeon/r300.c track->aa.pitch = idx_value & 0x3FFE; pitch 3028 drivers/gpu/drm/radeon/r600.c uint32_t tiling_flags, uint32_t pitch, pitch 354 drivers/gpu/drm/radeon/r600_cs.c u32 height, height_align, pitch, pitch_align, depth_align; pitch 372 drivers/gpu/drm/radeon/r600_cs.c pitch = (G_028060_PITCH_TILE_MAX(track->cb_color_size[i]) + 1) * 8; pitch 375 drivers/gpu/drm/radeon/r600_cs.c height = slice_tile_max / pitch; pitch 413 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(pitch, pitch_align)) { pitch 415 drivers/gpu/drm/radeon/r600_cs.c __func__, __LINE__, pitch, pitch_align, array_mode); pitch 430 drivers/gpu/drm/radeon/r600_cs.c tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) * pitch 456 drivers/gpu/drm/radeon/r600_cs.c pitch, height, r600_fmt_get_nblocksx(format, pitch), pitch 463 drivers/gpu/drm/radeon/r600_cs.c tmp = (height * pitch) >> 6; pitch 466 drivers/gpu/drm/radeon/r600_cs.c tmp = S_028060_PITCH_TILE_MAX((pitch / 8) - 1) | pitch 522 drivers/gpu/drm/radeon/r600_cs.c u32 pitch = 8192; pitch 569 drivers/gpu/drm/radeon/r600_cs.c pitch = (G_028000_PITCH_TILE_MAX(track->db_depth_size) + 1) * 8; pitch 572 drivers/gpu/drm/radeon/r600_cs.c height = slice_tile_max / pitch; pitch 604 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(pitch, pitch_align)) { pitch 606 drivers/gpu/drm/radeon/r600_cs.c __func__, __LINE__, pitch, pitch_align, array_mode); pitch 648 drivers/gpu/drm/radeon/r600_cs.c nbx = pitch; pitch 1479 drivers/gpu/drm/radeon/r600_cs.c u32 height_align, pitch, pitch_align, depth_align; pitch 1508 drivers/gpu/drm/radeon/r600_cs.c pitch = (G_038000_PITCH(word0) + 1) * 8; pitch 1564 drivers/gpu/drm/radeon/r600_cs.c if (!IS_ALIGNED(pitch, pitch_align)) { pitch 1566 drivers/gpu/drm/radeon/r600_cs.c __func__, __LINE__, pitch, pitch_align, G_038000_TILE_MODE(word0)); pitch 1599 drivers/gpu/drm/radeon/r600_cs.c dev_warn(p->dev, "alignments %d %d %d %lld\n", pitch, pitch_align, height_align, base_align); pitch 499 drivers/gpu/drm/radeon/radeon.h u32 pitch; pitch 1935 drivers/gpu/drm/radeon/radeon.h uint32_t tiling_flags, uint32_t pitch, pitch 91 drivers/gpu/drm/radeon/radeon_asic.h uint32_t tiling_flags, uint32_t pitch, pitch 339 drivers/gpu/drm/radeon/radeon_asic.h uint32_t tiling_flags, uint32_t pitch, pitch 512 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_bo_set_tiling_flags(robj, args->tiling_flags, args->pitch); pitch 533 drivers/gpu/drm/radeon/radeon_gem.c radeon_bo_get_tiling_flags(rbo, &args->tiling_flags, &args->pitch); pitch 758 drivers/gpu/drm/radeon/radeon_gem.c args->pitch = radeon_align_pitch(rdev, args->width, pitch 760 drivers/gpu/drm/radeon/radeon_gem.c args->size = args->pitch * args->height; pitch 654 drivers/gpu/drm/radeon/radeon_object.c radeon_set_surface_reg(rdev, i, bo->tiling_flags, bo->pitch, pitch 676 drivers/gpu/drm/radeon/radeon_object.c uint32_t tiling_flags, uint32_t pitch) pitch 730 drivers/gpu/drm/radeon/radeon_object.c bo->pitch = pitch; pitch 737 drivers/gpu/drm/radeon/radeon_object.c uint32_t *pitch) pitch 743 drivers/gpu/drm/radeon/radeon_object.c if (pitch) pitch 744 drivers/gpu/drm/radeon/radeon_object.c *pitch = bo->pitch; pitch 147 drivers/gpu/drm/radeon/radeon_object.h u32 tiling_flags, u32 pitch); pitch 149 drivers/gpu/drm/radeon/radeon_object.h u32 *tiling_flags, u32 *pitch); pitch 360 drivers/gpu/drm/radeon/radeon_uvd.c unsigned pitch = msg[28]; pitch 426 drivers/gpu/drm/radeon/radeon_uvd.c if (width > pitch) { pitch 301 drivers/gpu/drm/rcar-du/rcar_du_kms.c args->pitch = roundup(min_pitch, align); pitch 334 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int pitch; pitch 347 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = fb->pitches[0]; pitch 349 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = fb->pitches[0] * 8 / state->format->bpp; pitch 356 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = drm_rect_width(&state->state.src) >> 16; pitch 367 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch * 2 : pitch); pitch 391 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnMWR, pitch); pitch 156 drivers/gpu/drm/rcar-du/rcar_du_vsp.c .pitch = fb->pitches[0], pitch 232 drivers/gpu/drm/rcar-du/rcar_du_writeback.c cfg->pitch = fb->pitches[0]; pitch 421 drivers/gpu/drm/rockchip/rockchip_drm_gem.c args->pitch = ALIGN(min_pitch, 64); pitch 422 drivers/gpu/drm/rockchip/rockchip_drm_gem.c args->size = args->pitch * args->height; pitch 48 drivers/gpu/drm/stm/drv.c args->pitch = roundup(min_pitch, 128); pitch 36 drivers/gpu/drm/sun4i/sun4i_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); pitch 414 drivers/gpu/drm/tegra/gem.c args->pitch = round_up(min_pitch, tegra->pitch_align); pitch 415 drivers/gpu/drm/tegra/gem.c args->size = args->pitch * args->height; pitch 28 drivers/gpu/drm/tilcdc/tilcdc_plane.c unsigned int pitch; pitch 57 drivers/gpu/drm/tilcdc/tilcdc_plane.c pitch = crtc_state->mode.hdisplay * pitch 59 drivers/gpu/drm/tilcdc/tilcdc_plane.c if (state->fb->pitches[0] != pitch) { pitch 81 drivers/gpu/drm/udl/udl_gem.c args->pitch = args->width * DIV_ROUND_UP(args->bpp, 8); pitch 82 drivers/gpu/drm/udl/udl_gem.c args->size = args->pitch * args->height; pitch 29 drivers/gpu/drm/vboxvideo/modesetting.c u32 pitch, u32 width, u32 height, pitch 43 drivers/gpu/drm/vboxvideo/modesetting.c p->line_size = pitch; pitch 57 drivers/gpu/drm/vboxvideo/vbox_fb.c u32 pitch; pitch 61 drivers/gpu/drm/vboxvideo/vbox_fb.c pitch = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); pitch 64 drivers/gpu/drm/vboxvideo/vbox_fb.c mode_cmd.pitches[0] = pitch; pitch 66 drivers/gpu/drm/vboxvideo/vbox_fb.c size = pitch * mode_cmd.height; pitch 34 drivers/gpu/drm/vboxvideo/vbox_mode.c int width, height, bpp, pitch; pitch 42 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch = fb ? fb->pitches[0] : width * bpp / 8; pitch 53 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->fb_offset / pitch < 0xffff - crtc->y && pitch 57 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_write_ioport(VBE_DISPI_INDEX_VIRT_WIDTH, pitch * 8 / bpp); pitch 61 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->fb_offset % pitch / bpp * 8 + vbox_crtc->x); pitch 63 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->fb_offset / pitch + vbox_crtc->y); pitch 72 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->y * pitch, pitch 73 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch, width, height, bpp, flags); pitch 54 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h u32 pitch, u32 width, u32 height, pitch 480 drivers/gpu/drm/vc4/vc4_bo.c if (args->pitch < min_pitch) pitch 481 drivers/gpu/drm/vc4/vc4_bo.c args->pitch = min_pitch; pitch 483 drivers/gpu/drm/vc4/vc4_bo.c if (args->size < args->pitch * args->height) pitch 484 drivers/gpu/drm/vc4/vc4_bo.c args->size = args->pitch * args->height; pitch 211 drivers/gpu/drm/vgem/vgem_drv.c u64 pitch, size; pitch 213 drivers/gpu/drm/vgem/vgem_drv.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); pitch 214 drivers/gpu/drm/vgem/vgem_drv.c size = args->height * pitch; pitch 223 drivers/gpu/drm/vgem/vgem_drv.c args->pitch = pitch; pitch 306 drivers/gpu/drm/via/via_verifier.c uint32_t *addr, *pitch, *height, tex; pitch 317 drivers/gpu/drm/via/via_verifier.c pitch = &(cur_seq->pitch[tex][start]); pitch 325 drivers/gpu/drm/via/via_verifier.c tmp += (*height++ * *pitch++); pitch 327 drivers/gpu/drm/via/via_verifier.c tmp += (*height++ << *pitch++); pitch 452 drivers/gpu/drm/via/via_verifier.c cur_seq->pitch[cur_seq->texture][tmp] = pitch 456 drivers/gpu/drm/via/via_verifier.c cur_seq->pitch[cur_seq->texture][tmp] = pitch 41 drivers/gpu/drm/via/via_verifier.h uint32_t pitch[2][10]; pitch 91 drivers/gpu/drm/virtio/virtgpu_gem.c uint32_t pitch; pitch 96 drivers/gpu/drm/virtio/virtgpu_gem.c pitch = args->width * 4; pitch 97 drivers/gpu/drm/virtio/virtgpu_gem.c args->size = pitch * args->height; pitch 110 drivers/gpu/drm/virtio/virtgpu_gem.c args->pitch = pitch; pitch 33 drivers/gpu/drm/vkms/vkms_composer.c + (i * composer->pitch) pitch 81 drivers/gpu/drm/vkms/vkms_composer.c + (i_dst * dest_composer->pitch) pitch 84 drivers/gpu/drm/vkms/vkms_composer.c + (i * src_composer->pitch) pitch 27 drivers/gpu/drm/vkms/vkms_drv.h unsigned int pitch; pitch 124 drivers/gpu/drm/vkms/vkms_gem.c u64 pitch, size; pitch 129 drivers/gpu/drm/vkms/vkms_gem.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); pitch 130 drivers/gpu/drm/vkms/vkms_gem.c size = pitch * args->height; pitch 140 drivers/gpu/drm/vkms/vkms_gem.c args->pitch = pitch; pitch 109 drivers/gpu/drm/vkms/vkms_plane.c composer->pitch = fb->pitches[0]; pitch 1167 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h u32 pitch; pitch 1172 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h pitch = blocks.width * desc->pitch_bytes_per_block; pitch 1174 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h return pitch; pitch 1191 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h u32 pitch) pitch 1206 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h if (pitch == 0) pitch 1207 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h pitch = svga3dsurface_calculate_pitch(desc, size); pitch 1209 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h slice_size = clamped_umul32(image_blocks.height, pitch); pitch 668 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 pitch; pitch 1038 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->pitch = args->width * ((args->bpp + 7) / 8); pitch 1039 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->size = args->pitch * args->height; pitch 1083 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h unsigned width, unsigned height, unsigned pitch, pitch 1086 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h uint32_t pitch, pitch 213 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (box->w == 64 && cmd->dma.guest.pitch == 64*4) { pitch 219 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c virtual + i * cmd->dma.guest.pitch, pitch 1879 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c unsigned width, unsigned height, unsigned pitch, pitch 1883 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); pitch 1885 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_mmio_write(pitch, vmw_priv->mmio_virt + pitch 1982 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c uint32_t pitch, pitch 1985 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c return ((u64) pitch * (u64) height) < (u64) pitch 162 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_PITCH_1].value = arg->pitch[0]; pitch 163 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_PITCH_2].value = arg->pitch[1]; pitch 164 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_PITCH_3].value = arg->pitch[2]; pitch 154 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->obj.backingStore.pitch = mode->hdisplay * 4; pitch 72 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c u32 pitch; pitch 509 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.guest.pitch = ddirty->pitch; pitch 597 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c src_pitch = ddirty->pitch; pitch 708 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty.pitch = vfb->base.pitches[0]; pitch 1214 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd_dma->body.guest.pitch = update->vfb->base.pitches[0]; pitch 297 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.pitch = svga3dsurface_calculate_pitch(desc, pitch 317 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.pitch); pitch 399 drivers/gpu/drm/xen/xen_drm_front.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); pitch 400 drivers/gpu/drm/xen/xen_drm_front.c args->size = args->pitch * args->height; pitch 455 drivers/media/common/saa7146/saa7146_hlp.c vdma2->pitch = 0x00; pitch 512 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, PITCH2, vdma2.pitch); pitch 579 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch = 2*b_bpl; pitch 581 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_even = base + (w_y * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); pitch 582 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_odd = vdma1.base_even + (vdma1.pitch / 2); pitch 583 drivers/media/common/saa7146/saa7146_hlp.c vdma1.prot_addr = vdma1.base_even + (w_height * (vdma1.pitch / 2)); pitch 586 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_even = base + ((w_y+w_height) * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); pitch 587 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_odd = vdma1.base_even - (vdma1.pitch / 2); pitch 588 drivers/media/common/saa7146/saa7146_hlp.c vdma1.prot_addr = vdma1.base_odd - (w_height * (vdma1.pitch / 2)); pitch 595 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 598 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 602 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 606 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch *= -1; pitch 686 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where+0x0c, vdma->pitch); pitch 720 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch = bytesperline*2; pitch 722 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch = (width*depth*2)/8; pitch 729 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_even = buf->pt[0].offset+(vdma1.pitch/2)*height; pitch 730 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); pitch 733 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); pitch 734 drivers/media/common/saa7146/saa7146_hlp.c vdma1.prot_addr = buf->pt[0].offset+(vdma1.pitch/2)*height; pitch 742 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 746 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 750 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 754 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 758 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch *= -1; pitch 770 drivers/media/common/saa7146/saa7146_hlp.c vdma2->pitch = width; pitch 771 drivers/media/common/saa7146/saa7146_hlp.c vdma3->pitch = width; pitch 777 drivers/media/common/saa7146/saa7146_hlp.c vdma2->base_even = ((vdma2->pitch/2)*height)+buf->pt[1].offset; pitch 778 drivers/media/common/saa7146/saa7146_hlp.c vdma2->base_odd = vdma2->base_even - (vdma2->pitch/2); pitch 781 drivers/media/common/saa7146/saa7146_hlp.c vdma3->base_even = ((vdma3->pitch/2)*height)+buf->pt[2].offset; pitch 782 drivers/media/common/saa7146/saa7146_hlp.c vdma3->base_odd = vdma3->base_even - (vdma3->pitch/2); pitch 785 drivers/media/common/saa7146/saa7146_hlp.c vdma3->base_odd = vdma3->base_even + (vdma3->pitch/2); pitch 786 drivers/media/common/saa7146/saa7146_hlp.c vdma3->prot_addr = (vdma3->pitch/2)*height+buf->pt[2].offset; pitch 789 drivers/media/common/saa7146/saa7146_hlp.c vdma2->base_odd = vdma2->base_even + (vdma2->pitch/2); pitch 790 drivers/media/common/saa7146/saa7146_hlp.c vdma2->prot_addr = (vdma2->pitch/2)*height+buf->pt[1].offset; pitch 801 drivers/media/common/saa7146/saa7146_hlp.c vdma2->pitch = width/2; pitch 802 drivers/media/common/saa7146/saa7146_hlp.c vdma3->pitch = width/2; pitch 806 drivers/media/common/saa7146/saa7146_hlp.c vdma2->base_even = ((vdma2->pitch/2)*height)+buf->pt[2].offset; pitch 807 drivers/media/common/saa7146/saa7146_hlp.c vdma2->base_odd = vdma2->base_even - (vdma2->pitch/2); pitch 810 drivers/media/common/saa7146/saa7146_hlp.c vdma3->base_even = ((vdma3->pitch/2)*height)+buf->pt[1].offset; pitch 811 drivers/media/common/saa7146/saa7146_hlp.c vdma3->base_odd = vdma3->base_even - (vdma3->pitch/2); pitch 815 drivers/media/common/saa7146/saa7146_hlp.c vdma3->base_odd = vdma3->base_even + (vdma3->pitch); pitch 816 drivers/media/common/saa7146/saa7146_hlp.c vdma3->prot_addr = (vdma3->pitch/2)*height+buf->pt[2].offset; pitch 819 drivers/media/common/saa7146/saa7146_hlp.c vdma2->base_odd = vdma2->base_even + (vdma2->pitch); pitch 820 drivers/media/common/saa7146/saa7146_hlp.c vdma2->prot_addr = (vdma2->pitch/2)*height+buf->pt[1].offset; pitch 851 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch = width*2; pitch 857 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_even = ((vdma1.pitch/2)*height)+buf->pt[0].offset; pitch 858 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2); pitch 861 drivers/media/common/saa7146/saa7146_hlp.c vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2); pitch 862 drivers/media/common/saa7146/saa7146_hlp.c vdma1.prot_addr = (vdma1.pitch/2)*height+buf->pt[0].offset; pitch 889 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 891 drivers/media/common/saa7146/saa7146_hlp.c vdma2.pitch /= 2; pitch 893 drivers/media/common/saa7146/saa7146_hlp.c vdma3.pitch /= 2; pitch 896 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 898 drivers/media/common/saa7146/saa7146_hlp.c vdma2.pitch /= 2; pitch 900 drivers/media/common/saa7146/saa7146_hlp.c vdma3.pitch /= 2; pitch 904 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch /= 2; pitch 907 drivers/media/common/saa7146/saa7146_hlp.c vdma2.pitch /= 2; pitch 910 drivers/media/common/saa7146/saa7146_hlp.c vdma3.pitch /= 2; pitch 914 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch *= -1; pitch 915 drivers/media/common/saa7146/saa7146_hlp.c vdma2.pitch *= -1; pitch 916 drivers/media/common/saa7146/saa7146_hlp.c vdma3.pitch *= -1; pitch 156 drivers/media/common/saa7146/saa7146_vbi.c vdma3.pitch = vbi_pixel_to_capture; pitch 241 drivers/media/pci/bt8xx/bttvp.h unsigned int pitch, unsigned int skip_lines, pitch 825 drivers/media/pci/saa7164/saa7164-api.c port->pitch = port->hwcfg.BARLocation + (2 * sizeof(u32)); pitch 860 drivers/media/pci/saa7164/saa7164-api.c port->pitch = port->hwcfg.BARLocation + (2 * sizeof(u32)); pitch 894 drivers/media/pci/saa7164/saa7164-api.c port->pitch = port->hwcfg.BARLocation + (2 * sizeof(u32)); pitch 99 drivers/media/pci/saa7164/saa7164-buffer.c buf->actual_size = params->pitch * params->numberoflines; pitch 229 drivers/media/pci/saa7164/saa7164-buffer.c saa7164_writel(port->pitch, params->pitch); pitch 230 drivers/media/pci/saa7164/saa7164-buffer.c saa7164_writel(port->bufsize, params->pitch * params->numberoflines); pitch 237 drivers/media/pci/saa7164/saa7164-buffer.c dprintk(DBGLVL_BUF, " pitch 0x%x = %d\n", port->pitch, pitch 238 drivers/media/pci/saa7164/saa7164-buffer.c saa7164_readl(port->pitch)); pitch 357 drivers/media/pci/saa7164/saa7164-dvb.c port->hw_streamingparams.pitch = 188; pitch 370 drivers/media/pci/saa7164/saa7164-dvb.c port->hw_streamingparams.pitch); pitch 115 drivers/media/pci/saa7164/saa7164-encoder.c params->pitch = 128; pitch 126 drivers/media/pci/saa7164/saa7164-encoder.c params->pitch = 188; pitch 143 drivers/media/pci/saa7164/saa7164-encoder.c params->pitch); pitch 162 drivers/media/pci/saa7164/saa7164-encoder.c len = params->numberoflines * params->pitch; pitch 210 drivers/media/pci/saa7164/saa7164-types.h u32 pitch; pitch 82 drivers/media/pci/saa7164/saa7164-vbi.c params->pitch = 1600; pitch 83 drivers/media/pci/saa7164/saa7164-vbi.c params->pitch = 1440; pitch 85 drivers/media/pci/saa7164/saa7164-vbi.c ((params->numberoflines * params->pitch) / PAGE_SIZE); pitch 96 drivers/media/pci/saa7164/saa7164-vbi.c params->pitch); pitch 115 drivers/media/pci/saa7164/saa7164-vbi.c len = params->numberoflines * params->pitch; pitch 337 drivers/media/pci/saa7164/saa7164.h u32 pitch; pitch 645 drivers/media/pci/sta2x11/sta2x11_vip.c unsigned int t_stop, b_stop, pitch; pitch 663 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 4 * vip->format.width; pitch 669 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 2 * vip->format.width; pitch 675 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 2 * vip->format.width; pitch 692 drivers/media/pci/sta2x11/sta2x11_vip.c reg_write(vip, DVP_VMP, pitch); pitch 108 drivers/media/platform/mtk-mdp/mtk_mdp_core.h unsigned int pitch[VIDEO_MAX_PLANES]; pitch 718 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->pitch[i] = pix_mp->plane_fmt[i].bytesperline; pitch 575 drivers/media/platform/vsp1/vsp1_drm.c u32 pixelformat, unsigned int pitch) pitch 597 drivers/media/platform/vsp1/vsp1_drm.c rwpf->format.plane_fmt[0].bytesperline = pitch; pitch 598 drivers/media/platform/vsp1/vsp1_drm.c rwpf->format.plane_fmt[1].bytesperline = pitch / chroma_hsub; pitch 837 drivers/media/platform/vsp1/vsp1_drm.c cfg->pixelformat, cfg->pitch, &cfg->mem[0], &cfg->mem[1], pitch 845 drivers/media/platform/vsp1/vsp1_drm.c cfg->pitch); pitch 888 drivers/media/platform/vsp1/vsp1_drm.c wb_cfg->pitch); pitch 393 drivers/ps3/ps3av_cmd.c video_mode->pitch = video_mode->width * 4; /* line_length */ pitch 404 drivers/ps3/ps3av_cmd.c video_mode->pitch, video_mode->video_out_format, pitch 165 drivers/staging/sm750fb/sm750.c unsigned int base, pitch, Bpp, rop; pitch 179 drivers/staging/sm750fb/sm750.c pitch = info->fix.line_length; pitch 195 drivers/staging/sm750fb/sm750.c base, pitch, Bpp, pitch 207 drivers/staging/sm750fb/sm750.c unsigned int base, pitch, Bpp; pitch 217 drivers/staging/sm750fb/sm750.c pitch = info->fix.line_length; pitch 229 drivers/staging/sm750fb/sm750.c base, pitch, region->sx, region->sy, pitch 230 drivers/staging/sm750fb/sm750.c base, pitch, Bpp, region->dx, region->dy, pitch 239 drivers/staging/sm750fb/sm750.c unsigned int base, pitch, Bpp; pitch 251 drivers/staging/sm750fb/sm750.c pitch = info->fix.line_length; pitch 279 drivers/staging/sm750fb/sm750.c base, pitch, Bpp, pitch 89 drivers/staging/sm750fb/sm750_accel.c u32 base, u32 pitch, u32 Bpp, pitch 106 drivers/staging/sm750fb/sm750_accel.c ((pitch / Bpp << DE_PITCH_DESTINATION_SHIFT) & pitch 108 drivers/staging/sm750fb/sm750_accel.c (pitch / Bpp & DE_PITCH_SOURCE_MASK)); /* dpr10 */ pitch 111 drivers/staging/sm750fb/sm750_accel.c ((pitch / Bpp << DE_WINDOW_WIDTH_DST_SHIFT) & pitch 113 drivers/staging/sm750fb/sm750_accel.c (pitch / Bpp & DE_WINDOW_WIDTH_SRC_MASK)); /* dpr44 */ pitch 193 drivers/staging/sm750fb/sm750_accel.h u32 base, u32 pitch, u32 Bpp, pitch 88 drivers/staging/sm750fb/sm750_cursor.c int i, j, count, pitch, offset; pitch 94 drivers/staging/sm750fb/sm750_cursor.c pitch = cursor->w >> 3; pitch 97 drivers/staging/sm750fb/sm750_cursor.c count = pitch * cursor->h; pitch 125 drivers/staging/sm750fb/sm750_cursor.c if ((i + 1) % pitch == 0) { pitch 138 drivers/staging/sm750fb/sm750_cursor.c int i, j, count, pitch, offset; pitch 144 drivers/staging/sm750fb/sm750_cursor.c pitch = cursor->w >> 3; pitch 147 drivers/staging/sm750fb/sm750_cursor.c count = pitch * cursor->h; pitch 168 drivers/staging/sm750fb/sm750_cursor.c if (!(i & (pitch - 1))) { pitch 56 drivers/staging/speakup/speakup_acntpc.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 41 drivers/staging/speakup/speakup_acntsa.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 49 drivers/staging/speakup/speakup_apollo.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 42 drivers/staging/speakup/speakup_audptr.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 38 drivers/staging/speakup/speakup_bns.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 61 drivers/staging/speakup/speakup_decext.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 157 drivers/staging/speakup/speakup_decpc.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 63 drivers/staging/speakup/speakup_dectlk.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 64 drivers/staging/speakup/speakup_dtlk.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 302 drivers/staging/speakup/speakup_dtlk.c status.pitch = *t++; pitch 47 drivers/staging/speakup/speakup_dtlk.h u_char pitch; /* nP; 0-99 */ pitch 41 drivers/staging/speakup/speakup_dummy.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 53 drivers/staging/speakup/speakup_keypc.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 45 drivers/staging/speakup/speakup_ltlk.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 61 drivers/staging/speakup/speakup_soft.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 40 drivers/staging/speakup/speakup_spkout.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 37 drivers/staging/speakup/speakup_txprt.c __ATTR(pitch, 0644, spk_var_show, spk_var_store); pitch 284 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 pitch[4]; pitch 202 drivers/video/console/vgacon.c int pitch = vga_video_num_columns * 2; pitch 204 drivers/video/console/vgacon.c int rows = size / pitch; pitch 214 drivers/video/console/vgacon.c vgacon_scrollback_cur->size = rows * pitch; pitch 3343 drivers/video/fbdev/amifb.c u32 dx, dy, width, height, pitch; pitch 3365 drivers/video/fbdev/amifb.c pitch = (image->width + 7) / 8; pitch 3372 drivers/video/fbdev/amifb.c src += pitch; pitch 2581 drivers/video/fbdev/atafb.c u32 dx, dy, width, height, pitch; pitch 2611 drivers/video/fbdev/atafb.c pitch = (image->width + 7) / 8; pitch 2631 drivers/video/fbdev/atafb.c src += pitch; pitch 423 drivers/video/fbdev/aty/aty128fb.c u32 pitch; pitch 739 drivers/video/fbdev/aty/aty128fb.c pitch_value = par->crtc.pitch; pitch 1031 drivers/video/fbdev/aty/aty128fb.c aty_st_le32(CRTC_PITCH, crtc->pitch); pitch 1147 drivers/video/fbdev/aty/aty128fb.c crtc->pitch = vxres >> 3; pitch 37 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | pitch 39 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); pitch 40 drivers/video/fbdev/aty/radeon_accel.c OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); pitch 287 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | pitch 289 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); pitch 290 drivers/video/fbdev/aty/radeon_accel.c OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); pitch 840 drivers/video/fbdev/aty/radeon_base.c unsigned int pitch; pitch 929 drivers/video/fbdev/aty/radeon_base.c pitch = ((v.xres_virtual * ((v.bits_per_pixel + 1) / 8) + 0x3f) pitch 931 drivers/video/fbdev/aty/radeon_base.c v.xres_virtual = (pitch << 6) / ((v.bits_per_pixel + 1) / 8); pitch 1784 drivers/video/fbdev/aty/radeon_base.c rinfo->pitch = ((mode->xres_virtual * ((mode->bits_per_pixel + 1) / 8) + 0x3f) pitch 1788 drivers/video/fbdev/aty/radeon_base.c newmode->crtc_pitch = (rinfo->pitch << 3) / ((mode->bits_per_pixel + 1) / 8); pitch 1950 drivers/video/fbdev/aty/radeon_base.c info->fix.line_length = rinfo->pitch*64; pitch 325 drivers/video/fbdev/aty/radeonfb.h int pitch, bpp, depth; pitch 664 drivers/video/fbdev/cirrusfb.c int pitch; pitch 1204 drivers/video/fbdev/cirrusfb.c pitch = info->fix.line_length >> 3; pitch 1205 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, VGA_CRTC_OFFSET, pitch & 0xff); pitch 1207 drivers/video/fbdev/cirrusfb.c if (pitch & 0x100) pitch 1215 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, CL_CRT1D, (pitch >> 9) & 1); pitch 62 drivers/video/fbdev/controlfb.c int pitch; pitch 234 drivers/video/fbdev/controlfb.c info->fix.line_length = p->par.pitch; pitch 252 drivers/video/fbdev/controlfb.c par->yoffset * par->pitch + (par->xoffset << par->cmode)); pitch 512 drivers/video/fbdev/controlfb.c out_le32(CNTRL_REG(p,pitch), par->pitch); pitch 515 drivers/video/fbdev/controlfb.c out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch pitch 527 drivers/video/fbdev/controlfb.c p->par.pitch); pitch 880 drivers/video/fbdev/controlfb.c par->pitch = par->vxres << par->cmode; pitch 890 drivers/video/fbdev/controlfb.c if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) pitch 63 drivers/video/fbdev/controlfb.h struct preg pitch; /* addrs diff between scan lines */ pitch 153 drivers/video/fbdev/core/bitblit.c u32 mod = vc->vc_font.width % 8, cnt, pitch, size; pitch 177 drivers/video/fbdev/core/bitblit.c pitch = DIV_ROUND_UP(image.width, 8) + scan_align; pitch 178 drivers/video/fbdev/core/bitblit.c pitch &= ~scan_align; pitch 179 drivers/video/fbdev/core/bitblit.c size = pitch * image.height + buf_align; pitch 185 drivers/video/fbdev/core/bitblit.c bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, pitch 189 drivers/video/fbdev/core/bitblit.c pitch, width, cellsize, &image, pitch 145 drivers/video/fbdev/core/cfbimgblt.c u32 val, pitch = p->fix.line_length; pitch 195 drivers/video/fbdev/core/cfbimgblt.c dst1 += pitch; pitch 198 drivers/video/fbdev/core/cfbimgblt.c dst2 += pitch; pitch 2648 drivers/video/fbdev/core/fbcon.c int pitch = (font->width+7) >> 3; pitch 2664 drivers/video/fbdev/core/fbcon.c size = h * pitch * charcount; pitch 2676 drivers/video/fbdev/core/fbcon.c memcpy(new_data + i*h*pitch, data + i*32*pitch, h*pitch); pitch 140 drivers/video/fbdev/core/fbcon_ccw.c u32 cnt, pitch, size; pitch 170 drivers/video/fbdev/core/fbcon_ccw.c pitch = ((image.width + 7) >> 3) + scan_align; pitch 171 drivers/video/fbdev/core/fbcon_ccw.c pitch &= ~scan_align; pitch 172 drivers/video/fbdev/core/fbcon_ccw.c size = pitch * image.height + buf_align; pitch 176 drivers/video/fbdev/core/fbcon_ccw.c ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch, pitch 125 drivers/video/fbdev/core/fbcon_cw.c u32 cnt, pitch, size; pitch 153 drivers/video/fbdev/core/fbcon_cw.c pitch = ((image.width + 7) >> 3) + scan_align; pitch 154 drivers/video/fbdev/core/fbcon_cw.c pitch &= ~scan_align; pitch 155 drivers/video/fbdev/core/fbcon_cw.c size = pitch * image.height + buf_align; pitch 159 drivers/video/fbdev/core/fbcon_cw.c cw_putcs_aligned(vc, info, s, attribute, cnt, pitch, pitch 23 drivers/video/fbdev/core/fbcon_rotate.h static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) pitch 25 drivers/video/fbdev/core/fbcon_rotate.h u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; pitch 31 drivers/video/fbdev/core/fbcon_rotate.h static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) pitch 33 drivers/video/fbdev/core/fbcon_rotate.h u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; pitch 162 drivers/video/fbdev/core/fbcon_ud.c u32 mod = vc->vc_font.width % 8, cnt, pitch, size; pitch 193 drivers/video/fbdev/core/fbcon_ud.c pitch = ((image.width + 7) >> 3) + scan_align; pitch 194 drivers/video/fbdev/core/fbcon_ud.c pitch &= ~scan_align; pitch 195 drivers/video/fbdev/core/fbcon_ud.c size = pitch * image.height + buf_align; pitch 201 drivers/video/fbdev/core/fbcon_ud.c ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, pitch 204 drivers/video/fbdev/core/fbcon_ud.c ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch, pitch 117 drivers/video/fbdev/core/sysimgblt.c u32 val, pitch = p->fix.line_length; pitch 166 drivers/video/fbdev/core/sysimgblt.c dst1 += pitch; pitch 169 drivers/video/fbdev/core/sysimgblt.c dst2 += pitch; pitch 425 drivers/video/fbdev/cyber2000fb.c u_int pitch; pitch 525 drivers/video/fbdev/cyber2000fb.c ((hw->pitch >> 4) & 0x30), cfb); pitch 567 drivers/video/fbdev/cyber2000fb.c hw->crtc[13] = hw->pitch; pitch 871 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 3; pitch 877 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 2; pitch 897 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 3; pitch 904 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 1; pitch 928 drivers/video/fbdev/cyber2000fb.c hw.fetch = hw.pitch; pitch 271 drivers/video/fbdev/i810/i810.h u32 pitch; pitch 195 drivers/video/fbdev/i810/i810_accel.c static inline void color_blit(int width, int height, int pitch, int dest, pitch 204 drivers/video/fbdev/i810/i810_accel.c PUT_RING(rop << 16 | pitch | SOLIDPATTERN | DYN_COLOR_EN | blit_bpp); pitch 269 drivers/video/fbdev/i810/i810_accel.c PUT_RING(PARSER | FRONT_BUFFER | ((par->pitch >> 3) << 8)); pitch 329 drivers/video/fbdev/i810/i810_accel.c u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; pitch 353 drivers/video/fbdev/i810/i810_accel.c pitch = info->fix.line_length; pitch 356 drivers/video/fbdev/i810/i810_accel.c pitch = (-(info->fix.line_length)) & 0xFFFF; pitch 363 drivers/video/fbdev/i810/i810_accel.c source_copy_blit(width, height, pitch, xdir, src, dest, pitch 369 drivers/video/fbdev/i810/i810_main.c u32 tmp, pitch; pitch 373 drivers/video/fbdev/i810/i810_main.c pitch = par->pitch >> 3; pitch 381 drivers/video/fbdev/i810/i810_main.c tmp = pitch & 0xFF; pitch 385 drivers/video/fbdev/i810/i810_main.c tmp = pitch >> 8; pitch 1119 drivers/video/fbdev/i810/i810_main.c fix->line_length = par->pitch; pitch 1183 drivers/video/fbdev/i810/i810_main.c par->pitch = get_line_length(par, vxres, var->bits_per_pixel); pitch 307 drivers/video/fbdev/imsttfb.c __u32 pitch; pitch 513 drivers/video/fbdev/imsttfb.c init->pitch = xres; pitch 657 drivers/video/fbdev/imsttfb.c __u32 ctl, pitch, byteswap, scr; pitch 679 drivers/video/fbdev/imsttfb.c pitch = init->pitch >> 2; pitch 684 drivers/video/fbdev/imsttfb.c pitch = init->pitch >> 1; pitch 689 drivers/video/fbdev/imsttfb.c pitch = init->pitch - (init->pitch >> 2); pitch 694 drivers/video/fbdev/imsttfb.c pitch = init->pitch; pitch 734 drivers/video/fbdev/imsttfb.c pitch >>= 1; pitch 740 drivers/video/fbdev/imsttfb.c write_reg_le32(par->dc_regs, SPR, pitch); pitch 323 drivers/video/fbdev/intelfb/intelfb.h int xres, yres, pitch; pitch 1135 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->info->fix.line_length = dinfo->pitch; pitch 1140 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch = var->xres_virtual; pitch 1144 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch = var->xres_virtual * 2; pitch 1148 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch = var->xres_virtual * 4; pitch 1154 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT_I9XX); pitch 1156 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT); pitch 1159 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch = dinfo->initial_pitch; pitch 1162 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->info->fix.line_length = dinfo->pitch; pitch 1484 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch, info->var.bits_per_pixel, pitch 1504 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch, info->var.bits_per_pixel); pitch 1534 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch, info->var.bits_per_pixel)) { pitch 399 drivers/video/fbdev/intelfb/intelfbhw.c offset = (yoffset * dinfo->pitch) + pitch 1248 drivers/video/fbdev/intelfb/intelfbhw.c hw->disp_a_stride = dinfo->pitch; pitch 1658 drivers/video/fbdev/intelfb/intelfbhw.c u32 h, u32 color, u32 pitch, u32 bpp, u32 rop) pitch 1664 drivers/video/fbdev/intelfb/intelfbhw.c "rop 0x%02x\n", x, y, w, h, color, pitch, bpp, rop); pitch 1668 drivers/video/fbdev/intelfb/intelfbhw.c br09 = dinfo->fb_start + (y * pitch + x * (bpp / 8)); pitch 1669 drivers/video/fbdev/intelfb/intelfbhw.c br13 = (rop << ROP_SHIFT) | pitch; pitch 1703 drivers/video/fbdev/intelfb/intelfbhw.c u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, u32 bpp) pitch 1709 drivers/video/fbdev/intelfb/intelfbhw.c curx, cury, dstx, dsty, w, h, pitch, bpp); pitch 1714 drivers/video/fbdev/intelfb/intelfbhw.c br11 = (pitch << PITCH_SHIFT); pitch 1716 drivers/video/fbdev/intelfb/intelfbhw.c br13 = (SRC_ROP_GXCOPY << ROP_SHIFT) | (pitch << PITCH_SHIFT); pitch 1748 drivers/video/fbdev/intelfb/intelfbhw.c u32 h, const u8* cdat, u32 x, u32 y, u32 pitch, pitch 1785 drivers/video/fbdev/intelfb/intelfbhw.c br13 = (SRC_ROP_GXCOPY << ROP_SHIFT) | (pitch << PITCH_SHIFT); pitch 587 drivers/video/fbdev/intelfb/intelfbhw.h u32 w, u32 h, u32 color, u32 pitch, u32 bpp, pitch 590 drivers/video/fbdev/intelfb/intelfbhw.h u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, pitch 594 drivers/video/fbdev/intelfb/intelfbhw.h u32 pitch, u32 bpp); pitch 394 drivers/video/fbdev/mmp/fb/mmpfb.c win.pitch[0] = var->xres_virtual * stride; pitch 395 drivers/video/fbdev/mmp/fb/mmpfb.c win.pitch[1] = win.pitch[2] = pitch 139 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(win->pitch[0], ®s->v_pitch_yc); pitch 140 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(win->pitch[2] << 16 | pitch 141 drivers/video/fbdev/mmp/hw/mmp_ctrl.c win->pitch[1], ®s->v_pitch_uv); pitch 147 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(win->pitch[0], ®s->g_pitch); pitch 519 drivers/video/fbdev/neofb.c u32 bltMod, pitch; pitch 526 drivers/video/fbdev/neofb.c pitch = var->xres_virtual; pitch 531 drivers/video/fbdev/neofb.c pitch = var->xres_virtual * 2; pitch 535 drivers/video/fbdev/neofb.c pitch = var->xres_virtual * 3; pitch 544 drivers/video/fbdev/neofb.c writel((pitch << 16) | pitch, &neo2200->pitch); pitch 205 drivers/video/fbdev/nvidia/nv_accel.c int pitch, i; pitch 207 drivers/video/fbdev/nvidia/nv_accel.c pitch = info->fix.line_length; pitch 260 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, pitch | (pitch << 16)); pitch 766 drivers/video/fbdev/nvidia/nvidia.c int pitch, err = 0; pitch 874 drivers/video/fbdev/nvidia/nvidia.c pitch = ((var->xres_virtual * var->bits_per_pixel) + 7) / 8; pitch 875 drivers/video/fbdev/nvidia/nvidia.c memlen = pitch * var->yres_virtual; pitch 878 drivers/video/fbdev/nvidia/nvidia.c var->yres_virtual = vramlen / pitch; pitch 885 drivers/video/fbdev/nvidia/nvidia.c pitch = (var->xres_virtual * pitch 887 drivers/video/fbdev/nvidia/nvidia.c memlen = pitch * var->yres; pitch 391 drivers/video/fbdev/offb.c int pitch, unsigned long address, pitch 394 drivers/video/fbdev/offb.c unsigned long res_size = pitch * height; pitch 406 drivers/video/fbdev/offb.c width, height, name, address, depth, pitch); pitch 434 drivers/video/fbdev/offb.c fix->line_length = pitch; pitch 437 drivers/video/fbdev/offb.c fix->smem_len = pitch * height; pitch 541 drivers/video/fbdev/offb.c int i, width = 640, height = 480, depth = 8, pitch = 640; pitch 579 drivers/video/fbdev/offb.c pitch = be32_to_cpup(pp); pitch 581 drivers/video/fbdev/offb.c pitch = width * ((depth + 7) / 8); pitch 583 drivers/video/fbdev/offb.c rsize = (unsigned long)pitch * (unsigned long)height; pitch 654 drivers/video/fbdev/offb.c width, height, depth, pitch, address, pitch 288 drivers/video/fbdev/platinumfb.c out_be32(&platinum_regs->reg[18].r, init->pitch[cmode]); pitch 61 drivers/video/fbdev/platinumfb.h int pitch[3]; pitch 201 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int pitch; pitch 861 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch << LDBBSMWR_BSMW_SHIFT); pitch 1029 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->line_size = ch->pitch; pitch 1451 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = info->var.xres_virtual; pitch 1453 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = info->var.xres_virtual * ovl->format->bpp / 8; pitch 1457 drivers/video/fbdev/sh_mobile_lcdcfb.c info->fix.line_length = ovl->pitch; pitch 1586 drivers/video/fbdev/sh_mobile_lcdcfb.c info->fix.line_length = ovl->pitch; pitch 1894 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = info->var.xres_virtual; pitch 1896 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = info->var.xres_virtual * ch->format->bpp / 8; pitch 1902 drivers/video/fbdev/sh_mobile_lcdcfb.c info->fix.line_length = ch->pitch; pitch 2077 drivers/video/fbdev/sh_mobile_lcdcfb.c info->fix.line_length = ch->pitch; pitch 2386 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = ovl->xres_virtual * format->bpp / 8; pitch 2388 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = ovl->xres_virtual; pitch 2474 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = ch->xres_virtual * format->bpp / 8; pitch 2477 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = ch->xres_virtual; pitch 84 drivers/video/fbdev/sh_mobile_lcdcfb.h unsigned int pitch; pitch 155 drivers/video/fbdev/sis/sis_accel.h #define SiS300SetupSRCPitch(pitch) \ pitch 157 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\ pitch 285 drivers/video/fbdev/sis/sis_accel.h #define SiS310SetupSRCPitch(pitch) \ pitch 287 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT16(ivideo->mmio_vbase, SRC_PITCH, pitch);\ pitch 305 drivers/video/fbdev/tridentfb.c static void blade_init_accel(struct tridentfb_par *par, int pitch, int bpp) pitch 307 drivers/video/fbdev/tridentfb.c int v1 = (pitch >> 3) << 20; pitch 379 drivers/video/fbdev/tridentfb.c static void xp_init_accel(struct tridentfb_par *par, int pitch, int bpp) pitch 382 drivers/video/fbdev/tridentfb.c int v1 = pitch << (bpp == 24 ? 20 : (18 + x)); pitch 384 drivers/video/fbdev/tridentfb.c switch (pitch << (bpp >> 3)) { pitch 477 drivers/video/fbdev/tridentfb.c static void image_init_accel(struct tridentfb_par *par, int pitch, int bpp) pitch 488 drivers/video/fbdev/tridentfb.c writemmr(par, 0x2120, 0x60000000 | (pitch << 16) | pitch); pitch 543 drivers/video/fbdev/tridentfb.c static void tgui_init_accel(struct tridentfb_par *par, int pitch, int bpp) pitch 551 drivers/video/fbdev/tridentfb.c switch ((pitch * bpp) / 8) { pitch 250 drivers/video/fbdev/valkyriefb.c int pitch; pitch 253 drivers/video/fbdev/valkyriefb.c if ((pitch = init->pitch[color_mode]) == 0) pitch 254 drivers/video/fbdev/valkyriefb.c pitch = 2 * init->pitch[0]; pitch 255 drivers/video/fbdev/valkyriefb.c return init->vres * pitch; pitch 298 drivers/video/fbdev/valkyriefb.c || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 pitch 487 drivers/video/fbdev/valkyriefb.c if (init->pitch[cmode] == 0) { pitch 84 drivers/video/fbdev/valkyriefb.h int pitch[2]; /* bytes/line, indexed by color_mode */ pitch 586 drivers/video/fbdev/vermilion/vermilion.c u32 pitch; pitch 639 drivers/video/fbdev/vermilion/vermilion.c pitch = ALIGN((var->xres * var->bits_per_pixel) >> 3, 0x40); pitch 640 drivers/video/fbdev/vermilion/vermilion.c mem = (u64)pitch * var->yres_virtual; pitch 140 drivers/video/fbdev/via/via_modesetting.c void via_set_primary_pitch(u32 pitch) pitch 142 drivers/video/fbdev/via/via_modesetting.c DEBUG_MSG(KERN_DEBUG "via_set_primary_pitch(0x%08X)\n", pitch); pitch 146 drivers/video/fbdev/via/via_modesetting.c pitch = pitch >> 3; pitch 147 drivers/video/fbdev/via/via_modesetting.c via_write_reg(VIACR, 0x13, pitch & 0xFF); pitch 148 drivers/video/fbdev/via/via_modesetting.c via_write_reg_mask(VIACR, 0x35, (pitch >> (8 - 5)) & 0xE0, 0xE0); pitch 151 drivers/video/fbdev/via/via_modesetting.c void via_set_secondary_pitch(u32 pitch) pitch 153 drivers/video/fbdev/via/via_modesetting.c DEBUG_MSG(KERN_DEBUG "via_set_secondary_pitch(0x%08X)\n", pitch); pitch 154 drivers/video/fbdev/via/via_modesetting.c pitch = pitch >> 3; pitch 155 drivers/video/fbdev/via/via_modesetting.c via_write_reg(VIACR, 0x66, pitch & 0xFF); pitch 156 drivers/video/fbdev/via/via_modesetting.c via_write_reg_mask(VIACR, 0x67, (pitch >> 8) & 0x03, 0x03); pitch 157 drivers/video/fbdev/via/via_modesetting.c via_write_reg_mask(VIACR, 0x71, (pitch >> (10 - 7)) & 0x80, 0x80); pitch 41 drivers/video/fbdev/via/via_modesetting.h void via_set_primary_pitch(u32 pitch); pitch 42 drivers/video/fbdev/via/via_modesetting.h void via_set_secondary_pitch(u32 pitch); pitch 131 include/drm/drm_client.h u32 pitch; pitch 72 include/linux/dtlk.h unsigned char pitch; /* nP; 0-99 */ pitch 26 include/media/drv-intf/saa7146_vv.h u32 pitch; pitch 57 include/media/vsp1.h unsigned int pitch; pitch 95 include/media/vsp1.h unsigned int pitch; pitch 479 include/uapi/drm/drm_mode.h __u32 pitch; pitch 807 include/uapi/drm/drm_mode.h __u32 pitch; pitch 276 include/uapi/drm/exynos_drm.h __u32 pitch[4]; pitch 125 include/uapi/drm/i810_drm.h unsigned int pitch; pitch 143 include/uapi/drm/i810_drm.h unsigned int pitch; pitch 205 include/uapi/drm/i915_drm.h unsigned int pitch; pitch 242 include/uapi/drm/i915_drm.h int pitch; pitch 151 include/uapi/drm/mga_drm.h unsigned int pitch; pitch 283 include/uapi/drm/r128_drm.h int pitch; pitch 678 include/uapi/drm/radeon_drm.h int pitch; pitch 859 include/uapi/drm/radeon_drm.h __u32 pitch; pitch 865 include/uapi/drm/radeon_drm.h __u32 pitch; pitch 491 include/uapi/drm/vmwgfx_drm.h __u32 pitch[3]; pitch 85 include/video/mmp_disp.h u32 pitch[3]; pitch 101 include/video/neomagic.h __u32 pitch; pitch 46 sound/core/oss/rate.c unsigned int pitch; pitch 114 sound/core/oss/rate.c pos += data->pitch; pitch 174 sound/core/oss/rate.c pos += data->pitch; pitch 194 sound/core/oss/rate.c res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); pitch 196 sound/core/oss/rate.c res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); pitch 227 sound/core/oss/rate.c res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); pitch 229 sound/core/oss/rate.c res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); pitch 333 sound/core/oss/rate.c data->pitch = ((src_format->rate << SHIFT) + (dst_format->rate >> 1)) / dst_format->rate; pitch 336 sound/core/oss/rate.c data->pitch = ((dst_format->rate << SHIFT) + (src_format->rate >> 1)) / src_format->rate; pitch 423 sound/drivers/opl4/opl4_synth.c int note, pitch, octave; pitch 430 sound/drivers/opl4/opl4_synth.c pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7); pitch 431 sound/drivers/opl4/opl4_synth.c pitch += voice->sound->pitch_offset; pitch 433 sound/drivers/opl4/opl4_synth.c pitch += chan->gm_rpn_coarse_tuning; pitch 434 sound/drivers/opl4/opl4_synth.c pitch += chan->gm_rpn_fine_tuning >> 7; pitch 435 sound/drivers/opl4/opl4_synth.c pitch += chan->midi_pitchbend * chan->gm_rpn_pitch_bend_range / 0x2000; pitch 436 sound/drivers/opl4/opl4_synth.c if (pitch < 0) pitch 437 sound/drivers/opl4/opl4_synth.c pitch = 0; pitch 438 sound/drivers/opl4/opl4_synth.c else if (pitch >= 0x6000) pitch 439 sound/drivers/opl4/opl4_synth.c pitch = 0x5fff; pitch 440 sound/drivers/opl4/opl4_synth.c octave = pitch / 0x600 - 8; pitch 441 sound/drivers/opl4/opl4_synth.c pitch = snd_opl4_pitch_map[pitch % 0x600]; pitch 444 sound/drivers/opl4/opl4_synth.c (octave << 4) | ((pitch >> 7) & OPL4_F_NUMBER_HIGH_MASK)); pitch 446 sound/drivers/opl4/opl4_synth.c | ((pitch << 1) & OPL4_F_NUMBER_LOW_MASK); pitch 373 sound/isa/sb/emu8000_callback.c short pitch; pitch 377 sound/isa/sb/emu8000_callback.c pitch = (char)(vp->reg.parm.fmmod>>8); pitch 380 sound/isa/sb/emu8000_callback.c pitch += (MOD_SENSE * modulation) / 1200; pitch 381 sound/isa/sb/emu8000_callback.c LIMITVALUE(pitch, -128, 127); pitch 382 sound/isa/sb/emu8000_callback.c fmmod = ((unsigned char)pitch<<8) | cutoff; pitch 398 sound/isa/sb/emu8000_callback.c short pitch; pitch 402 sound/isa/sb/emu8000_callback.c pitch = (char)(vp->reg.parm.fm2frq2>>8); pitch 405 sound/isa/sb/emu8000_callback.c pitch += (MOD_SENSE * modulation) / 1200; pitch 406 sound/isa/sb/emu8000_callback.c LIMITVALUE(pitch, -128, 127); pitch 407 sound/isa/sb/emu8000_callback.c fm2frq2 = ((unsigned char)pitch<<8) | freq; pitch 49 sound/isa/sb/emu8000_pcm.c unsigned int pitch; pitch 255 sound/isa/sb/emu8000_pcm.c static int calc_pitch_target(int pitch) pitch 257 sound/isa/sb/emu8000_pcm.c int ptarget = 1 << (pitch >> 12); pitch 258 sound/isa/sb/emu8000_pcm.c if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; pitch 259 sound/isa/sb/emu8000_pcm.c if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; pitch 260 sound/isa/sb/emu8000_pcm.c if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; pitch 282 sound/isa/sb/emu8000_pcm.c EMU8000_IP_WRITE(hw, ch, rec->pitch); pitch 327 sound/isa/sb/emu8000_pcm.c int pt = calc_pitch_target(rec->pitch); pitch 609 sound/isa/sb/emu8000_pcm.c rec->pitch = 0xe000 + calc_rate_offset(subs->runtime->rate); pitch 195 sound/pci/ctxfi/ctatc.c unsigned int pitch; pitch 199 sound/pci/ctxfi/ctatc.c pitch = (input_rate / output_rate) << 24; pitch 215 sound/pci/ctxfi/ctatc.c pitch |= input_rate; pitch 218 sound/pci/ctxfi/ctatc.c return pitch; pitch 221 sound/pci/ctxfi/ctatc.c static int select_rom(unsigned int pitch) pitch 223 sound/pci/ctxfi/ctatc.c if (pitch > 0x00428f5c && pitch < 0x01b851ec) { pitch 226 sound/pci/ctxfi/ctatc.c } else if (pitch == 0x01d66666 || pitch == 0x01d66667) { pitch 229 sound/pci/ctxfi/ctatc.c } else if (pitch == 0x02000000) { pitch 232 sound/pci/ctxfi/ctatc.c } else if (pitch <= 0x08000000) { pitch 251 sound/pci/ctxfi/ctatc.c unsigned int pitch; pitch 264 sound/pci/ctxfi/ctatc.c pitch = atc_get_pitch(apcm->substream->runtime->rate, pitch 267 sound/pci/ctxfi/ctatc.c src->ops->set_pitch(src, pitch); pitch 268 sound/pci/ctxfi/ctatc.c src->ops->set_rom(src, select_rom(pitch)); pitch 452 sound/pci/ctxfi/ctatc.c unsigned int pitch; pitch 462 sound/pci/ctxfi/ctatc.c unsigned int pitch; pitch 465 sound/pci/ctxfi/ctatc.c pitch = atc_get_pitch((atc->rsr * atc->msr), pitch 471 sound/pci/ctxfi/ctatc.c conf[0].pitch = pitch; pitch 475 sound/pci/ctxfi/ctatc.c if (0x8000000 < pitch) { pitch 478 sound/pci/ctxfi/ctatc.c conf[0].pitch = (atc->msr << 24); pitch 482 sound/pci/ctxfi/ctatc.c conf[1].pitch = atc_get_pitch(atc->rsr, pitch 487 sound/pci/ctxfi/ctatc.c } else if (0x1000000 < pitch) { pitch 490 sound/pci/ctxfi/ctatc.c conf[0].pitch = pitch; pitch 512 sound/pci/ctxfi/ctatc.c unsigned int pitch; pitch 526 sound/pci/ctxfi/ctatc.c pitch = atc_get_pitch((atc->rsr * atc->msr), pitch 533 sound/pci/ctxfi/ctatc.c if ((multi > 1) && (0x8000000 >= pitch)) { pitch 571 sound/pci/ctxfi/ctatc.c pitch = src_node_conf[i/multi].pitch; pitch 572 sound/pci/ctxfi/ctatc.c src->ops->set_pitch(src, pitch); pitch 573 sound/pci/ctxfi/ctatc.c src->ops->set_rom(src, select_rom(pitch)); pitch 602 sound/pci/ctxfi/ctatc.c pitch = atc_get_pitch((atc->rsr * atc->msr), pitch 609 sound/pci/ctxfi/ctatc.c srcimp_dsc.msr = (pitch <= 0x8000000) ? atc->msr : 1; pitch 630 sound/pci/ctxfi/ctatc.c src->ops->set_pitch(src, pitch); pitch 653 sound/pci/ctxfi/ctatc.c unsigned int pitch; pitch 689 sound/pci/ctxfi/ctatc.c pitch = atc_get_pitch((atc->rsr * atc->msr), pitch 692 sound/pci/ctxfi/ctatc.c if ((multi > 1) && (pitch <= 0x8000000)) { pitch 792 sound/pci/ctxfi/ctatc.c unsigned int pitch, rsr = atc->pll_rate; pitch 808 sound/pci/ctxfi/ctatc.c pitch = atc_get_pitch(apcm->substream->runtime->rate, (rsr * desc.msr)); pitch 810 sound/pci/ctxfi/ctatc.c src->ops->set_pitch(src, pitch); pitch 811 sound/pci/ctxfi/ctatc.c src->ops->set_rom(src, select_rom(pitch)); pitch 103 sound/pci/ctxfi/cthardware.h int (*src_set_pitch)(void *blk, unsigned int pitch); pitch 320 sound/pci/ctxfi/cthw20k1.c static int src_set_pitch(void *blk, unsigned int pitch) pitch 324 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->mpr, MPRLH_PITCH, pitch); pitch 320 sound/pci/ctxfi/cthw20k2.c static int src_set_pitch(void *blk, unsigned int pitch) pitch 324 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->mpr, MPRLH_PITCH, pitch); pitch 154 sound/pci/ctxfi/ctsrc.c static int src_set_pitch(struct src *src, unsigned int pitch) pitch 159 sound/pci/ctxfi/ctsrc.c hw->src_set_pitch(src->rsc.ctrl_blk, pitch); pitch 66 sound/pci/ctxfi/ctsrc.h int (*set_pitch)(struct src *src, unsigned int pitch); pitch 498 sound/pci/emu10k1/emu10k1_callback.c short pitch; pitch 502 sound/pci/emu10k1/emu10k1_callback.c pitch = (char)(vp->reg.parm.fmmod>>8); pitch 505 sound/pci/emu10k1/emu10k1_callback.c pitch += (MOD_SENSE * modulation) / 1200; pitch 506 sound/pci/emu10k1/emu10k1_callback.c LIMITVALUE(pitch, -128, 127); pitch 507 sound/pci/emu10k1/emu10k1_callback.c fmmod = ((unsigned char)pitch<<8) | cutoff; pitch 516 sound/pci/emu10k1/emu10k1_callback.c short pitch; pitch 520 sound/pci/emu10k1/emu10k1_callback.c pitch = (char)(vp->reg.parm.fm2frq2>>8); pitch 523 sound/pci/emu10k1/emu10k1_callback.c pitch += (MOD_SENSE * modulation) / 1200; pitch 524 sound/pci/emu10k1/emu10k1_callback.c LIMITVALUE(pitch, -128, 127); pitch 525 sound/pci/emu10k1/emu10k1_callback.c fm2frq2 = ((unsigned char)pitch<<8) | freq; pitch 694 sound/pci/emu10k1/emupcm.c unsigned int voice, pitch, pitch_target; pitch 702 sound/pci/emu10k1/emupcm.c pitch = snd_emu10k1_rate_to_pitch(runtime->rate) >> 8; pitch 710 sound/pci/emu10k1/emupcm.c snd_emu10k1_ptr_write(emu, IP, voice, pitch); pitch 549 sound/synth/emux/emux_synth.c int pitch; pitch 572 sound/synth/emux/emux_synth.c pitch = (HI_BYTE(parm->pefe) << 4) + vp->apitch; pitch 573 sound/synth/emux/emux_synth.c if (pitch > 0xffff) pitch 574 sound/synth/emux/emux_synth.c pitch = 0xffff; pitch 582 sound/synth/emux/emux_synth.c pitch = vp->apitch; pitch 586 sound/synth/emux/emux_synth.c if (pitch != 0xffff) { pitch 587 sound/synth/emux/emux_synth.c vp->ptarget = 1 << (pitch >> 12); pitch 588 sound/synth/emux/emux_synth.c if (pitch & 0x800) vp->ptarget += (vp->ptarget*0x102e)/0x2710; pitch 589 sound/synth/emux/emux_synth.c if (pitch & 0x400) vp->ptarget += (vp->ptarget*0x764)/0x2710; pitch 590 sound/synth/emux/emux_synth.c if (pitch & 0x200) vp->ptarget += (vp->ptarget*0x389)/0x2710; pitch 205 tools/include/uapi/drm/i915_drm.h unsigned int pitch; pitch 242 tools/include/uapi/drm/i915_drm.h int pitch;