Searched refs:pitch (Results 76 - 100 of 266) sorted by relevance

1234567891011

/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c335 unsigned int pitch; local
348 pitch = fb->pitches[0];
350 pitch = fb->pitches[0] * 8 / state->format->bpp;
357 pitch = drm_rect_width(&state->state.src) >> 16;
363 * Memory pitch (expressed in pixels). Must be doubled for interlaced
368 pitch * 2 : pitch);
392 rcar_du_plane_write(rgrp, index, PnMWR, pitch);
/linux-master/drivers/gpu/drm/
H A Ddrm_gem_vram_helper.c495 size_t pitch, size; local
500 pitch = args->width * DIV_ROUND_UP(args->bpp, 8);
504 pitch = ALIGN(pitch, pitch_align);
506 size = pitch * args->height;
522 args->pitch = pitch;
/linux-master/drivers/video/fbdev/
H A Doffb.c394 int pitch, unsigned long address,
397 unsigned long res_size = pitch * height;
408 "Using unsupported %dx%d %s at %lx, depth=%d, pitch=%d\n",
409 width, height, name, address, depth, pitch);
434 fix->line_length = pitch;
437 fix->smem_len = pitch * height;
539 int i, width = 640, height = 480, depth = 8, pitch = 640; local
577 pitch = be32_to_cpup(pp);
579 pitch = width * ((depth + 7) / 8);
581 rsize = (unsigned long)pitch * (unsigne
392 offb_init_fb(struct platform_device *parent, const char *name, int width, int height, int depth, int pitch, unsigned long address, int foreign_endian, struct device_node *dp) argument
[all...]
H A Dcontrolfb.c87 int pitch; member in struct:fb_par_control
213 par->yoffset * par->pitch + (par->xoffset << par->cmode));
258 out_le32(CNTRL_REG(p,pitch), par->pitch);
261 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch
273 p->par.pitch);
483 par->pitch = par->vxres << par->cmode;
493 if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram)
663 info->fix.line_length = p->par.pitch;
/linux-master/drivers/staging/sm750fb/
H A Dsm750.c165 unsigned int base, pitch, Bpp, rop; local
179 pitch = info->fix.line_length;
195 base, pitch, Bpp,
207 unsigned int base, pitch, Bpp; local
217 pitch = info->fix.line_length;
229 base, pitch, region->sx, region->sy,
230 base, pitch, Bpp, region->dx, region->dy,
239 unsigned int base, pitch, Bpp; local
251 pitch = info->fix.line_length;
279 base, pitch, Bp
[all...]
/linux-master/drivers/gpu/drm/solomon/
H A Dssd130x.c895 unsigned int pitch)
929 ret = ssd130x_write_data(ssd130x, data_array, pitch * rows);
989 unsigned int pitch; local
994 pitch = drm_format_info_min_pitch(fi, 0, ssd130x->width);
996 memset(data_array, 0, pitch * ssd130x->height);
999 ssd130x_write_data(ssd130x, data_array, pitch * ssd130x->height);
1104 unsigned int pitch; local
1123 pitch = drm_format_info_min_pitch(fi, 0, ssd130x->width);
1130 pitch, GFP_KERNEL);
1135 ssd130x_state->buffer = kcalloc(pitch, ssd130
893 ssd133x_update_rect(struct ssd130x_device *ssd130x, struct drm_rect *rect, u8 *data_array, unsigned int pitch) argument
1153 unsigned int pitch; local
1535 unsigned int pitch; local
[all...]
/linux-master/drivers/video/fbdev/core/
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_ud.c162 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; local
193 pitch = ((image.width + 7) >> 3) + scan_align;
194 pitch &= ~scan_align;
195 size = pitch * image.height + buf_align;
201 ud_putcs_aligned(vc, info, s, attribute, cnt, pitch,
204 ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch,
H A Dsysimgblt.c117 u32 val, pitch = p->fix.line_length; local
166 dst1 += pitch;
169 dst2 += pitch;
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_dectlk.c72 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
318 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
331 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
H A Dspeakup_keypc.c62 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
318 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
324 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
H A Dspeakup_acntpc.c65 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
318 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
328 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
H A Dspeakup_dtlk.c74 __ATTR(pitch, 0644, spk_var_show, spk_var_store);
312 status.pitch = *t++;
390 module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
402 MODULE_PARM_DESC(pitch, "Set the pitch variable on load.");
/linux-master/drivers/usb/gadget/function/
H A Du_audio.c50 unsigned int pitch; /* Stream pitch ratio to 1000000 */ member in struct:uac_rtd_params
103 unsigned int pitch,
110 * Because the pitch base is 1000000, the final divider here
144 ff = DIV_ROUND_CLOSEST_ULL((freq * pitch), 1953125);
202 pitched_rate_mil = (unsigned long long) prm->srate * prm->pitch;
208 pr_debug("p_srate %d, pitch %d, interval_mil %llu, frames %d\n",
209 prm->srate, prm->pitch, p_interval_mil, frames);
307 prm->srate, prm->pitch,
657 prm->pitch
100 u_audio_set_fback_frequency(enum usb_device_speed speed, struct usb_ep *out_ep, unsigned long long freq, unsigned int pitch, void *buf) argument
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c29 u32 pitch = DIV_ROUND_UP(args->width * args->bpp, 8); local
31 args->pitch = ALIGN(pitch, mdev->chip.bus_width);
/linux-master/drivers/video/fbdev/nvidia/
H A Dnv_accel.c205 int pitch, i; local
207 pitch = info->fix.line_length;
260 NVDmaNext(par, pitch | (pitch << 16));
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dovly907e.c55 NVVAL(NV907E, SURFACE_SET_STORAGE, PITCH, (asyw->image.pitch[0] >> 8)) |
H A Dovly827e.c58 NVVAL(NV827E, SURFACE_SET_STORAGE, PITCH, (asyw->image.pitch[0] >> 8)) |
H A Dbase827c.c68 NVVAL(NV827C, SURFACE_SET_STORAGE, PITCH, asyw->image.pitch[0] >> 8) |
/linux-master/drivers/video/fbdev/sis/
H A Dsis_accel.h155 #define SiS300SetupSRCPitch(pitch) \
157 MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\
285 #define SiS310SetupSRCPitch(pitch) \
287 MMIO_OUT16(ivideo->mmio_vbase, SRC_PITCH, pitch);\
/linux-master/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h96 * @pitch: bytes per line of image in memory
106 unsigned int pitch[VIDEO_MAX_PLANES]; member in struct:mtk_mdp_frame
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_drv.c69 if (args->pitch < min_pitch)
70 args->pitch = min_pitch;
72 if (args->size < args->pitch * args->height)
73 args->size = args->pitch * args->height;
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fb.c949 unsigned int pitch,
953 old_offset += *y * pitch + *x * cpp;
955 *y = (old_offset - new_offset) / pitch;
956 *x = ((old_offset - new_offset) - *y * pitch) / cpp;
965 unsigned int pitch,
981 pitch_tiles = pitch / tile_height;
984 pitch_tiles = pitch / (tile_width * cpp);
991 intel_adjust_linear_offset(x, y, cpp, pitch,
1019 * pitch is the tile_height aligned framebuffer height.
1024 * used. This is why the user has to pass in the pitch sinc
947 intel_adjust_linear_offset(int *x, int *y, unsigned int cpp, unsigned int pitch, u32 old_offset, u32 new_offset) argument
961 intel_adjust_aligned_offset(int *x, int *y, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation, unsigned int pitch, u32 old_offset, u32 new_offset) argument
1027 intel_compute_aligned_offset(struct drm_i915_private *i915, int *x, int *y, const struct drm_framebuffer *fb, int color_plane, unsigned int pitch, unsigned int rotation, u32 alignment) argument
1090 int pitch = state->view.color_plane[color_plane].mapping_stride; local
[all...]
/linux-master/sound/pci/ctxfi/
H A Dctsrc.h66 int (*set_pitch)(struct src *src, unsigned int pitch);
/linux-master/drivers/gpu/drm/radeon/
H A Dr600_cs.c247 /* returns alignment in pixels for pitch/height/depth and bytes for base */
263 /* technically tile_width/_height for pitch/height */
353 u32 height, height_align, pitch, pitch_align, depth_align; local
369 /* pitch in pixels */
370 pitch = (G_028060_PITCH_TILE_MAX(track->cb_color_size[i]) + 1) * 8;
373 height = slice_tile_max / pitch;
411 if (!IS_ALIGNED(pitch, pitch_align)) {
412 dev_warn(p->dev, "%s:%d cb pitch (%d, 0x%x, %d) invalid\n",
413 __func__, __LINE__, pitch, pitch_align, array_mode);
428 tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) *
520 u32 pitch = 8192; local
1479 u32 height_align, pitch, pitch_align, depth_align; local
[all...]

Completed in 231 milliseconds

1234567891011