/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 692 args->pitch = args->width * cpp; 693 args->size = ALIGN(args->pitch * args->height, PAGE_SIZE);
|
H A D | vmwgfx_kms.c | 436 if (box->w == VMW_CURSOR_SNOOP_WIDTH && cmd->dma.guest.pitch == image_pitch) { 443 virtual + i * cmd->dma.guest.pitch, 2139 unsigned width, unsigned height, unsigned pitch, 2143 vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); 2145 vmw_fifo_mem_write(vmw_priv, SVGA_FIFO_PITCHLOCK, pitch); 2161 uint32_t pitch, 2164 return ((u64) pitch * (u64) height) < (u64) 2138 vmw_kms_write_svga(struct vmw_private *vmw_priv, unsigned width, unsigned height, unsigned pitch, unsigned bpp, unsigned depth) argument 2160 vmw_kms_validate_mode_vram(struct vmw_private *dev_priv, uint32_t pitch, uint32_t height) argument
|
H A D | vmwgfx_drv.h | 1067 unsigned width, unsigned height, unsigned pitch, 1070 uint32_t pitch,
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 8478 * change memory domain, FB pitch, DCC state, rotation or 10173 unsigned int pitch; local 10190 pitch = fb->pitches[0] / fb->format->cpp[0]; 10192 if (fb->width != pitch) { 10193 DRM_DEBUG_ATOMIC("Cursor FB width %d doesn't match pitch %d", 10194 fb->width, pitch); 10198 switch (pitch) { 10202 /* FB pitch is supported by cursor plane */ 10205 DRM_DEBUG_ATOMIC("Bad cursor FB pitch %d px\n", pitch); [all...] |
/linux-master/tools/include/uapi/drm/ |
H A D | i915_drm.h | 330 unsigned int pitch; member in struct:_drm_i915_init 367 int pitch; member in struct:_drm_i915_sarea
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_migrate.c | 591 unsigned int pitch) 597 xe_gt_assert(gt, size / pitch <= S16_MAX); 598 xe_gt_assert(gt, pitch / 4 <= S16_MAX); 599 xe_gt_assert(gt, pitch <= U16_MAX); 608 bb->cs[bb->len++] = XY_FAST_COPY_BLT_DEPTH_32 | pitch | tile_y | mocs; 610 bb->cs[bb->len++] = (size / pitch) << 16 | pitch / 4; 614 bb->cs[bb->len++] = pitch | mocs; 865 u32 size, u32 pitch) 872 *cs++ = pitch 589 emit_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u64 dst_ofs, unsigned int size, unsigned int pitch) argument 864 emit_clear_link_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u32 size, u32 pitch) argument 887 emit_clear_main_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u32 size, u32 pitch, bool is_vram) argument 950 emit_clear(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u32 size, u32 pitch, bool is_vram) argument [all...] |
H A D | xe_bo.c | 2279 args->pitch = ALIGN(args->width * cpp, 64); 2280 args->size = ALIGN(mul_u32_u32(args->pitch, args->height),
|
/linux-master/sound/pci/emu10k1/ |
H A D | emu10k1_callback.c | 387 /* set pitch offset */ 409 /* lfo1 pitch & cutoff shift */ 413 /* lfo2 pitch & freq */ 465 /* set pitch target and pan (volume) */ 468 /* current pitch and fractional address */ 483 short pitch; local 487 pitch = (char)(vp->reg.parm.fmmod>>8); 490 pitch += (MOD_SENSE * modulation) / 1200; 491 LIMITVALUE(pitch, -128, 127); 492 return ((unsigned char)pitch << 499 short pitch; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 1085 u32 next = init->addr + init->count * init->pitch; 1089 addr += init->pitch; 1105 u32 next = init->addr + init->count * init->pitch; 1127 addr += init->pitch; 1144 u32 next = init->addr + init->count * init->pitch; 1154 addr += init->pitch; 1726 u32 tail = head + init->count * init->pitch; 1739 head = head + init->pitch;
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display.c | 554 unsigned int pitch = state->view.color_plane[color_plane].mapping_stride; local 556 return y * pitch + x * cpp;
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.c | 647 int cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height;
|
/linux-master/drivers/video/fbdev/core/ |
H A D | fbcon_ud.c | 162 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; local 193 pitch = ((image.width + 7) >> 3) + scan_align; 194 pitch &= ~scan_align; 195 size = pitch * image.height + buf_align; 201 ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, 204 ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch,
|
H A D | fbcon_ccw.c | 140 u32 cnt, pitch, size; local 170 pitch = ((image.width + 7) >> 3) + scan_align; 171 pitch &= ~scan_align; 172 size = pitch * image.height + buf_align; 176 ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch,
|
H A D | fbcon_cw.c | 125 u32 cnt, pitch, size; local 153 pitch = ((image.width + 7) >> 3) + scan_align; 154 pitch &= ~scan_align; 155 size = pitch * image.height + buf_align; 159 cw_putcs_aligned(vc, info, s, attribute, cnt, pitch,
|
H A D | fbcon.c | 1992 #define CALC_FONTSZ(h, p, c) ((h) * (p) * (c)) /* size = height * pitch * charcount */ 2005 int pitch = PITCH(vc->vc_font.width); local 2014 if (pitch <= 0) 2016 size = CALC_FONTSZ(vc->vc_font.height, pitch, vc->vc_font.charcount); 2470 int pitch = PITCH(font->width); local 2494 size = CALC_FONTSZ(h, pitch, charcount); 2507 memcpy(new_data + i*h*pitch, data + i*vpitch*pitch, h*pitch);
|
H A D | bitblit.c | 153 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; local 177 pitch = DIV_ROUND_UP(image.width, 8) + scan_align; 178 pitch &= ~scan_align; 179 size = pitch * image.height + buf_align; 185 bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, 189 pitch, width, cellsize, &image,
|
/linux-master/drivers/video/console/ |
H A D | sticon.c | 164 int size, i, bpc, pitch; local 172 pitch = ALIGN(w, 8) / 8; 173 bpc = pitch * h; 204 data += pitch*32;
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 57 u32 addr, u32 size, u32 pitch, u32 flags) 66 if (tile->pitch) 69 if (pitch) 70 nvkm_fb_tile_init(fb, i, addr, size, pitch, flags, tile); 109 u32 size, u32 pitch, u32 zeta) 119 if (pitch && !found) { 123 } else if (tile && fb->tile.region[i].pitch) { 132 nv10_bo_update_tile_region(dev, found, addr, size, pitch, zeta); 56 nv10_bo_update_tile_region(struct drm_device *dev, struct nouveau_drm_tile *reg, u32 addr, u32 size, u32 pitch, u32 flags) argument 108 nv10_bo_set_tiling(struct drm_device *dev, u32 addr, u32 size, u32 pitch, u32 zeta) argument
|
/linux-master/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 1428 uint16_t cursor_pitch; /**< Cursor pitch in pixels */ 2714 uint32_t pitch: 2; member in struct:dmub_reg_cursor_control_cfg::__anon75
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
H A D | dcn30_hwseq.c | 1039 cmd.mall.cursor_pitch = cursor_attr.pitch;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 63 uint32_t cursor_size = hubp->curs_attr.pitch * hubp->curs_attr.height;
|
/linux-master/drivers/media/platform/nuvoton/ |
H A D | npcm-video.c | 280 * Set the line pitch (in bytes) for the frame buffers. 283 static void npcm_video_ece_set_lp(struct npcm_video *video, unsigned int pitch) argument 288 switch (pitch) { 718 unsigned int pitch = MIN_LP; local 720 while ((pitch < linebytes) && (pitch < MAX_LP)) 721 pitch *= 2; 723 regmap_write(vcd, VCD_FB_LP, FIELD_PREP(VCD_FBA_LP, pitch) | 724 FIELD_PREP(VCD_FBB_LP, pitch));
|
/linux-master/drivers/media/pci/sta2x11/ |
H A D | sta2x11_vip.c | 642 unsigned int t_stop, b_stop, pitch; local 660 pitch = 4 * vip->format.width; 666 pitch = 2 * vip->format.width; 672 pitch = 2 * vip->format.width; 689 reg_write(vip, DVP_VMP, pitch);
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttvp.h | 200 unsigned int pitch, unsigned int skip_lines,
|
/linux-master/arch/sparc/kernel/ |
H A D | btext.c | 42 unsigned int width, height, depth, pitch; local 52 pitch = width * ((depth + 7) / 8); 56 pitch = prop; 58 if (pitch == 1) 59 pitch = 0x1000; 75 dispDeviceRowBytes = pitch;
|