Home
last modified time | relevance | path

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

/drivers/media/video/
Dbtcx-risc.c191 unsigned int clip,skip; in btcx_calc_skips() local
196 for (clip = 0; clip < nclips; clip++) { in btcx_calc_skips()
199 if (clips[clip].c.left + clips[clip].c.width <= 0) in btcx_calc_skips()
201 if (clips[clip].c.left > (signed)width) in btcx_calc_skips()
205 if (line > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
207 if (line < clips[clip].c.top) { in btcx_calc_skips()
208 if (maxline > clips[clip].c.top-1) in btcx_calc_skips()
209 maxline = clips[clip].c.top-1; in btcx_calc_skips()
212 if (maxline > clips[clip].c.top+clips[clip].c.height-1) in btcx_calc_skips()
213 maxline = clips[clip].c.top+clips[clip].c.height-1; in btcx_calc_skips()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c45 struct vmw_clip_rect clip, in vmw_clip_cliprects() argument
52 int x1 = max_t(int, clip.x1, rects[i].x1); in vmw_clip_cliprects()
53 int y1 = max_t(int, clip.y1, rects[i].y1); in vmw_clip_cliprects()
54 int x2 = min_t(int, clip.x2, rects[i].x2); in vmw_clip_cliprects()
55 int y2 = min_t(int, clip.y2, rects[i].y2); in vmw_clip_cliprects()
506 struct vmw_clip_rect clip; in do_surface_dirty_sou() local
509 clip.x1 = left - unit->crtc.x; in do_surface_dirty_sou()
510 clip.y1 = top - unit->crtc.y; in do_surface_dirty_sou()
511 clip.x2 = right - unit->crtc.x; in do_surface_dirty_sou()
512 clip.y2 = bottom - unit->crtc.y; in do_surface_dirty_sou()
[all …]
/drivers/staging/media/go7007/
Dgo7007-v4l2.c341 struct v4l2_clip clip, *clip_ptr;
348 if (copy_from_user(&clip, clip_ptr, sizeof(clip)))
350 if (clip.c.left < 0 || (clip.c.left & 0xF) ||
351 clip.c.width <= 0 || (clip.c.width & 0xF))
353 if (clip.c.left + clip.c.width > go->width)
355 if (clip.c.top < 0 || (clip.c.top & 0xF) ||
356 clip.c.height <= 0 || (clip.c.height & 0xF))
358 if (clip.c.top + clip.c.height > go->height)
360 for (y = 0; y < clip.c.height; y += 16)
361 for (x = 0; x < clip.c.width; x += 16) {
[all …]
/drivers/video/
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/staging/line6/
Dpod.c1056 static DEVICE_ATTR(clip, S_IRUGO, pod_wait_for_clip, line6_nop_write);
/drivers/net/wireless/b43/
Dphy_n.c364 static const u16 clip[] = { 0xFFFF, 0xFFFF }; in b43_nphy_stay_in_carrier_search() local
369 b43_nphy_write_clip_detection(dev, clip); in b43_nphy_stay_in_carrier_search()
4323 u16 clip[2]; in b43_phy_initn() local
4428 b43_nphy_read_clip_detection(dev, clip); in b43_phy_initn()