Searched refs:pitch (Results 201 - 225 of 266) sorted by relevance

1234567891011

/linux-master/drivers/video/fbdev/i810/
H A Di810_main.c370 u32 tmp, pitch; local
374 pitch = par->pitch >> 3;
382 tmp = pitch & 0xFF;
386 tmp = pitch >> 8;
676 * get_line_length - calculates buffer pitch in bytes
682 * Calculates buffer pitch in bytes.
1120 fix->line_length = par->pitch;
1184 par->pitch = get_line_length(par, vxres, var->bits_per_pixel);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c436 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 Dvmwgfx_stdu.c62 * @pitch: framebuffer pitch (stride)
70 u32 pitch; member in struct:vmw_stdu_dirty
515 dst_pitch = ddirty->pitch;
584 ddirty.pitch = vfb->base.pitches[0];
/linux-master/drivers/video/fbdev/aty/
H A Dradeon_base.c837 unsigned int pitch; local
914 /* XXX I'm adjusting xres_virtual to the pitch, that may help XFree
920 pitch = ((v.xres_virtual * ((v.bits_per_pixel + 1) / 8) + 0x3f)
922 v.xres_virtual = (pitch << 6) / ((v.bits_per_pixel + 1) / 8);
1768 /* We first calculate the engine pitch */
1769 rinfo->pitch = ((mode->xres_virtual * ((mode->bits_per_pixel + 1) / 8) + 0x3f)
1772 /* Then, re-multiply it to get the CRTC pitch */
1773 newmode->crtc_pitch = (rinfo->pitch << 3) / ((mode->bits_per_pixel + 1) / 8);
1935 info->fix.line_length = rinfo->pitch*64;
H A Dradeonfb.h325 int pitch, bpp, depth; member in struct:radeonfb_info
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimc.c470 unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0];
505 unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0];
847 unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0];
H A Dexynos7_drm_decon.c393 unsigned int pitch = fb->pitches[0]; local
412 padding = (pitch / cpp) - fb->width;
H A Dexynos_drm_gsc.c585 cfg |= (GSC_SRCIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) |
887 cfg |= GSC_DSTIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) |
/linux-master/drivers/char/
H A Ddtlk.c550 status.pitch = *t++;
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndwc37e.c190 NVVAL(NVC37E, SET_PLANAR_STORAGE, PITCH, asyw->image.pitch[0] >> 6));
H A Dbase507c.c104 NVVAL(NV507C, SURFACE_SET_STORAGE, PITCH, asyw->image.pitch[0] >> 8) |
H A Dwndw.c303 asyw->image.pitch[0] = 0;
308 asyw->image.pitch[0] = fb->pitches[0];
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_vbi.c149 vdma3.pitch = 2560;
156 vdma3.pitch = vbi_pixel_to_capture;
/linux-master/drivers/gpu/drm/logicvc/
H A Dlogicvc_drm.c41 args->pitch = logicvc->config.row_stride * DIV_ROUND_UP(args->bpp, 8);
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h139 /* Graphic surface pitch in pixels.
140 * In LINEAR_GENERAL mode, pitch
568 * @pitch: Cursor line stride.
570 uint32_t pitch; member in struct:dc_cursor_attributes
/linux-master/drivers/gpu/drm/radeon/
H A Devergreen_cs.c214 dev_warn(p->dev, "%s:%d %s pitch %d invalid must be aligned with %d\n",
237 dev_warn(p->dev, "%s:%d %s pitch %d invalid must be aligned with %d (%d %d %d)\n",
280 dev_warn(p->dev, "%s:%d %s pitch %d invalid must be aligned with %d\n",
397 unsigned pitch, slice, mslice; local
402 pitch = track->cb_color_pitch[id];
404 surf.nbx = (pitch + 1) * 8;
508 /* pitch must be 16 htiles aligned == 16 * 8 pixel aligned */
564 unsigned pitch, slice, mslice; local
569 pitch = G_028058_PITCH_TILE_MAX(track->db_depth_size);
571 surf.nbx = (pitch
661 unsigned pitch, slice, mslice; local
[all...]
H A Dradeon_uvd.c361 unsigned pitch = msg[28]; local
427 if (width > pitch) {
428 DRM_ERROR("Invalid UVD decoding target pitch!\n");
/linux-master/drivers/ps3/
H A Dps3av_cmd.c393 video_mode->pitch = video_mode->width * 4; /* line_length */
402 pr_debug("%s: video_mode:vid:%x width:%d height:%d pitch:%d out_format:%d format:%x order:%x\n",
404 video_mode->pitch, video_mode->video_out_format,
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c356 port->hw_streamingparams.pitch = 188;
369 port->hw_streamingparams.pitch);
/linux-master/drivers/gpu/drm/tegra/
H A Dgem.c541 args->pitch = round_up(min_pitch, tegra->pitch_align);
542 args->size = args->pitch * args->height;
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c316 mode_cmd->pitches[0] >= 0x10000 || /* at most 64k pitch */
851 args->pitch = roundup(args->width * (args->bpp / 8), 256);
852 args->size = args->pitch * args->height;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c625 unsigned int pitch = msg[28]; local
785 if (width > pitch) {
786 DRM_ERROR("Invalid UVD decoding target pitch!\n");
H A Damdgpu_gem.c962 args->pitch = amdgpu_gem_align_pitch(adev, args->width,
964 args->size = (u64)args->pitch * args->height;
/linux-master/drivers/gpu/drm/
H A Ddrm_framebuffer.c136 r.pitches[0] = or->pitch;
203 drm_dbg_kms(dev, "bad pitch %u for plane %d\n", r->pitches[i], i);
223 /* NOTE: the pitch restriction may be lifted later if it turns
255 drm_dbg_kms(dev, "non-zero pitch for unused plane %d\n", i);
548 r->pitch = fb->pitches[0];
1172 drm_printf_indent(p, indent + 1, "pitch[%u]=%u\n", i, fb->pitches[i]);
/linux-master/sound/pci/ctxfi/
H A Dctsrc.c154 static int src_set_pitch(struct src *src, unsigned int pitch) argument
159 hw->src_set_pitch(src->rsc.ctrl_blk, pitch);

Completed in 253 milliseconds

1234567891011