| /linux/drivers/gpu/drm/ |
| H A D | drm_fbdev_ttm.c | 68 struct drm_clip_rect *clip, in drm_fbdev_ttm_damage_blit_real() argument 72 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_ttm_damage_blit_real() 73 size_t len = clip->x2 - clip->x1; in drm_fbdev_ttm_damage_blit_real() 79 offset += clip->x1 / 8; in drm_fbdev_ttm_damage_blit_real() 80 len = DIV_ROUND_UP(len + clip->x1 % 8, 8); in drm_fbdev_ttm_damage_blit_real() 83 offset += clip->x1 / 4; in drm_fbdev_ttm_damage_blit_real() 84 len = DIV_ROUND_UP(len + clip->x1 % 4, 4); in drm_fbdev_ttm_damage_blit_real() 87 offset += clip->x1 / 2; in drm_fbdev_ttm_damage_blit_real() 88 len = DIV_ROUND_UP(len + clip->x1 % 2, 2); in drm_fbdev_ttm_damage_blit_real() 91 offset += clip->x1 * fb->format->cpp[0]; in drm_fbdev_ttm_damage_blit_real() [all …]
|
| H A D | drm_fbdev_dma.c | 110 struct drm_clip_rect *clip, in drm_fbdev_dma_damage_blit_real() argument 114 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_dma_damage_blit_real() 115 size_t len = clip->x2 - clip->x1; in drm_fbdev_dma_damage_blit_real() 121 offset += clip->x1 / 8; in drm_fbdev_dma_damage_blit_real() 122 len = DIV_ROUND_UP(len + clip->x1 % 8, 8); in drm_fbdev_dma_damage_blit_real() 125 offset += clip->x1 / 4; in drm_fbdev_dma_damage_blit_real() 126 len = DIV_ROUND_UP(len + clip->x1 % 4, 4); in drm_fbdev_dma_damage_blit_real() 129 offset += clip->x1 / 2; in drm_fbdev_dma_damage_blit_real() 130 len = DIV_ROUND_UP(len + clip->x1 % 2, 2); in drm_fbdev_dma_damage_blit_real() 133 offset += clip->x1 * fb->format->cpp[0]; in drm_fbdev_dma_damage_blit_real() [all …]
|
| H A D | drm_rect.c | 55 static u32 clip_scaled(int src, int dst, int *clip) in clip_scaled() argument 62 /* Only clip what we have. Keeps the result bounded. */ in clip_scaled() 63 *clip = min(*clip, dst); in clip_scaled() 65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled() 78 * drm_rect_clip_scaled - perform a scaled clip operation 81 * @clip: clip rectangle 83 * Clip rectangle @dst by rectangle @clip. Clip rectangle @src by 92 const struct drm_rect *clip) in drm_rect_clip_scaled() argument 96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 104 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() [all …]
|
| H A D | drm_fbdev_shmem.c | 107 struct drm_clip_rect *clip) in drm_fbdev_shmem_helper_fb_dirty() argument 113 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in drm_fbdev_shmem_helper_fb_dirty() 117 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_shmem_helper_fb_dirty()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_damage_helper_test.c | 111 KUNIT_FAIL(test, "Cannot have damage clip with no dimension."); in check_damage_clip() 123 struct drm_rect clip; in drm_test_damage_iter_no_damage() local 130 drm_atomic_for_each_plane_damage(&iter, &clip) in drm_test_damage_iter_no_damage() 134 check_damage_clip(test, &clip, 0, 0, 2048, 2048); in drm_test_damage_iter_no_damage() 141 struct drm_rect clip; in drm_test_damage_iter_no_damage_fractional_src() local 150 drm_atomic_for_each_plane_damage(&iter, &clip) in drm_test_damage_iter_no_damage_fractional_src() 155 check_damage_clip(test, &clip, 3, 3, 1028, 772); in drm_test_damage_iter_no_damage_fractional_src() 162 struct drm_rect clip; in drm_test_damage_iter_no_damage_src_moved() local 170 drm_atomic_for_each_plane_damage(&iter, &clip) in drm_test_damage_iter_no_damage_src_moved() 174 check_damage_clip(test, &clip, 10, 10, 1034, 778); in drm_test_damage_iter_no_damage_src_moved() [all …]
|
| H A D | drm_format_helper_test.c | 106 struct drm_rect clip; member 129 .clip = DRM_RECT_INIT(0, 0, 1, 1), 196 .clip = DRM_RECT_INIT(1, 1, 1, 1), 266 * make sure it is ignored. Partial clip area. 270 .clip = DRM_RECT_INIT(1, 1, 2, 4), 421 /* Randomly picked colors. Full buffer within the clip area. */ 424 .clip = DRM_RECT_INIT(0, 0, 3, 3), 569 * @clip: Clip rectangle area to convert 575 const struct drm_rect *clip, int plane) in conversion_buf_size() argument 583 dst_pitch = drm_format_info_min_pitch(dst_fi, plane, drm_rect_width(clip)); in conversion_buf_size() [all …]
|
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mdp_sm_mt8195.h | 46 u32 clip; member 107 u32 clip; member 120 u32 clip; member 153 u32 clip; member 204 u32 clip; member 230 u32 clip; member
|
| H A D | mdp_sm_mt8183.h | 46 u32 clip; member 67 u32 clip; member 81 u32 clip; member 99 u32 clip; member
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | sharp-memory.c | 119 struct drm_rect clip, in sharp_memory_set_tx_buffer_addresses() argument 122 for (u32 line = 0; line < clip.y2; ++line) in sharp_memory_set_tx_buffer_addresses() 129 struct drm_rect clip, in sharp_memory_set_tx_buffer_data() argument 142 drm_fb_xrgb8888_to_mono(&dst, &pitch, vmap, fb, &clip, fmtcnv_state); in sharp_memory_set_tx_buffer_data() 150 struct drm_rect clip, in sharp_memory_update_display() argument 164 sharp_memory_set_tx_buffer_addresses(&tx_buffer[1], clip, pitch); in sharp_memory_update_display() 165 sharp_memory_set_tx_buffer_data(&tx_buffer[2], fb, vmap, clip, pitch, fmtcnv_state); in sharp_memory_update_display() 212 struct drm_rect clip; in sharp_memory_fb_dirty() local 216 clip.x1 = 0; in sharp_memory_fb_dirty() 217 clip.x2 = fb->width; in sharp_memory_fb_dirty() [all …]
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 100 drawable->clip.type = SPICE_CLIP_TYPE_NONE; in make_drawable() 122 * Right now implementing with a single draw and a clip list. Clip 169 /* skip the first clip rect */ in qxl_draw_dirty_fb() 225 drawable->clip.type = SPICE_CLIP_TYPE_RECTS; in qxl_draw_dirty_fb() 226 drawable->clip.data = qxl_bo_physical_address(qdev, in qxl_draw_dirty_fb()
|
| /linux/sound/soc/codecs/ |
| H A D | max98373.c | 270 SOC_SINGLE("BDE Clip Mode Switch", MAX98373_R2092_BDE_CLIPPER_MODE, 0, 1, 0), 275 SOC_SINGLE_TLV("BDE LVL1 Clip Thresh Volume", MAX98373_R20A9_BDE_L1_CFG_2, 277 SOC_SINGLE_TLV("BDE LVL2 Clip Thresh Volume", MAX98373_R20AC_BDE_L2_CFG_2, 279 SOC_SINGLE_TLV("BDE LVL3 Clip Thresh Volume", MAX98373_R20AF_BDE_L3_CFG_2, 281 SOC_SINGLE_TLV("BDE LVL4 Clip Thresh Volume", MAX98373_R20B2_BDE_L4_CFG_2, 283 SOC_SINGLE_TLV("BDE LVL1 Clip Reduction Volume", MAX98373_R20AA_BDE_L1_CFG_3, 285 SOC_SINGLE_TLV("BDE LVL2 Clip Reduction Volume", MAX98373_R20AD_BDE_L2_CFG_3, 287 SOC_SINGLE_TLV("BDE LVL3 Clip Reduction Volume", MAX98373_R20B0_BDE_L3_CFG_3, 289 SOC_SINGLE_TLV("BDE LVL4 Clip Reduction Volume", MAX98373_R20B3_BDE_L4_CFG_3,
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | dev-overlay.rst | 106 4. The framebuffer has an alpha channel that can be used to clip or 204 clip lists are not supported the driver ignores this field. Its 211 contain the number of clipping rectangles in the list. When clip 213 after calling :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` are undefined. When clip lists are 239 Applications need not create a clip list or bit mask. When they pass 321 regions need to be refreshed. The driver should clip out more pixels 327 ``height = y2 - y1``, so one cannot pass X11 clip lists directly.
|
| H A D | vidioc-g-fbuf.rst | 219 - The device supports clipping using a list of clip rectangles. 284 clip rectangles or a bitmap. These methods are negotiated with the 289 - Use the alpha channel of the framebuffer to clip or blend 305 framebuffer to clip or blend framebuffer pixels with video images,
|
| H A D | crop.svg | 28 style="clip-rule:evenodd" /></clipPath><clipPath 35 style="clip-rule:evenodd" /></clipPath><clipPath 41 style="clip-rule:evenodd" /></clipPath><clipPath 47 style="clip-rule:evenodd" /></clipPath></defs><sodipodi:namedview 126 clip-path="url(#clipPath44)" 152 clip-path="url(#clipPath64)" 178 clip-path="url(#clipPath84)" 204 clip-path="url(#clipPath104)"
|
| H A D | vbi_hsync.svg | 52 style="clip-rule:evenodd" /></clipPath><clipPath 58 style="clip-rule:evenodd" /></clipPath><clipPath 64 style="clip-rule:evenodd" /></clipPath></defs><g 95 clip-path="url(#clipPath30)" 128 clip-path="url(#clipPath52)" 198 clip-path="url(#clipPath94)"
|
| H A D | selection.svg | 674 …32-61.3-37.617 45.106c2.177 1.317 5.774-20.856 45.6-64.417l24.749 80.61z" clip-path="url(#eo)" ena… 675 …3l146.37-51.619 243.95 226.27-241.83 140.01-181.02-87.681 32.527-226.98z" clip-path="url(#ku)" ena… 677 …52l-39.64 359.83 90.198 92.64 52.326-114.55 100.47-186.39 32.828-183.68z" clip-path="url(#kr)" ena… 679 …="M331.34 641.5L216.17 835.36l44.042 90.598 97.581-193.75-26.456-90.711z" clip-path="url(#kp)" ena… 683 …<g transform="rotate(2.568 -22364 20373)" clip-path="url(#kn)" enable-background="new" filter="url… 688 <g transform="rotate(6.561 -6814.9 734.73)" clip-path="url(#kl)"> 694 … 36.897-44.846 42.125-92.593s-17.426-149.39-17.426-149.39l-55.86 39.598z" clip-path="url(#en)" ena… 696 …2 536.57c0 8.485 42.548 58.468 42.548 58.468l12.607-28.77-55.154-29.698z" clip-path="url(#kg)" ena… 698 <g transform="translate(498.6 269.37)" clip-path="url(#ke)" enable-background="new"> 721 …-12.728-287.09-19.799-313.96-149.91-393.15-149.91-393.15l-210.72 62.225z" clip-path="url(#kd)" ena… [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_n.h | 26 #define B43_NPHY_C1_BCLIPBKOFF B43_PHY_N(0x01A) /* Core 1 barely clip backoff */ 27 #define B43_NPHY_C1_CCK_BCLIPBKOFF B43_PHY_N(0x01B) /* Core 1 CCK barely clip backoff */ 31 #define B43_NPHY_C1_CGAINI_CLIPGBKOFF 0x03E0 /* Clip gain backoff */ 35 #define B43_NPHY_C1_CGAINI_CL2DETECT 0x2000 /* Clip 2 detect mask */ 38 #define B43_NPHY_C1_CCK_CGAINI_CLIPGBKOFF 0x01E0 /* CCK barely clip gain backoff */ 70 #define B43_NPHY_C1_CLIPWBTHRES B43_PHY_N(0x027) /* Core 1 clip wideband threshold */ 71 #define B43_NPHY_C1_CLIPWBTHRES_CLIP2 0x003F /* Clip 2 */ 73 #define B43_NPHY_C1_CLIPWBTHRES_CLIP1 0x0FC0 /* Clip 1 */ 78 #define B43_NPHY_C1_NBCLIPTHRES B43_PHY_N(0x02B) /* Core 1 NB clip threshold */ 84 #define B43_NPHY_C2_BCLIPBKOFF B43_PHY_N(0x030) /* Core 2 barely clip backoff */ [all …]
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/ |
| H A D | ia_css_bnr.host.c | 31 to->clip = uDIGIT_FITTING(16384U, 16, SH_CSS_BAYER_BITS); in ia_css_bnr_encode() 56 "bnr_clip", bnr->clip); in ia_css_bnr_dump()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_ioctl.c | 201 DRM_ERROR("Failed to allocate clip rect list.\n"); in vmw_present_ioctl() 208 DRM_ERROR("Failed to copy clip rects from userspace.\n"); in vmw_present_ioctl() 278 DRM_ERROR("Failed to allocate clip rect list.\n"); in vmw_present_readback_ioctl() 285 DRM_ERROR("Failed to copy clip rects from userspace.\n"); in vmw_present_readback_ioctl()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | clip_tbl.c | 122 "CLIP FW cmd failed with error %d, " in cxgb4_clip_get() 135 dev_info(adap->pdev_dev, "CLIP table overflow, " in cxgb4_clip_get() 194 * The physical device reference is needed to send the actul CLIP command. 269 seq_printf(seq, "Free clip entries : %d\n", atomic_read(&ctbl->nfree)); in clip_tbl_show()
|
| H A D | clip_tbl.h | 16 spinlock_t lock; /* Hold while modifying clip reference */
|
| /linux/Documentation/sound/codecs/ |
| H A D | tas675x.rst | 30 PVDD Foldback, Clip Detect) and Real-Time Load Diagnostics unavailable. 37 ``DC Blocker Bypass Switch``, ``Clip Detect Switch``, ``Audio SDOUT Switch``. 40 ``CHx RTLDG Switch``, ``RTLDG Clip Mask Switch``, ``ISENSE Calibration Switch``, 562 Clip Detect Switch 565 :Description: Enables DSP-based clip detection (Pseudo-Analog Clip Detect). 598 RTLDG Clip Mask Switch 778 Clip Warning (0x89) 784 [3:0] CH1-CH4 clip detected respectively 787 Fires when the audio signal magnitude exceeds the clip detection 788 threshold. Requires Clip Detect to be enabled. Only logged when a
|
| /linux/Documentation/images/ |
| H A D | logo.svg | 1263 inkscape:label="Clip - Left Foot Brighter Highlights" 1290 inkscape:label="Clip - Left Foot Highlights" /> 1305 inkscape:label="Clip - Right Foot Highlights" 1306 clip-path="none" 1327 inkscape:label="Clip - Right Foot Brighter Highlights" 1328 clip-path="none" 1349 inkscape:label="Clip - Right Foot Brightest Highlights" 1350 clip-path="none" 1376 inkscape:label="Clip - Right Arm Shadow" /> 1387 inkscape:label="Clip - Left Arm Shadow" /> [all …]
|
| /linux/drivers/media/platform/samsung/s5p-g2d/ |
| H A D | g2d-regs.h | 58 #define CW_LT_REG 0x0600 /* LeftTop coordinates of Clip Window */ 59 #define CW_RB_REG 0x0604 /* RightBottom coordinates of Clip
|
| /linux/include/video/ |
| H A D | sstfb.h | 104 # define EN_PXL_PIPELINE BIT(8) /* pixel pipeline (clip..)*/ 181 #define BLTCLIPX 0x02d4 /* BitBLT Min/Max X clip values */ 182 #define BLTCLIPY 0x02d8 /* BitBLT Min/Max Y clip values */
|