Searched defs:pitch (Results 1 - 25 of 69) sorted by relevance

123

/drivers/video/via/
H A Dvia_modesetting.c155 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 Dnv10_fb.c8 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 Dnv20_fb.c42 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 Dnv30_fb.c34 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 Dvia_verifier.h41 uint32_t pitch[2][10]; member in struct:__anon673
/drivers/staging/speakup/
H A Dspeakup_dtlk.h40 u_char pitch; /* nP; 0-99 */ member in struct:synth_settings
/drivers/video/console/
H A Dfbcon_rotate.h23 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 Dbitblit.c153 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 Dfbcon_ccw.c140 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 Dfbcon_cw.c126 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 Domap_drv.h154 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 Domap_fb.c79 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 Dvalkyriefb.h88 int pitch[2]; /* bytes/line, indexed by color_mode */ member in struct:valkyrie_regvals
H A Dcfbimgblt.c145 u32 val, pitch = p->fix.line_length; local
195 dst1 += pitch;
198 dst2 += pitch;
H A Dcontrolfb.h67 struct preg pitch; /* addrs diff between scan lines */ member in struct:control_regs
H A Dplatinumfb.h61 int pitch[3]; member in struct:platinum_regvals
H A Dsysimgblt.c117 u32 val, pitch = p->fix.line_length; local
166 dst1 += pitch;
169 dst2 += pitch;
H A Dvalkyriefb.c257 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 Dr100_track.h14 unsigned pitch; member in struct:r100_cs_track_cb
38 unsigned pitch; member in struct:r100_cs_track_texture
H A Devergreen_blit_kms.c44 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 Dradeon_object.c451 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 Di810_accel.c183 * @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 Dnv_accel.c203 int pitch, i; local
205 pitch = info->fix.line_length;
258 NVDmaNext(par, pitch | (pitch << 16));
/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.h120 unsigned int pitch; member in struct:exynos_drm_overlay
/drivers/gpu/drm/mga/
H A Dmga_state.c49 unsigned int pitch = dev_priv->front_pitch; local
64 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch);

Completed in 494 milliseconds

123