Searched refs:pitch (Results 1 - 25 of 266) sorted by relevance

1234567891011

/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_mdp_rdma.h10 unsigned int pitch; member in struct:mtk_mdp_rdma_cfg
/linux-master/arch/powerpc/include/asm/
H A Dbtext.h13 int depth, int pitch);
14 extern void btext_setup_display(int width, int height, int depth, int pitch,
H A Dps3gpu.h59 u64 ioif_offset, u64 sync_width, u64 pitch)
64 pitch);
58 lv1_gpu_fb_blit(u64 context_handle, u64 ddr_offset, u64 ioif_offset, u64 sync_width, u64 pitch) argument
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_dumb.c41 uint32_t pitch, format; local
43 pitch = args->width * ((args->bpp + 1) / 8);
44 args->size = pitch * args->height;
60 surf.stride = pitch;
73 args->pitch = pitch;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dnv10.c30 nv10_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, argument
35 tile->pitch = pitch;
43 tile->pitch = 0;
52 nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch);
H A Dnv46.c30 nv46_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, argument
40 tile->pitch = pitch;
H A Dnv44.c30 nv44_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, argument
36 tile->pitch = pitch;
44 nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch);
H A Dnv20.c30 nv20_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, argument
35 tile->pitch = pitch;
64 tile->pitch = 0;
74 nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch);
H A Dpriv.h38 u32 pitch, u32 flags, struct nvkm_fb_tile *);
58 u32 pitch, u32 flags, struct nvkm_fb_tile *);
64 u32 pitch, u32 flags, struct nvkm_fb_tile *);
70 u32 pitch, u32 flags, struct nvkm_fb_tile *);
82 u32 pitch, u32 flags, struct nvkm_fb_tile *);
/linux-master/drivers/video/fbdev/via/
H A Dvia_modesetting.h41 void via_set_primary_pitch(u32 pitch);
42 void via_set_secondary_pitch(u32 pitch);
H A Dvia_modesetting.c140 void via_set_primary_pitch(u32 pitch) argument
142 DEBUG_MSG(KERN_DEBUG "via_set_primary_pitch(0x%08X)\n", pitch);
146 pitch = pitch >> 3;
147 via_write_reg(VIACR, 0x13, pitch & 0xFF);
148 via_write_reg_mask(VIACR, 0x35, (pitch >> (8 - 5)) & 0xE0, 0xE0);
151 void via_set_secondary_pitch(u32 pitch) argument
153 DEBUG_MSG(KERN_DEBUG "via_set_secondary_pitch(0x%08X)\n", pitch);
154 pitch = pitch >>
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dsm750_cursor.c87 int i, j, count, pitch, offset; local
93 pitch = cursor->w >> 3;
96 count = pitch * cursor->h;
123 /* assume pitch is 1,2,4,8,...*/
124 if ((i + 1) % pitch == 0) {
137 int i, j, count, pitch, offset; local
143 pitch = cursor->w >> 3;
146 count = pitch * cursor->h;
166 /* assume pitch is 1,2,4,8,...*/
167 if (!(i & (pitch
[all...]
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c391 saa7146_write(dev, where+0x0c, vdma->pitch);
402 printk("vdma%d.pitch: 0x%08x\n", which,vdma->pitch);
425 vdma1.pitch = bytesperline*2;
427 vdma1.pitch = (width*depth*2)/8;
434 vdma1.base_even = buf->pt[0].offset+(vdma1.pitch/2)*height;
435 vdma1.base_odd = vdma1.base_even - (vdma1.pitch/2);
438 vdma1.base_odd = vdma1.base_even + (vdma1.pitch/2);
439 vdma1.prot_addr = buf->pt[0].offset+(vdma1.pitch/2)*height;
447 vdma1.pitch /
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv44.c44 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch);
53 nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch);
56 nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch);
61 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch);
64 nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch);
/linux-master/include/linux/
H A Ddtlk.h72 unsigned char pitch; /* nP; 0-99 */ member in struct:dtlk_settings
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_dtlk.h47 u_char pitch; /* nP; 0-99 */ member in struct:synth_settings
/linux-master/drivers/video/fbdev/core/
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;
/linux-master/drivers/gpu/drm/tiny/
H A Dcirrus.c78 unsigned int pitch; member in struct:cirrus_primary_plane_state
310 static void cirrus_pitch_set(struct cirrus_device *cirrus, unsigned int pitch) argument
314 /* Program the pitch */
315 cr13 = pitch / 8;
318 /* Enable extended blanking and pitch bits, and enable full memory */
320 cr1b |= (pitch >> 7) & 0x10;
321 cr1b |= (pitch >> 6) & 0x40;
351 unsigned int pitch; local
365 pitch = cirrus_pitch(fb);
368 if (pitch > CIRRUS_MAX_PITC
389 unsigned int pitch = primary_plane_state->pitch; local
615 uint64_t pitch = drm_format_info_min_pitch(format, 0, mode->hdisplay); local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dr100_track.h17 unsigned pitch; member in struct:r100_cs_track_cb
41 unsigned pitch; member in struct:r100_cs_track_texture
/linux-master/include/media/
H A Dvsp1.h48 * @pitch: line pitch in bytes for the first plane
58 unsigned int pitch; member in struct:vsp1_du_atomic_config
92 * @pitch: line pitch in bytes for the first plane
97 unsigned int pitch; member in struct:vsp1_du_writeback_config
/linux-master/drivers/gpu/drm/armada/
H A Darmada_drm.h33 uint32_t pitch = bpp != 4 ? width * ((bpp + 7) / 8) : width / 2; local
35 /* 88AP510 spec recommends pitch be a multiple of 128 */
36 return ALIGN(pitch, 128);
/linux-master/sound/core/oss/
H A Drate.c46 unsigned int pitch; member in struct:rate_priv
114 pos += data->pitch;
174 pos += data->pitch;
194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT);
196 res = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch);
227 res = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch);
229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT);
333 data->pitch = ((src_format->rate << SHIFT) + (dst_format->rate >> 1)) / dst_format->rate;
336 data->pitch = ((dst_format->rate << SHIFT) + (src_format->rate >> 1)) / src_format->rate;
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c31 unsigned int pitch; local
60 pitch = crtc_state->mode.hdisplay *
62 if (new_state->fb->pitches[0] != pitch) {
64 "Invalid pitch: fb and crtc widths must be the same");
/linux-master/drivers/video/fbdev/
H A Dvalkyriefb.h84 int pitch[2]; /* bytes/line, indexed by color_mode */ member in struct:valkyrie_regvals
/linux-master/drivers/gpu/drm/hyperv/
H A Dhyperv_drm.h48 u32 w, u32 h, u32 pitch);

Completed in 338 milliseconds

1234567891011