Home
last modified time | relevance | path

Searched full:canvas (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/linux/drivers/soc/amlogic/
H A Dmeson-canvas.c13 #include <linux/soc/amlogic/meson-canvas.h>
37 spinlock_t lock; /* canvas device lock */
42 static void canvas_write(struct meson_canvas *canvas, u32 reg, u32 val) in canvas_write() argument
44 writel_relaxed(val, canvas->reg_base + reg); in canvas_write()
47 static u32 canvas_read(struct meson_canvas *canvas, u32 reg) in canvas_read() argument
49 return readl_relaxed(canvas->reg_base + reg); in canvas_read()
56 struct meson_canvas *canvas; in meson_canvas_get() local
58 canvas_node = of_parse_phandle(dev->of_node, "amlogic,canvas", 0); in meson_canvas_get()
71 * If priv is NULL, it's probably because the canvas hasn't in meson_canvas_get()
75 canvas = dev_get_drvdata(&canvas_pdev->dev); in meson_canvas_get()
[all …]
H A DKconfig5 tristate "Amlogic Meson Canvas driver"
9 Say yes to support the canvas IP for Amlogic SoCs.
H A DMakefile2 obj-$(CONFIG_MESON_CANVAS) += meson-canvas.o
/openbmc/linux/include/linux/soc/amlogic/
H A Dmeson-canvas.h27 * meson_canvas_get() - get a canvas provider instance
34 * meson_canvas_alloc() - take ownership of a canvas
36 * @canvas: canvas provider instance retrieved from meson_canvas_get()
37 * @canvas_index: will be filled with the canvas ID
39 int meson_canvas_alloc(struct meson_canvas *canvas, u8 *canvas_index);
42 * meson_canvas_free() - remove ownership from a canvas
44 * @canvas: canvas provider instance retrieved from meson_canvas_get()
45 * @canvas_index: canvas ID that was obtained via meson_canvas_alloc()
47 int meson_canvas_free(struct meson_canvas *canvas, u8 canvas_index);
50 * meson_canvas_config() - configure a canvas
[all …]
/openbmc/linux/Documentation/devicetree/bindings/soc/amlogic/
H A Damlogic,canvas.yaml5 $id: http://devicetree.org/schemas/soc/amlogic/amlogic,canvas.yaml#
8 title: Amlogic Canvas Video Lookup Table
15 A canvas is a collection of metadata that describes a pixel buffer.
19 Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data
23 Amlogic SoCs have 256 canvas.
30 - amlogic,meson8-canvas
31 - amlogic,meson8b-canvas
32 - amlogic,meson8m2-canvas
33 - const: amlogic,canvas
34 - const: amlogic,canvas # GXBB and newer SoCs
[all …]
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_drv.c16 #include <linux/soc/amlogic/meson-canvas.h>
243 priv->canvas = meson_canvas_get(dev); in meson_drv_bind_master()
244 if (IS_ERR(priv->canvas)) { in meson_drv_bind_master()
245 ret = PTR_ERR(priv->canvas); in meson_drv_bind_master()
249 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_osd1); in meson_drv_bind_master()
252 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_0); in meson_drv_bind_master()
255 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_1); in meson_drv_bind_master()
258 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_2); in meson_drv_bind_master()
366 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_2); in meson_drv_bind_master()
368 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_bind_master()
[all …]
H A Dmeson_crtc.c13 #include <linux/soc/amlogic/meson-canvas.h>
370 meson_canvas_config(priv->canvas, priv->canvas_id_osd1, in meson_crtc_irq()
443 meson_canvas_config(priv->canvas, in meson_crtc_irq()
453 meson_canvas_config(priv->canvas, in meson_crtc_irq()
463 meson_canvas_config(priv->canvas, in meson_crtc_irq()
H A Dmeson_drv.h50 struct meson_canvas *canvas; member
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Damlogic,gx-vdec.yaml81 amlogic,canvas:
82 description: should point to a canvas provider node
122 - amlogic,canvas
139 amlogic,canvas = <&canvas>;
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Damlogic,meson-vpu.yaml33 It fetches the frames addresses, stride and parameters from the "Canvas" memory.
81 amlogic,canvas:
82 description: should point to a canvas provider node
118 - amlogic,canvas
131 amlogic,canvas = <&canvas>;
/openbmc/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8m2.dtsi18 /* the offset of the canvas registers has changed compared to Meson8 */
21 canvas: video-lut@48 { label
22 compatible = "amlogic,meson8m2-canvas", "amlogic,canvas";
/openbmc/openbmc-tools/dbus-vis/
H A Dinitialization.js155 ipmi_timeline_view.Canvas = document.getElementById('my_canvas_ipmi');
156 dbus_timeline_view.Canvas = document.getElementById('my_canvas_dbus');
157 boost_asio_handler_timeline_view.Canvas =
161 ipmi_timeline_view.Canvas.style.display = 'none';
162 dbus_timeline_view.Canvas.style.display = 'none';
163 boost_asio_handler_timeline_view.Canvas.style.display = 'none';
H A Dindex.html107 <canvas id="my_canvas_dbus" width="1400" height="600"></canvas>
108 <canvas id="my_canvas_ipmi" width="1400" height="200"></canvas>
109 <canvas id="my_canvas_boost_asio_handler" width="1400" height="200"></canvas>
H A Dipmi_timeline_vis.js13 // picks up the updated Intervals and Titles arrays and draws on the canvas
207 // Dirty flags for determining when to redraw the canvas
215 let CurrDeltaX = 0; // Proportion of Canvas to scroll per frame.
585 let Canvas = document.getElementById('my_canvas_ipmi'); variable
587 Canvas.onmousemove = function(event) {
599 u.MouseState.x = event.pageX - Canvas.offsetLeft;
610 Canvas.onmouseover = function() {
614 Canvas.onmouseleave = function() {
618 Canvas.onmousedown = function(event) {
624 Canvas.onmouseup = function(event) {
[all …]
H A Dtimeline_view.js144 this.Canvas = undefined;
477 this.MouseState.y >= this.Canvas.height - BOTTOM_HORIZONTAL_SCROLLBAR_HEIGHT &&
478 this.MouseState.y <= this.Canvas.height) {
509 const diff_title_idx = tvh * diff_y / this.Canvas.height;
650 if (this.MouseState.y > this.Canvas.height - BOTTOM_HORIZONTAL_SCROLLBAR_HEIGHT &&
651 this.MouseState.y < this.Canvas.height)
1023 if (this.Canvas == undefined) return;
1072 const width = this.Canvas.width;
1073 const height = this.Canvas.height;
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec.h16 #include <linux/soc/amlogic/meson-canvas.h>
58 * @canvas: canvas provider reference
79 struct meson_canvas *canvas; member
213 * @canvas_alloc: array of all the canvas IDs allocated
214 * @canvas_num: number of canvas IDs allocated
H A Dvdec_helpers.c85 dev_err(sess->core->dev, "Reached max number of canvas\n"); in canvas_alloc()
89 ret = meson_canvas_alloc(sess->core->canvas, canvas_id); in canvas_alloc()
116 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_yuv420m()
122 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_yuv420m()
128 meson_canvas_config(core->canvas, canvas_id[2], buf_paddr[2], in set_canvas_yuv420m()
160 meson_canvas_config(core->canvas, canvas_id[0], buf_paddr[0], in set_canvas_nv12m()
166 meson_canvas_config(core->canvas, canvas_id[1], buf_paddr[1], in set_canvas_nv12m()
H A Dvdec_helpers.h16 * @reg_base: Registry bases of where to write the canvas indexes
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gx.dtsi526 amlogic,canvas = <&canvas>;
549 canvas: video-lut@48 { label
550 compatible = "amlogic,canvas";
634 amlogic,canvas = <&canvas>;
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-graphics/clutter/
H A Dclutter-gtk-1.0.inc1 SUMMARY = "Library for embedding a Clutter canvas in a GTK+ application"
H A Dclutter-1.0.inc2 DESCRIPTION = "Clutter is an Open GL based interactive canvas library, \
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-pycairo_1.27.0.bb1 SUMMARY = "Python bindings for the Cairo canvas library"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/
H A D0002-run-dispmanx-fullscreen.patch28 // Create the canvas
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-surface_aggregator-tabletsw18 - "folded-canvas": The type-cover has been folded back
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_vpu.h67 /* Canvas configuration. */

123