HomeSort by: relevance | last modified time | path
    Searched defs:clip (Results 1 - 15 of 15) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_fbcon.h 40 struct nvif_object clip; member in struct:nouveau_fbdev
  /src/sys/net/
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);
  /src/sys/dev/rcons/
raster_text.c 86 int clip; local in function:raster_textn
96 clip = 0;
106 clip = 1;
123 clip = 1;
205 if ( clip )
  /src/sys/external/bsd/drm2/dist/drm/
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 in function:drm_atomic_helper_damage_merged
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);
drm_atomic_helper.c 778 struct drm_rect clip = {}; local in function:drm_atomic_helper_check_plane_state
815 drm_mode_get_hv_timing(&crtc_state->mode, &clip.x2, &clip.y2);
817 plane_state->visible = drm_rect_clip_scaled(src, dst, &clip);
831 if (!can_position && !drm_rect_equals(dst, &clip)) {
834 drm_rect_debug_print("clip: ", &clip, false);
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 in function:drm_fb_helper_dirty_work
426 clip_copy = *clip;
427 clip->x1 = clip->y1 = ~0
659 struct drm_clip_rect *clip = &helper->dirty_clip; local in function:drm_fb_helper_dirty
    [all...]
  /src/usr.bin/mixerctl/
mixerctl.c 140 clip(int vol) function in typeref:typename:int
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);
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_fb.c 189 struct drm_clip_rect clip; local in function:vmw_fb_dirty_flush
217 * Clip dirty area to framebuffer.
254 clip.x1 = dst_x1;
255 clip.x2 = dst_x2;
256 clip.y1 = dst_y1;
257 clip.y2 = dst_y2;
265 &clip, 1));
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 rects. This function must commit the fifo space reserved by th
188 void (*clip)(struct vmw_kms_dirty *); member in struct:vmw_kms_dirty
    [all...]
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,
1447 struct drm_rect clip; local in function:vmw_stdu_surface_update_proxy
    [all...]
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 */
2526 /* Clip right and bottom to crtc limits */
2532 /* Clip left and top to crtc limits *
2804 struct drm_rect clip; local in function:vmw_du_helper_plane_update
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc_resource.c 546 struct rect clip, dest; local in function:calculate_viewport
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.y
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/modules/color/
amdgpu_color_gamma.c 950 struct fixed31_32 clip = dc_fixpt_one; local in function:build_freesync_hdr
992 if (dc_fixpt_lt(scaledX, clip)) {
1003 rgb->r = clip;
1004 rgb->g = clip;
1005 rgb->b = clip;
1008 rgb->r = clip;
1009 rgb->g = clip;
1010 rgb->b = clip;
  /src/sys/external/isc/atheros_hal/dist/
ah_eeprom_v3.h 213 uint16_t clip; member in struct:cornerCalInfo
  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_dev.h 688 struct qxl_clip clip; member in struct:qxl_compat_drawable
715 struct qxl_clip clip; member in struct:qxl_drawable

Completed in 24 milliseconds