Searched refs:pitch (Results 26 - 50 of 266) sorted by relevance

1234567891011

/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.h23 unsigned int pitch; member in struct:mtk_plane_pending_state
H A Dmtk_drm_plane.c139 unsigned int pitch, format; local
149 pitch = fb->pitches[0];
161 offset = (new_state->src.y1 >> 16) * pitch;
173 pitch = width_in_blocks * AFBC_DATA_BLOCK_WIDTH *
188 offset = pitch * y_offset_in_blocks +
194 * for example: addr += pitch * y_offset_in_blocks;
201 mtk_plane_state->pending.pitch = pitch;
/linux-master/drivers/gpu/drm/vboxvideo/
H A Dmodesetting.c22 * @pitch: The offset in bytes between the starts of two adjecent
31 u32 pitch, u32 width, u32 height,
45 p->line_size = pitch;
29 hgsmi_process_display_info(struct gen_pool *ctx, u32 display, s32 origin_x, s32 origin_y, u32 start_offset, u32 pitch, u32 width, u32 height, u16 bpp, u16 flags) argument
/linux-master/sound/pci/ctxfi/
H A Dctatc.c194 unsigned int pitch; local
197 /* get pitch and convert to fixed-point 8.24 format. */
198 pitch = (input_rate / output_rate) << 24;
214 pitch |= input_rate;
217 return pitch;
220 static int select_rom(unsigned int pitch) argument
222 if (pitch > 0x00428f5c && pitch < 0x01b851ec) {
223 /* 0.26 <= pitch <= 1.72 */
225 } else if (pitch
250 unsigned int pitch; local
451 unsigned int pitch; member in struct:src_node_conf_t
461 unsigned int pitch; local
511 unsigned int pitch; local
652 unsigned int pitch; local
791 unsigned int pitch, rsr = atc->pll_rate; local
[all...]
/linux-master/arch/sparc/kernel/
H A Dbtext.c42 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;
/linux-master/arch/powerpc/kernel/
H A Dbtext.c107 void __init btext_setup_display(int width, int height, int depth, int pitch, argument
116 dispDeviceRowBytes = pitch;
162 unsigned int width, height, depth, pitch; local
184 pitch = width * ((depth + 7) / 8);
189 pitch = *prop;
190 if (pitch == 1)
191 pitch = 0x1000;
209 dispDeviceRowBytes = pitch;
263 int depth, int pitch)
278 dispDeviceRowBytes = pitch;
262 btext_update_display(unsigned long phys, int width, int height, int depth, int pitch) argument
[all...]
/linux-master/sound/pci/emu10k1/
H A Demu10k1_callback.c387 /* 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/gma500/
H A Dgem.c202 size_t pitch, size; local
208 pitch = args->width * DIV_ROUND_UP(args->bpp, 8);
209 pitch = ALIGN(pitch, 64);
211 size = pitch * args->height;
227 args->pitch = pitch;
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_gem.c217 u32 pitch; local
227 pitch = args->width * args->bpp / 8;
228 pitch = ALIGN(pitch, descp->pitch_align);
229 size = pitch * args->height;
251 args->pitch = pitch;
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_gem.c69 uint32_t pitch; local
74 pitch = args->width * 4;
75 args->size = pitch * args->height;
95 args->pitch = pitch;
/linux-master/drivers/staging/sm750fb/
H A Dsm750_accel.c88 u32 base, u32 pitch, u32 Bpp,
105 ((pitch / Bpp << DE_PITCH_DESTINATION_SHIFT) &
107 (pitch / Bpp & DE_PITCH_SOURCE_MASK)); /* dpr10 */
110 ((pitch / Bpp << DE_WINDOW_WIDTH_DST_SHIFT) &
112 (pitch / Bpp & DE_WINDOW_WIDTH_SRC_MASK)); /* dpr44 */
247 * Program pitch (distance between the 1st points of two adjacent lines).
248 * Note that input pitch is BYTE value, but the 2D Pitch register uses
351 * Program pitch (distance between the 1st points of two adjacent
352 * lines). Note that input pitch is BYTE value, but the 2D Pitch
87 sm750_hw_fillrect(struct lynx_accel *accel, u32 base, u32 pitch, u32 Bpp, u32 x, u32 y, u32 width, u32 height, u32 color, u32 rop) argument
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dnv30.c30 nv30_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, argument
45 tile->pitch = pitch;
H A Dnv41.c34 nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch);
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_dummy.c56 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
146 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
160 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
H A Dspeakup_txprt.c52 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
131 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
142 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
H A Dspeakup_acntsa.c51 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
143 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
152 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
H A Dspeakup_bns.c47 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
126 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
136 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
/linux-master/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c100 unsigned int pitch; member in struct:convert_xrgb8888_case
122 .pitch = 1 * 4,
185 .pitch = 2 * 4,
255 .pitch = 4 * 4,
400 .pitch = 3 * 4,
619 .pitches = { params->pitch, 0, 0 },
652 .pitches = { params->pitch, 0, 0 },
685 .pitches = { params->pitch, 0, 0 },
739 .pitches = { params->pitch, 0, 0 },
786 .pitches = { params->pitch,
1242 unsigned int pitch; member in struct:clip_offset_case
1313 unsigned int pitch = params->pitch; local
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dradeon_accel.c37 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) |
39 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10));
40 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10));
287 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) |
289 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10));
290 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10));
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-buffer.c25 * | PCI buffer size + = pitch * number of lines (312) |
99 buf->actual_size = params->pitch * params->numberoflines;
231 saa7164_writel(port->pitch, params->pitch);
232 saa7164_writel(port->bufsize, params->pitch * params->numberoflines);
239 dprintk(DBGLVL_BUF, " pitch 0x%x = %d\n", port->pitch,
240 saa7164_readl(port->pitch));
/linux-master/drivers/gpu/drm/
H A Ddrm_gem_dma_helper.c257 * This aligns the pitch and size arguments to the minimum required. This is
272 if (args->pitch < min_pitch)
273 args->pitch = min_pitch;
275 if (args->size < args->pitch * args->height)
276 args->size = args->pitch * args->height;
290 * This function computes the pitch of the dumb buffer and rounds it up to an
292 * any additional restrictions on the pitch can directly use this function as
308 args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8);
309 args->size = args->pitch * args->height;
/linux-master/drivers/video/fbdev/
H A Dcontrolfb.h63 struct preg pitch; /* addrs diff between scan lines */ member in struct:control_regs
H A Dsh_mobile_lcdcfb.h54 * @pitch: Frame buffer line pitch
84 unsigned int pitch; member in struct:sh_mobile_lcdc_chan
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dcursor_reg_cache.h15 uint32_t pitch: 2; member in struct:reg_cursor_control_cfg::__anon50
/linux-master/drivers/video/fbdev/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,

Completed in 219 milliseconds

1234567891011