Searched refs:overlay (Results 1 - 193 of 193) sorted by relevance

/linux-4.4.14/fs/overlayfs/
H A DMakefile2 # Makefile for the overlay filesystem.
5 obj-$(CONFIG_OVERLAY_FS) += overlay.o
7 overlay-objs := super.o inode.o dir.o readdir.o copy_up.o
H A Dinode.c128 * If the overlay itself is read-only then proceed ovl_permission()
133 * If upper fs becomes read-only after the overlay was ovl_permission()
H A Doverlayfs.h26 #define OVL_XATTR_PRE_NAME "trusted.overlay."
H A Dsuper.c1140 .name = "overlay",
1144 MODULE_ALIAS_FS("overlay");
H A Ddir.c468 /* Don't allow creation of "whiteout" on overlay */ ovl_mknod()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_overlay.c34 /* Limits for overlay size. According to intel doc, the real limits are:
44 /* overlay register definitions */
104 /* overlay flip addr flag */
115 /* memory bufferd overlay registers */
191 intel_overlay_map_regs(struct intel_overlay *overlay) intel_overlay_map_regs() argument
193 struct drm_i915_private *dev_priv = overlay->dev->dev_private; intel_overlay_map_regs()
196 if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) intel_overlay_map_regs()
197 regs = (struct overlay_registers __iomem *)overlay->reg_bo->phys_handle->vaddr; intel_overlay_map_regs()
200 i915_gem_obj_ggtt_offset(overlay->reg_bo)); intel_overlay_map_regs()
205 static void intel_overlay_unmap_regs(struct intel_overlay *overlay, intel_overlay_unmap_regs() argument
208 if (!OVERLAY_NEEDS_PHYSICAL(overlay->dev)) intel_overlay_unmap_regs()
212 static int intel_overlay_do_wait_request(struct intel_overlay *overlay, intel_overlay_do_wait_request() argument
218 WARN_ON(overlay->last_flip_req); intel_overlay_do_wait_request()
219 i915_gem_request_assign(&overlay->last_flip_req, req); intel_overlay_do_wait_request()
222 overlay->flip_tail = tail; intel_overlay_do_wait_request()
223 ret = i915_wait_request(overlay->last_flip_req); intel_overlay_do_wait_request()
227 i915_gem_request_assign(&overlay->last_flip_req, NULL); intel_overlay_do_wait_request()
231 /* overlay needs to be disable in OCMD reg */ intel_overlay_on()
232 static int intel_overlay_on(struct intel_overlay *overlay) intel_overlay_on() argument
234 struct drm_device *dev = overlay->dev; intel_overlay_on()
240 WARN_ON(overlay->active); intel_overlay_on()
253 overlay->active = true; intel_overlay_on()
256 intel_ring_emit(ring, overlay->flip_addr | OFC_UPDATE); intel_overlay_on()
261 return intel_overlay_do_wait_request(overlay, req, NULL); intel_overlay_on()
264 /* overlay needs to be enabled in OCMD reg */ intel_overlay_continue()
265 static int intel_overlay_continue(struct intel_overlay *overlay, intel_overlay_continue() argument
268 struct drm_device *dev = overlay->dev; intel_overlay_continue()
272 u32 flip_addr = overlay->flip_addr; intel_overlay_continue()
276 WARN_ON(!overlay->active); intel_overlay_continue()
284 DRM_DEBUG("overlay underrun, DOVSTA: %x\n", tmp); intel_overlay_continue()
300 WARN_ON(overlay->last_flip_req); intel_overlay_continue()
301 i915_gem_request_assign(&overlay->last_flip_req, req); intel_overlay_continue()
307 static void intel_overlay_release_old_vid_tail(struct intel_overlay *overlay) intel_overlay_release_old_vid_tail() argument
309 struct drm_i915_gem_object *obj = overlay->old_vid_bo; intel_overlay_release_old_vid_tail()
314 overlay->old_vid_bo = NULL; intel_overlay_release_old_vid_tail()
317 static void intel_overlay_off_tail(struct intel_overlay *overlay) intel_overlay_off_tail() argument
319 struct drm_i915_gem_object *obj = overlay->vid_bo; intel_overlay_off_tail()
321 /* never have the overlay hw on without showing a frame */ intel_overlay_off_tail()
327 overlay->vid_bo = NULL; intel_overlay_off_tail()
329 overlay->crtc->overlay = NULL; intel_overlay_off_tail()
330 overlay->crtc = NULL; intel_overlay_off_tail()
331 overlay->active = false; intel_overlay_off_tail()
334 /* overlay needs to be disabled in OCMD reg */ intel_overlay_off()
335 static int intel_overlay_off(struct intel_overlay *overlay) intel_overlay_off() argument
337 struct drm_device *dev = overlay->dev; intel_overlay_off()
341 u32 flip_addr = overlay->flip_addr; intel_overlay_off()
344 WARN_ON(!overlay->active); intel_overlay_off()
346 /* According to intel docs the overlay hw may hang (when switching intel_overlay_off()
348 * this applies to the disabling of the overlay or to the switching off intel_overlay_off()
362 /* wait for overlay to go idle */ intel_overlay_off()
366 /* turn overlay off */ intel_overlay_off()
368 /* Workaround: Don't disable the overlay fully, since otherwise intel_overlay_off()
380 return intel_overlay_do_wait_request(overlay, req, intel_overlay_off_tail); intel_overlay_off()
385 static int intel_overlay_recover_from_interrupt(struct intel_overlay *overlay) intel_overlay_recover_from_interrupt() argument
389 if (overlay->last_flip_req == NULL) intel_overlay_recover_from_interrupt()
392 ret = i915_wait_request(overlay->last_flip_req); intel_overlay_recover_from_interrupt()
396 if (overlay->flip_tail) intel_overlay_recover_from_interrupt()
397 overlay->flip_tail(overlay); intel_overlay_recover_from_interrupt()
399 i915_gem_request_assign(&overlay->last_flip_req, NULL); intel_overlay_recover_from_interrupt()
403 /* Wait for pending overlay flip and release old frame.
404 * Needs to be called before the overlay register are changed
407 static int intel_overlay_release_old_vid(struct intel_overlay *overlay) intel_overlay_release_old_vid() argument
409 struct drm_device *dev = overlay->dev; intel_overlay_release_old_vid()
419 if (!overlay->old_vid_bo) intel_overlay_release_old_vid()
440 ret = intel_overlay_do_wait_request(overlay, req, intel_overlay_release_old_vid()
446 intel_overlay_release_old_vid_tail(overlay); intel_overlay_release_old_vid()
449 i915_gem_track_fb(overlay->old_vid_bo, NULL, intel_overlay_release_old_vid()
450 INTEL_FRONTBUFFER_OVERLAY(overlay->crtc->pipe)); intel_overlay_release_old_vid()
456 struct intel_overlay *overlay = dev_priv->overlay; intel_overlay_reset() local
458 if (!overlay) intel_overlay_reset()
461 intel_overlay_release_old_vid(overlay); intel_overlay_reset()
463 overlay->last_flip_req = NULL; intel_overlay_reset()
464 overlay->old_xscale = 0; intel_overlay_reset()
465 overlay->old_yscale = 0; intel_overlay_reset()
466 overlay->crtc = NULL; intel_overlay_reset()
467 overlay->active = false; intel_overlay_reset()
593 static bool update_scaling_factors(struct intel_overlay *overlay, update_scaling_factors() argument
628 if (xscale != overlay->old_xscale || yscale != overlay->old_yscale) update_scaling_factors()
630 overlay->old_xscale = xscale; update_scaling_factors()
631 overlay->old_yscale = yscale; update_scaling_factors()
653 static void update_colorkey(struct intel_overlay *overlay, update_colorkey() argument
656 u32 key = overlay->color_key; update_colorkey()
660 if (overlay->color_key_enabled) update_colorkey()
663 switch (overlay->crtc->base.primary->fb->bits_per_pixel) { update_colorkey()
670 if (overlay->crtc->base.primary->fb->depth == 15) { update_colorkey()
734 static int intel_overlay_do_put_image(struct intel_overlay *overlay, intel_overlay_do_put_image() argument
741 struct drm_device *dev = overlay->dev; intel_overlay_do_put_image()
743 enum pipe pipe = overlay->crtc->pipe; intel_overlay_do_put_image()
748 ret = intel_overlay_release_old_vid(overlay); intel_overlay_do_put_image()
761 if (!overlay->active) { intel_overlay_do_put_image()
763 regs = intel_overlay_map_regs(overlay); intel_overlay_do_put_image()
769 if (IS_GEN4(overlay->dev)) intel_overlay_do_put_image()
774 intel_overlay_unmap_regs(overlay, regs); intel_overlay_do_put_image()
776 ret = intel_overlay_on(overlay); intel_overlay_do_put_image()
781 regs = intel_overlay_map_regs(overlay); intel_overlay_do_put_image()
796 swidthsw = calc_swidthsw(overlay->dev, params->offset_Y, tmp_width); intel_overlay_do_put_image()
806 tmp_U = calc_swidthsw(overlay->dev, params->offset_U, intel_overlay_do_put_image()
808 tmp_V = calc_swidthsw(overlay->dev, params->offset_V, intel_overlay_do_put_image()
822 scale_changed = update_scaling_factors(overlay, regs, params); intel_overlay_do_put_image()
824 update_colorkey(overlay, regs); intel_overlay_do_put_image()
828 intel_overlay_unmap_regs(overlay, regs); intel_overlay_do_put_image()
830 ret = intel_overlay_continue(overlay, scale_changed); intel_overlay_do_put_image()
834 i915_gem_track_fb(overlay->vid_bo, new_bo, intel_overlay_do_put_image()
837 overlay->old_vid_bo = overlay->vid_bo; intel_overlay_do_put_image()
838 overlay->vid_bo = new_bo; intel_overlay_do_put_image()
850 int intel_overlay_switch_off(struct intel_overlay *overlay) intel_overlay_switch_off() argument
853 struct drm_device *dev = overlay->dev; intel_overlay_switch_off()
859 ret = intel_overlay_recover_from_interrupt(overlay); intel_overlay_switch_off()
863 if (!overlay->active) intel_overlay_switch_off()
866 ret = intel_overlay_release_old_vid(overlay); intel_overlay_switch_off()
870 regs = intel_overlay_map_regs(overlay); intel_overlay_switch_off()
872 intel_overlay_unmap_regs(overlay, regs); intel_overlay_switch_off()
874 ret = intel_overlay_off(overlay); intel_overlay_switch_off()
878 intel_overlay_off_tail(overlay); intel_overlay_switch_off()
882 static int check_overlay_possible_on_crtc(struct intel_overlay *overlay, check_overlay_possible_on_crtc() argument
888 /* can't use the overlay with double wide pipe */ check_overlay_possible_on_crtc()
895 static void update_pfit_vscale_ratio(struct intel_overlay *overlay) update_pfit_vscale_ratio() argument
897 struct drm_device *dev = overlay->dev; update_pfit_vscale_ratio()
916 overlay->pfit_vscale_ratio = ratio; update_pfit_vscale_ratio()
919 static int check_overlay_dst(struct intel_overlay *overlay, check_overlay_dst() argument
922 struct drm_display_mode *mode = &overlay->crtc->base.mode; check_overlay_dst()
1091 struct intel_overlay *overlay; intel_overlay_put_image() local
1098 overlay = dev_priv->overlay; intel_overlay_put_image()
1099 if (!overlay) { intel_overlay_put_image()
1100 DRM_DEBUG("userspace bug: no overlay\n"); intel_overlay_put_image()
1108 ret = intel_overlay_switch_off(overlay); intel_overlay_put_image()
1138 DRM_DEBUG_KMS("buffer used for overlay image can not be tiled\n"); intel_overlay_put_image()
1143 ret = intel_overlay_recover_from_interrupt(overlay); intel_overlay_put_image()
1147 if (overlay->crtc != crtc) { intel_overlay_put_image()
1149 ret = intel_overlay_switch_off(overlay); intel_overlay_put_image()
1153 ret = check_overlay_possible_on_crtc(overlay, crtc); intel_overlay_put_image()
1157 overlay->crtc = crtc; intel_overlay_put_image()
1158 crtc->overlay = overlay; intel_overlay_put_image()
1163 overlay->pfit_active = true; intel_overlay_put_image()
1164 update_pfit_vscale_ratio(overlay); intel_overlay_put_image()
1166 overlay->pfit_active = false; intel_overlay_put_image()
1169 ret = check_overlay_dst(overlay, put_image_rec); intel_overlay_put_image()
1173 if (overlay->pfit_active) { intel_overlay_put_image()
1175 overlay->pfit_vscale_ratio); intel_overlay_put_image()
1178 overlay->pfit_vscale_ratio) + 1; intel_overlay_put_image()
1211 ret = intel_overlay_do_put_image(overlay, new_bo, params); intel_overlay_put_image()
1232 static void update_reg_attrs(struct intel_overlay *overlay, update_reg_attrs() argument
1235 iowrite32((overlay->contrast << 18) | (overlay->brightness & 0xff), update_reg_attrs()
1237 iowrite32(overlay->saturation, &regs->OCLRC1); update_reg_attrs()
1289 struct intel_overlay *overlay; intel_overlay_attrs() local
1293 overlay = dev_priv->overlay; intel_overlay_attrs()
1294 if (!overlay) { intel_overlay_attrs()
1295 DRM_DEBUG("userspace bug: no overlay\n"); intel_overlay_attrs()
1304 attrs->color_key = overlay->color_key; intel_overlay_attrs()
1305 attrs->brightness = overlay->brightness; intel_overlay_attrs()
1306 attrs->contrast = overlay->contrast; intel_overlay_attrs()
1307 attrs->saturation = overlay->saturation; intel_overlay_attrs()
1325 overlay->color_key = attrs->color_key; intel_overlay_attrs()
1326 overlay->brightness = attrs->brightness; intel_overlay_attrs()
1327 overlay->contrast = attrs->contrast; intel_overlay_attrs()
1328 overlay->saturation = attrs->saturation; intel_overlay_attrs()
1330 regs = intel_overlay_map_regs(overlay); intel_overlay_attrs()
1336 update_reg_attrs(overlay, regs); intel_overlay_attrs()
1338 intel_overlay_unmap_regs(overlay, regs); intel_overlay_attrs()
1344 if (overlay->active) { intel_overlay_attrs()
1361 overlay->color_key_enabled = (attrs->flags & I915_OVERLAY_DISABLE_DEST_COLORKEY) == 0; intel_overlay_attrs()
1374 struct intel_overlay *overlay; intel_setup_overlay() local
1382 overlay = kzalloc(sizeof(*overlay), GFP_KERNEL); intel_setup_overlay()
1383 if (!overlay) intel_setup_overlay()
1387 if (WARN_ON(dev_priv->overlay)) intel_setup_overlay()
1390 overlay->dev = dev; intel_setup_overlay()
1399 overlay->reg_bo = reg_bo; intel_setup_overlay()
1404 DRM_ERROR("failed to attach phys overlay regs\n"); intel_setup_overlay()
1407 overlay->flip_addr = reg_bo->phys_handle->busaddr; intel_setup_overlay()
1411 DRM_ERROR("failed to pin overlay register bo\n"); intel_setup_overlay()
1414 overlay->flip_addr = i915_gem_obj_ggtt_offset(reg_bo); intel_setup_overlay()
1418 DRM_ERROR("failed to move overlay register bo into the GTT\n"); intel_setup_overlay()
1424 overlay->color_key = 0x0101fe; intel_setup_overlay()
1425 overlay->color_key_enabled = true; intel_setup_overlay()
1426 overlay->brightness = -19; intel_setup_overlay()
1427 overlay->contrast = 75; intel_setup_overlay()
1428 overlay->saturation = 146; intel_setup_overlay()
1430 regs = intel_overlay_map_regs(overlay); intel_setup_overlay()
1436 update_reg_attrs(overlay, regs); intel_setup_overlay()
1438 intel_overlay_unmap_regs(overlay, regs); intel_setup_overlay()
1440 dev_priv->overlay = overlay; intel_setup_overlay()
1442 DRM_INFO("initialized overlay support\n"); intel_setup_overlay()
1452 kfree(overlay); intel_setup_overlay()
1460 if (!dev_priv->overlay) intel_cleanup_overlay()
1466 WARN_ON(dev_priv->overlay->active); intel_cleanup_overlay()
1468 drm_gem_object_unreference_unlocked(&dev_priv->overlay->reg_bo->base); intel_cleanup_overlay()
1469 kfree(dev_priv->overlay); intel_cleanup_overlay()
1480 intel_overlay_map_regs_atomic(struct intel_overlay *overlay) intel_overlay_map_regs_atomic() argument
1482 struct drm_i915_private *dev_priv = overlay->dev->dev_private; intel_overlay_map_regs_atomic()
1485 if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) intel_overlay_map_regs_atomic()
1489 overlay->reg_bo->phys_handle->vaddr; intel_overlay_map_regs_atomic()
1492 i915_gem_obj_ggtt_offset(overlay->reg_bo)); intel_overlay_map_regs_atomic()
1497 static void intel_overlay_unmap_regs_atomic(struct intel_overlay *overlay, intel_overlay_unmap_regs_atomic() argument
1500 if (!OVERLAY_NEEDS_PHYSICAL(overlay->dev)) intel_overlay_unmap_regs_atomic()
1509 struct intel_overlay *overlay = dev_priv->overlay; intel_overlay_capture_error_state() local
1513 if (!overlay || !overlay->active) intel_overlay_capture_error_state()
1522 if (OVERLAY_NEEDS_PHYSICAL(overlay->dev)) intel_overlay_capture_error_state()
1523 error->base = (__force long)overlay->reg_bo->phys_handle->vaddr; intel_overlay_capture_error_state()
1525 error->base = i915_gem_obj_ggtt_offset(overlay->reg_bo); intel_overlay_capture_error_state()
1527 regs = intel_overlay_map_regs_atomic(overlay); intel_overlay_capture_error_state()
1532 intel_overlay_unmap_regs_atomic(overlay, regs); intel_overlay_capture_error_state()
H A Di915_gpu_error.c502 if (error->overlay) i915_error_state_to_str()
503 intel_overlay_print_error_state(m, error->overlay); i915_error_state_to_str()
584 kfree(error->overlay); i915_error_state_free()
1312 error->overlay = intel_overlay_capture_error_state(dev); i915_capture_error_state()
H A Di915_dma.c81 value = dev_priv->overlay ? 1 : 0; i915_getparam()
966 /* overlay on gen2 is broken and can't address above 1G */ i915_driver_load()
H A Dintel_drv.h541 struct intel_overlay *overlay; member in struct:intel_crtc
1321 int intel_overlay_switch_off(struct intel_overlay *overlay);
H A Di915_drv.h522 struct intel_overlay_error_state *overlay; member in struct:drm_i915_error_state
1780 /* overlay */
1781 struct intel_overlay *overlay; member in struct:drm_i915_private
3377 /* overlay */ intel_unregister_dsm_handler()
H A Dintel_display.c4689 if (intel_crtc->overlay) { intel_crtc_dpms_overlay_disable()
4695 (void) intel_overlay_switch_off(intel_crtc->overlay); intel_crtc_dpms_overlay_disable()
4700 /* Let userspace switch the overlay on again. In most cases userspace intel_crtc_dpms_overlay_disable()
H A Di915_reg.h2403 * overlay scaler.
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c52 * Each stream is a single overlay. In Xv these are called ports.
247 * The caller must hold the overlay lock.
256 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_stop() local
257 struct vmw_stream *stream = &overlay->stream[stream_id]; vmw_overlay_stop()
293 * The caller must hold the overlay lock.
304 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_update_stream() local
305 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; vmw_overlay_update_stream()
363 * Takes the overlay lock.
367 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_stop_all() local
370 if (!overlay) vmw_overlay_stop_all()
373 mutex_lock(&overlay->mutex); vmw_overlay_stop_all()
376 struct vmw_stream *stream = &overlay->stream[i]; vmw_overlay_stop_all()
384 mutex_unlock(&overlay->mutex); vmw_overlay_stop_all()
394 * Takes the overlay lock.
398 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_resume_all() local
401 if (!overlay) vmw_overlay_resume_all()
404 mutex_lock(&overlay->mutex); vmw_overlay_resume_all()
407 struct vmw_stream *stream = &overlay->stream[i]; vmw_overlay_resume_all()
418 mutex_unlock(&overlay->mutex); vmw_overlay_resume_all()
428 * Takes the overlay lock.
432 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_pause_all() local
435 if (!overlay) vmw_overlay_pause_all()
438 mutex_lock(&overlay->mutex); vmw_overlay_pause_all()
441 if (overlay->stream[i].paused) vmw_overlay_pause_all()
448 mutex_unlock(&overlay->mutex); vmw_overlay_pause_all()
466 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_ioctl() local
480 mutex_lock(&overlay->mutex); vmw_overlay_ioctl()
496 mutex_unlock(&overlay->mutex); vmw_overlay_ioctl()
512 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_num_free_overlays() local
518 mutex_lock(&overlay->mutex); vmw_overlay_num_free_overlays()
521 if (!overlay->stream[i].claimed) vmw_overlay_num_free_overlays()
524 mutex_unlock(&overlay->mutex); vmw_overlay_num_free_overlays()
531 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_claim() local
534 if (!overlay) vmw_overlay_claim()
537 mutex_lock(&overlay->mutex); vmw_overlay_claim()
541 if (overlay->stream[i].claimed) vmw_overlay_claim()
544 overlay->stream[i].claimed = true; vmw_overlay_claim()
546 mutex_unlock(&overlay->mutex); vmw_overlay_claim()
550 mutex_unlock(&overlay->mutex); vmw_overlay_claim()
556 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_unref() local
560 if (!overlay) vmw_overlay_unref()
563 mutex_lock(&overlay->mutex); vmw_overlay_unref()
565 WARN_ON(!overlay->stream[stream_id].claimed); vmw_overlay_unref()
567 overlay->stream[stream_id].claimed = false; vmw_overlay_unref()
569 mutex_unlock(&overlay->mutex); vmw_overlay_unref()
575 struct vmw_overlay *overlay; vmw_overlay_init() local
581 overlay = kzalloc(sizeof(*overlay), GFP_KERNEL); vmw_overlay_init()
582 if (!overlay) vmw_overlay_init()
585 mutex_init(&overlay->mutex); vmw_overlay_init()
587 overlay->stream[i].buf = NULL; vmw_overlay_init()
588 overlay->stream[i].paused = false; vmw_overlay_init()
589 overlay->stream[i].claimed = false; vmw_overlay_init()
592 dev_priv->overlay_priv = overlay; vmw_overlay_init()
599 struct vmw_overlay *overlay = dev_priv->overlay_priv; vmw_overlay_close() local
603 if (!overlay) vmw_overlay_close()
607 if (overlay->stream[i].buf) { vmw_overlay_close()
616 kfree(overlay); vmw_overlay_close()
/linux-4.4.14/drivers/of/
H A Doverlay.c27 * struct of_overlay_info - Holds a single overlay info
28 * @target: target of the overlay operation
29 * @overlay: pointer to the overlay contents node
31 * Holds a single overlay state, including all the overlay logs &
36 struct device_node *overlay; member in struct:of_overlay_info
40 * struct of_overlay - Holds a complete overlay transaction
46 * Holds a complete overlay transaction
57 struct device_node *target, const struct device_node *overlay);
99 /* apply overlay recursively */ of_overlay_apply_single_device_node()
124 * Apply a single overlay node recursively.
131 struct device_node *target, const struct device_node *overlay) of_overlay_apply_one()
137 for_each_property_of_node(overlay, prop) { for_each_property_of_node()
146 for_each_child_of_node(overlay, child) { for_each_child_of_node()
167 * Returns 0, or an error if the overlay attempt failed.
177 err = of_overlay_apply_one(ov, ovinfo->target, ovinfo->overlay); of_overlay_apply()
179 pr_err("%s: overlay failed '%s'\n", of_overlay_apply()
218 * of_fill_overlay_info() - Fill an overlay info structure
220 * @info_node: Device node containing the overlay
221 * @ovinfo: Pointer to the overlay info structure to fill
223 * Fills an overlay info structure with the overlay information
225 * which contains a phandle of the overlay target node, and an
226 * __overlay__ child node which has the overlay contents.
227 * Both ovinfo->target & ovinfo->overlay have their references taken.
234 ovinfo->overlay = of_get_child_by_name(info_node, "__overlay__"); of_fill_overlay_info()
235 if (ovinfo->overlay == NULL) of_fill_overlay_info()
246 of_node_put(ovinfo->overlay); of_fill_overlay_info()
253 * of_build_overlay_info() - Build an overlay info array
257 * Helper function that given a tree containing overlay information,
258 * allocates and builds an overlay info array containing it, ready
301 * of_free_overlay_info() - Free an overlay info array
302 * @ov Overlay to free the overlay info from
319 of_node_put(ovinfo->overlay); of_free_overlay_info()
330 * of_overlay_create() - Create and apply an overlay
333 * Creates and applies an overlay while also keeping track
334 * of the overlay in a list. This list can be used to prevent
335 * illegal overlay removals.
337 * Returns the id of the created overlay, or a negative error number
344 /* allocate the overlay structure */ of_overlay_create()
365 /* build the overlay info structures */ of_overlay_create()
373 /* apply the overlay */ of_overlay_create()
389 /* add to the tail of the overlay list */ of_overlay_create()
430 /* check whether this overlay is the topmost */ overlay_is_topmost()
441 /* check against each subtree affected by this overlay */ overlay_is_topmost()
452 /* overlay is topmost */ overlay_is_topmost()
457 * We can safely remove the overlay only if it's the top-most one.
458 * Newly applied overlays are inserted at the tail of the overlay list,
459 * so a top most overlay is the one that is closest to the tail.
462 * affected device node in the log list we check if this overlay is
463 * the one closest to the tail. If another overlay has affected this
472 pr_err("%s: overlay #%d is not topmost\n", overlay_removal_is_ok()
482 * of_overlay_destroy() - Removes an overlay
485 * Removes an overlay if it is permissible.
499 pr_err("%s: Could not find overlay #%d\n", of_overlay_destroy()
504 /* check whether the overlay is safe to remove */ of_overlay_destroy()
507 pr_err("%s: removal check failed for overlay #%d\n", of_overlay_destroy()
130 of_overlay_apply_one(struct of_overlay *ov, struct device_node *target, const struct device_node *overlay) of_overlay_apply_one() argument
H A DMakefile16 obj-$(CONFIG_OF_OVERLAY) += overlay.o
H A Dunittest.c1075 base = "/testcase-data/overlay-node/test-bus"; unittest_path()
1078 base = "/testcase-data/overlay-node/test-bus/i2c-test-bus"; unittest_path()
1109 "/testcase-data/overlay%d", nr); overlay_path()
1115 static const char *bus_path = "/testcase-data/overlay-node/test-bus";
1117 /* it is guaranteed that overlay ids are assigned in sequence */
1160 pr_warn("%s: overlay destroy failed for #%d\n", of_unittest_destroy_tracked_overlays()
1178 unittest(0, "could not find overlay node @\"%s\"\n", of_unittest_apply_overlay()
1186 unittest(0, "could not create overlay from \"%s\"\n", of_unittest_apply_overlay()
1204 /* apply an overlay while checking before and after states */ of_unittest_apply_overlay_check()
1212 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", of_unittest_apply_overlay_check()
1227 unittest(0, "overlay @\"%s\" failed to create @\"%s\" %s\n", of_unittest_apply_overlay_check()
1237 /* apply an overlay and then revert it while checking before, after states */ of_unittest_apply_revert_overlay_check()
1246 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", of_unittest_apply_revert_overlay_check()
1253 /* apply the overlay */ of_unittest_apply_revert_overlay_check()
1262 unittest(0, "overlay @\"%s\" failed to create @\"%s\" %s\n", of_unittest_apply_revert_overlay_check()
1271 unittest(0, "overlay @\"%s\" failed to be destroyed @\"%s\"\n", of_unittest_apply_revert_overlay_check()
1279 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", of_unittest_apply_revert_overlay_check()
1299 unittest(1, "overlay test %d passed\n", 0); of_unittest_overlay_0()
1312 unittest(1, "overlay test %d passed\n", 1); of_unittest_overlay_1()
1325 unittest(1, "overlay test %d passed\n", 2); of_unittest_overlay_2()
1338 unittest(1, "overlay test %d passed\n", 3); of_unittest_overlay_3()
1351 unittest(1, "overlay test %d passed\n", 4); of_unittest_overlay_4()
1354 /* test overlay apply/revert sequence */ of_unittest_overlay_5()
1364 unittest(1, "overlay test %d passed\n", 5); of_unittest_overlay_5()
1367 /* test overlay application in sequence */ of_unittest_overlay_6()
1379 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", of_unittest_overlay_6()
1393 unittest(0, "could not find overlay node @\"%s\"\n", of_unittest_overlay_6()
1400 unittest(0, "could not create overlay from \"%s\"\n", of_unittest_overlay_6()
1412 unittest(0, "overlay @\"%s\" failed @\"%s\" %s\n", of_unittest_overlay_6()
1424 unittest(0, "overlay @\"%s\" failed destroy @\"%s\"\n", of_unittest_overlay_6()
1437 unittest(0, "overlay @\"%s\" with device @\"%s\" %s\n", of_unittest_overlay_6()
1446 unittest(1, "overlay test %d passed\n", 6); of_unittest_overlay_6()
1449 /* test overlay application in sequence */ of_unittest_overlay_8()
1463 unittest(0, "could not find overlay node @\"%s\"\n", of_unittest_overlay_8()
1470 unittest(0, "could not create overlay from \"%s\"\n", of_unittest_overlay_8()
1478 /* now try to remove first overlay (it should fail) */ of_unittest_overlay_8()
1481 unittest(0, "overlay @\"%s\" was destroyed @\"%s\"\n", of_unittest_overlay_8()
1492 unittest(0, "overlay @\"%s\" not destroyed @\"%s\"\n", of_unittest_overlay_8()
1501 unittest(1, "overlay test %d passed\n", 8); of_unittest_overlay_8()
1513 "overlay test %d failed; overlay application\n", 10)) of_unittest_overlay_10()
1518 if (unittest(child_path, "overlay test %d failed; kasprintf\n", 10)) of_unittest_overlay_10()
1523 if (unittest(ret, "overlay test %d failed; no child device\n", 10)) of_unittest_overlay_10()
1536 "overlay test %d failed; overlay application\n", 11)) of_unittest_overlay_11()
1816 unittest(1, "overlay test %d passed\n", 12); of_unittest_overlay_i2c_12()
1829 unittest(1, "overlay test %d passed\n", 13); of_unittest_overlay_i2c_13()
1846 unittest(1, "overlay test %d passed\n", 15); of_unittest_overlay_i2c_15()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
H A Dtilcdc_slave_compat.c147 struct device_node *overlay; tilcdc_get_overlay() local
151 pr_warn("%s: No overlay data\n", __func__); tilcdc_get_overlay()
160 of_fdt_unflatten_tree(overlay_data, &overlay); tilcdc_get_overlay()
161 if (!overlay) { tilcdc_get_overlay()
162 pr_warn("%s: Unfattening overlay tree failed\n", __func__); tilcdc_get_overlay()
166 of_node_set_flag(overlay, OF_DETACHED); tilcdc_get_overlay()
167 ret = of_resolve_phandles(overlay); tilcdc_get_overlay()
173 return overlay; tilcdc_get_overlay()
202 struct device_node *overlay, *encoder; tilcdc_convert_slave_node() local
204 /* For all memory needed for the overlay tree. This memory can tilcdc_convert_slave_node()
205 be freed after the overlay has been applied. */ tilcdc_convert_slave_node()
224 overlay = tilcdc_get_overlay(&kft); tilcdc_convert_slave_node()
225 if (!overlay) tilcdc_convert_slave_node()
228 encoder = of_find_matching_node(overlay, tilcdc_tda998x_of_match); tilcdc_convert_slave_node()
236 for_each_child_of_node(overlay, fragment) { for_each_child_of_node()
250 ret = of_overlay_create(overlay);
252 pr_err("%s: Creating overlay failed: %d\n", __func__, ret);
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A DMakefile7 omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \
H A Doverlay.c2 * linux/drivers/video/omap2/dss/overlay.c
118 DSSERR("check_overlay: overlay %d doesn't support " dss_ovl_simple_check()
124 DSSERR("check_overlay: overlay %d doesn't support " dss_ovl_simple_check()
131 DSSERR("check_overlay: overlay %d doesn't support mode %d\n", dss_ovl_simple_check()
175 DSSERR("overlay %d horizontally not inside the display area " dss_ovl_check()
182 DSSERR("overlay %d vertically not inside the display area " dss_ovl_check()
192 * Checks if replication logic should be used. Only use when overlay is in
H A Doverlay-sysfs.c98 DSSERR("Failed to attach overlay\n"); overlay_manager_store()
408 struct omap_overlay *overlay; overlay_attr_show() local
411 overlay = container_of(kobj, struct omap_overlay, kobj); overlay_attr_show()
417 return overlay_attr->show(overlay, buf); overlay_attr_show()
423 struct omap_overlay *overlay; overlay_attr_store() local
426 overlay = container_of(kobj, struct omap_overlay, kobj); overlay_attr_store()
432 return overlay_attr->store(overlay, buf, size); overlay_attr_store()
449 &pdev->dev.kobj, "overlay%d", ovl->id); dss_overlay_kobj_init()
H A Dapply.c78 * True if overlay is to be enabled. Used to check and calculate configs
79 * for the overlay before it is enabled in the HW.
246 * check manager and overlay settings using overlay_info from data->info
254 * check manager and overlay settings using overlay_info from ovl->info if
700 /* Commit overlay settings */ dss_mgr_write_regs()
1358 DSSERR("overlay '%s' already has a manager '%s'\n", dss_ovl_set_manager()
1372 DSSERR("overlay has to be disabled to change the manager\n"); dss_ovl_set_manager()
1406 DSSERR("failed to detach overlay: manager not set\n"); dss_ovl_unset_manager()
1415 DSSERR("overlay has to be disabled to unset the manager\n"); dss_ovl_unset_manager()
1426 * For a manual update display, there is no guarantee that the overlay dss_ovl_unset_manager()
1429 * overlay needed an update from the manager. dss_ovl_unset_manager()
1432 * here to disable the overlay in hardware. Use the *GATED fields in dss_ovl_unset_manager()
1496 DSSERR("failed to enable overlay %d: check_settings failed\n", dss_ovl_enable()
H A Ddispc.h45 /* DISPC overlay registers */
350 /* DISPC overlay register base addresses */ DISPC_OVL_BASE()
370 /* DISPC overlay register offsets */ DISPC_BA0_OFFSET()
H A Ddss.h244 /* overlay */
H A Ddispc-compat.c361 DSSERR("FIFO UNDERFLOW on %s, disabling the overlay\n", dispc_error_worker()
H A Ddispc.c1337 * together: using two displays, and having an NV12 overlay on one of dispc_init_mflag()
1932 /* width & height are overlay sizes, convert to fb sizes */ calc_dma_rotation_offset()
2235 * If the overlay/writeback is in mem to mem mode, there are no calc_core_clk_44xx()
/linux-4.4.14/include/video/
H A Dmmp_disp.h79 /* parameters used by path/overlay */
80 /* overlay related para: win/addr */
150 void (*set_fetch)(struct mmp_overlay *overlay, int fetch_id);
151 void (*set_onoff)(struct mmp_overlay *overlay, int status);
152 void (*set_win)(struct mmp_overlay *overlay, struct mmp_win *win);
153 int (*set_addr)(struct mmp_overlay *overlay, struct mmp_addr *addr);
156 /* overlay describes a z-order indexed slot in each path. */
162 /* overlay info: private data */
276 static inline void mmp_overlay_set_fetch(struct mmp_overlay *overlay, mmp_overlay_set_fetch() argument
279 if (overlay) mmp_overlay_set_fetch()
280 overlay->ops->set_fetch(overlay, fetch_id); mmp_overlay_set_fetch()
282 static inline void mmp_overlay_set_onoff(struct mmp_overlay *overlay, mmp_overlay_set_onoff() argument
285 if (overlay) mmp_overlay_set_onoff()
286 overlay->ops->set_onoff(overlay, status); mmp_overlay_set_onoff()
288 static inline void mmp_overlay_set_win(struct mmp_overlay *overlay, mmp_overlay_set_win() argument
291 if (overlay) mmp_overlay_set_win()
292 overlay->ops->set_win(overlay, win); mmp_overlay_set_win()
294 static inline int mmp_overlay_set_addr(struct mmp_overlay *overlay, mmp_overlay_set_addr() argument
297 if (overlay) mmp_overlay_set_addr()
298 return overlay->ops->set_addr(overlay, addr); mmp_overlay_set_addr()
H A Dkyro.h55 * Added the follow IOCTLS for the creation of overlay services...
68 * for the creation of overlay surfaces and setting the video mode.
H A Dgbe.h44 volatile uint32_t ovr_width_tile;/*overlay plane ctrl 0 */
45 volatile uint32_t ovr_inhwctrl; /* overlay plane ctrl 1 */
46 volatile uint32_t ovr_control; /* overlay plane ctrl 1 */
/linux-4.4.14/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c61 static u32 fmt_to_reg(struct mmp_overlay *overlay, int pix_fmt) fmt_to_reg() argument
65 vid = overlay_is_vid(overlay); fmt_to_reg()
132 static void dmafetch_set_fmt(struct mmp_overlay *overlay) dmafetch_set_fmt() argument
135 struct mmp_path *path = overlay->path; dmafetch_set_fmt()
137 tmp &= ~dma_mask(overlay_is_vid(overlay)); dmafetch_set_fmt()
138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); dmafetch_set_fmt()
142 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) overlay_set_win() argument
144 struct lcd_regs *regs = path_regs(overlay->path); overlay_set_win()
147 memcpy(&overlay->win, win, sizeof(struct mmp_win)); overlay_set_win()
149 mutex_lock(&overlay->access_ok); overlay_set_win()
151 if (overlay_is_vid(overlay)) { overlay_set_win()
167 dmafetch_set_fmt(overlay); overlay_set_win()
168 mutex_unlock(&overlay->access_ok); overlay_set_win()
171 static void dmafetch_onoff(struct mmp_overlay *overlay, int on) dmafetch_onoff() argument
173 u32 mask = overlay_is_vid(overlay) ? CFG_DMA_ENA_MASK : dmafetch_onoff()
175 u32 enable = overlay_is_vid(overlay) ? CFG_DMA_ENA(1) : CFG_GRA_ENA(1); dmafetch_onoff()
177 struct mmp_path *path = overlay->path; dmafetch_onoff()
179 mutex_lock(&overlay->access_ok); dmafetch_onoff()
184 mutex_unlock(&overlay->access_ok); dmafetch_onoff()
222 static void overlay_set_onoff(struct mmp_overlay *overlay, int on) overlay_set_onoff() argument
224 if (overlay->status == on) { overlay_set_onoff()
225 dev_info(overlay_to_ctrl(overlay)->dev, "overlay %s is already %s\n", overlay_set_onoff()
226 overlay->path->name, stat_name(overlay->status)); overlay_set_onoff()
229 overlay->status = on; overlay_set_onoff()
230 dmafetch_onoff(overlay, on); overlay_set_onoff()
231 if (overlay->path->ops.check_status(overlay->path) overlay_set_onoff()
232 != overlay->path->status) overlay_set_onoff()
233 path_onoff(overlay->path, on); overlay_set_onoff()
236 static void overlay_set_fetch(struct mmp_overlay *overlay, int fetch_id) overlay_set_fetch() argument
238 overlay->dmafetch_id = fetch_id; overlay_set_fetch()
241 static int overlay_set_addr(struct mmp_overlay *overlay, struct mmp_addr *addr) overlay_set_addr() argument
243 struct lcd_regs *regs = path_regs(overlay->path); overlay_set_addr()
246 memcpy(&overlay->addr, addr, sizeof(struct mmp_addr)); overlay_set_addr()
248 if (overlay_is_vid(overlay)) { overlay_set_addr()
255 return overlay->addr.phys[0]; overlay_set_addr()
H A Dmmp_ctrl.h1426 static inline int overlay_is_vid(struct mmp_overlay *overlay) overlay_is_vid() argument
1428 return overlay->dmafetch_id & 1; overlay_is_vid()
1441 static inline struct mmphw_ctrl *overlay_to_ctrl(struct mmp_overlay *overlay) overlay_to_ctrl() argument
1443 return path_to_ctrl(overlay->path); overlay_to_ctrl()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
H A Drcar_du_plane.h23 /* The RCAR DU has 8 hardware planes, shared between primary and overlay planes.
24 * As using overlay planes requires at least one of the CRTCs being enabled, no
25 * more than 7 overlay planes can be available. We thus create 1 primary plane
26 * per CRTC and 7 overlay planes, for a total of up to 9 KMS planes.
H A Drcar_du_plane.c396 /* Create one primary plane per CRTC in this group and seven overlay rcar_du_planes_init()
/linux-4.4.14/arch/powerpc/oprofile/cell/
H A Dvma_map.c15 * vma-to-fileOffset maps for both overlay and non-overlay SPU
172 pr_debug("SPU_PROF: Created non-overlay maps\n"); create_vma_map()
173 /* Traverse section table and search for overlay-related symbols. */ create_vma_map()
218 pr_debug("SPU_PROF: No overlay table found\n"); create_vma_map()
225 * per overlay section. The _ovly_buf_table symbol represents create_vma_map()
226 * a table with one entry per overlay region. create_vma_map()
235 "%s, line %d: Error finding SPU overlay table\n", create_vma_map()
244 /* Traverse overlay table. */ create_vma_map()
250 * arguments used above for non-overlay maps. The final two create_vma_map()
261 * example, for an overlay scenario with one overlay segment create_vma_map()
262 * and two overlay sections: create_vma_map()
H A Dpr_util.h37 struct spu_overlay_info { /* map of sections within an SPU overlay */
60 * example, for an overlay scenario with one overlay segment
61 * and two overlay sections:
H A Dspu_task_sync.c596 * value is non-zero, indicating which overlay section is in spu_sync_buffer()
598 * period which an overlay occurs (i.e., guard value changes). spu_sync_buffer()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga_overlay.h29 * Definitions for video-overlay support.
86 * Struct definitions for the video overlay commands built on
92 uint32 overlay; member in struct:__anon4843
H A Dsvga_reg.h1001 * Video -- SVGA Video overlay units are supported
1119 * Video overlay support
1133 * Offsets for the video overlay registers
1450 * The recommended way to position the cursor overlay is by using
1482 * The recommended way to position the cursor overlay is by using
1586 * This is used for video overlay, third party plugins, and
/linux-4.4.14/drivers/media/platform/vivid/
H A Dvivid-osd.h2 * vivid-osd.h - output overlay support functions.
H A Dvivid-kthread-cap.c154 * crop_out, scaled to compose_out, overlaid with the output overlay,
165 * If we need to deal with an output overlay, then there is no choice and
166 * that intermediate step still has to be taken. For the output overlay
167 * support we calculate the intersection of the framebuffer and the overlay
324 /* osdline is true if this line requires overlay blending */ vivid_copy_buffer()
576 * the overlay window set by VIDIOC_S_FMT. valid_pix()
600 * Draw the image into the overlay buffer.
601 * Note that the combination of overlay and multiplanar is not supported.
709 /* Handle overlay */ vivid_thread_vid_cap_tick()
H A Dvivid-core.c752 /* do we have a framebuffer for overlay testing? */ vivid_create_instance()
1010 /* initialize overlay */ vivid_create_instance()
1124 /* Create framebuffer for testing capture/output overlay */ vivid_create_instance()
H A Dvivid-core.h421 * The intersection of the framebuffer, the overlay output window and
H A Dvivid-vid-out.c878 * It makes no sense for an OSD to overlay only top or bottom fields, vidioc_try_fmt_vid_out_overlay()
957 dprintk(dev, 1, "unsupported output format for output overlay\n"); vivid_vid_out_overlay()
H A Dvivid-vid-cap.c659 dprintk(dev, 1, "overlay is active, can't change pixelformat\n"); vivid_s_fmt_vid_cap()
1189 dprintk(dev, 1, "mismatch between overlay and video capture pixelformats\n"); vivid_vid_cap_overlay()
/linux-4.4.14/sound/firewire/
H A Dcmp.h23 * possible to overlay connections on top of this one.
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doimmnv50.c46 nvif_ioctl(parent, "create disp overlay size %d\n", size); nv50_disp_oimm_new()
48 nvif_ioctl(parent, "create disp overlay vers %d head %d\n", nv50_disp_oimm_new()
H A Dovlynv50.c47 nvif_ioctl(parent, "create disp overlay channel dma size %d\n", size); nv50_disp_ovly_new()
49 nvif_ioctl(parent, "create disp overlay channel dma vers %d " nv50_disp_ovly_new()
/linux-4.4.14/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.h42 * Exynos drm common overlay structure.
58 * allocated for a overlay.
59 * @zpos: order of overlay layer(z position).
62 * to hardware specific overlay info.
91 * hardware overlay is updated.
95 * @update_plane: apply hardware specific overlay data to registers.
96 * @disable_plane: disable hardware specific overlay.
H A Dexynos_drm_crtc.c225 * make sure that overlay data are updated to real hardware exynos_drm_crtc_complete_scanout()
233 * - this makes sure that overlay data are updated to exynos_drm_crtc_complete_scanout()
H A Dexynos_drm_fb.c73 /* make sure that overlay data are updated before relesing fb. */ exynos_drm_fb_destroy()
H A Dexynos_mixer.c681 * video - video overlay mixer_win_reset()
/linux-4.4.14/drivers/media/common/saa7146/
H A Dsaa7146_video.c116 /* check if we have overlay information */ saa7146_start_preview()
118 DEB_D("no overlay data available. try S_FMT first.\n"); saa7146_start_preview()
128 /* check if overlay is running */ saa7146_start_preview()
131 DEB_D("overlay is already active\n"); saa7146_start_preview()
134 DEB_D("overlay is already active in another open\n"); saa7146_start_preview()
139 DEB_D("cannot get necessary overlay resources\n"); saa7146_start_preview()
157 DEB_D("enabling overlay failed: %d\n", ret); saa7146_start_preview()
182 /* check if overlay is running at all */ saa7146_stop_preview()
184 DEB_D("no active overlay\n"); saa7146_stop_preview()
189 DEB_D("overlay is active, but in another open\n"); saa7146_stop_preview()
348 DEB_S("warning: suspending overlay video for streaming capture\n"); video_begin()
497 /* planar formats are not allowed for overlay video, clipping and video dma would clash */ vidioc_s_fbuf()
499 DEB_S("planar pixelformat '%4.4s' not allowed for overlay\n", vidioc_s_fbuf()
502 /* check if overlay is running */ vidioc_s_fbuf()
505 DEB_D("refusing to change framebuffer informations while overlay is active in another open\n"); vidioc_s_fbuf()
796 /* vv->ov.fh is used to indicate that we have valid overlay informations, too */ vidioc_s_fmt_vid_overlay()
799 /* check if our current overlay is active */ vidioc_s_fmt_vid_overlay()
1294 /* restart overlay if it was active before */ video_read()
/linux-4.4.14/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c579 unsigned long overlay; member in struct:mmioh_config
599 union uv3h_rh_gam_mmioh_overlay_config0_mmr_u overlay; map_mmioh_high_uv3() local
607 overlay.v = uv_read_local_mmr(mmiohs[index].overlay); map_mmioh_high_uv3()
608 pr_info("UV: %s overlay 0x%lx base:0x%x m_io:%d\n", map_mmioh_high_uv3()
609 id, overlay.v, overlay.s3.base, overlay.s3.m_io); map_mmioh_high_uv3()
610 if (!overlay.s3.enable) { map_mmioh_high_uv3()
616 base = (unsigned long)overlay.s3.base; map_mmioh_high_uv3()
617 m_io = overlay.s3.m_io; map_mmioh_high_uv3()
/linux-4.4.14/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.h44 struct mmp_overlay *overlay; member in struct:mmpfb_info
H A Dmmpfb.c357 mmp_overlay_set_addr(fbi->overlay, &addr); mmpfb_pan_display()
410 mmp_overlay_set_win(fbi->overlay, &win); mmpfb_set_win()
436 mmp_overlay_set_addr(fbi->overlay, &addr); mmpfb_set_par()
456 mmp_overlay_set_addr(fbi->overlay, &addr); mmpfb_power()
458 mmp_overlay_set_onoff(fbi->overlay, power); mmpfb_power()
592 /* get overlay */ mmpfb_probe()
593 fbi->overlay = mmp_path_get_overlay(fbi->path, mi->overlay_id); mmpfb_probe()
594 if (!fbi->overlay) { mmpfb_probe()
599 mmp_overlay_set_fetch(fbi->overlay, mi->dmafetch_id); mmpfb_probe()
/linux-4.4.14/drivers/usb/host/whci/
H A Ddebug.c58 qset->qh.overlay.qtd.status, qset->qh.overlay.qtd.options); qset_print()
H A Dqset.c134 memset(&qset->qh.overlay, 0, sizeof(qset->qh.overlay)); qset_clear()
H A Dwhci-hc.h145 } overlay; member in struct:whc_qhead
/linux-4.4.14/drivers/video/fbdev/matrox/
H A Dmatroxfb_DAC1064.h67 #define M1064_XMULCTRL_DEPTH_15BPP_1BPP 0x01 /* 15 bpp paletized + 1 bpp overlay */
70 #define M1064_XMULCTRL_DEPTH_24BPP_8BPP 0x04 /* 24 bpp direct + 8 bpp overlay paletized */
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_dc.h111 * @overlays: overlay plane table
112 * @noverlays: number of overlay planes
H A Datmel_hlcdc_dc.c92 .name = "high-end-overlay",
194 .name = "high-end-overlay",
297 .name = "high-end-overlay",
H A Datmel_hlcdc_layer.h184 * likely a DRM plane update, either primary, overlay or cursor plane) and
/linux-4.4.14/drivers/media/pci/zoran/
H A Dzoran.h154 /* overlay-settings */
159 const struct zoran_format *format; /* overlay format */
227 u32 *overlay_mask; /* overlay mask */
313 u32 *overlay_mask; /* overlay mask */
H A Dzoran_driver.c871 /* overlay */ zoran_close_end_session()
1058 /* Don't allow frame buffer overlay if PCI or AGP is buggy, or on setup_fbuffer()
1072 * overlay before changing the memory location... setup_fbuffer()
1079 "%s: %s - forced overlay turnoff because framebuffer changed\n", setup_fbuffer()
1088 "%s: %s - no valid overlay format given\n", setup_fbuffer()
1146 "%s: %s - no overlay format set\n", setup_window()
1197 * If an overlay is running, we have to switch it off setup_window()
1200 * We also want to avoid that the overlay mask is written setup_window()
1201 * when an overlay is running. setup_window()
1211 * Write the overlay mask if clips are wanted. setup_window()
1262 /* check whether we're touching someone else's overlay */ setup_overlay()
1267 "%s: %s - overlay is already active for another session\n", setup_overlay()
1299 "%s: %s - no overlay format set\n", setup_overlay()
1453 /* We switch overlay off and on since a change in the zoran_set_norm()
H A Dzoran_device.c438 /* Write overlay clipping mask data, but don't enable overlay clipping */ zr36057_set_vfe()
460 * Switch overlay on or off
513 /* Set overlay clipping */ zr36057_overlay()
526 * The overlay mask has one bit for each pixel on a scan line,
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dsiginfo.h39 sigval_t _sigval; /* must overlay ._rt._sigval! */
/linux-4.4.14/drivers/video/fbdev/kyro/
H A DSTG4000OverlayDevice.c57 /*clipped on-screen pixel position of overlay */
69 /* on-screen pixel position of overlay */
368 ulDest = srcDest.lDstY2 - srcDest.lDstY1; /* on-screen overlay */ SetOverlayViewPort()
560 /* Now set up the overlay size using the modified width and height SetOverlayViewPort()
587 /* Finally set up the rest of the overlay regs in the order SetOverlayViewPort()
H A Dfbdev.c73 u32 ulOverlayOffset; /* Offset from start of vid mem to overlay */
340 * Can only create one overlay without resetting the card or kyro_dev_overlay_create()
593 printk(KERN_ERR "Kyro FB: failed to create overlay surface.\n"); kyrofb_ioctl()
608 printk(KERN_ERR "Kyro FB: failed to create overlay viewport.\n"); kyrofb_ioctl()
/linux-4.4.14/drivers/usb/musb/
H A Dcppi_dma.h64 /* hardware overlay */
/linux-4.4.14/drivers/video/fbdev/
H A Dpxafb.h160 struct pxafb_layer overlay[2]; member in struct:pxafb_info
H A Dstifb.c366 #define BINovly 0x2 /* 8 bit overlay */
517 /* Write RAMDAC pixel read mask register so all overlay rattlerSetupPlanes()
519 * read mask register for overlay planes, not image planes). rattlerSetupPlanes()
551 unsigned lutType : 2; /* Cursor, image, overlay */
609 /* Expect lutIndex to be 0 or 1 for image cmaps, 2 or 3 for overlay cmaps */ setHyperLutBltCtl()
632 /* Write overlay transparency mask so only entry 255 is transparent */ hyperUndoITE()
744 /* Write zeroes to overlay planes */ ngleClearOverlayPlanes()
779 * On Hyperdrive, this means all windows using overlay cmap 0. */ hyperResetPlanes()
782 /* clear overlay planes */ hyperResetPlanes()
H A Dpxafb.c730 /* no support for framebuffer console on overlay */ overlayfb_open()
875 sprintf(ofb->fb.fix.id, "overlay%d", id + 1); init_pxafb_overlay()
909 /* We assume that user will use at most video_mem_size for overlay fb, pxafb_overlay_map_video_memory()
910 * anyway, it's useless to use 16bpp main plane and 24bpp overlay pxafb_overlay_map_video_memory()
938 struct pxafb_layer *ofb = &fbi->overlay[i]; pxafb_overlay_init()
942 dev_err(fbi->dev, "failed to register overlay %d\n", i); pxafb_overlay_init()
948 "failed to map video memory for overlay %d\n", pxafb_overlay_init()
970 struct pxafb_layer *ofb = &fbi->overlay[i]; pxafb_overlay_exit()
1506 complete(&fbi->overlay[0].branch_done); pxafb_handle_irq()
1509 complete(&fbi->overlay[1].branch_done); pxafb_handle_irq()
1646 if (!(fbi->overlay[0].usage || fbi->overlay[1].usage)) pxafb_freq_transition()
1841 /* place overlay(s) on top of base */ pxafb_init_fbinfo()
H A Dtcx.c449 sbus_writel(0x06 << 24, &par->bt->addr); /* overlay plane */ tcx_probe()
H A Dsh_mobile_lcdcfb.c148 * struct sh_mobile_lcdc_overlay - LCDC display overlay
150 * @channel: LCDC channel this overlay belongs to
155 * @enabled: True if the overlay is enabled
171 * @pos_x: Horizontal overlay position
172 * @pos_y: Vertical overlay position
1606 /* Overlay blanking. Disable the overlay when blanked. */ sh_mobile_lcdc_overlay_blank()
1670 dev_info(lcdc->dev, "registered %s/overlay %u as %dx%d %dbpp.\n", sh_mobile_lcdc_overlay_fb_register()
H A Dcg6.c660 sbus_writel(0x06 << 24, &bt->addr); /* overlay plane */ cg6_bt_init()
H A Dgxt4500.c129 #define WAT_OVL_CTRL 0x430c /* controls overlay */
H A Dgbefb.c800 /* turn off DID and overlay DMA */ gbefb_set_par()
H A Dpm2fb.c382 pm2_RDAC_WR(p, PM2I_RD_MODE_CONTROL, 0); /* no overlay */ reset_config()
H A Dw100fb.c1358 /* Hack for overlay in ext memory */ w100_init_lcd()
H A Datafb.c984 par->hw.falcon.f_shift = 0x100; /* hicolor, no overlay */ falcon_decode_var()
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Dbttvp.h231 /* video overlay */
271 /* overlay handling */
469 struct bttv_buffer *screen; /* overlay */
494 /* Default (0) and current (1) video capturing and overlay
H A Dbtcx-risc.c85 /* screen overlay helpers */
H A Dbttv-driver.c2093 /* Returns an error if the given overlay window dimensions are not
2232 /* update overlay if needed */ setup_window_lock()
2616 dprintk("%d: overlay: !setup_ok\n", btv->c.nr); bttv_overlay()
3085 /* turn off overlay */ bttv_release()
3573 /* screen overlay ? */ bttv_irq_next_video()
H A Dbttv-cards.c144 MODULE_PARM_DESC(no_overlay,"allow override overlay default (0 disables, 1 enables)"
145 " [some VIA/SIS chipsets are known to have problem with overlay]");
4901 pr_info("overlay will be disabled\n"); bttv_check_chipset()
4904 pr_info("overlay forced. Use this option at your own risk.\n"); bttv_check_chipset()
H A Dbttv-risc.c873 dprintk("%d: overlay fields: %s format: %s size: %dx%d\n", bttv_overlay_risc()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.h123 /* overlay.c */
H A Doverlay.c355 uint32_t overlay = 1; nv04_update_plane() local
413 overlay |= 0x10; nv04_update_plane()
415 overlay |= 0x100; nv04_update_plane()
417 nvif_wr32(dev, NV_PVIDEO_OVERLAY, overlay); nv04_update_plane()
H A Darb.c163 * the overlay. */ nv10_calc_arb()
H A Dnvreg.h492 /* NV04 overlay defines from VIDIX & Haiku */
H A Dcrtc.c280 /* This reportedly works around some video overlay bandwidth problems */ nv_crtc_mode_set_vga()
501 /* Set overlay to desired crtc. */ nv_crtc_mode_set_regs()
/linux-4.4.14/include/media/
H A Dvideobuf-dma-sg.h60 /* for overlay buffers (pci-pci dma) */
H A Dsaa7146_vv.h118 /* video overlay */
H A Dvideobuf-core.h91 /* buffer offset (mmap + overlay) */
/linux-4.4.14/include/linux/dma/
H A Dipu-dma.h37 IDMAC_SDC_1 = 15, /* Foreground data (overlay) */
/linux-4.4.14/include/uapi/drm/
H A Dvmwgfx_drm.h78 * Does the driver support the overlay ioctl.
439 * This IOCTL controls the overlay units of the svga device.
440 * The SVGA overlay units does not work like regular hardware units in
450 * Defines a rectangle. Used in the overlay ioctl to define
467 * @format: Format of the overlay as understood by the host.
468 * @width: Width of the overlay.
469 * @height: Height of the overlay.
470 * @size: Size of the overlay in bytes.
472 * @offset: Offset from start of dma buffer to overlay.
H A Ddrm.h653 * If set to 1, the DRM core will expose all planes (overlay, primary, and
/linux-4.4.14/drivers/usb/host/
H A Dehci-q.c92 /* writes to an active overlay are unsafe */ qh_update()
118 * overlay, so qh->hw_token wrongly becomes inactive/halted), only fault
130 * If we come here during unlink, the QH overlay region qh_refresh()
133 * overlay here. qh_refresh()
342 /* hardware copies qtd out of qh overlay */ qh_completions()
378 * qh overlay (which still contains qh_completions()
430 * and the overlay's token is active, then the overlay qh_completions()
433 * processed and removed, the overlay won't be valid qh_completions()
1050 * only hc or qh_refresh() ever modify the overlay. qh_append_tds()
1329 * Intel (?) bug: The HC can write back the overlay region even end_unlink_async()
H A Doxu210hp.h289 /* qtd overlay (hardware parts of a struct ehci_qtd) */
H A Dfotg210-hcd.c150 dbg_qtd("overlay", fotg210, (struct fotg210_qtd *) &hw->hw_qtd_next); dbg_qh()
2061 /* writes to an active overlay are unsafe */ qh_update()
2087 * overlay, so qh->hw_token wrongly becomes inactive/halted), only fault
2101 * If we come here during unlink, the QH overlay region qh_refresh()
2104 * overlay here. qh_refresh()
2328 /* hardware copies qtd out of qh overlay */ qh_completions()
2364 * qh overlay (which still contains qh_completions()
2414 /* qh unlinked; token in overlay may be most current */ qh_completions()
3004 * only hc or qh_refresh() ever modify the overlay. qh_append_tds()
H A Dfotg210.h425 /* qtd overlay (hardware parts of a struct fotg210_qtd) */
H A Doxu210hp-hcd.c823 /* writes to an active overlay are unsafe */ qh_update()
851 * overlay, so qh->hw_token wrongly becomes inactive/halted), only fault
1042 /* hardware copies qtd out of qh overlay */ qh_completions()
1086 /* token in overlay may be most current */ qh_completions()
1572 * only hc or qh_refresh() ever modify the overlay. qh_append_tds()
2006 * (and overlay token SplitXstate is false?) qh_unlink_periodic()
H A Dehci-dbg.c129 dbg_qtd("overlay", ehci, (struct ehci_qtd *) &hw->hw_qtd_next); dbg_qh()
H A Dehci.h404 /* qtd overlay (hardware parts of a struct ehci_qtd) */
/linux-4.4.14/drivers/media/platform/omap/
H A Domap_vout.c352 * Setup the overlay
429 * Initialize the overlay structure
573 /* get the display device attached to the overlay */ omap_vout_isr()
634 "failed to set overlay info\n"); omap_vout_isr()
947 /* Disable all the overlay managers connected with this interface */ omap_vout_release()
1090 /* get the display device attached to the overlay */ vidioc_try_fmt_vid_out()
1124 /* get the display device attached to the overlay */ vidioc_s_fmt_vid_out()
1294 /* get the display device attached to the overlay */ vidioc_s_crop()
1655 "failed to set overlay info\n"); vidioc_streamon()
1806 /* The video overlay must stay within the framebuffer and can't be vidioc_g_fbuf()
1890 /* Set the data structures for the overlay parameters*/ omap_vout_setup_video_data()
2010 /* Select video2 if only 1 overlay is controlled by V4L2 */ omap_vout_create_video_devices()
2186 /* Get the Video1 overlay and video2 overlay.
H A Domap_voutlib.c37 /* Return the default overlay cropping rectangle in crop given the image
/linux-4.4.14/drivers/media/pci/saa7134/
H A Dsaa7134-core.c69 MODULE_PARM_DESC(no_overlay,"allow override overlay default (0 disables, 1 enables)"
70 " [some VIA/SIS chipsets are known to have problem with overlay]");
418 /* screen overlay -- dma 0 + video task B */ saa7134_set_dmabits()
926 " in overlay mode.\n",dev->name); saa7134_initdev()
928 pr_info("%s: quirk: overlay " saa7134_initdev()
933 pr_info("%s: quirk: overlay " saa7134_initdev()
1230 /* disable overlay - apps should enable it explicitly on resume*/ saa7134_suspend()
H A Dsaa7134.h583 /* video overlay */
H A Dsaa7134-video.c1129 /* turn off overlay */ video_release()
1496 if overlay is active. */ saa7134_s_std()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
H A Domapfb.h151 /* XXX: returns the display connected to first attached overlay */ fb2display()
H A Domapfb-main.c841 /* setup overlay according to the fb */ omapfb_setup_overlay()
935 /* apply var to the overlay */ omapfb_apply_changes()
959 /* the fb is not available. disable the overlay */ omapfb_apply_changes()
2005 "failed to enable overlay\n"); omapfb_create_framebuffers()
2412 "failed to connect overlay %s to manager %s\n", omapfb_init_connections()
2554 dev_err(fbdev->dev, "failed to init overlay connections\n");
H A Domapfb-ioctl.c78 /* XXX uses only the first overlay */ omapfb_setup_plane()
543 * that is supported by the overlay, so call the omapfb_get_ovl_colormode()
H A Domapfb-sysfs.c250 dev_err(fbdev->dev, "overlay already in use\n"); store_overlays()
/linux-4.4.14/include/uapi/linux/
H A Dmroute6.h123 * We'll overlay the structure onto an MLD header (not an IPv6 heder like igmpmsg{}
H A Dcoff.h194 #define COFF_STYP_OVER 0x400 /* overlay section */
H A Dipmi.h65 * This is an overlay for all the address types, so it's easy to
H A Dvideodev2.h414 #define V4L2_CAP_VIDEO_OVERLAY 0x00000004 /* Can do video overlay */
420 #define V4L2_CAP_VIDEO_OUTPUT_OVERLAY 0x00000200 /* Can do video output overlay */
/linux-4.4.14/include/linux/mtd/
H A Dpfow.h1 /* Primary function overlay window definitions
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
H A Dclass.h594 /* overlay */
604 /* overlay immediate */
/linux-4.4.14/arch/blackfin/mach-bf548/include/mach/
H A DdefBF544.h467 #define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
468 #define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
469 #define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
470 #define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
472 #define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
473 #define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
474 #define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
475 #define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
H A DdefBF547.h444 #define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
445 #define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
446 #define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
447 #define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
449 #define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
450 #define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
451 #define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
452 #define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
/linux-4.4.14/lib/zlib_deflate/
H A Ddeflate.c181 ush *overlay; zlib_deflateInit2() local
182 /* We overlay pending_buf and d_buf+l_buf. This works since the average zlib_deflateInit2()
238 overlay = (ush *) mem->overlay_memory; zlib_deflateInit2()
239 s->pending_buf = (uch *) overlay; zlib_deflateInit2()
242 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); zlib_deflateInit2()
H A Ddeftree.c1057 /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */ compress_block()
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c289 /* Give the overlay scaler a chance to enable oaktrail_crtc_dpms()
294 /* Give the overlay scaler a chance to disable oaktrail_crtc_dpms()
H A Doaktrail_device.c254 /* HW overlay */ oaktrail_save_display_registers()
393 /* Restore HW overlay */ oaktrail_restore_display_registers()
H A Dgma_display.c266 /* Give the overlay scaler a chance to enable gma_crtc_dpms()
276 /* Give the overlay scaler a chance to disable gma_crtc_dpms()
H A Dmdfld_intel_display.c422 /* Give the overlay scaler a chance to enable mdfld_crtc_dpms()
428 /* Give the overlay scaler a chance to disable mdfld_crtc_dpms()
/linux-4.4.14/drivers/video/fbdev/i810/
H A Di810_gtf.c205 /* overlay */ i810fb_encode_registers()
H A Di810_dvt.c240 /* overlay */ i810fb_encode_registers()
/linux-4.4.14/drivers/mtd/
H A Dbcm47xxpart.c213 * we want to have jffs2 (overlay) in the same mtd. bcm47xxpart_parse()
/linux-4.4.14/drivers/gpu/drm/sti/
H A Dsti_crtc.c288 /* Disable mixer only if all overlay planes (GDP and VDP) sti_crtc_vblank_cb()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
H A Domap_plane.c207 * Set defaults depending on whether we are a primary or overlay omap_plane_reset()
H A Domap_fb.c63 /* convert from overlay's pixel formats bitmask to an array of fourcc's */ omap_framebuffer_get_formats()
H A Domap_drv.c47 * CRTC: overlay
/linux-4.4.14/drivers/media/i2c/
H A Dbt866.c111 /* overlay colors */ bt866_s_routing()
/linux-4.4.14/drivers/net/ethernet/rocker/
H A Drocker.h393 /* OF-DPA group L2 overlay types */
/linux-4.4.14/drivers/gpu/drm/armada/
H A Darmada_crtc.c350 * Prepare for a mode set. Turn off overlay to ensure that we don't end
351 * up with the overlay size being bigger than the active screen size.
362 * If we have an overlay plane associated with this CRTC, disable armada_drm_crtc_prepare()
709 * and __setplane_internal() will do so for an overlay plane, and armada_drm_crtc_plane_disable()
H A Darmada_overlay.c141 /* FIXME: overlay on an interlaced display */ armada_ovl_plane_update()
/linux-4.4.14/arch/xtensa/kernel/
H A Dvmlinux.lds.S60 * overlay onto the first word of the adjacent code section
/linux-4.4.14/fs/jfs/
H A Djfs_incore.h91 /* _inline_ea may overlay the last part of
H A Djfs_txnmgr.h108 s16 lock[24]; /* 48: overlay area */
/linux-4.4.14/include/scsi/fc/
H A Dfc_fcp.h40 #define FCP_SPPF_OVLY_ALLOW 0x0040 /* data overlay allowed */
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
H A Dregs-lcd.h163 /* overlay control registers */
/linux-4.4.14/drivers/staging/sm750fb/
H A Dsm750_accel.c161 /* If source and destination are the same surface, need to check for overlay cases */ hw_copyarea()
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddebuglib.h293 new->Registered and new->Version overlay old->next,
/linux-4.4.14/drivers/acpi/acpica/
H A Damlresrc.h135 * are used to overlay the raw AML byte stream.
/linux-4.4.14/drivers/gpu/drm/imx/
H A Dipuv3-crtc.c385 /* If this crtc is using the DP, add an overlay plane */ ipu_crtc_init()
/linux-4.4.14/arch/powerpc/boot/
H A Dwrapper454 # vector at addr 0x100. A bootwrapper overlay is used to arrange for
/linux-4.4.14/include/drm/
H A Ddrm_crtc.h842 * @type: type of plane (overlay, primary, cursor)
1023 * @num_overlay_plane: number of overlay planes on this device
1070 * Track # of overlay planes separately from # of total planes. By
1071 * default we only advertise overlay planes to userspace; if userspace
1543 /* Plane list iterator for legacy (overlay only) planes. */
/linux-4.4.14/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c353 * special support to get alpha blending working. For now, just use overlay
1502 * Create drm_planes for overlay windows with possible_crtcs restricted vop_create_crtc()
1520 DRM_ERROR("failed to initialize overlay plane\n"); vop_create_crtc()
/linux-4.4.14/drivers/media/platform/
H A Dfsl-viu.c137 /* video overlay */
164 /* video overlay */
751 /* setup the base address of the overlay buffer */ viu_setup_preview()
/linux-4.4.14/drivers/media/platform/s5p-tv/
H A Dmixer_reg.c102 * video - video overlay mxr_reg_reset()
/linux-4.4.14/drivers/media/v4l2-core/
H A Dvideobuf-dma-sg.c272 dprintk(1, "init overlay [%d pages @ bus 0x%lx]\n", videobuf_dma_init_overlay()
H A Dv4l2-ioctl.c146 [V4L2_BUF_TYPE_VIDEO_OVERLAY] = "vid-overlay",
152 [V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY] = "vid-out-overlay",
163 [V4L2_MEMORY_OVERLAY] = "overlay",
1356 * fmt can't be cleared for these overlay types due to the 'clips' v4l_g_fmt()
1358 * Those are provided by the user. So handle these two overlay types v4l_g_fmt()
/linux-4.4.14/include/linux/ceph/
H A Drados.h390 CEPH_OSD_FLAG_IGNORE_OVERLAY = 0x20000, /* ignore pool overlay */
/linux-4.4.14/include/linux/
H A Dpe.h40 uint16_t overlay_num; /* overlay number. set to 0. */
H A Dmm_types.h163 unsigned long __pad; /* do not overlay pmd_huge_pte
/linux-4.4.14/arch/powerpc/include/asm/
H A Dopal-api.h610 * This structure defines the overlay which will be used to store PHB error
/linux-4.4.14/arch/m68k/include/asm/
H A Dmac_via.h64 * vector. 1=use overlay map.
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfa_defs.h1120 BFA_FLASH_PART_BOOTOVL = 11, /* boot overlay partition */
1123 BFA_FLASH_PART_PXEOVL = 14, /* pxe boot overlay partition */
/linux-4.4.14/drivers/video/fbdev/aty/
H A Dmach64_ct.c235 /* Set ECP (scaler/overlay clock) divider */ aty_valid_pll_ct()
/linux-4.4.14/drivers/video/fbdev/mbx/
H A Dmbxfb.c6 * - Added video overlay support
/linux-4.4.14/drivers/media/pci/ngene/
H A Dngene.h714 struct ngene_buffer *screen; /* overlay */
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c816 asd_printk("%s: overlay dma error:0x%x\n", asd_com_sas_isr()
/linux-4.4.14/drivers/macintosh/
H A Dadbhid.c607 /* keypad overlay toogle */ adbhid_buttons_input()
/linux-4.4.14/drivers/media/pci/tw68/
H A Dtw68-video.c41 * as "planar". These affect overlay mode, and are flagged with a field
/linux-4.4.14/drivers/gpu/drm/i810/
H A Di810_dma.c1147 /* Tell the overlay to update */ i810_ov0_flip()
/linux-4.4.14/drivers/char/agp/
H A Dintel-gtt.c1189 /* i945 is the last gpu to need phys mem (for overlay and cursors). */
/linux-4.4.14/net/sctp/
H A Dauth.c354 * Populate the association overlay list with the list
/linux-4.4.14/sound/pci/hda/
H A Dpatch_ca0132.c2250 * @ovly: TRUE if overlay format is required
2438 * Write the entire DSP image of a DSP code/data overlay to DSP memories
2446 * @ovly: TRUE if overlay format is required
2588 * @ovly: TRUE if overlay format is required
/linux-4.4.14/sound/soc/samsung/
H A Di2s.c110 /* If this is the 'overlay' stereo DAI */ is_secondary()
/linux-4.4.14/drivers/usb/atm/
H A Dueagle-atm.c405 __le16 wOvl; /* overlay */
510 __u8 bOvl; /* overlay */
/linux-4.4.14/drivers/video/fbdev/omap/
H A Domapfb_main.c72 { OMAPFB_CAPS_WINDOW_OVERLAY, "overlay window" },
/linux-4.4.14/drivers/scsi/isci/
H A Dremote_device.c1327 * physical. Furthermore, the SAS-2 and SAS-1.1 fields overlay sci_remote_device_ea_construct()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
H A Di40e_adminq_cmd.h287 * Command structures are expected to overlay the params.raw member of the basic
/linux-4.4.14/arch/parisc/kernel/
H A Dfirmware.c1391 * to overlay real_stack (real2.S), preparing a 32-bit call frame.
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq_cmd.h290 * Command structures are expected to overlay the params.raw member of the basic
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c252 /* some scripts set a value in NV_PBUS_POWERCTRL_2 and break video overlay */ call_lvds_script()
H A Dnv50_display.c1489 /* allocate overlay resources */ nv50_crtc_create()
/linux-4.4.14/mm/
H A Dnommu.c1096 /* overlay a shareable mapping on the backing device or inode determine_vm_flags()
H A Dslub.c727 * If the freepointer may overlay the object then the free
/linux-4.4.14/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c27 * the Adaptec 1542 driver (aha1542.c), the Adaptec EISA overlay file
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v10_0.c911 u32 bytes_per_pixel; /* bytes per pixel display + overlay */
H A Ddce_v11_0.c899 u32 bytes_per_pixel; /* bytes per pixel display + overlay */
H A Ddce_v8_0.c854 u32 bytes_per_pixel; /* bytes per pixel display + overlay */
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_crtc.c1152 * @type: type of plane (overlay, primary, cursor)
1224 * @is_primary: plane type (primary vs overlay)
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_hw.h3846 A_MXRI64 amxri; /* abort multiple xri command overlay */
/linux-4.4.14/drivers/scsi/
H A Dqla1280.c510 * to overlay our struct srb over it. qla1280_init() checks that a srb is not
H A Dpmcraid.c1744 ("LDN(%x): %x type: %x lost: %x flags: %x overlay id: %x\n", pmcraid_handle_error_log()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Devergreen.c2036 u32 bytes_per_pixel; /* bytes per pixel display + overlay */
H A Dr100.c3780 /* Disable cursor, overlay, crtc */ r100_mc_stop()
H A Dsi.c2008 u32 bytes_per_pixel; /* bytes per pixel display + overlay */
H A Dcik.c9202 u32 bytes_per_pixel; /* bytes per pixel display + overlay */
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dqla_target.c2582 * T10Dif: ctio_crc2_to_fw overlay ontop of qlt_xmit_response()
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dmcdi_pcol.h7190 /* enum: RX PD firmware parsing but not filtering network overlay tunnel

Completed in 6923 milliseconds