/linux-master/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 370 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 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_stdu.c | 62 * @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 D | radeon_base.c | 837 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 D | radeonfb.h | 325 int pitch, bpp, depth; member in struct:radeonfb_info
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 470 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 D | exynos7_drm_decon.c | 393 unsigned int pitch = fb->pitches[0]; local 412 padding = (pitch / cpp) - fb->width;
|
H A D | exynos_drm_gsc.c | 585 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 D | dtlk.c | 550 status.pitch = *t++;
|
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndwc37e.c | 190 NVVAL(NVC37E, SET_PLANAR_STORAGE, PITCH, asyw->image.pitch[0] >> 6));
|
H A D | base507c.c | 104 NVVAL(NV507C, SURFACE_SET_STORAGE, PITCH, asyw->image.pitch[0] >> 8) |
|
H A D | wndw.c | 303 asyw->image.pitch[0] = 0; 308 asyw->image.pitch[0] = fb->pitches[0];
|
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_vbi.c | 149 vdma3.pitch = 2560; 156 vdma3.pitch = vbi_pixel_to_capture;
|
/linux-master/drivers/gpu/drm/logicvc/ |
H A D | logicvc_drm.c | 41 args->pitch = logicvc->config.row_stride * DIV_ROUND_UP(args->bpp, 8);
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_hw_types.h | 139 /* 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 D | evergreen_cs.c | 214 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 D | radeon_uvd.c | 361 unsigned pitch = msg[28]; local 427 if (width > pitch) { 428 DRM_ERROR("Invalid UVD decoding target pitch!\n");
|
/linux-master/drivers/ps3/ |
H A D | ps3av_cmd.c | 393 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 D | saa7164-dvb.c | 356 port->hw_streamingparams.pitch = 188; 369 port->hw_streamingparams.pitch);
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | gem.c | 541 args->pitch = round_up(min_pitch, tegra->pitch_align); 542 args->size = args->pitch * args->height;
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.c | 316 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 D | amdgpu_uvd.c | 625 unsigned int pitch = msg[28]; local 785 if (width > pitch) { 786 DRM_ERROR("Invalid UVD decoding target pitch!\n");
|
H A D | amdgpu_gem.c | 962 args->pitch = amdgpu_gem_align_pitch(adev, args->width, 964 args->size = (u64)args->pitch * args->height;
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_framebuffer.c | 136 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 D | ctsrc.c | 154 static int src_set_pitch(struct src *src, unsigned int pitch) argument 159 hw->src_set_pitch(src->rsc.ctrl_blk, pitch);
|