| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_overlay.c | 40 /* Limits for overlay size. According to intel doc, the real limits are: 50 /* overlay register definitions */ 113 /* overlay flip addr flag */ 124 /* memory bufferd overlay registers */ 227 alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) in alloc_request() argument 232 overlay->flip_complete = fn; in alloc_request() 234 rq = i915_request_create(overlay->context); in alloc_request() 238 err = i915_active_add_request(&overlay->last_flip, rq); in alloc_request() 247 /* overlay needs to be disable in OCMD reg */ 248 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_overlay.c | 44 /* Limits for overlay size. According to intel doc, the real limits are: 54 /* overlay register definitions */ 117 /* overlay flip addr flag */ 128 /* memory bufferd overlay registers */ 231 alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) in alloc_request() argument 236 overlay->flip_complete = fn; in alloc_request() 238 rq = i915_request_create(overlay->context); in alloc_request() 242 err = i915_active_add_request(&overlay->last_flip, rq); in alloc_request() 251 /* overlay needs to be disable in OCMD reg */ 252 static int intel_overlay_on(struct intel_overlay *overlay) in intel_overlay_on() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
| D | omap_overlay.c | 14 * overlay funcs 24 * Find a free overlay with the required caps and supported fourcc 62 * Assign a new overlay to a plane with the required caps and supported fourcc 63 * If a plane need a new overlay, the previous one should have been released 69 u32 caps, u32 fourcc, struct omap_hw_overlay **overlay, in omap_overlay_assign() argument 82 *overlay = ovl; in omap_overlay_assign() 89 *overlay = NULL; in omap_overlay_assign() 108 * Release an overlay from a plane if the plane gets not visible or the plane 109 * need a new overlay if overlay caps changes. 113 void omap_overlay_release(struct drm_atomic_state *s, struct omap_hw_overlay *overlay) in omap_overlay_release() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/of/ |
| D | resolver.c | 40 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() 151 * Subtree @local_fixups, which is overlay node __local_fixups__, 152 * mirrors the fragment node structure at the root of the overlay. [all …]
|
| D | overlay.c | 9 #define pr_fmt(fmt) "OF: overlay: " fmt 27 * struct target - info about current target node as recursing through overlay 28 * @np: node where current level of overlay will be applied 32 * an overlay fragment, which is a devicetree subtree. Initially @np is a node 33 * in the live devicetree where the overlay subtree is targeted to be grafted 34 * into. When recursing to the next level of the overlay subtree, the target 35 * also recurses to the next level of the live devicetree, as long as overlay 36 * subtree node also exists in the live devicetree. When a node in the overlay 47 * struct fragment - info about fragment nodes in overlay expanded device tree 48 * @overlay: pointer to the __overlay__ node [all …]
|
| D | unittest.c | 1557 * the respective unittest overlay contains a label that has the in update_node_properties() 1562 * overlay dts files with an odd prefix that is unlikely to be in update_node_properties() 1904 "Adding overlay 'overlay_gpio_01' failed\n"); in of_unittest_overlay_gpio() 1907 "Adding overlay 'overlay_gpio_02a' failed\n"); in of_unittest_overlay_gpio() 1910 "Adding overlay 'overlay_gpio_02b' failed\n"); in of_unittest_overlay_gpio() 1933 * apply overlay will result in in of_unittest_overlay_gpio() 1943 "Adding overlay 'overlay_gpio_03' failed\n"); in of_unittest_overlay_gpio() 1957 * apply the overlay will result in in of_unittest_overlay_gpio() 1967 "Adding overlay 'overlay_gpio_04a' failed\n"); in of_unittest_overlay_gpio() 1977 * apply the overlay will result in in of_unittest_overlay_gpio() [all …]
|
| /kernel/linux/linux-5.10/drivers/of/ |
| D | resolver.c | 40 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() 151 * Subtree @local_fixups, which is overlay node __local_fixups__, 152 * mirrors the fragment node structure at the root of the overlay. [all …]
|
| D | overlay.c | 9 #define pr_fmt(fmt) "OF: overlay: " fmt 27 * struct target - info about current target node as recursing through overlay 28 * @np: node where current level of overlay will be applied 32 * an overlay fragment, which is a devicetree subtree. Initially @np is a node 33 * in the live devicetree where the overlay subtree is targeted to be grafted 34 * into. When recursing to the next level of the overlay subtree, the target 35 * also recurses to the next level of the live devicetree, as long as overlay 36 * subtree node also exists in the live devicetree. When a node in the overlay 47 * struct fragment - info about fragment nodes in overlay expanded device tree 48 * @target: target of the overlay operation [all …]
|
| D | unittest.c | 1355 * the respective unittest overlay contains a label that has the in update_node_properties() 1360 * overlay dts files with an odd prefix that is unlikely to be in update_node_properties() 1700 "Adding overlay 'overlay_gpio_01' failed\n"); in of_unittest_overlay_gpio() 1703 "Adding overlay 'overlay_gpio_02a' failed\n"); in of_unittest_overlay_gpio() 1706 "Adding overlay 'overlay_gpio_02b' failed\n"); in of_unittest_overlay_gpio() 1745 * apply overlay will result in in of_unittest_overlay_gpio() 1758 "Adding overlay 'overlay_gpio_03' failed\n"); in of_unittest_overlay_gpio() 1775 * apply the overlay will result in in of_unittest_overlay_gpio() 1785 "Adding overlay 'overlay_gpio_04a' failed\n"); in of_unittest_overlay_gpio() 1795 * apply the overlay will result in in of_unittest_overlay_gpio() [all …]
|
| /kernel/linux/linux-5.10/drivers/fpga/ |
| D | of-fpga-region.c | 106 /* If overlay has a list of bridges, use it. */ in of_fpga_region_get_bridges() 107 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() 143 * @overlay: device node of the overlay 145 * If the overlay adds child FPGA regions, they are not allowed to have 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() 179 * of_fpga_region_parse_ov - parse and check overlay applied to region 182 * @overlay: overlay applied to the FPGA region [all …]
|
| /kernel/linux/linux-6.6/drivers/fpga/ |
| D | of-fpga-region.c | 108 /* If overlay has a list of bridges, use it. */ in of_fpga_region_get_bridges() 109 br = of_parse_phandle(info->overlay, "fpga-bridges", 0); in of_fpga_region_get_bridges() 112 np = info->overlay; in of_fpga_region_get_bridges() 145 * @overlay: device node of the overlay 147 * If the overlay adds child FPGA regions, they are not allowed to have 152 static int child_regions_with_firmware(struct device_node *overlay) in child_regions_with_firmware() argument 158 of_node_get(overlay); in child_regions_with_firmware() 160 child_region = of_find_matching_node(overlay, fpga_region_of_match); in child_regions_with_firmware() 181 * of_fpga_region_parse_ov - parse and check overlay applied to region 184 * @overlay: overlay applied to the FPGA region [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_overlay.c | 46 * Overlay control 50 * Each stream is a single overlay. In Xv these are called ports. 239 * The caller must hold the overlay lock. 248 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop() local 249 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop() 285 * The caller must hold the overlay lock. 296 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_update_stream() local 297 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream() 355 * Takes the overlay lock. 359 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_overlay.c | 46 * Overlay control 50 * Each stream is a single overlay. In Xv these are called ports. 245 * The caller must hold the overlay lock. 254 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() 291 * The caller must hold the overlay lock. 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() 361 * Takes the overlay lock. 365 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/ |
| D | overlay-notes.rst | 4 Devicetree Overlay Notes 8 device tree overlay functionality residing in drivers/of/overlay.c and is a 14 A Devicetree's overlay purpose is to modify the kernel's live tree, and 41 The overlay bar.dts, 44 ---- bar.dts - overlay target location by label ---------------------------- 81 As a result of the overlay, a new device node (bar) has been created 86 will not be available to resolve the overlay node(s) to the proper location 88 location by label syntax is preferred because the overlay can be applied to 93 ---- bar.dts - overlay target location by explicit path -------------------- 106 Overlay in-kernel API [all …]
|
| /kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
| D | fdt_overlay.c | 16 * @fdto: pointer to the device tree overlay blob 17 * @fragment: node offset of the fragment in the overlay 20 * overlay fragment when that fragment uses a phandle (target 46 * @fdto: Device tree overlay blob 47 * @fragment: node offset of the fragment in the overlay 86 * overlay in overlay_get_target() 105 * @node: Device tree overlay blob 143 * @fdto: Device tree overlay blob 148 * of a given node. This is mainly use as part of the overlay 149 * application process, when we want to update all the overlay [all …]
|
| /kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
| D | fdt_overlay.c | 16 * @fdto: pointer to the device tree overlay blob 17 * @fragment: node offset of the fragment in the overlay 20 * overlay fragment when that fragment uses a phandle (target 71 * overlay in fdt_overlay_target_offset() 90 * @node: Device tree overlay blob 128 * @fdto: Device tree overlay blob 133 * of a given node. This is mainly use as part of the overlay 134 * application process, when we want to update all the overlay 165 * overlay_adjust_local_phandles - Adjust the phandles of a whole overlay 166 * @fdto: Device tree overlay blob [all …]
|
| /kernel/linux/linux-6.6/Documentation/filesystems/ |
| D | overlayfs.rst | 6 Overlay Filesystem 10 overlay-filesystem functionality in Linux (sometimes referred to as 11 union-filesystems). An overlay-filesystem tries to present a 16 Overlay objects 19 The overlay filesystem approach is 'hybrid', because the objects that 25 While directories will report an st_dev from the overlay-filesystem, 32 In the special case of all overlay layers on the same underlying 33 filesystem, all objects will report an st_dev from the overlay 35 make the overlay mount more compliant with filesystem scanners and 36 overlay objects will be distinguishable from the corresponding [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | overlayfs.rst | 6 Overlay Filesystem 10 overlay-filesystem functionality in Linux (sometimes referred to as 11 union-filesystems). An overlay-filesystem tries to present a 16 Overlay objects 19 The overlay filesystem approach is 'hybrid', because the objects that 25 While directories will report an st_dev from the overlay-filesystem, 32 In the special case of all overlay layers on the same underlying 33 filesystem, all objects will report an st_dev from the overlay 35 make the overlay mount more compliant with filesystem scanners and 36 overlay objects will be distinguishable from the corresponding [all …]
|
| /kernel/linux/linux-5.10/include/video/ |
| D | mmp_disp.h | 66 /* parameters used by path/overlay */ 67 /* overlay related para: win/addr */ 137 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); 143 /* overlay describes a z-order indexed slot in each path. */ 149 /* overlay info: private data */ 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() [all …]
|
| /kernel/linux/linux-6.6/include/video/ |
| D | mmp_disp.h | 66 /* parameters used by path/overlay */ 67 /* overlay related para: win/addr */ 137 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); 143 /* overlay describes a z-order indexed slot in each path. */ 149 /* overlay info: private data */ 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() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | dev-osd.rst | 6 Video Output Overlay Interface 11 Some video output devices can overlay a framebuffer image onto the 12 outgoing video signal. Applications can set up such an overlay using 14 :ref:`Video Overlay <overlay>` interface. 29 Devices supporting the *Video Output Overlay* interface set the 38 Contrary to the *Video Overlay* interface the framebuffer is normally 103 for the video output overlay, or -1 if no device was found. */ 106 Overlay Window and Scaling 109 The overlay is controlled by source and target rectangles. The source 115 :ref:`Video Overlay <overlay>` interface. [all …]
|
| D | dev-overlay.rst | 6 Video Overlay Interface 9 **Also known as Framebuffer Overlay or Previewing.** 11 Video overlay devices have the ability to genlock (TV-)video into the 19 Video overlay devices are accessed through the same character special 25 capturing. The overlay function is only available after calling 28 The driver may support simultaneous overlay and capturing using the 31 directed away from overlay to capture, or one field may be used for 32 overlay and the other for capture if the capture parameters permit this. 35 overlay. This must be supported by all drivers capable of simultaneous 36 capturing and overlay. Optionally these drivers may also permit [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | dev-osd.rst | 6 Video Output Overlay Interface 11 Some video output devices can overlay a framebuffer image onto the 12 outgoing video signal. Applications can set up such an overlay using 14 :ref:`Video Overlay <overlay>` interface. 29 Devices supporting the *Video Output Overlay* interface set the 38 Contrary to the *Video Overlay* interface the framebuffer is normally 103 for the video output overlay, or -1 if no device was found. */ 106 Overlay Window and Scaling 109 The overlay is controlled by source and target rectangles. The source 115 :ref:`Video Overlay <overlay>` interface. [all …]
|
| D | dev-overlay.rst | 6 Video Overlay Interface 9 **Also known as Framebuffer Overlay or Previewing.** 11 Video overlay devices have the ability to genlock (TV-)video into the 19 Video overlay devices are accessed through the same character special 25 capturing. The overlay function is only available after calling 28 The driver may support simultaneous overlay and capturing using the 31 directed away from overlay to capture, or one field may be used for 32 overlay and the other for capture if the capture parameters permit this. 35 overlay. This must be supported by all drivers capable of simultaneous 36 capturing and overlay. Optionally these drivers may also permit [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/ |
| D | mmp_ctrl.c | 48 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 …]
|