Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 24 of 24) sorted by relevance

/drivers/media/pci/bt8xx/
Dbtcx-risc.c184 unsigned int clip,skip; in btcx_calc_skips() local
189 for (clip = 0; clip < nclips; clip++) { in btcx_calc_skips()
192 if (clips[clip].c.left + clips[clip].c.width <= 0) in btcx_calc_skips()
194 if (clips[clip].c.left > (signed)width) in btcx_calc_skips()
198 if (line > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
200 if (line < clips[clip].c.top) { in btcx_calc_skips()
201 if (maxline > clips[clip].c.top-1) in btcx_calc_skips()
202 maxline = clips[clip].c.top-1; in btcx_calc_skips()
205 if (maxline > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
206 maxline = clips[clip].c.top+clips[clip].c.height-1; in btcx_calc_skips()
[all …]
/drivers/gpu/drm/
Ddrm_rect.c69 const struct drm_rect *clip, in drm_rect_clip_scaled() argument
74 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
79 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled()
84 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled()
89 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled()
95 return drm_rect_intersect(dst, clip); in drm_rect_clip_scaled()
Ddrm_plane_helper.c137 const struct drm_rect *clip, in drm_plane_helper_check_update() argument
170 *visible = drm_rect_clip_scaled(src, dest, clip, hscale, vscale); in drm_plane_helper_check_update()
181 if (!can_position && !drm_rect_equals(dest, clip)) { in drm_plane_helper_check_update()
250 const struct drm_rect clip = { in drm_primary_helper_update() local
259 &src, &dest, &clip, in drm_primary_helper_update()
/drivers/gpu/drm/i915/
Dintel_atomic_plane.c150 intel_state->clip.x1 = 0; in intel_plane_atomic_check()
151 intel_state->clip.y1 = 0; in intel_plane_atomic_check()
152 intel_state->clip.x2 = in intel_plane_atomic_check()
154 intel_state->clip.y2 = in intel_plane_atomic_check()
Dintel_sprite.c768 const struct drm_rect *clip = &state->clip; in intel_check_sprite_plane() local
823 state->visible = drm_rect_clip_scaled(src, dst, clip, hscale, vscale); in intel_check_sprite_plane()
Dintel_drv.h259 struct drm_rect clip; member
Dintel_display.c13583 &state->dst, &state->clip, in intel_check_primary_plane()
13774 &state->dst, &state->clip, in intel_check_cursor_plane()
/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif.c292 ipipeif_write(params.if_5_1.clip, in ipipeif_hw_setup()
364 ipipeif_write(params.if_5_1.clip, ipipeif_base_addr, in ipipeif_hw_setup()
409 ipipeif->config.if_5_1.clip = config->if_5_1.clip; in ipipeif_set_config()
445 config->if_5_1.clip = ipipeif->config.if_5_1.clip; in ipipeif_get_config()
745 .clip = 4095, in ipipeif_set_default_config()
Ddm365_ipipeif_user.h59 unsigned short clip; member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c178 struct drm_clip_rect clip; in vmw_fb_dirty_flush() local
235 clip.x1 = dst_x1; in vmw_fb_dirty_flush()
236 clip.x2 = dst_x2; in vmw_fb_dirty_flush()
237 clip.y1 = dst_y1; in vmw_fb_dirty_flush()
238 clip.y2 = dst_y2; in vmw_fb_dirty_flush()
241 &clip, 1)); in vmw_fb_dirty_flush()
Dvmwgfx_scrn.c855 sdirty.base.clip = vmw_sou_surface_clip; in vmw_kms_sou_do_surface_dirty()
950 dirty.clip = vmw_sou_dmabuf_clip; in vmw_kms_sou_do_dmabuf_dirty()
1040 dirty.clip = vmw_sou_readback_clip; in vmw_kms_sou_readback()
Dvmwgfx_kms.h66 void (*clip)(struct vmw_kms_dirty *); member
Dvmwgfx_stdu.c871 ddirty.base.clip = vmw_stdu_dmabuf_clip; in vmw_kms_stdu_dma()
1023 sdirty.base.clip = vmw_kms_stdu_surface_clip; in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c1805 dirty->clip(dirty); in vmw_kms_helper_dirty()
/drivers/video/fbdev/
Dcg6.c192 u32 clip; member
333 sbus_writel(0, &fbc->clip); in cg6_fillrect()
371 sbus_writel(0, &fbc->clip); in cg6_copyarea()
417 sbus_writel(0, &fbc->clip); in cg6_imageblit()
712 sbus_writel(0, &fbc->clip); in cg6_chip_init()
/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.h41 struct nvif_object clip; member
Dnv04_fbcon.c178 &nfbdev->clip); in nv04_fbcon_accel_init()
241 OUT_RING(chan, nfbdev->clip.handle); in nv04_fbcon_accel_init()
Dnouveau_fbcon.c271 nvif_object_fini(&fbcon->clip); in nouveau_fbcon_accel_fini()
/drivers/gpu/drm/qxl/
Dqxl_draw.c97 drawable->clip.type = SPICE_CLIP_TYPE_NONE; in make_drawable()
361 drawable->clip.type = SPICE_CLIP_TYPE_RECTS; in qxl_draw_dirty_fb()
362 drawable->clip.data = qxl_bo_physical_address(qdev, in qxl_draw_dirty_fb()
Dqxl_dev.h687 struct qxl_clip clip; member
714 struct qxl_clip clip; member
/drivers/gpu/drm/sti/
DNOTES13 - The TV OUT pre-formats (convert, clip, round) the compositor output data
/drivers/gpu/drm/armada/
Darmada_overlay.c117 const struct drm_rect clip = { in armada_ovl_plane_update() local
126 ret = drm_plane_helper_check_update(plane, crtc, fb, &src, &dest, &clip, in armada_ovl_plane_update()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c833 const struct drm_rect clip = { in vop_update_plane_event() local
844 &src, &dest, &clip, in vop_update_plane_event()
/drivers/net/wireless/b43/
Dphy_n.c562 static const u16 clip[] = { 0xFFFF, 0xFFFF }; in b43_nphy_stay_in_carrier_search() local
568 b43_nphy_write_clip_detection(dev, clip); in b43_nphy_stay_in_carrier_search()
6049 u16 clip[2]; in b43_phy_initn() local
6172 b43_nphy_read_clip_detection(dev, clip); in b43_phy_initn()