Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/
Dintel_overlay.c214 intel_overlay_map_regs(struct intel_overlay *overlay) in intel_overlay_map_regs() argument
216 struct drm_i915_private *dev_priv = overlay->i915; in intel_overlay_map_regs()
220 regs = (struct overlay_registers __iomem *)overlay->reg_bo->phys_handle->vaddr; in intel_overlay_map_regs()
223 overlay->flip_addr, in intel_overlay_map_regs()
229 static void intel_overlay_unmap_regs(struct intel_overlay *overlay, in intel_overlay_unmap_regs() argument
232 if (!OVERLAY_NEEDS_PHYSICAL(overlay->i915)) in intel_overlay_unmap_regs()
236 static void intel_overlay_submit_request(struct intel_overlay *overlay, in intel_overlay_submit_request() argument
240 GEM_BUG_ON(i915_gem_active_peek(&overlay->last_flip, in intel_overlay_submit_request()
241 &overlay->i915->drm.struct_mutex)); in intel_overlay_submit_request()
242 i915_gem_active_set_retire_fn(&overlay->last_flip, retire, in intel_overlay_submit_request()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c256 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop() local
257 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop()
304 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_update_stream() local
305 struct vmw_stream *stream = &overlay->stream[arg->stream_id]; in vmw_overlay_update_stream()
367 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_stop_all() local
370 if (!overlay) in vmw_overlay_stop_all()
373 mutex_lock(&overlay->mutex); in vmw_overlay_stop_all()
376 struct vmw_stream *stream = &overlay->stream[i]; in vmw_overlay_stop_all()
384 mutex_unlock(&overlay->mutex); in vmw_overlay_stop_all()
398 struct vmw_overlay *overlay = dev_priv->overlay_priv; in vmw_overlay_resume_all() local
[all …]
/drivers/of/
Dresolver.c46 static void adjust_overlay_phandles(struct device_node *overlay, in adjust_overlay_phandles() argument
54 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
55 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
58 for_each_property_of_node(overlay, prop) { in adjust_overlay_phandles()
71 *(__be32 *)prop->value = cpu_to_be32(overlay->phandle); in adjust_overlay_phandles()
74 for_each_child_of_node(overlay, child) in adjust_overlay_phandles()
78 static int update_usages_of_a_phandle_reference(struct device_node *overlay, in update_usages_of_a_phandle_reference() argument
117 refnode = __of_find_node_by_full_path(of_node_get(overlay), node_path); in update_usages_of_a_phandle_reference()
167 struct device_node *overlay, int phandle_delta) in adjust_local_phandle_references() argument
190 for_each_property_of_node(overlay, prop) { in adjust_local_phandle_references()
[all …]
Doverlay.c37 struct device_node *overlay; member
59 struct device_node *target, const struct device_node *overlay,
86 nd.overlay = ovinfo->overlay; in of_overlay_notify()
121 overlay_name = ovinfo->overlay->full_name; in dup_and_fixup_symbol_prop()
248 struct device_node *target, const struct device_node *overlay, in of_overlay_apply_one() argument
255 for_each_property_of_node(overlay, prop) { in of_overlay_apply_one()
269 for_each_child_of_node(overlay, child) { in of_overlay_apply_one()
299 err = of_overlay_apply_one(ov, ovinfo->target, ovinfo->overlay, in of_overlay_apply()
356 ovinfo->overlay = of_get_child_by_name(info_node, "__overlay__"); in of_fill_overlay_info()
357 if (ovinfo->overlay == NULL) in of_fill_overlay_info()
[all …]
DMakefile16 obj-$(CONFIG_OF_OVERLAY) += overlay.o
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c61 static u32 fmt_to_reg(struct mmp_overlay *overlay, int pix_fmt) in fmt_to_reg() argument
65 vid = overlay_is_vid(overlay); in fmt_to_reg()
132 static void dmafetch_set_fmt(struct mmp_overlay *overlay) in dmafetch_set_fmt() argument
135 struct mmp_path *path = overlay->path; in dmafetch_set_fmt()
137 tmp &= ~dma_mask(overlay_is_vid(overlay)); in dmafetch_set_fmt()
138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt()
142 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) in overlay_set_win() argument
144 struct lcd_regs *regs = path_regs(overlay->path); in overlay_set_win()
147 memcpy(&overlay->win, win, sizeof(struct mmp_win)); in overlay_set_win()
149 mutex_lock(&overlay->access_ok); in overlay_set_win()
[all …]
/drivers/fpga/
Dfpga-region.c179 struct device_node *overlay) in fpga_region_get_bridges() argument
196 br = of_parse_phandle(overlay, "fpga-bridges", 0); in fpga_region_get_bridges()
199 np = overlay; in fpga_region_get_bridges()
241 struct device_node *overlay) in fpga_region_program_fpga() argument
259 ret = fpga_region_get_bridges(region, overlay); in fpga_region_program_fpga()
307 static int child_regions_with_firmware(struct device_node *overlay) in child_regions_with_firmware() argument
313 of_node_get(overlay); in child_regions_with_firmware()
315 child_region = of_find_matching_node(overlay, fpga_region_of_match); in child_regions_with_firmware()
375 ret = child_regions_with_firmware(nd->overlay); in fpga_region_notify_pre_apply()
380 if (of_property_read_bool(nd->overlay, "partial-fpga-config")) in fpga_region_notify_pre_apply()
[all …]
/drivers/of/unittest-data/
Dtests-overlay.dtsi5 overlay-node {
120 target-path = "/testcase-data/overlay-node/test-bus/test-unittest0";
130 target-path = "/testcase-data/overlay-node/test-bus/test-unittest1";
176 /* test overlay apply revert */
179 target-path = "/testcase-data/overlay-node/test-bus/test-unittest5";
189 target-path = "/testcase-data/overlay-node/test-bus/test-unittest6";
197 target-path = "/testcase-data/overlay-node/test-bus/test-unittest7";
207 target-path = "/testcase-data/overlay-node/test-bus/test-unittest8";
215 target-path = "/testcase-data/overlay-node/test-bus/test-unittest8";
224 target-path = "/testcase-data/overlay-node/test-bus";
[all …]
DMakefile8 obj-y += overlay.dtb.o
13 targets += overlay.dtb overlay.dtb.S
Doverlay_bad_phandle.dts12 // This label should cause an error when the overlay
Doverlay_bad_symbol.dts11 // This label should cause an error when the overlay
/drivers/gpu/drm/tilcdc/
Dtilcdc_slave_compat.c147 struct device_node *overlay; in tilcdc_get_overlay() local
160 of_fdt_unflatten_tree(overlay_data, NULL, &overlay); in tilcdc_get_overlay()
161 if (!overlay) { in tilcdc_get_overlay()
166 of_node_set_flag(overlay, OF_DETACHED); in tilcdc_get_overlay()
167 ret = of_resolve_phandles(overlay); in tilcdc_get_overlay()
173 return overlay; in tilcdc_get_overlay()
202 struct device_node *overlay, *encoder; in tilcdc_convert_slave_node() local
224 overlay = tilcdc_get_overlay(&kft); in tilcdc_convert_slave_node()
225 if (!overlay) in tilcdc_convert_slave_node()
228 encoder = of_find_matching_node(overlay, tilcdc_tda998x_of_match); in tilcdc_convert_slave_node()
[all …]
Dtilcdc_slave_compat.dts2 * DTS overlay for converting ti,tilcdc,slave binding to new binding.
/drivers/staging/pi433/Documentation/devicetree/
Dpi433.txt49 Since Raspbian supports device tree overlays, you may use and overlay, instead
51 For using the overlay, you need to compile the file pi433-overlay.dts you 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.
/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c408 struct omap_overlay *overlay; in overlay_attr_show() local
411 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_show()
417 return overlay_attr->show(overlay, buf); in overlay_attr_show()
423 struct omap_overlay *overlay; in overlay_attr_store() local
426 overlay = container_of(kobj, struct omap_overlay, kobj); in overlay_attr_store()
432 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 \
/drivers/video/fbdev/mmp/fb/
Dmmpfb.c357 mmp_overlay_set_addr(fbi->overlay, &addr); in mmpfb_pan_display()
410 mmp_overlay_set_win(fbi->overlay, &win); in mmpfb_set_win()
436 mmp_overlay_set_addr(fbi->overlay, &addr); in mmpfb_set_par()
456 mmp_overlay_set_addr(fbi->overlay, &addr); in mmpfb_power()
458 mmp_overlay_set_onoff(fbi->overlay, power); in mmpfb_power()
593 fbi->overlay = mmp_path_get_overlay(fbi->path, mi->overlay_id); in mmpfb_probe()
594 if (!fbi->overlay) { in mmpfb_probe()
599 mmp_overlay_set_fetch(fbi->overlay, mi->dmafetch_id); in mmpfb_probe()
Dmmpfb.h44 struct mmp_overlay *overlay; member
/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c668 .alpha = dev->overlay.global_alpha, in set_overlay_params()
671 .x = dev->overlay.w.left, in set_overlay_params()
672 .y = dev->overlay.w.top, in set_overlay_params()
673 .width = dev->overlay.w.width, in set_overlay_params()
674 .height = dev->overlay.w.height, in set_overlay_params()
705 f->fmt.win = dev->overlay; in vidioc_g_fmt_vid_overlay()
748 dev->overlay = f->fmt.win; in vidioc_s_fmt_vid_overlay()
1873 dev->overlay.w.left = 150; in bm2835_mmal_init()
1874 dev->overlay.w.top = 50; in bm2835_mmal_init()
1875 dev->overlay.w.width = 1024; in bm2835_mmal_init()
[all …]
/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c374 uint32_t overlay = 1; in nv04_update_plane() local
425 overlay |= 0x10; in nv04_update_plane()
427 overlay |= 0x100; in nv04_update_plane()
429 nvif_wr32(dev, NV_PVIDEO_OVERLAY, overlay); in nv04_update_plane()
DKbuild8 nouveau-y += dispnv04/overlay.o
/drivers/usb/host/whci/
Ddebug.c58 qset->qh.overlay.qtd.status, qset->qh.overlay.qtd.options); in qset_print()
/drivers/net/ethernet/cisco/enic/
Dvnic_dev.h182 int vnic_dev_overlay_offload_ctrl(struct vnic_dev *vdev, u8 overlay, u8 config);
183 int vnic_dev_overlay_offload_cfg(struct vnic_dev *vdev, u8 overlay,
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c484 struct atmel_hlcdc_plane *overlay; in atmel_hlcdc_crtc_create() local
488 overlay = atmel_hlcdc_layer_to_plane(dc->layers[i]); in atmel_hlcdc_crtc_create()
489 overlay->base.possible_crtcs = 1 << crtc->id; in atmel_hlcdc_crtc_create()
/drivers/gpu/drm/vmwgfx/device_include/
Dsvga_overlay.h92 uint32 overlay; member

12