/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_plane.h | 23 unsigned int pitch; member in struct:mtk_plane_pending_state
|
H A D | mtk_drm_plane.c | 139 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 D | modesetting.c | 22 * @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 D | ctatc.c | 194 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 D | btext.c | 42 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 D | btext.c | 107 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 D | emu10k1_callback.c | 387 /* 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 D | gem.c | 202 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 D | lsdc_gem.c | 217 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 D | virtgpu_gem.c | 69 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 D | sm750_accel.c | 88 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 D | nv30.c | 30 nv30_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, argument 45 tile->pitch = pitch;
|
H A D | nv41.c | 34 nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch);
|
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_dummy.c | 56 __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 D | speakup_txprt.c | 52 __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 D | speakup_acntsa.c | 51 __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 D | speakup_bns.c | 47 __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 D | drm_format_helper_test.c | 100 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 D | radeon_accel.c | 37 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 D | saa7164-buffer.c | 25 * | 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 D | drm_gem_dma_helper.c | 257 * 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 D | controlfb.h | 63 struct preg pitch; /* addrs diff between scan lines */ member in struct:control_regs
|
H A D | sh_mobile_lcdcfb.h | 54 * @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 D | cursor_reg_cache.h | 15 uint32_t pitch: 2; member in struct:reg_cursor_control_cfg::__anon50
|
/linux-master/drivers/video/fbdev/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,
|