Searched refs:pitch (Results 151 - 175 of 266) sorted by relevance

1234567891011

/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-dpr.c245 u32 chroma_base_addr, u16 pitch)
254 ch->frame_ctrl |= (((u32)pitch << PITCH_POS) & PITCH_MASK);
244 dcss_dpr_addr_set(struct dcss_dpr *dpr, int ch_num, u32 luma_base_addr, u32 chroma_base_addr, u16 pitch) argument
/linux-master/drivers/media/platform/nuvoton/
H A Dnpcm-video.c280 * Set the line pitch (in bytes) for the frame buffers.
283 static void npcm_video_ece_set_lp(struct npcm_video *video, unsigned int pitch) argument
288 switch (pitch) {
718 unsigned int pitch = MIN_LP; local
720 while ((pitch < linebytes) && (pitch < MAX_LP))
721 pitch *= 2;
723 regmap_write(vcd, VCD_FB_LP, FIELD_PREP(VCD_FBA_LP, pitch) |
724 FIELD_PREP(VCD_FBB_LP, pitch));
/linux-master/drivers/video/fbdev/i810/
H A Di810.h271 u32 pitch; member in struct:i810fb_par
/linux-master/drivers/staging/sm750fb/
H A Dsm750_accel.h193 u32 base, u32 pitch, u32 Bpp,
/linux-master/include/uapi/drm/
H A Dexynos_drm.h276 __u32 pitch[4]; member in struct:drm_exynos_ipp_task_buffer
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead827d.c92 NVVAL(NV827D, HEAD_SET_STORAGE, PITCH, asyh->core.pitch >> 8) |
H A Dbase907c.c53 NVVAL(NV907C, SURFACE_SET_STORAGE, PITCH, asyw->image.pitch[0] >> 8) |
H A Dwndwc57e.c62 NVVAL(NVC57E, SET_PLANAR_STORAGE, PITCH, asyw->image.pitch[0] >> 6));
H A Dovly507e.c81 NVVAL(NV507E, SURFACE_SET_STORAGE, PITCH, (asyw->image.pitch[0] >> 8)) |
/linux-master/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-msg.h284 u32 pitch[4]; member in struct:mmal_buffer_header_type_specific::__anon205::__anon206
/linux-master/sound/pci/ctxfi/
H A Dcthardware.h104 int (*src_set_pitch)(void *blk, unsigned int pitch);
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_writeback.c234 cfg->pitch = fb->pitches[0];
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_plane.c129 frame_info->pitch = fb->pitches[0];
H A Dvkms_formats.c14 return frame_info->offset + (y * frame_info->pitch)
H A Dvkms_writeback.c154 wb_frame_info->pitch = fb->pitches[0];
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c747 unsigned int pitch; local
762 pitch = mode->hdisplay * 4;
764 if (pitch % descp->pitch_align) {
766 descp->pitch_align, pitch);
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-encoder.c115 params->pitch = 128;
126 params->pitch = 188;
143 params->pitch);
162 len = params->numberoflines * params->pitch;
/linux-master/include/video/
H A Dmmp_disp.h82 * pitch[0]: graphics/video layer line length or y pitch
83 * pitch[1]/pitch[2]: video u/v pitch if non-zero
85 u32 pitch[3]; member in struct:mmp_win
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.h45 dml_uint_t pitch,
/linux-master/drivers/gpu/drm/stm/
H A Ddrv.c47 * in order to optimize data transfer, pitch is aligned on
50 args->pitch = roundup(min_pitch, 128);
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_gem.c570 r = radeon_bo_set_tiling_flags(robj, args->tiling_flags, args->pitch);
591 radeon_bo_get_tiling_flags(rbo, &args->tiling_flags, &args->pitch);
840 args->pitch = radeon_align_pitch(rdev, args->width,
842 args->size = (u64)args->pitch * args->height;
/linux-master/drivers/gpu/drm/sprd/
H A Dsprd_dpu.c325 u32 addr, size, offset, pitch, blend, format, rotation; local
352 /* UV pitch is 1/2 of Y pitch */
353 pitch = (fb->pitches[0] / fb->format->cpp[0]) |
356 pitch = fb->pitches[0] / fb->format->cpp[0];
364 layer_reg_wr(ctx, REG_LAY_PITCH, pitch, index);
/linux-master/drivers/gpu/drm/
H A Ddrm_format_helper.c114 static unsigned int clip_offset(const struct drm_rect *clip, unsigned int pitch, unsigned int cpp) argument
116 return clip->y1 * pitch + clip->x1 * cpp;
121 * @pitch: Framebuffer line pitch in byte
128 unsigned int drm_fb_clip_offset(unsigned int pitch, const struct drm_format_info *format, argument
131 return clip_offset(clip, pitch, format->cpp[0]);
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos5433_drm_decon.c409 unsigned int pitch = fb->pitches[0]; local
440 val = dma_addr + pitch * state->src.h;
444 val = BIT_VAL(pitch - state->crtc.w * cpp, 27, 14)
447 val = BIT_VAL(pitch - state->crtc.w * cpp, 29, 15)
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c81 args->pitch = roundup(min_pitch, align);
102 * pitch to 65535 bytes.
106 dev_dbg(dev->dev, "invalid pitch value %u\n",

Completed in 206 milliseconds

1234567891011