/netbsd-current/sys/net/ |
H A D | dl_print.c | 74 #define clip(a, b) ((a) > (size_t)(b) ? (a) - (size_t)(b) : 0) macro 83 int ll = lla_snprintf1(buf + l, clip(len, l), 108 int ll = snprintf(buf + l, clip(len, l), "]:%hu", sdl->sdl_index);
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_rect.c | 61 static u32 clip_scaled(int src, int dst, int *clip) argument 68 /* Only clip what we have. Keeps the result bounded. */ 69 *clip = min(*clip, dst); 71 tmp = mul_u32_u32(src, dst - *clip); 84 * drm_rect_clip_scaled - perform a scaled clip operation 87 * @clip: clip rectangle 89 * Clip rectangle @dst by rectangle @clip. Clip rectangle @src by the 99 const struct drm_rect *clip) 98 drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, const struct drm_rect *clip) argument [all...] |
H A D | drm_damage_helper.c | 69 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are 152 * @num_clips: Count of clip in clips. 369 struct drm_rect clip; local 378 drm_atomic_for_each_plane_damage(&iter, &clip) { 379 rect->x1 = min(rect->x1, clip.x1); 380 rect->y1 = min(rect->y1, clip.y1); 381 rect->x2 = max(rect->x2, clip.x2); 382 rect->y2 = max(rect->y2, clip.y2);
|
H A D | drm_fb_helper.c | 397 struct drm_clip_rect *clip) 402 size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp; 405 size_t len = (clip->x2 - clip->x1) * cpp; 408 for (y = clip->y1; y < clip->y2; y++) { 420 struct drm_clip_rect *clip = &helper->dirty_clip; local 426 clip_copy = *clip; 427 clip 396 drm_fb_helper_dirty_blit_real(struct drm_fb_helper *fb_helper, struct drm_clip_rect *clip) argument 659 struct drm_clip_rect *clip = &helper->dirty_clip; local [all...] |
/netbsd-current/sys/dev/rcons/ |
H A D | raster_text.c | 86 int clip; local 96 clip = 0; 106 clip = 1; 123 clip = 1; 205 if ( clip )
|
/netbsd-current/sys/external/bsd/drm2/dist/include/drm/ |
H A D | drm_rect.h | 211 bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip); 213 const struct drm_rect *clip);
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/ |
H A D | nouveau_fbcon.h | 40 struct nvif_object clip; member in struct:nouveau_fbdev
|
H A D | nouveau_nv04_fbcon.c | 183 &nfbdev->clip); 246 OUT_RING(chan, nfbdev->clip.handle);
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/nds32/ |
H A D | alu-2.s | 18 clip $r0, $r1, 1
|
H A D | alu-2.d | 26 0+0040 <[^>]*> clip \$r0, \$r1, #1
|
/netbsd-current/usr.bin/mixerctl/ |
H A D | mixerctl.c | 140 clip(int vol) function 192 m->un.value.level[0] = clip(v); 199 m->un.value.level[0] = clip(v0); 200 m->un.value.level[1] = clip(v1); 203 m->un.value.level[1] = clip(v); 246 m->un.value.level[i] = clip(v);
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_stdu.c | 660 * @clips: Array of clip rects. Either @clips or @vclips must be NULL. 661 * @vclips: Alternate array of clip rects. Either @clips or @vclips must 663 * @num_clips: Number of clip rects in @clips or @vclips. 716 ddirty.base.clip = vmw_stdu_bo_clip; 726 ddirty.base.clip = vmw_stdu_bo_cpu_clip; 836 * @clips: Array of clip rects. Either @clips or @vclips must be NULL. 837 * @vclips: Alternate array of clip rects. Either @clips or @vclips must 843 * @num_clips: Number of clip rects in @clips. 889 sdirty.base.clip = vmw_kms_stdu_surface_clip; 1229 void *cmd, struct drm_rect *clip, 1228 vmw_stdu_bo_populate_clip(struct vmw_du_update_plane *update, void *cmd, struct drm_rect *clip, uint32_t fb_x, uint32_t fb_y) argument 1278 vmw_stdu_bo_clip_cpu(struct vmw_du_update_plane *update, void *cmd, struct drm_rect *clip, uint32_t fb_x, uint32_t fb_y) argument 1447 struct drm_rect clip; local 1501 vmw_stdu_surface_populate_clip(struct vmw_du_update_plane *update, void *cmd, struct drm_rect *clip, uint32_t fb_x, uint32_t fb_y) argument [all...] |
H A D | vmwgfx_scrn.c | 57 * @dst_x: Difference between source clip rects and framebuffer coordinates. 58 * @dst_y: Difference between source clip rects and framebuffer coordinates. 507 void *cmd, struct drm_rect *clip, 516 blit->body.destRect.left = clip->x1; 517 blit->body.destRect.top = clip->y1; 518 blit->body.destRect.right = clip->x2; 519 blit->body.destRect.bottom = clip->y2; 563 bo_update.base.clip = vmw_sou_bo_populate_clip; 623 void *cmd, struct drm_rect *clip, 632 rect->left = clip 506 vmw_sou_bo_populate_clip(struct vmw_du_update_plane *update, void *cmd, struct drm_rect *clip, uint32_t fb_x, uint32_t fb_y) argument 622 vmw_sou_surface_clip_rect(struct vmw_du_update_plane *update, void *cmd, struct drm_rect *clip, uint32_t src_x, uint32_t src_y) argument [all...] |
H A D | vmwgfx_kms.h | 84 * @pre_clip: Populate fifo before clip. 86 * This is where pre clip related command should be populated like 97 * @clip: Populate fifo for clip. 101 * which is one if doing full update. @clip is the damage in destination 102 * coordinates which is crtc/DU and @src_x, @src_y is damage clip src in 109 uint32_t (*clip)(struct vmw_du_update_plane *update, void *cmd, member in struct:vmw_du_update_plane 110 struct drm_rect *clip, uint32_t src_x, uint32_t src_y); 113 * @post_clip: Populate fifo after clip. 161 * all clip rect 188 void (*clip)(struct vmw_kms_dirty *); member in struct:vmw_kms_dirty [all...] |
H A D | vmwgfx_fb.c | 189 struct drm_clip_rect clip; local 254 clip.x1 = dst_x1; 255 clip.x2 = dst_x2; 256 clip.y1 = dst_y1; 257 clip.y2 = dst_y2; 265 &clip, 1));
|
H A D | vmwgfx_kms.c | 854 * @vclips: Array of clip rects. 855 * @num_clips: Number of clip rects in @vclips. 2436 * @dest_x: X coordinate offset for the crtc / destination clip rects. 2437 * @dest_y: Y coordinate offset for the crtc / destination clip rects. 2439 * @increment: Integer with which to increment the clip counter when looping. 2440 * Used to skip a predetermined number of clip rects. 2497 * Select clip array type. Note that integer type 2520 /* Skip this clip if it's outside the crtc region */ 2540 dirty->clip(dirty); 2592 * @increment: Integer with which to increment the clip counte 2804 struct drm_rect clip; local [all...] |
/netbsd-current/external/bsd/nvi/dist/motif_l/ |
H A D | m_motif.h | 58 Region clip; member in struct:__anon5899
|
H A D | m_vi.c | 431 if ( cur_screen->clip == NULL ) 432 cur_screen->clip = XCreateRegion(); 433 XUnionRectWithRegion( &rect, cur_screen->clip, cur_screen->clip ); 509 XSetRegion( XtDisplay(wid), gc, this_screen->clip ); 533 XSetRegion( XtDisplay(wid), gc, this_screen->clip ); 551 if ( this_screen->clip != NULL ) { 552 XDestroyRegion( this_screen->clip ); 553 this_screen->clip = NULL; 789 new_screen->clip [all...] |
H A D | xtabbed.c | 807 Region clip; 811 clip = XPolygonRegion(p, XtNumber(p), WindingRule); local 812 if (region) XIntersectRegion(clip, region, clip); 813 if (XEmptyRegion(clip)) return; local 815 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.textgc, clip); 816 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.topgc, clip); 817 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.bottomgc, clip); local 819 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.backgc, clip); 823 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.fillgc, clip); 801 Region clip; local 809 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.textgc, clip); local 810 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.topgc, clip); local 847 Region clip; local 855 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.textgc, clip); local 856 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.topgc, clip); local 857 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.bottomgc, clip); local 859 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.backgc, clip); local 863 XSetRegion(dpy, ((XmTabsWidget)self)->xmTabs.fillgc, clip); local 982 Region region, clip; local [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/qxl/ |
H A D | qxl_draw.c | 100 drawable->clip.type = SPICE_CLIP_TYPE_NONE; 122 * Right now implementing with a single draw and a clip list. Clip 168 /* skip the first clip rect */ 222 drawable->clip.type = SPICE_CLIP_TYPE_RECTS; 223 drawable->clip.data = qxl_bo_physical_address(qdev,
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/bfin/ |
H A D | dv-bfin_eppi.c | 55 bu32 control, fs1w_hbl, fs1p_avpl, fsw2_lvb, fs2p_lavf, clip, err; member in struct:bfin_eppi 135 case mmr_offset(clip): 189 case mmr_offset(clip):
|
/netbsd-current/external/gpl3/gdb/dist/sim/bfin/ |
H A D | dv-bfin_eppi.c | 56 bu32 control, fs1w_hbl, fs1p_avpl, fsw2_lvb, fs2p_lavf, clip, err; member in struct:bfin_eppi 136 case mmr_offset(clip): 190 case mmr_offset(clip):
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
H A D | amdgpu_dc_resource.c | 546 struct rect clip, dest; local 561 /* The actual clip is an intersection between stream 562 * source and surface clip 565 clip.x = stream->src.x > plane_state->clip_rect.x ? 568 clip.width = stream->src.x + stream->src.width < 570 stream->src.x + stream->src.width - clip.x : 571 plane_state->clip_rect.x + plane_state->clip_rect.width - clip.x ; 573 clip.y = stream->src.y > plane_state->clip_rect.y ? 576 clip.height = stream->src.y + stream->src.height < 578 stream->src.y + stream->src.height - clip [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/sh/ |
H A D | allinsn.exp | 26 run_sim_test clip.s sh
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mep/ |
H A D | allinsn.s | 954 .global clip 955 clip: label 956 clip $10,1 957 clip $15,4 958 clip $4,3 959 clip $15,3 960 clip $1,0
|