Home
last modified time | relevance | path

Searched refs:overlay (Results 1 – 25 of 111) sorted by relevance

12345

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_overlay.c222 alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) in alloc_request() argument
227 overlay->flip_complete = fn; in alloc_request()
229 rq = i915_request_create(overlay->context); in alloc_request()
233 err = i915_active_ref(&overlay->last_flip, rq->timeline, rq); in alloc_request()
243 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument
245 struct drm_i915_private *dev_priv = overlay->i915; in intel_overlay_on()
249 WARN_ON(overlay->active); in intel_overlay_on()
251 rq = alloc_request(overlay, NULL); in intel_overlay_on()
261 overlay->active = true; in intel_overlay_on()
267 *cs++ = overlay->flip_addr | OFC_UPDATE; in intel_overlay_on()
[all …]
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c254 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop() local
255 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop()
302 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_update_stream() local
303 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream()
365 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop_all() local
368 if (!overlay) in vmw_overlay_stop_all()
371 mutex_lock(&overlay->mutex); in vmw_overlay_stop_all()
374 struct vmw_stream *stream = &overlay->stream[i]; in vmw_overlay_stop_all()
382 mutex_unlock(&overlay->mutex); in vmw_overlay_stop_all()
396 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local
[all …]
/Linux-v5.4/include/video/
Dmmp_disp.h137 void (*set_fetch)(struct mmp_overlay *overlay, int fetch_id);
138 void (*set_onoff)(struct mmp_overlay *overlay, int status);
139 void (*set_win)(struct mmp_overlay *overlay, struct mmp_win *win);
140 int (*set_addr)(struct mmp_overlay *overlay, struct mmp_addr *addr);
263 static inline void mmp_overlay_set_fetch(struct mmp_overlay *overlay, in mmp_overlay_set_fetch() argument
266 if (overlay) in mmp_overlay_set_fetch()
267 overlay->ops->set_fetch(overlay, fetch_id); in mmp_overlay_set_fetch()
269 static inline void mmp_overlay_set_onoff(struct mmp_overlay *overlay, in mmp_overlay_set_onoff() argument
272 if (overlay) in mmp_overlay_set_onoff()
273 overlay->ops->set_onoff(overlay, status); in mmp_overlay_set_onoff()
[all …]
/Linux-v5.4/drivers/of/
Dresolver.c40 static void adjust_overlay_phandles(struct device_node *overlay, in adjust_overlay_phandles() argument
48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
49 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
52 for_each_property_of_node(overlay, prop) { in adjust_overlay_phandles()
65 *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); in adjust_overlay_phandles()
68 for_each_child_of_node(overlay, child) in adjust_overlay_phandles()
72 static int update_usages_of_a_phandle_reference(struct device_node *overlay, in update_usages_of_a_phandle_reference() argument
110 refnode = __of_find_node_by_full_path(of_node_get(overlay), node_path); in update_usages_of_a_phandle_reference()
160 struct device_node *overlay, int phandle_delta) in adjust_local_phandle_references() argument
182 for_each_property_of_node(overlay, prop) { in adjust_local_phandle_references()
[all …]
Doverlay.c52 struct device_node *overlay; member
169 nd.overlay = fragment->overlay; in overlay_notify()
231 if (fragment->overlay == overlay_node) in dup_and_fixup_symbol_prop()
237 overlay_name_len = snprintf(NULL, 0, "%pOF", fragment->overlay); in dup_and_fixup_symbol_prop()
652 fragment->overlay); in build_changeset()
666 fragment->overlay); in build_changeset()
789 fragment->overlay = overlay_node; in init_overlay_changeset()
792 of_node_put(fragment->overlay); in init_overlay_changeset()
808 fragment->overlay = node; in init_overlay_changeset()
854 of_node_put(ovcs->fragments[i].overlay); in free_overlay_changeset()
/Linux-v5.4/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c48 static u32 fmt_to_reg(struct mmp_overlay *overlay, int pix_fmt) in fmt_to_reg() argument
52 vid = overlay_is_vid(overlay); in fmt_to_reg()
119 static void dmafetch_set_fmt(struct mmp_overlay *overlay) in dmafetch_set_fmt() argument
122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt()
124 tmp &= ~dma_mask(overlay_is_vid(overlay)); in dmafetch_set_fmt()
125 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt()
129 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) in overlay_set_win() argument
131 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
134 memcpy(&overlay->win, win, sizeof(struct mmp_win)); in overlay_set_win()
136 mutex_lock(&overlay->access_ok); in overlay_set_win()
[all …]
/Linux-v5.4/drivers/fpga/
Dof-fpga-region.c107 br = of_parse_phandle(info->overlay, "fpga-bridges", 0); in of_fpga_region_get_bridges()
110 np = info->overlay; in of_fpga_region_get_bridges()
150 static int child_regions_with_firmware(struct device_node *overlay) in child_regions_with_firmware() argument
156 of_node_get(overlay); in child_regions_with_firmware()
158 child_region = of_find_matching_node(overlay, fpga_region_of_match); in child_regions_with_firmware()
194 struct device_node *overlay) in of_fpga_region_parse_ov() argument
211 ret = child_regions_with_firmware(overlay); in of_fpga_region_parse_ov()
219 info->overlay = overlay; in of_fpga_region_parse_ov()
222 if (of_property_read_bool(overlay, "partial-fpga-config")) in of_fpga_region_parse_ov()
225 if (of_property_read_bool(overlay, "external-fpga-config")) in of_fpga_region_parse_ov()
[all …]
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c27 int overlay, bool enable, unsigned int zpos, in sun8i_ui_layer_enable() argument
36 enable ? "En" : "Dis", channel, overlay); in sun8i_ui_layer_enable()
44 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_enable()
76 int overlay, struct drm_plane *plane, in sun8i_ui_layer_update_coord() argument
86 channel, overlay); in sun8i_ui_layer_update_coord()
137 SUN8I_MIXER_CHAN_UI_LAYER_SIZE(ch_base, overlay), in sun8i_ui_layer_update_coord()
174 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_formats() argument
190 SUN8I_MIXER_CHAN_UI_LAYER_ATTR(ch_base, overlay), in sun8i_ui_layer_update_formats()
197 int overlay, struct drm_plane *plane) in sun8i_ui_layer_update_buffer() argument
224 SUN8I_MIXER_CHAN_UI_LAYER_PITCH(ch_base, overlay), in sun8i_ui_layer_update_buffer()
[all …]
Dsun8i_vi_layer.c20 int overlay, bool enable, unsigned int zpos, in sun8i_vi_layer_enable() argument
29 enable ? "En" : "Dis", channel, overlay); in sun8i_vi_layer_enable()
37 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(ch_base, overlay), in sun8i_vi_layer_enable()
69 int overlay, struct drm_plane *plane, in sun8i_vi_layer_update_coord() argument
83 channel, overlay); in sun8i_vi_layer_update_coord()
124 SUN8I_MIXER_CHAN_VI_LAYER_SIZE(ch_base, overlay), in sun8i_vi_layer_update_coord()
214 int overlay, struct drm_plane *plane) in sun8i_vi_layer_update_formats() argument
230 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(ch_base, overlay), in sun8i_vi_layer_update_formats()
248 SUN8I_MIXER_CHAN_VI_LAYER_ATTR(ch_base, overlay), in sun8i_vi_layer_update_formats()
255 overlay), in sun8i_vi_layer_update_formats()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-devices-platform-sh_mobile_lcdc_fb6 to overlay planes.
8 Stores the alpha blending value for the overlay. Values range
17 to overlay planes.
19 Selects the composition mode for the overlay. Possible values
30 to overlay planes.
32 Stores the x,y overlay position on the display in pixels. The
40 to overlay planes.
42 Stores the raster operation (ROP3) for the overlay. Values
/Linux-v5.4/Documentation/devicetree/
Doverlay-notes.txt5 device tree overlay functionality residing in drivers/of/overlay.c and is a
11 A Device Tree's overlay purpose is to modify the kernel's live tree, and
37 The overlay bar.dts, when loaded (and resolved as described in [1]) should
81 As a result of the overlay, a new device node (bar) has been created
90 1. Call of_overlay_fdt_apply() to create and apply an overlay changeset. The
91 return value is an error or a cookie identifying this overlay.
93 2. Call of_overlay_remove() to remove and cleanup the overlay changeset
95 overlay changeset that is stacked by another will not be permitted.
102 overlay operations. See of_overlay_notifier_register/unregister and
112 The DTS of an overlay should have the following format:
[all …]
/Linux-v5.4/Documentation/filesystems/
Doverlayfs.txt8 overlay-filesystem functionality in Linux (sometimes referred to as
9 union-filesystems). An overlay-filesystem tries to present a
17 The overlay filesystem approach is 'hybrid', because the objects that
23 While directories will report an st_dev from the overlay-filesystem,
30 In the special case of all overlay layers on the same underlying
31 filesystem, all objects will report an st_dev from the overlay
33 make the overlay mount more compliant with filesystem scanners and
34 overlay objects will be distinguishable from the corresponding
37 On 64bit systems, even if all overlay layers are not on the same
42 handles with 32bit inode number encoding (e.g. ext4), overlay filesystem
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-overlay.rst19 VIDIOC_OVERLAY - Start or stop video overlay
42 This ioctl is part of the :ref:`video overlay <overlay>` I/O method.
43 Applications call :ref:`VIDIOC_OVERLAY` to start or stop the overlay. It
45 application to stop overlay, to one to start.
60 The overlay parameters have not been set up. See :ref:`overlay`
Ddev-overlay.rst18 Video overlay devices have the ability to genlock (TV-)video into the
26 Video overlay devices are accessed through the same character special
32 capturing. The overlay function is only available after calling
35 The driver may support simultaneous overlay and capturing using the
38 directed away from overlay to capture, or one field may be used for
39 overlay and the other for capture if the capture parameters permit this.
42 overlay. This must be supported by all drivers capable of simultaneous
43 capturing and overlay. Optionally these drivers may also permit
44 capturing and overlay with a single file descriptor for compatibility
51 Devices supporting the video overlay interface set the
[all …]
Ddev-osd.rst18 Some video output devices can overlay a framebuffer image onto the
19 outgoing video signal. Applications can set up such an overlay using
21 :ref:`Video Overlay <overlay>` interface.
110 for the video output overlay, or -1 if no device was found. */
116 The overlay is controlled by source and target rectangles. The source
122 :ref:`Video Overlay <overlay>` interface.
126 clipping/blending method to be used for the overlay. To get the current
142 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` this also works after the overlay has been enabled.
145 of the target rectangle. The scaling factor of the overlay is implied by
156 There is no V4L2 ioctl to enable or disable the overlay, however the
Dvidioc-g-fbuf.rst19 VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters
47 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
48 (OSD). The type of overlay is implied by the device type (capture or
51 device must not support both kinds of overlay.
54 destructive overlay copies captured video images into the video memory
55 of a graphics card. A non-destructive overlay blends video images into a
69 this structure, the driver prepares for the overlay and returns the
76 the overlay and returns the framebuffer parameters as :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
83 destructive video overlay.
282 the overlay is destructive. This flag is typically set by any
[all …]
Dio.rst29 Video overlay can be considered another I/O method, although the
31 initiating video overlay with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
32 ioctl. For more information see :ref:`overlay`.
34 Generally exactly one I/O method, including overlay, is associated with
37 and drivers permitting simultaneous video capturing and overlay using
/Linux-v5.4/fs/overlayfs/
DKconfig6 An overlay filesystem combines two filesystems - an 'upper' filesystem
18 If this config option is enabled then overlay filesystems will use
25 an overlay which has redirects on a kernel that doesn't support this
49 If this config option is enabled then overlay filesystems will use
59 That is, mounting an overlay which has an inodes index on a kernel
70 If this config option is enabled then overlay filesystems will use
71 the index directory to decode overlay NFS file handles by default.
77 directory. This full index is used to detect overlay filesystems
84 That is, mounting an overlay which has a full index on a kernel
97 If this config option is enabled then overlay filesystems will use
[all …]
DMakefile6 obj-$(CONFIG_OVERLAY_FS) += overlay.o
8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/Linux-v5.4/drivers/staging/pi433/Documentation/devicetree/
Dpi433.txt49 Since Raspbian supports device tree overlays, you may use an overlay instead
51 To use the overlay, you need to compile the file pi433-overlay.dts which can
55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dts'
57 For compiling inside of the kernel tree, you need to copy pi433-overlay.dts to
60 kernel make files compile the device tree overlay for you.
/Linux-v5.4/Documentation/arm/omap/
Ddss.rst46 The DSS driver models OMAP's overlays, overlay managers and displays in a
48 modelling the hardware overlays, omapdss supports virtual overlays and overlay
133 screen. The overlay may be smaller than framebuffer, thus displaying only
134 part of the framebuffer. The position of the overlay may be changed if
135 the overlay is smaller than the display.
141 on all of the overlays. Note that in this case the overlay input sizes must be
143 framebuffer can be connected to any overlay.
145 An overlay can be connected to one overlay manager. Also DISPC overlays can be
146 connected only to DISPC overlay managers, and virtual overlays can be only
149 An overlay manager can be connected to one display. There are certain
[all …]
/Linux-v5.4/Documentation/fb/
Dpxafb.rst93 However, there are some differences between these overlay framebuffers
96 1. overlay can start at a 32-bit word aligned position within the base
101 2. overlay framebuffer is allocated dynamically according to specified
118 a. overlay does not support panning in x-direction, thus
121 b. line length of overlay(s) must be on a 32-bit word boundary,
130 d. the rectangle of the overlay should be within the base plane,
133 Applications should follow the sequence below to operate an overlay
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c397 struct omap_overlay *overlay; in overlay_attr_show() local
400 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_show()
406 return overlay_attr->show(overlay, buf); in overlay_attr_show()
412 struct omap_overlay *overlay; in overlay_attr_store() local
415 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_store()
421 return overlay_attr->store(overlay, buf, size); in overlay_attr_store()
DMakefile8 omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \
/Linux-v5.4/Documentation/devicetree/bindings/fpga/
Dfpga-region.txt108 When a DT overlay that targets a FPGA Region is applied, the FPGA Region will
114 4. The Device Tree overlay is accepted into the live tree.
117 When the overlay is removed, the child nodes will be removed and the FPGA Region
133 The intended use is that a Device Tree overlay (DTO) can be used to reprogram an
140 FPGA. After reprogramming is successful, the overlay is accepted into the live
178 If this property is in an overlay targeting a FPGA region, it is a
200 In the example below, when an overlay is applied targeting fpga-region0,
205 firmware specified in the overlay is loaded to the FPGA using the FPGA manager
207 reenabled and the overlay makes it into the live device tree. The child devices
209 and the overlay is rejected. The overlay's ranges property maps the lwhps
[all …]

12345