/linux-4.1.27/drivers/media/common/saa7146/ |
D | saa7146_hlp.c | 457 vdma2->pitch = 0x00; in calculate_clipping_registers_rect() 514 saa7146_write(dev, PITCH2, vdma2.pitch); in saa7146_set_clipping_rect() 581 vdma1.pitch = 2*b_bpl; in saa7146_set_position() 583 vdma1.base_even = base + (w_y * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); in saa7146_set_position() 584 vdma1.base_odd = vdma1.base_even + (vdma1.pitch / 2); in saa7146_set_position() 585 vdma1.prot_addr = vdma1.base_even + (w_height * (vdma1.pitch / 2)); in saa7146_set_position() 588 vdma1.base_even = base + ((w_y+w_height) * (vdma1.pitch/2)) + (w_x * (b_depth / 8)); in saa7146_set_position() 589 vdma1.base_odd = vdma1.base_even - (vdma1.pitch / 2); in saa7146_set_position() 590 vdma1.prot_addr = vdma1.base_odd - (w_height * (vdma1.pitch / 2)); in saa7146_set_position() 597 vdma1.pitch /= 2; in saa7146_set_position() [all …]
|
D | saa7146_vbi.c | 155 vdma3.pitch = vbi_pixel_to_capture; in saa7146_set_vbi_capture()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
D | via_modesetting.c | 155 void via_set_primary_pitch(u32 pitch) in via_set_primary_pitch() argument 157 DEBUG_MSG(KERN_DEBUG "via_set_primary_pitch(0x%08X)\n", pitch); in via_set_primary_pitch() 161 pitch = pitch >> 3; in via_set_primary_pitch() 162 via_write_reg(VIACR, 0x13, pitch & 0xFF); in via_set_primary_pitch() 163 via_write_reg_mask(VIACR, 0x35, (pitch >> (8 - 5)) & 0xE0, 0xE0); in via_set_primary_pitch() 166 void via_set_secondary_pitch(u32 pitch) in via_set_secondary_pitch() argument 168 DEBUG_MSG(KERN_DEBUG "via_set_secondary_pitch(0x%08X)\n", pitch); in via_set_secondary_pitch() 169 pitch = pitch >> 3; in via_set_secondary_pitch() 170 via_write_reg(VIACR, 0x66, pitch & 0xFF); in via_set_secondary_pitch() 171 via_write_reg_mask(VIACR, 0x67, (pitch >> 8) & 0x03, 0x03); in via_set_secondary_pitch() [all …]
|
D | via_modesetting.h | 56 void via_set_primary_pitch(u32 pitch); 57 void via_set_secondary_pitch(u32 pitch);
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_dumb.c | 40 uint32_t pitch, format; in qxl_mode_dumb_create() local 41 pitch = args->width * ((args->bpp + 1) / 8); in qxl_mode_dumb_create() 42 args->size = pitch * args->height; in qxl_mode_dumb_create() 58 surf.stride = pitch; in qxl_mode_dumb_create() 66 args->pitch = pitch; in qxl_mode_dumb_create()
|
/linux-4.1.27/drivers/staging/sm750fb/ |
D | sm750_cursor.c | 98 int i,j,count,pitch,offset; in hw_cursor_setData() local 104 pitch = cursor->w >> 3; in hw_cursor_setData() 107 count = pitch * cursor->h; in hw_cursor_setData() 168 if(!((i+1)&(pitch-1))) /* below line equal to is line */ in hw_cursor_setData() 170 if((i+1) % pitch == 0) in hw_cursor_setData() 189 int i,j,count,pitch,offset; in hw_cursor_setData2() local 195 pitch = cursor->w >> 3; in hw_cursor_setData2() 198 count = pitch * cursor->h; in hw_cursor_setData2() 240 if(!(i&(pitch-1))) in hw_cursor_setData2()
|
D | sm750_accel.c | 93 u32 base,u32 pitch,u32 Bpp, in hw_fillrect() argument 109 FIELD_VALUE(0,DE_PITCH,DESTINATION,pitch/Bpp)| in hw_fillrect() 110 FIELD_VALUE(0,DE_PITCH,SOURCE,pitch/Bpp));//dpr10 in hw_fillrect() 113 FIELD_VALUE(0,DE_WINDOW_WIDTH,DESTINATION,pitch/Bpp)| in hw_fillrect() 114 FIELD_VALUE(0,DE_WINDOW_WIDTH,SOURCE,pitch/Bpp));//dpr44 in hw_fillrect()
|
D | sm750.c | 190 unsigned int base, pitch, Bpp, rop; in lynxfb_ops_fillrect() local 202 pitch = info->fix.line_length; in lynxfb_ops_fillrect() 216 base, pitch, Bpp, in lynxfb_ops_fillrect() 229 unsigned int base, pitch, Bpp; in lynxfb_ops_copyarea() local 237 pitch = info->fix.line_length; in lynxfb_ops_copyarea() 248 base, pitch, region->sx, region->sy, in lynxfb_ops_copyarea() 249 base, pitch, Bpp, region->dx, region->dy, in lynxfb_ops_copyarea() 258 unsigned int base, pitch, Bpp; in lynxfb_ops_imageblit() local 268 pitch = info->fix.line_length; in lynxfb_ops_imageblit() 293 base, pitch, Bpp, in lynxfb_ops_imageblit()
|
D | sm750_accel.h | 242 u32 base,u32 pitch,u32 Bpp,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | nv10.c | 29 nv10_fb_tile_init(struct nvkm_fb *pfb, int i, u32 addr, u32 size, u32 pitch, in nv10_fb_tile_init() argument 34 tile->pitch = pitch; in nv10_fb_tile_init() 42 tile->pitch = 0; in nv10_fb_tile_fini() 50 nv_wr32(pfb, 0x100248 + (i * 0x10), tile->pitch); in nv10_fb_tile_prog()
|
D | nv04.h | 18 u32 pitch, u32 flags, struct nvkm_fb_tile *); 29 u32 pitch, u32 flags, struct nvkm_fb_tile *); 34 u32 pitch, u32 flags, struct nvkm_fb_tile *); 40 u32 pitch, u32 flags, struct nvkm_fb_tile *); 52 u32 pitch, u32 flags, struct nvkm_fb_tile *);
|
D | nv20.c | 29 nv20_fb_tile_init(struct nvkm_fb *pfb, int i, u32 addr, u32 size, u32 pitch, in nv20_fb_tile_init() argument 34 tile->pitch = pitch; in nv20_fb_tile_init() 63 tile->pitch = 0; in nv20_fb_tile_fini() 72 nv_wr32(pfb, 0x100248 + (i * 0x10), tile->pitch); in nv20_fb_tile_prog()
|
D | nv44.c | 29 nv44_fb_tile_init(struct nvkm_fb *pfb, int i, u32 addr, u32 size, u32 pitch, in nv44_fb_tile_init() argument 35 tile->pitch = pitch; in nv44_fb_tile_init() 42 nv_wr32(pfb, 0x100608 + (i * 0x10), tile->pitch); in nv44_fb_tile_prog()
|
D | nv46.c | 29 nv46_fb_tile_init(struct nvkm_fb *pfb, int i, u32 addr, u32 size, u32 pitch, in nv46_fb_tile_init() argument 39 tile->pitch = pitch; in nv46_fb_tile_init()
|
D | nv30.c | 31 nv30_fb_tile_init(struct nvkm_fb *pfb, int i, u32 addr, u32 size, u32 pitch, in nv30_fb_tile_init() argument 46 tile->pitch = pitch; in nv30_fb_tile_init()
|
D | nv41.c | 32 nv_wr32(pfb, 0x100608 + (i * 0x10), tile->pitch); in nv41_fb_tile_prog()
|
/linux-4.1.27/sound/drivers/opl4/ |
D | opl4_synth.c | 423 int note, pitch, octave; in snd_opl4_update_pitch() local 430 pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7); in snd_opl4_update_pitch() 431 pitch += voice->sound->pitch_offset; in snd_opl4_update_pitch() 433 pitch += chan->gm_rpn_coarse_tuning; in snd_opl4_update_pitch() 434 pitch += chan->gm_rpn_fine_tuning >> 7; in snd_opl4_update_pitch() 435 pitch += chan->midi_pitchbend * chan->gm_rpn_pitch_bend_range / 0x2000; in snd_opl4_update_pitch() 436 if (pitch < 0) in snd_opl4_update_pitch() 437 pitch = 0; in snd_opl4_update_pitch() 438 else if (pitch >= 0x6000) in snd_opl4_update_pitch() 439 pitch = 0x5fff; in snd_opl4_update_pitch() [all …]
|
/linux-4.1.27/sound/core/oss/ |
D | rate.c | 46 unsigned int pitch; member 114 pos += data->pitch; in resample_expand() 174 pos += data->pitch; in resample_shrink() 194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames() 196 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_src_frames() 227 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_dst_frames() 229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames() 333 data->pitch = ((src_format->rate << SHIFT) + (dst_format->rate >> 1)) / dst_format->rate; in snd_pcm_plugin_build_rate() 336 data->pitch = ((dst_format->rate << SHIFT) + (src_format->rate >> 1)) / src_format->rate; in snd_pcm_plugin_build_rate()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 80 uint32_t pitch; member 141 (y * plane->pitch / format->planes[n].sub_y); in get_linear_addr() 226 info->screen_width = plane->pitch; in omap_framebuffer_update_scanout() 352 i, plane->offset, plane->pitch); in omap_framebuffer_describe() 417 int size, pitch = mode_cmd->pitches[i]; in omap_framebuffer_init() local 419 if (pitch < (mode_cmd->width * format->planes[i].stride_bpp)) { in omap_framebuffer_init() 421 pitch, mode_cmd->width * format->planes[i].stride_bpp); in omap_framebuffer_init() 426 if (pitch % format->planes[i].stride_bpp != 0) { in omap_framebuffer_init() 429 pitch, format->planes[i].stride_bpp); in omap_framebuffer_init() 434 size = pitch * mode_cmd->height / format->planes[i].sub_y; in omap_framebuffer_init() [all …]
|
D | omap_drv.h | 258 static inline int align_pitch(int pitch, int width, int bpp) in align_pitch() argument 262 pitch = max(pitch, width * bytespp); in align_pitch() 266 return ALIGN(pitch, 8 * bytespp); in align_pitch()
|
D | omap_gem.c | 615 args->pitch = align_pitch(0, args->width, args->bpp); in omap_gem_dumb_create() 616 args->size = PAGE_ALIGN(args->pitch * args->height); in omap_gem_dumb_create()
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | ctatc.c | 198 unsigned int pitch; in atc_get_pitch() local 202 pitch = (input_rate / output_rate) << 24; in atc_get_pitch() 218 pitch |= input_rate; in atc_get_pitch() 221 return pitch; in atc_get_pitch() 224 static int select_rom(unsigned int pitch) in select_rom() argument 226 if (pitch > 0x00428f5c && pitch < 0x01b851ec) { in select_rom() 229 } else if (pitch == 0x01d66666 || pitch == 0x01d66667) { in select_rom() 232 } else if (pitch == 0x02000000) { in select_rom() 235 } else if (pitch <= 0x08000000) { in select_rom() 254 unsigned int pitch; in atc_pcm_playback_prepare() local [all …]
|
D | ctsrc.h | 70 int (*set_pitch)(struct src *src, unsigned int pitch);
|
D | cthardware.h | 107 int (*src_set_pitch)(void *blk, unsigned int pitch);
|
D | ctsrc.c | 158 static int src_set_pitch(struct src *src, unsigned int pitch) in src_set_pitch() argument 163 hw->src_set_pitch(src->rsc.ctrl_blk, pitch); in src_set_pitch()
|
D | cthw20k2.c | 330 static int src_set_pitch(void *blk, unsigned int pitch) in src_set_pitch() argument 334 set_field(&ctl->mpr, MPRLH_PITCH, pitch); in src_set_pitch()
|
D | cthw20k1.c | 330 static int src_set_pitch(void *blk, unsigned int pitch) in src_set_pitch() argument 334 set_field(&ctl->mpr, MPRLH_PITCH, pitch); in src_set_pitch()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | btext.c | 119 void __init btext_setup_display(int width, int height, int depth, int pitch, in btext_setup_display() argument 128 dispDeviceRowBytes = pitch; in btext_setup_display() 174 unsigned int width, height, depth, pitch; in btext_initialize() local 196 pitch = width * ((depth + 7) / 8); in btext_initialize() 201 pitch = *prop; in btext_initialize() 202 if (pitch == 1) in btext_initialize() 203 pitch = 0x1000; in btext_initialize() 221 dispDeviceRowBytes = pitch; in btext_initialize() 281 int depth, int pitch) in btext_update_display() argument 296 dispDeviceRowBytes = pitch; in btext_update_display()
|
D | prom_init.c | 1964 u32 width, height, pitch, addr; in prom_check_displays() local 1969 prom_getprop(node, "linebytes", &pitch, 4); in prom_check_displays() 1972 width, height, pitch, addr); in prom_check_displays() 1973 btext_setup_display(width, height, 8, pitch, addr); in prom_check_displays()
|
/linux-4.1.27/drivers/video/console/ |
D | fbcon_rotate.h | 23 static inline int pattern_test_bit(u32 x, u32 y, u32 pitch, const char *pat) in pattern_test_bit() argument 25 u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; in pattern_test_bit() 31 static inline void pattern_set_bit(u32 x, u32 y, u32 pitch, char *pat) in pattern_set_bit() argument 33 u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; in pattern_set_bit()
|
D | bitblit.c | 153 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; in bit_putcs() local 177 pitch = DIV_ROUND_UP(image.width, 8) + scan_align; in bit_putcs() 178 pitch &= ~scan_align; in bit_putcs() 179 size = pitch * image.height + buf_align; in bit_putcs() 185 bit_putcs_aligned(vc, info, s, attribute, cnt, pitch, in bit_putcs() 189 pitch, width, cellsize, &image, in bit_putcs()
|
D | fbcon_ud.c | 162 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; in ud_putcs() local 193 pitch = ((image.width + 7) >> 3) + scan_align; in ud_putcs() 194 pitch &= ~scan_align; in ud_putcs() 195 size = pitch * image.height + buf_align; in ud_putcs() 201 ud_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ud_putcs() 204 ud_putcs_unaligned(vc, info, s, attribute, cnt, pitch, in ud_putcs()
|
D | fbcon_cw.c | 125 u32 cnt, pitch, size; in cw_putcs() local 153 pitch = ((image.width + 7) >> 3) + scan_align; in cw_putcs() 154 pitch &= ~scan_align; in cw_putcs() 155 size = pitch * image.height + buf_align; in cw_putcs() 159 cw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in cw_putcs()
|
D | fbcon_ccw.c | 140 u32 cnt, pitch, size; in ccw_putcs() local 170 pitch = ((image.width + 7) >> 3) + scan_align; in ccw_putcs() 171 pitch &= ~scan_align; in ccw_putcs() 172 size = pitch * image.height + buf_align; in ccw_putcs() 176 ccw_putcs_aligned(vc, info, s, attribute, cnt, pitch, in ccw_putcs()
|
D | vgacon.c | 194 static void vgacon_scrollback_init(int pitch) in vgacon_scrollback_init() argument 196 int rows = CONFIG_VGACON_SOFT_SCROLLBACK_SIZE * 1024/pitch; in vgacon_scrollback_init() 203 vgacon_scrollback_size = rows * pitch; in vgacon_scrollback_init()
|
D | fbcon.c | 2572 int pitch = (font->width+7) >> 3; in fbcon_set_font() local 2588 size = h * pitch * charcount; in fbcon_set_font() 2600 memcpy(new_data + i*h*pitch, data + i*32*pitch, h*pitch); in fbcon_set_font()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | btext.c | 44 unsigned int width, height, depth, pitch; in btext_initialize() local 54 pitch = width * ((depth + 7) / 8); in btext_initialize() 58 pitch = prop; in btext_initialize() 60 if (pitch == 1) in btext_initialize() 61 pitch = 0x1000; in btext_initialize() 77 dispDeviceRowBytes = pitch; in btext_initialize()
|
/linux-4.1.27/sound/isa/sb/ |
D | emu8000_callback.c | 386 short pitch; in set_fmmod() local 390 pitch = (char)(vp->reg.parm.fmmod>>8); in set_fmmod() 393 pitch += (MOD_SENSE * modulation) / 1200; in set_fmmod() 394 LIMITVALUE(pitch, -128, 127); in set_fmmod() 395 fmmod = ((unsigned char)pitch<<8) | cutoff; in set_fmmod() 411 short pitch; in set_fm2frq2() local 415 pitch = (char)(vp->reg.parm.fm2frq2>>8); in set_fm2frq2() 418 pitch += (MOD_SENSE * modulation) / 1200; in set_fm2frq2() 419 LIMITVALUE(pitch, -128, 127); in set_fm2frq2() 420 fm2frq2 = ((unsigned char)pitch<<8) | freq; in set_fm2frq2()
|
D | emu8000_pcm.c | 60 unsigned int pitch; member 266 static int calc_pitch_target(int pitch) in calc_pitch_target() argument 268 int ptarget = 1 << (pitch >> 12); in calc_pitch_target() 269 if (pitch & 0x800) ptarget += (ptarget * 0x102e) / 0x2710; in calc_pitch_target() 270 if (pitch & 0x400) ptarget += (ptarget * 0x764) / 0x2710; in calc_pitch_target() 271 if (pitch & 0x200) ptarget += (ptarget * 0x389) / 0x2710; in calc_pitch_target() 293 EMU8000_IP_WRITE(hw, ch, rec->pitch); in setup_voice() 338 int pt = calc_pitch_target(rec->pitch); in start_voice() 615 rec->pitch = 0xe000 + calc_rate_offset(subs->runtime->rate); in emu8k_pcm_prepare()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | svga3d_surfacedefs.h | 774 u32 pitch; in svga3dsurface_calculate_pitch() local 779 pitch = blocks.width * desc->pitch_bytes_per_block; in svga3dsurface_calculate_pitch() 781 return pitch; in svga3dsurface_calculate_pitch() 809 u32 pitch) in svga3dsurface_get_image_buffer_size() argument 824 if (pitch == 0) in svga3dsurface_get_image_buffer_size() 825 pitch = svga3dsurface_calculate_pitch(desc, size); in svga3dsurface_get_image_buffer_size() 827 slice_size = clamped_umul32(image_blocks.height, pitch); in svga3dsurface_get_image_buffer_size()
|
D | vmwgfx_kms.c | 358 if (box->w == 64 && cmd->dma.guest.pitch == 64*4) { in vmw_kms_cursor_snoop() 364 virtual + i * cmd->dma.guest.pitch, in vmw_kms_cursor_snoop() 722 vfbs->base.base.pitches[0] = mode_cmd->pitch; in vmw_kms_new_framebuffer_surface() 1052 requested_size = mode_cmd->height * mode_cmd->pitch; in vmw_kms_new_framebuffer_dmabuf() 1099 vfbd->base.base.pitches[0] = mode_cmd->pitch; in vmw_kms_new_framebuffer_dmabuf() 1146 mode_cmd.pitch = mode_cmd2->pitches[0]; in vmw_kms_fb_create() 1158 mode_cmd.pitch, in vmw_kms_fb_create() 1539 unsigned width, unsigned height, unsigned pitch, in vmw_kms_write_svga() argument 1543 vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); in vmw_kms_write_svga() 1545 iowrite32(pitch, vmw_priv->mmio_virt + SVGA_FIFO_PITCHLOCK); in vmw_kms_write_svga() [all …]
|
D | vmwgfx_overlay.c | 164 items[SVGA_VIDEO_PITCH_1].value = arg->pitch[0]; in vmw_overlay_send_put() 165 items[SVGA_VIDEO_PITCH_2].value = arg->pitch[1]; in vmw_overlay_send_put() 166 items[SVGA_VIDEO_PITCH_3].value = arg->pitch[2]; in vmw_overlay_send_put()
|
D | svga_reg.h | 355 uint32 pitch; member
|
D | vmwgfx_drv.h | 897 unsigned width, unsigned height, unsigned pitch, 901 uint32_t pitch,
|
D | vmwgfx_scrn.c | 146 cmd->obj.backingStore.pitch = mode->hdisplay * 4; in vmw_sou_fifo_create()
|
D | vmwgfx_resource.c | 1013 args->pitch = args->width * ((args->bpp + 7) / 8); in vmw_dumb_create() 1014 args->size = args->pitch * args->height; in vmw_dumb_create()
|
D | vmwgfx_surface.c | 271 body->guest.pitch = svga3dsurface_calculate_pitch(desc, in vmw_surface_dma_encode() 291 body->guest.pitch); in vmw_surface_dma_encode()
|
D | svga3d_reg.h | 1284 uint32 pitch; member
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | btext.h | 12 int depth, int pitch); 13 extern void btext_setup_display(int width, int height, int depth, int pitch,
|
D | ps3gpu.h | 71 u64 ioif_offset, u64 sync_width, u64 pitch) in lv1_gpu_fb_blit() argument 76 pitch); in lv1_gpu_fb_blit()
|
D | ps3av.h | 564 u32 pitch; /* in: line size in byte */ member 589 u32 pitch; /* in: line size in byte */ member
|
/linux-4.1.27/drivers/media/pci/saa7164/ |
D | saa7164-buffer.c | 115 buf->actual_size = params->pitch * params->numberoflines; in saa7164_buffer_alloc() 246 saa7164_writel(port->pitch, params->pitch); in saa7164_buffer_cfg_port() 247 saa7164_writel(port->bufsize, params->pitch * params->numberoflines); in saa7164_buffer_cfg_port() 254 dprintk(DBGLVL_BUF, " pitch 0x%x = %d\n", port->pitch, in saa7164_buffer_cfg_port() 255 saa7164_readl(port->pitch)); in saa7164_buffer_cfg_port()
|
D | saa7164-vbi.c | 120 params->pitch = 1600; in saa7164_vbi_buffers_alloc() 121 params->pitch = 1440; in saa7164_vbi_buffers_alloc() 123 ((params->numberoflines * params->pitch) / PAGE_SIZE); in saa7164_vbi_buffers_alloc() 134 params->pitch); in saa7164_vbi_buffers_alloc() 154 len = params->numberoflines * params->pitch; in saa7164_vbi_buffers_alloc()
|
D | saa7164-dvb.c | 306 port->hw_streamingparams.pitch = 188; in dvb_register() 319 port->hw_streamingparams.pitch); in dvb_register()
|
D | saa7164-encoder.c | 135 params->pitch = 128; in saa7164_encoder_buffers_alloc() 146 params->pitch = 188; in saa7164_encoder_buffers_alloc() 163 params->pitch); in saa7164_encoder_buffers_alloc() 183 len = params->numberoflines * params->pitch; in saa7164_encoder_buffers_alloc()
|
D | saa7164-types.h | 224 u32 pitch; member
|
D | saa7164.h | 346 u32 pitch; member
|
D | saa7164-api.c | 839 port->pitch = port->hwcfg.BARLocation + (2 * sizeof(u32)); in saa7164_api_configure_port_vbi() 874 port->pitch = port->hwcfg.BARLocation + (2 * sizeof(u32)); in saa7164_api_configure_port_mpeg2ts() 908 port->pitch = port->hwcfg.BARLocation + (2 * sizeof(u32)); in saa7164_api_configure_port_mpeg2ps()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_gem_cma_helper.c | 226 if (args->pitch < min_pitch) in drm_gem_cma_dumb_create_internal() 227 args->pitch = min_pitch; in drm_gem_cma_dumb_create_internal() 229 if (args->size < args->pitch * args->height) in drm_gem_cma_dumb_create_internal() 230 args->size = args->pitch * args->height; in drm_gem_cma_dumb_create_internal() 262 args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in drm_gem_cma_dumb_create() 263 args->size = args->pitch * args->height; in drm_gem_cma_dumb_create()
|
D | drm_fb_helper.c | 1139 void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, in drm_fb_helper_fill_fix() argument 1153 info->fix.line_length = pitch; in drm_fb_helper_fill_fix()
|
D | drm_crtc.c | 3173 r.pitches[0] = or->pitch; in drm_mode_addfb() 3483 r->pitch = fb->pitches[0]; in drm_mode_getfb() 5111 args->pitch = 0; in drm_mode_create_dumb_ioctl()
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 511 short pitch; in set_fmmod() local 515 pitch = (char)(vp->reg.parm.fmmod>>8); in set_fmmod() 518 pitch += (MOD_SENSE * modulation) / 1200; in set_fmmod() 519 LIMITVALUE(pitch, -128, 127); in set_fmmod() 520 fmmod = ((unsigned char)pitch<<8) | cutoff; in set_fmmod() 529 short pitch; in set_fm2frq2() local 533 pitch = (char)(vp->reg.parm.fm2frq2>>8); in set_fm2frq2() 536 pitch += (MOD_SENSE * modulation) / 1200; in set_fm2frq2() 537 LIMITVALUE(pitch, -128, 127); in set_fm2frq2() 538 fm2frq2 = ((unsigned char)pitch<<8) | freq; in set_fm2frq2()
|
D | emupcm.c | 701 unsigned int voice, pitch, pitch_target; in snd_emu10k1_playback_trigger_voice() local 709 pitch = snd_emu10k1_rate_to_pitch(runtime->rate) >> 8; in snd_emu10k1_playback_trigger_voice() 717 snd_emu10k1_ptr_write(emu, IP, voice, pitch); in snd_emu10k1_playback_trigger_voice()
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
D | radeon_accel.c | 36 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | in radeon_fixup_offset() 38 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 39 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset() 286 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | in radeonfb_engine_init() 288 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeonfb_engine_init() 289 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeonfb_engine_init()
|
D | radeon_base.c | 722 unsigned int pitch; in radeonfb_check_var() local 811 pitch = ((v.xres_virtual * ((v.bits_per_pixel + 1) / 8) + 0x3f) in radeonfb_check_var() 813 v.xres_virtual = (pitch << 6) / ((v.bits_per_pixel + 1) / 8); in radeonfb_check_var() 1666 rinfo->pitch = ((mode->xres_virtual * ((mode->bits_per_pixel + 1) / 8) + 0x3f) in radeonfb_set_par() 1670 newmode->crtc_pitch = (rinfo->pitch << 3) / ((mode->bits_per_pixel + 1) / 8); in radeonfb_set_par() 1832 info->fix.line_length = rinfo->pitch*64; in radeonfb_set_par()
|
D | aty128fb.c | 430 u32 pitch; member 753 pitch_value = par->crtc.pitch; in aty128_init_engine() 1045 aty_st_le32(CRTC_PITCH, crtc->pitch); in aty128_set_crtc() 1161 crtc->pitch = vxres >> 3; in aty128_var_to_crtc()
|
D | radeonfb.h | 324 int pitch, bpp, depth; member
|
/linux-4.1.27/drivers/video/fbdev/i810/ |
D | i810_accel.c | 195 static inline void color_blit(int width, int height, int pitch, int dest, in color_blit() argument 204 PUT_RING(rop << 16 | pitch | SOLIDPATTERN | DYN_COLOR_EN | blit_bpp); in color_blit() 269 PUT_RING(PARSER | FRONT_BUFFER | ((par->pitch >> 3) << 8)); in load_front() 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local 353 pitch = info->fix.line_length; in i810fb_copyarea() 356 pitch = (-(info->fix.line_length)) & 0xFFFF; in i810fb_copyarea() 363 source_copy_blit(width, height, pitch, xdir, src, dest, in i810fb_copyarea()
|
D | i810.h | 272 u32 pitch; member
|
D | i810_main.c | 368 u32 tmp, pitch; in i810_load_pitch() local 372 pitch = par->pitch >> 3; in i810_load_pitch() 380 tmp = pitch & 0xFF; in i810_load_pitch() 384 tmp = pitch >> 8; in i810_load_pitch() 1118 fix->line_length = par->pitch; in encode_fix() 1182 par->pitch = get_line_length(par, vxres, var->bits_per_pixel); in decode_var()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | valkyriefb.c | 259 int pitch; in valkyrie_vram_reqd() local 262 if ((pitch = init->pitch[color_mode]) == 0) in valkyrie_vram_reqd() 263 pitch = 2 * init->pitch[0]; in valkyrie_vram_reqd() 264 return init->vres * pitch; in valkyrie_vram_reqd() 310 || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 in valkyrie_choose_mode() 497 if (init->pitch[cmode] == 0) { in valkyrie_var_to_par()
|
D | offb.c | 392 int pitch, unsigned long address, in offb_init_fb() argument 395 unsigned long res_size = pitch * height; in offb_init_fb() 407 width, height, name, address, depth, pitch); in offb_init_fb() 432 fix->line_length = pitch; in offb_init_fb() 435 fix->smem_len = pitch * height; in offb_init_fb() 538 int i, width = 640, height = 480, depth = 8, pitch = 640; in offb_init_nodriver() local 576 pitch = be32_to_cpup(pp); in offb_init_nodriver() 578 pitch = width * ((depth + 7) / 8); in offb_init_nodriver() 580 rsize = (unsigned long)pitch * (unsigned long)height; in offb_init_nodriver() 637 width, height, depth, pitch, address, in offb_init_nodriver()
|
D | controlfb.c | 64 int pitch; member 236 info->fix.line_length = p->par.pitch; in controlfb_set_par() 254 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 526 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware() 529 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware() 541 p->par.pitch); in control_set_hardware() 895 par->pitch = par->vxres << par->cmode; in control_var_to_par() 905 if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) in control_var_to_par()
|
D | imsttfb.c | 309 __u32 pitch; member 516 init->pitch = xres; in compute_imstt_regvals_ibm() 660 __u32 ctl, pitch, byteswap, scr; in set_imstt_regvals() local 682 pitch = init->pitch >> 2; in set_imstt_regvals() 687 pitch = init->pitch >> 1; in set_imstt_regvals() 692 pitch = init->pitch - (init->pitch >> 2); in set_imstt_regvals() 697 pitch = init->pitch; in set_imstt_regvals() 737 pitch >>= 1; in set_imstt_regvals() 743 write_reg_le32(par->dc_regs, SPR, pitch); in set_imstt_regvals()
|
D | valkyriefb.h | 88 int pitch[2]; /* bytes/line, indexed by color_mode */ member
|
D | controlfb.h | 67 struct preg pitch; /* addrs diff between scan lines */ member
|
D | sh_mobile_lcdcfb.c | 201 unsigned int pitch; member 947 ovl->pitch << LDBBSMWR_BSMW_SHIFT); in sh_mobile_lcdc_overlay_setup() 1119 ch->line_size = ch->pitch; in sh_mobile_lcdc_start() 1151 ch->pitch, ch->yres, pixelformat, in sh_mobile_lcdc_start() 1587 ovl->pitch = info->var.xres_virtual; in sh_mobile_lcdc_overlay_set_par() 1589 ovl->pitch = info->var.xres_virtual * ovl->format->bpp / 8; in sh_mobile_lcdc_overlay_set_par() 1593 info->fix.line_length = ovl->pitch; in sh_mobile_lcdc_overlay_set_par() 1724 info->fix.line_length = ovl->pitch; in sh_mobile_lcdc_overlay_fb_init() 2045 ch->pitch = info->var.xres_virtual; in sh_mobile_lcdc_set_par() 2047 ch->pitch = info->var.xres_virtual * ch->format->bpp / 8; in sh_mobile_lcdc_set_par() [all …]
|
D | tridentfb.c | 183 static void blade_init_accel(struct tridentfb_par *par, int pitch, int bpp) in blade_init_accel() argument 185 int v1 = (pitch >> 3) << 20; in blade_init_accel() 257 static void xp_init_accel(struct tridentfb_par *par, int pitch, int bpp) in xp_init_accel() argument 260 int v1 = pitch << (bpp == 24 ? 20 : (18 + x)); in xp_init_accel() 262 switch (pitch << (bpp >> 3)) { in xp_init_accel() 355 static void image_init_accel(struct tridentfb_par *par, int pitch, int bpp) in image_init_accel() argument 366 writemmr(par, 0x2120, 0x60000000 | (pitch << 16) | pitch); in image_init_accel() 421 static void tgui_init_accel(struct tridentfb_par *par, int pitch, int bpp) in tgui_init_accel() argument 429 switch ((pitch * bpp) / 8) { in tgui_init_accel()
|
D | sh_mobile_lcdcfb.h | 84 unsigned int pitch; member
|
D | platinumfb.h | 61 int pitch[3]; member
|
D | cyber2000fb.c | 429 u_int pitch; member 529 ((hw->pitch >> 4) & 0x30), cfb); in cyber2000fb_set_timing() 571 hw->crtc[13] = hw->pitch; in cyber2000fb_decode_crtc() 875 hw.pitch = hw.width >> 3; in cyber2000fb_set_par() 881 hw.pitch = hw.width >> 2; in cyber2000fb_set_par() 901 hw.pitch = hw.width >> 3; in cyber2000fb_set_par() 908 hw.pitch = hw.width >> 1; in cyber2000fb_set_par() 932 hw.fetch = hw.pitch; in cyber2000fb_set_par()
|
D | neofb.c | 524 u32 bltMod, pitch; in neo2200_accel_init() local 531 pitch = var->xres_virtual; in neo2200_accel_init() 536 pitch = var->xres_virtual * 2; in neo2200_accel_init() 540 pitch = var->xres_virtual * 3; in neo2200_accel_init() 549 writel((pitch << 16) | pitch, &neo2200->pitch); in neo2200_accel_init()
|
D | sh_mobile_meram.c | 469 unsigned int pixelformat, unsigned int *pitch) in sh_mobile_meram_cache_alloc() argument 512 *pitch = out_pitch; in sh_mobile_meram_cache_alloc()
|
D | cirrusfb.c | 664 int pitch; in cirrusfb_set_par_foo() local 1204 pitch = info->fix.line_length >> 3; in cirrusfb_set_par_foo() 1205 vga_wcrt(regbase, VGA_CRTC_OFFSET, pitch & 0xff); in cirrusfb_set_par_foo() 1207 if (pitch & 0x100) in cirrusfb_set_par_foo() 1215 vga_wcrt(regbase, CL_CRT1D, (pitch >> 9) & 1); in cirrusfb_set_par_foo()
|
D | platinumfb.c | 290 out_be32(&platinum_regs->reg[18].r, init->pitch[cmode]); in platinum_set_hardware()
|
D | atafb.c | 2605 u32 dx, dy, width, height, pitch; in atafb_imageblit() local 2635 pitch = (image->width + 7) / 8; in atafb_imageblit() 2655 src += pitch; in atafb_imageblit()
|
D | amifb.c | 3345 u32 dx, dy, width, height, pitch; in amifb_imageblit() local 3367 pitch = (image->width + 7) / 8; in amifb_imageblit() 3374 src += pitch; in amifb_imageblit()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
D | cirrus_main.c | 247 args->pitch = args->width * ((args->bpp + 7) / 8); in cirrus_dumb_create() 248 args->size = args->pitch * args->height; in cirrus_dumb_create() 318 int bpp, int pitch) in cirrus_check_framebuffer() argument 328 if (pitch > max_pitch) in cirrus_check_framebuffer() 331 if (pitch * height > max_size) in cirrus_check_framebuffer()
|
D | cirrus_drv.h | 214 int bpp, int pitch);
|
/linux-4.1.27/drivers/gpu/drm/i810/ |
D | i810_dma.c | 382 dev_priv->pitch = init->pitch; in i810_dma_initialize() 595 int pitch = dev_priv->pitch; in i810_dma_dispatch_clear() local 620 unsigned int start = y * pitch + x * cpp; in i810_dma_dispatch_clear() 630 OUT_RING(BR13_SOLID_PATTERN | (0xF0 << 16) | pitch); in i810_dma_dispatch_clear() 641 OUT_RING(BR13_SOLID_PATTERN | (0xF0 << 16) | pitch); in i810_dma_dispatch_clear() 652 OUT_RING(BR13_SOLID_PATTERN | (0xF0 << 16) | pitch); in i810_dma_dispatch_clear() 668 int pitch = dev_priv->pitch; in i810_dma_dispatch_swap() local 683 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; in i810_dma_dispatch_swap() 693 OUT_RING(pitch | (0xCC << 16)); in i810_dma_dispatch_swap() 699 OUT_RING(pitch); in i810_dma_dispatch_swap() [all …]
|
D | i810_drv.h | 102 int pitch; member
|
/linux-4.1.27/include/video/ |
D | sh_mobile_meram.h | 49 unsigned int *pitch); 74 unsigned int *pitch) in sh_mobile_meram_cache_alloc() argument
|
D | neomagic.h | 101 __u32 pitch; member
|
D | mmp_disp.h | 98 u32 pitch[3]; member
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 245 if (args->pitch < min_pitch) in rockchip_gem_dumb_create() 246 args->pitch = min_pitch; in rockchip_gem_dumb_create() 248 if (args->size < args->pitch * args->height) in rockchip_gem_dumb_create() 249 args->size = args->pitch * args->height; in rockchip_gem_dumb_create()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | r100_track.h | 14 unsigned pitch; member 38 unsigned pitch; member
|
D | radeon_object.c | 635 radeon_set_surface_reg(rdev, i, bo->tiling_flags, bo->pitch, in radeon_bo_get_surface_reg() 657 uint32_t tiling_flags, uint32_t pitch) in radeon_bo_set_tiling_flags() argument 711 bo->pitch = pitch; in radeon_bo_set_tiling_flags() 718 uint32_t *pitch) in radeon_bo_get_tiling_flags() argument 724 if (pitch) in radeon_bo_get_tiling_flags() 725 *pitch = bo->pitch; in radeon_bo_get_tiling_flags()
|
D | r600_cs.c | 353 u32 height, height_align, pitch, pitch_align, depth_align; in r600_cs_track_validate_cb() local 371 pitch = (G_028060_PITCH_TILE_MAX(track->cb_color_size[i]) + 1) * 8; in r600_cs_track_validate_cb() 374 height = slice_tile_max / pitch; in r600_cs_track_validate_cb() 412 if (!IS_ALIGNED(pitch, pitch_align)) { in r600_cs_track_validate_cb() 414 __func__, __LINE__, pitch, pitch_align, array_mode); in r600_cs_track_validate_cb() 429 tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) * in r600_cs_track_validate_cb() 455 pitch, height, r600_fmt_get_nblocksx(format, pitch), in r600_cs_track_validate_cb() 462 tmp = (height * pitch) >> 6; in r600_cs_track_validate_cb() 465 tmp = S_028060_PITCH_TILE_MAX((pitch / 8) - 1) | in r600_cs_track_validate_cb() 521 u32 pitch = 8192; in r600_cs_track_validate_db() local [all …]
|
D | radeon_object.h | 147 u32 tiling_flags, u32 pitch); 149 u32 *tiling_flags, u32 *pitch);
|
D | r600_blit.c | 80 int pitch, slice; in set_render_target() local 89 pitch = (w / 8) - 1; in set_render_target() 109 OUT_RING((pitch << 0) | (slice << 10)); in set_render_target() 257 int format, int w, int h, int pitch, u64 gpu_addr) in set_tex_resource() argument 267 sq_tex_resource_word0 |= ((((pitch >> 3) - 1) << 8) | in set_tex_resource()
|
D | r100.c | 892 uint32_t pitch; in r100_copy_blit() local 901 pitch = stride_bytes / 64; in r100_copy_blit() 934 radeon_ring_write(ring, (pitch << 22) | (src_offset >> 10)); in r100_copy_blit() 935 radeon_ring_write(ring, (pitch << 22) | (dst_offset >> 10)); in r100_copy_blit() 1717 track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK; in r100_packet0_check() 1721 track->zb.pitch = idx_value & RADEON_DEPTHPITCH_MASK; in r100_packet0_check() 1804 track->textures[i].pitch = idx_value + 32; in r100_packet0_check() 2080 DRM_ERROR("pitch %d\n", t->pitch); in r100_cs_track_texture_print() 2178 w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i); in r100_cs_track_texture_check() 2180 w = track->textures[u].pitch / (1 << i); in r100_cs_track_texture_check() [all …]
|
D | r200.c | 304 track->cb[0].pitch = idx_value & RADEON_COLORPITCH_MASK; in r200_packet0_check() 308 track->zb.pitch = idx_value & RADEON_DEPTHPITCH_MASK; in r200_packet0_check() 409 track->textures[i].pitch = idx_value + 32; in r200_packet0_check()
|
D | radeon_ioc32.c | 160 int pitch; member 190 || __put_user(req32.pitch, &request->pitch) in compat_radeon_cp_texture()
|
D | radeon_gem.c | 497 r = radeon_bo_set_tiling_flags(robj, args->tiling_flags, args->pitch); in radeon_gem_set_tiling_ioctl() 518 radeon_bo_get_tiling_flags(rbo, &args->tiling_flags, &args->pitch); in radeon_gem_get_tiling_ioctl() 742 args->pitch = radeon_align_pitch(rdev, args->width, args->bpp, 0) * ((args->bpp + 1) / 8); in radeon_mode_dumb_create() 743 args->size = args->pitch * args->height; in radeon_mode_dumb_create()
|
D | r300.c | 776 track->cb[i].pitch = idx_value & 0x3FFE; in r300_packet0_check() 860 track->zb.pitch = idx_value & 0x3FFC; in r300_packet0_check() 1006 track->textures[i].pitch = tmp + 1; in r300_packet0_check() 1111 track->aa.pitch = idx_value & 0x3FFE; in r300_packet0_check()
|
D | evergreen_cs.c | 394 unsigned pitch, slice, mslice; in evergreen_cs_track_validate_cb() local 399 pitch = track->cb_color_pitch[id]; in evergreen_cs_track_validate_cb() 401 surf.nbx = (pitch + 1) * 8; in evergreen_cs_track_validate_cb() 561 unsigned pitch, slice, mslice; in evergreen_cs_track_validate_stencil() local 566 pitch = G_028058_PITCH_TILE_MAX(track->db_depth_size); in evergreen_cs_track_validate_stencil() 568 surf.nbx = (pitch + 1) * 8; in evergreen_cs_track_validate_stencil() 658 unsigned pitch, slice, mslice; in evergreen_cs_track_validate_depth() local 663 pitch = G_028058_PITCH_TILE_MAX(track->db_depth_size); in evergreen_cs_track_validate_depth() 665 surf.nbx = (pitch + 1) * 8; in evergreen_cs_track_validate_depth()
|
D | radeon_uvd.c | 316 unsigned pitch = msg[28]; in radeon_uvd_cs_msg_decode() local 382 if (width > pitch) { in radeon_uvd_cs_msg_decode()
|
D | radeon_asic.h | 91 uint32_t tiling_flags, uint32_t pitch, 339 uint32_t tiling_flags, uint32_t pitch,
|
D | r600_cp.c | 2495 if (!radeon_check_offset(dev_priv, tex->offset + tex->height * tex->pitch - 1)) { in r600_cp_dispatch_texture() 2500 size = tex->height * tex->pitch; in r600_cp_dispatch_texture()
|
D | radeon_state.c | 1764 texpitch = tex->pitch; in radeon_cp_dispatch_texture() 1786 tex->offset >> 10, tex->pitch, tex->format, in radeon_cp_dispatch_texture()
|
D | radeon.h | 497 u32 pitch; member 1940 uint32_t tiling_flags, uint32_t pitch,
|
D | r600.c | 2979 uint32_t tiling_flags, uint32_t pitch, in r600_set_surface_reg() argument
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_synth.c | 563 int pitch; in setup_voice() local 586 pitch = (HI_BYTE(parm->pefe) << 4) + vp->apitch; in setup_voice() 587 if (pitch > 0xffff) in setup_voice() 588 pitch = 0xffff; in setup_voice() 596 pitch = vp->apitch; in setup_voice() 600 if (pitch != 0xffff) { in setup_voice() 601 vp->ptarget = 1 << (pitch >> 12); in setup_voice() 602 if (pitch & 0x800) vp->ptarget += (vp->ptarget*0x102e)/0x2710; in setup_voice() 603 if (pitch & 0x400) vp->ptarget += (vp->ptarget*0x764)/0x2710; in setup_voice() 604 if (pitch & 0x200) vp->ptarget += (vp->ptarget*0x389)/0x2710; in setup_voice()
|
/linux-4.1.27/drivers/gpu/drm/vgem/ |
D | vgem_drv.c | 177 uint64_t pitch = args->width * DIV_ROUND_UP(args->bpp, 8); in vgem_gem_dumb_create() local 179 size = args->height * pitch; in vgem_gem_dumb_create() 191 args->pitch = pitch; in vgem_gem_dumb_create()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
D | armada_drm.h | 34 uint32_t pitch = bpp != 4 ? width * ((bpp + 7) / 8) : width / 2; in armada_pitch() local 37 return ALIGN(pitch, 128); in armada_pitch()
|
D | armada_crtc.c | 153 unsigned pitch = fb->pitches[0]; in armada_drm_crtc_calc_fb() local 154 unsigned offset = y * pitch + x * fb->bits_per_pixel / 8; in armada_drm_crtc_calc_fb() 159 pitch, x, y, fb->bits_per_pixel); in armada_drm_crtc_calc_fb() 164 addr_even += pitch; in armada_drm_crtc_calc_fb() 165 pitch *= 2; in armada_drm_crtc_calc_fb() 171 armada_reg_queue_mod(regs, i, pitch, 0xffff, LCD_CFG_GRA_PITCH); in armada_drm_crtc_calc_fb()
|
D | armada_gem.c | 246 args->pitch = armada_pitch(args->width, args->bpp); in armada_gem_dumb_create() 247 args->size = size = args->pitch * args->height; in armada_gem_dumb_create()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
D | sis_accel.h | 168 #define SiS300SetupSRCPitch(pitch) \ argument 170 MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\ 298 #define SiS310SetupSRCPitch(pitch) \ argument 300 MMIO_OUT16(ivideo->mmio_vbase, SRC_PITCH, pitch);\
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv40.c | 223 nv_wr32(priv, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv40_gr_tile_prog() 226 nv_wr32(priv, NV40_PGRAPH_TSIZE1(i), tile->pitch); in nv40_gr_tile_prog() 247 nv_wr32(priv, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv40_gr_tile_prog() 259 nv_wr32(priv, NV47_PGRAPH_TSIZE(i), tile->pitch); in nv40_gr_tile_prog() 262 nv_wr32(priv, NV40_PGRAPH_TSIZE1(i), tile->pitch); in nv40_gr_tile_prog()
|
D | gf100.c | 673 u32 next = init->addr + init->count * init->pitch; in gf100_gr_mmio() 677 addr += init->pitch; in gf100_gr_mmio() 692 u32 next = init->addr + init->count * init->pitch; in gf100_gr_icmd() 703 addr += init->pitch; in gf100_gr_icmd() 719 u32 next = init->addr + init->count * init->pitch; in gf100_gr_mthd() 729 addr += init->pitch; in gf100_gr_mthd() 1236 u32 tail = head + init->count * init->pitch; in gf100_gr_init_csdata() 1249 head = head + init->pitch; in gf100_gr_init_csdata()
|
D | nv20.c | 169 nv_wr32(priv, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv20_gr_tile_prog() 175 nv_wr32(priv, NV10_PGRAPH_RDI_DATA, tile->pitch); in nv20_gr_tile_prog()
|
D | gf100.h | 146 u8 pitch; member
|
D | nv10.c | 1131 nv_wr32(priv, NV10_PGRAPH_TSIZE(i), tile->pitch); in nv10_gr_tile_prog()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 44 u32 pitch; member 62 u32 pitch, u32 flags, struct nvkm_fb_tile *);
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 1166 dinfo->info->fix.line_length = dinfo->pitch; in update_dinfo() 1171 dinfo->pitch = var->xres_virtual; in update_dinfo() 1175 dinfo->pitch = var->xres_virtual * 2; in update_dinfo() 1179 dinfo->pitch = var->xres_virtual * 4; in update_dinfo() 1185 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT_I9XX); in update_dinfo() 1187 dinfo->pitch = ROUND_UP_TO(dinfo->pitch, STRIDE_ALIGNMENT); in update_dinfo() 1190 dinfo->pitch = dinfo->initial_pitch; in update_dinfo() 1193 dinfo->info->fix.line_length = dinfo->pitch; in update_dinfo() 1520 dinfo->pitch, info->var.bits_per_pixel, in intelfb_fillrect() 1540 dinfo->pitch, info->var.bits_per_pixel); in intelfb_copyarea() [all …]
|
D | intelfbhw.h | 587 u32 w, u32 h, u32 color, u32 pitch, u32 bpp, 590 u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, 594 u32 pitch, u32 bpp);
|
D | intelfbhw.c | 397 offset = (yoffset * dinfo->pitch) + in intelfbhw_pan_display() 1251 hw->disp_a_stride = dinfo->pitch; in intelfbhw_mode_to_hw() 1661 u32 h, u32 color, u32 pitch, u32 bpp, u32 rop) in intelfbhw_do_fillrect() argument 1667 "rop 0x%02x\n", x, y, w, h, color, pitch, bpp, rop); in intelfbhw_do_fillrect() 1671 br09 = dinfo->fb_start + (y * pitch + x * (bpp / 8)); in intelfbhw_do_fillrect() 1672 br13 = (rop << ROP_SHIFT) | pitch; in intelfbhw_do_fillrect() 1706 u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, u32 bpp) in intelfbhw_do_bitblt() argument 1712 curx, cury, dstx, dsty, w, h, pitch, bpp); in intelfbhw_do_bitblt() 1717 br11 = (pitch << PITCH_SHIFT); in intelfbhw_do_bitblt() 1719 br13 = (SRC_ROP_GXCOPY << ROP_SHIFT) | (pitch << PITCH_SHIFT); in intelfbhw_do_bitblt() [all …]
|
D | intelfb.h | 324 int xres, yres, pitch; member
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
D | nv_accel.c | 203 int pitch, i; in NVResetGraphics() local 205 pitch = info->fix.line_length; in NVResetGraphics() 258 NVDmaNext(par, pitch | (pitch << 16)); in NVResetGraphics()
|
D | nvidia.c | 771 int pitch, err = 0; in nvidiafb_check_var() local 879 pitch = ((var->xres_virtual * var->bits_per_pixel) + 7) / 8; in nvidiafb_check_var() 880 memlen = pitch * var->yres_virtual; in nvidiafb_check_var() 883 var->yres_virtual = vramlen / pitch; in nvidiafb_check_var() 890 pitch = (var->xres_virtual * in nvidiafb_check_var() 892 memlen = pitch * var->yres; in nvidiafb_check_var()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | gem.c | 151 args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); in psb_gem_dumb_create() 152 args->size = args->pitch * args->height; in psb_gem_dumb_create()
|
/linux-4.1.27/include/uapi/drm/ |
D | i810_drm.h | 118 unsigned int pitch; member 136 unsigned int pitch; member
|
D | drm_mode.h | 331 __u32 pitch; member 517 uint32_t pitch; member
|
D | radeon_drm.h | 674 int pitch; member 855 uint32_t pitch; member 861 uint32_t pitch; member
|
D | r128_drm.h | 277 int pitch; member
|
D | mga_drm.h | 147 unsigned int pitch; member
|
D | i915_drm.h | 83 unsigned int pitch; member 120 int pitch; member
|
D | vmwgfx_drm.h | 487 uint32_t pitch[3]; member
|
/linux-4.1.27/drivers/gpu/drm/via/ |
D | via_verifier.c | 305 uint32_t *addr, *pitch, *height, tex; in finish_current_sequence() local 316 pitch = &(cur_seq->pitch[tex][start]); in finish_current_sequence() 324 tmp += (*height++ * *pitch++); in finish_current_sequence() 326 tmp += (*height++ << *pitch++); in finish_current_sequence() 451 cur_seq->pitch[cur_seq->texture][tmp] = in investigate_hazard() 455 cur_seq->pitch[cur_seq->texture][tmp] = in investigate_hazard()
|
D | via_verifier.h | 41 uint32_t pitch[2][10]; member
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | sysimgblt.c | 117 u32 val, pitch = p->fix.line_length; in slow_imageblit() local 166 dst1 += pitch; in slow_imageblit() 169 dst2 += pitch; in slow_imageblit()
|
D | cfbimgblt.c | 145 u32 val, pitch = p->fix.line_length; in slow_imageblit() local 195 dst1 += pitch; in slow_imageblit() 198 dst2 += pitch; in slow_imageblit()
|
/linux-4.1.27/include/linux/ |
D | dtlk.h | 71 unsigned char pitch; /* nP; 0-99 */ member
|
/linux-4.1.27/drivers/staging/speakup/ |
D | speakup_dtlk.h | 40 u_char pitch; /* nP; 0-99 */ member
|
D | speakup_dtlk.c | 76 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store); 312 status.pitch = *t++; in synth_interrogate()
|
D | speakup_txprt.c | 51 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_bns.c | 51 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_dummy.c | 53 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_spkout.c | 55 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_acntsa.c | 54 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_ltlk.c | 59 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_audptr.c | 56 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_apollo.c | 62 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_decext.c | 78 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_keypc.c | 66 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_acntpc.c | 69 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_dectlk.c | 77 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_soft.c | 70 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | speakup_decpc.c | 171 __ATTR(pitch, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
|
D | spkguide.txt | 408 pitch 424 These parameters include volume, rate, pitch, and others. 427 volume, pitch, and rate, you can also echo values to the appropriate 521 Vol for controlling volume, pitch for pitch, rate for controlling speaking 702 the pitch, rate, etc. 734 Your DecTalk PC should start talking, and then you can adjust the pitch,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 356 int pitch, ret, i; in nv04_update_plane() local 364 pitch = ALIGN(src_w * 4, 0x100); in nv04_update_plane() 366 if (pitch > 0xffff) in nv04_update_plane() 389 nvif_wr32(dev, NV_PVIDEO_BUFF0_PITCH_LENGTH + 4 * i, pitch); in nv04_update_plane()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
D | udl_gem.c | 81 args->pitch = args->width * DIV_ROUND_UP(args->bpp, 8); in udl_dumb_create() 82 args->size = args->pitch * args->height; in udl_dumb_create()
|
/linux-4.1.27/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.c | 152 writel_relaxed(win->pitch[0], ®s->v_pitch_yc); in overlay_set_win() 153 writel_relaxed(win->pitch[2] << 16 | in overlay_set_win() 154 win->pitch[1], ®s->v_pitch_uv); in overlay_set_win() 160 writel_relaxed(win->pitch[0], ®s->g_pitch); in overlay_set_win()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 789 int pitch; in mga_crtc_mode_set() local 900 pitch = crtc->primary->fb->pitches[0] / (crtc->primary->fb->bits_per_pixel / 8); in mga_crtc_mode_set() 902 pitch = (pitch * 3) >> (4 - bppshift); in mga_crtc_mode_set() 904 pitch = pitch >> (4 - bppshift); in mga_crtc_mode_set() 956 WREG_CRT(19, pitch & 0xFF); in mga_crtc_mode_set() 968 ext_vga[0] |= (pitch & 0x300) >> 4; in mga_crtc_mode_set()
|
D | mgag200_main.c | 299 args->pitch = args->width * ((args->bpp + 7) / 8); in mgag200_dumb_create() 300 args->size = args->pitch * args->height; in mgag200_dumb_create()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_display.h | 31 int crtc, bpp, pitch, x, y; member
|
D | nouveau_bo.c | 47 u32 addr, u32 size, u32 pitch, u32 flags) in nv10_bo_update_tile_region() argument 57 if (tile->pitch) in nv10_bo_update_tile_region() 60 if (pitch) in nv10_bo_update_tile_region() 61 pfb->tile.init(pfb, i, addr, size, pitch, flags, tile); in nv10_bo_update_tile_region() 105 u32 size, u32 pitch, u32 flags) in nv10_bo_set_tiling() argument 115 if (pitch && !found) { in nv10_bo_set_tiling() 119 } else if (tile && pfb->tile.region[i].pitch) { in nv10_bo_set_tiling() 129 pitch, flags); in nv10_bo_set_tiling()
|
D | nouveau_display.c | 859 state.y * state.pitch + in nouveau_flip_complete() 875 args->pitch = roundup(args->width * (args->bpp / 8), 256); in nouveau_display_dumb_create() 876 args->size = args->pitch * args->height; in nouveau_display_dumb_create()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_mixer.c | 417 luma_addr[1] = luma_addr[0] + plane->pitch; in vp_video_buffer() 418 chroma_addr[1] = chroma_addr[0] + plane->pitch; in vp_video_buffer() 439 vp_reg_write(res, VP_IMG_SIZE_Y, VP_IMG_HSIZE(plane->pitch) | in vp_video_buffer() 442 vp_reg_write(res, VP_IMG_SIZE_C, VP_IMG_HSIZE(plane->pitch) | in vp_video_buffer() 561 + (plane->src_y * plane->pitch); in mixer_graph_buffer() 579 plane->pitch / (plane->bpp >> 3)); in mixer_graph_buffer()
|
D | exynos_drm_drv.h | 100 unsigned int pitch; member
|
D | exynos_drm_gem.c | 531 args->pitch = args->width * ((args->bpp + 7) / 8); in exynos_drm_gem_dumb_create() 532 args->size = args->pitch * args->height; in exynos_drm_gem_dumb_create()
|
D | exynos_drm_plane.c | 125 exynos_plane->pitch = fb->pitches[0]; in exynos_plane_mode_set()
|
D | exynos_drm_fimd.c | 658 offset += plane->src_y * plane->pitch; in fimd_win_commit() 666 size = plane->pitch * plane->crtc_height; in fimd_win_commit() 676 buf_offsize = plane->pitch - (plane->crtc_width * (plane->bpp >> 3)); in fimd_win_commit()
|
D | exynos7_drm_decon.c | 352 padding = (plane->pitch / (plane->bpp >> 3)) - plane->fb_width; in decon_win_set_pixfmt() 436 padding = (plane->pitch / (plane->bpp >> 3)) - plane->fb_width; in decon_win_commit()
|
/linux-4.1.27/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 660 unsigned int t_stop, b_stop, pitch; in vidioc_s_fmt_vid_cap() local 678 pitch = 4 * vip->format.width; in vidioc_s_fmt_vid_cap() 684 pitch = 2 * vip->format.width; in vidioc_s_fmt_vid_cap() 690 pitch = 2 * vip->format.width; in vidioc_s_fmt_vid_cap() 707 reg_write(vip, DVP_VMP, pitch); in vidioc_s_fmt_vid_cap()
|
/linux-4.1.27/include/drm/ |
D | drm_fb_helper.h | 141 void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch,
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
D | ast_main.c | 526 args->pitch = args->width * ((args->bpp + 7) / 8); in ast_dumb_create() 527 args->size = args->pitch * args->height; in ast_dumb_create()
|
/linux-4.1.27/include/media/ |
D | saa7146_vv.h | 25 u32 pitch; member
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 417 args->pitch = args->width * ((args->bpp + 7) / 8); in bochs_dumb_create() 418 args->size = args->pitch * args->height; in bochs_dumb_create()
|
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/ |
D | ingenic,jz4780-nemc.txt | 34 - ingenic,nemc-tBP: Burst pitch time in nanoseconds.
|
/linux-4.1.27/drivers/video/fbdev/mmp/fb/ |
D | mmpfb.c | 407 win.pitch[0] = var->xres_virtual * stride; in mmpfb_set_win() 408 win.pitch[1] = win.pitch[2] = in mmpfb_set_win()
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
D | msm_gem.c | 361 args->pitch = align_pitch(args->width, args->bpp); in msm_gem_dumb_create() 362 args->size = PAGE_ALIGN(args->pitch * args->height); in msm_gem_dumb_create()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | gem.c | 403 args->pitch = round_up(min_pitch, tegra->pitch_align); in tegra_bo_dumb_create() 404 args->size = args->pitch * args->height; in tegra_bo_dumb_create()
|
/linux-4.1.27/drivers/gpu/drm/r128/ |
D | r128_state.c | 277 u32 pitch, offset; in r128_clear_box() local 300 pitch = dev_priv->back_pitch >> 3; in r128_clear_box() 312 OUT_RING((pitch << 21) | (offset >> 5)); in r128_clear_box() 851 data[2] = cpu_to_le32((blit->pitch << 21) | (blit->offset >> 5)); in r128_cce_dispatch_blit()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
D | nv31.c | 188 nv_wr32(priv, 0x00b008 + (i * 0x10), tile->pitch); in nv31_mpeg_tile_prog()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.h | 125 unsigned int pitch; member
|
D | i915_gem_gtt.c | 2653 width_pages = DIV_ROUND_UP(rot_info->pitch, tile_pitch); in intel_rotate_fb_obj_pages() 2684 size, rot_info->pitch, rot_info->height, in intel_rotate_fb_obj_pages() 2699 size, ret, rot_info->pitch, rot_info->height, in intel_rotate_fb_obj_pages()
|
D | intel_drv.h | 1036 unsigned int pitch);
|
D | intel_display.c | 2340 info->pitch = fb->pitches[0]; in intel_fill_fb_ggtt_view() 2470 unsigned int pitch) in intel_gen4_compute_page_offset() argument 2481 return tile_rows * pitch * 8 + tiles * 4096; in intel_gen4_compute_page_offset() 2485 offset = *y * pitch + *x * cpp; in intel_gen4_compute_page_offset() 8914 u32 pitch = DIV_ROUND_UP(width * bpp, 8); in intel_framebuffer_pitch_for_width() local 8915 return ALIGN(pitch, 64); in intel_framebuffer_pitch_for_width() 8921 u32 pitch = intel_framebuffer_pitch_for_width(mode->hdisplay, bpp); in intel_framebuffer_size_for_mode() local 8922 return PAGE_ALIGN(pitch * mode->vdisplay); in intel_framebuffer_size_for_mode()
|
D | i915_gem.c | 425 args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 64); in i915_gem_dumb_create() 426 args->size = args->pitch * args->height; in i915_gem_dumb_create()
|
/linux-4.1.27/Documentation/sound/oss/ |
D | README.ymfsb | 56 When playing sounds via this driver, you will hear its pitch is slightly
|
/linux-4.1.27/drivers/gpu/drm/mga/ |
D | mga_state.c | 48 unsigned int pitch = dev_priv->front_pitch; in mga_emit_clip_rect() local 63 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); in mga_emit_clip_rect()
|
/linux-4.1.27/drivers/video/fbdev/vermilion/ |
D | vermilion.c | 600 u32 pitch; in vmlfb_check_var_locked() local 653 pitch = ALIGN((var->xres * var->bits_per_pixel) >> 3, 0x40); in vmlfb_check_var_locked() 654 mem = pitch * var->yres_virtual; in vmlfb_check_var_locked()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttvp.h | 253 unsigned int pitch, unsigned int skip_lines,
|
/linux-4.1.27/drivers/ps3/ |
D | ps3av_cmd.c | 405 video_mode->pitch = video_mode->width * 4; /* line_length */ in ps3av_cmd_set_video_mode() 416 video_mode->pitch, video_mode->video_out_format, in ps3av_cmd_set_video_mode()
|
/linux-4.1.27/drivers/char/ |
D | dtlk.c | 550 status.pitch = *t++; in dtlk_interrogate()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 132 args->pitch = roundup(min_pitch, align); in rcar_du_dumb_create()
|
/linux-4.1.27/Documentation/hwmon/ |
D | f71805f | 138 control, but may generate annoying high-pitch noise. So a frequency just
|