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

  /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/external/bsd/drm2/dist/drm/
drm_rect.c 61 static u32 clip_scaled(int src, int dst, int *clip)
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 th
    [all...]
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_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...]
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);
  /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/include/drm/
drm_rect.h 211 bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip);
213 const struct drm_rect *clip);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_fbcon.h 40 struct nvif_object clip; member in struct:nouveau_fbdev
nouveau_nv04_fbcon.c 183 &nfbdev->clip);
246 OUT_RING(chan, nfbdev->clip.handle);
nouveau_fbcon.c 284 nvif_object_fini(&fbcon->clip);
  /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_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_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->x1
    [all...]
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_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.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/qxl/
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,
qxl_dev.h 688 struct qxl_clip clip; member in struct:qxl_compat_drawable
715 struct qxl_clip clip; member in struct:qxl_drawable
  /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/gpl2/dts/dist/arch/arm64/boot/dts/qcom/
msm8994-msft-lumia-octagon.dtsi 295 syna,clip-x-low = <0>;
296 syna,clip-x-high = <1440>;
297 syna,clip-y-low = <0>;
298 syna,clip-y-high = <2560>;
  /src/sys/external/isc/atheros_hal/dist/
ah_eeprom_v3.h 213 uint16_t clip; member in struct:cornerCalInfo
ah_eeprom_v3.c 1416 ee->ee_cornerCal.clip = 4;
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_reset.c 1238 AR_PHY_FRAME_CTL_TX_CLIP, ee->ee_cornerCal.clip);
2101 ee->ee_cornerCal.clip = gv->currStep->paramVal[0]; /* bb_tx_clip */

Completed in 33 milliseconds