/drivers/video/via/ |
H A D | via_modesetting.c | 155 void via_set_primary_pitch(u32 pitch) argument 157 DEBUG_MSG(KERN_DEBUG "via_set_primary_pitch(0x%08X)\n", pitch); 161 pitch = pitch >> 3; 162 via_write_reg(VIACR, 0x13, pitch & 0xFF); 163 via_write_reg_mask(VIACR, 0x35, (pitch >> (8 - 5)) & 0xE0, 0xE0); 166 void via_set_secondary_pitch(u32 pitch) argument 168 DEBUG_MSG(KERN_DEBUG "via_set_secondary_pitch(0x%08X)\n", pitch); 169 pitch = pitch >> [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nv10_fb.c | 8 uint32_t size, uint32_t pitch, uint32_t flags) 15 tile->pitch = pitch; 24 tile->addr = tile->limit = tile->pitch = tile->zcomp = 0; 34 nv_wr32(dev, NV10_PFB_TSIZE(i), tile->pitch); 7 nv10_fb_init_tile_region(struct drm_device *dev, int i, uint32_t addr, uint32_t size, uint32_t pitch, uint32_t flags) argument
|
H A D | nv20_fb.c | 42 uint32_t size, uint32_t pitch, uint32_t flags) 50 tile->pitch = pitch; 83 tile->addr = tile->limit = tile->pitch = tile->zcomp = 0; 94 nv_wr32(dev, NV10_PFB_TSIZE(i), tile->pitch); 41 nv20_fb_init_tile_region(struct drm_device *dev, int i, uint32_t addr, uint32_t size, uint32_t pitch, uint32_t flags) argument
|
H A D | nv30_fb.c | 34 uint32_t size, uint32_t pitch, uint32_t flags) 41 tile->pitch = pitch; 50 tile->addr = tile->limit = tile->pitch = 0; 33 nv30_fb_init_tile_region(struct drm_device *dev, int i, uint32_t addr, uint32_t size, uint32_t pitch, uint32_t flags) argument
|
/drivers/gpu/drm/via/ |
H A D | via_verifier.h | 41 uint32_t pitch[2][10]; member in struct:__anon673
|
/drivers/staging/speakup/ |
H A D | speakup_dtlk.h | 40 u_char pitch; /* nP; 0-99 */ member in struct:synth_settings
|
/drivers/video/console/ |
H A D | fbcon_rotate.h | 23 static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) argument 25 u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; 31 static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) argument 33 u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8;
|
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,
|
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 | 126 u32 cnt, pitch, size; local 154 pitch = ((image.width + 7) >> 3) + scan_align; 155 pitch &= ~scan_align; 156 size = pitch * image.height + buf_align; 160 cw_putcs_aligned(vc, info, s, attribute, cnt, pitch,
|
/drivers/staging/omapdrm/ |
H A D | omap_drv.h | 154 static inline int align_pitch(int pitch, int width, int bpp) argument 158 pitch = max(pitch, width * bytespp); 162 return ALIGN(pitch, 8 * bytespp);
|
H A D | omap_fb.c | 79 uint32_t pitch; member in struct:plane 152 (y * plane->pitch / format->planes[0].sub_y); 156 info->screen_width = plane->pitch / format->planes[0].stride_bpp; 162 (y * plane->pitch / format->planes[1].sub_y); 291 seq_printf(m, " %d: offset=%d pitch=%d, obj: ", 292 i, plane->offset, plane->pitch); 366 int size, pitch = mode_cmd->pitches[i]; local 368 if (pitch < (mode_cmd->width * format->planes[i].stride_bpp)) { 369 dev_err(dev->dev, "provided buffer pitch is too small! %d < %d\n", 370 pitch, mode_cm [all...] |
/drivers/video/ |
H A D | valkyriefb.h | 88 int pitch[2]; /* bytes/line, indexed by color_mode */ member in struct:valkyrie_regvals
|
H A D | cfbimgblt.c | 145 u32 val, pitch = p->fix.line_length; local 195 dst1 += pitch; 198 dst2 += pitch;
|
H A D | controlfb.h | 67 struct preg pitch; /* addrs diff between scan lines */ member in struct:control_regs
|
H A D | platinumfb.h | 61 int pitch[3]; member in struct:platinum_regvals
|
H A D | sysimgblt.c | 117 u32 val, pitch = p->fix.line_length; local 166 dst1 += pitch; 169 dst2 += pitch;
|
H A D | valkyriefb.c | 257 int pitch; local 260 if ((pitch = init->pitch[color_mode]) == 0) 261 pitch = 2 * init->pitch[0]; 262 return init->vres * pitch; 308 || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 494 if (init->pitch[cmode] == 0) {
|
/drivers/gpu/drm/radeon/ |
H A D | r100_track.h | 14 unsigned pitch; member in struct:r100_cs_track_cb 38 unsigned pitch; member in struct:r100_cs_track_texture
|
H A D | evergreen_blit_kms.c | 44 int pitch, slice; local 53 pitch = (w / 8) - 1; 59 radeon_ring_write(ring, pitch); 179 int format, int w, int h, int pitch, 190 sq_tex_resource_word0 |= ((((pitch >> 3) - 1) << 6) | 178 set_tex_resource(struct radeon_device *rdev, int format, int w, int h, int pitch, u64 gpu_addr, u32 size) argument
|
H A D | radeon_object.c | 451 radeon_set_surface_reg(rdev, i, bo->tiling_flags, bo->pitch, 473 uint32_t tiling_flags, uint32_t pitch) 527 bo->pitch = pitch; 534 uint32_t *pitch) 539 if (pitch) 540 *pitch = bo->pitch; 472 radeon_bo_set_tiling_flags(struct radeon_bo *bo, uint32_t tiling_flags, uint32_t pitch) argument 532 radeon_bo_get_tiling_flags(struct radeon_bo *bo, uint32_t *tiling_flags, uint32_t *pitch) argument
|
/drivers/video/i810/ |
H A D | i810_accel.c | 183 * @pitch: pixels per line of the buffer 195 static inline void color_blit(int width, int height, int pitch, int dest, argument 204 PUT_RING(rop << 16 | pitch | SOLIDPATTERN | DYN_COLOR_EN | blit_bpp); 269 PUT_RING(PARSER | FRONT_BUFFER | ((par->pitch >> 3) << 8)); 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; local 353 pitch = info->fix.line_length; 356 pitch = (-(info->fix.line_length)) & 0xFFFF; 363 source_copy_blit(width, height, pitch, xdir, src, dest,
|
/drivers/video/nvidia/ |
H A D | nv_accel.c | 203 int pitch, i; local 205 pitch = info->fix.line_length; 258 NVDmaNext(par, pitch | (pitch << 16));
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_drv.h | 120 unsigned int pitch; member in struct:exynos_drm_overlay
|
/drivers/gpu/drm/mga/ |
H A D | mga_state.c | 49 unsigned int pitch = dev_priv->front_pitch; local 64 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch);
|