/linux/drivers/soc/amlogic/ |
H A D | meson-canvas.c | 13 #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 D | Kconfig | 5 tristate "Amlogic Meson Canvas driver" 9 Say yes to support the canvas IP for Amlogic SoCs.
|
H A D | Makefile | 2 obj-$(CONFIG_MESON_CANVAS) += meson-canvas.o
|
/linux/include/linux/soc/amlogic/ |
H A D | meson-canvas.h | 27 * 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 …]
|
/linux/Documentation/devicetree/bindings/soc/amlogic/ |
H A D | amlogic,canvas.yaml | 5 $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 …]
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_drv.c | 17 #include <linux/soc/amlogic/meson-canvas.h> 245 priv->canvas = meson_canvas_get(dev); in meson_drv_bind_master() 246 if (IS_ERR(priv->canvas)) { in meson_drv_bind_master() 247 ret = PTR_ERR(priv->canvas); in meson_drv_bind_master() 251 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_osd1); in meson_drv_bind_master() 254 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_0); in meson_drv_bind_master() 257 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_1); in meson_drv_bind_master() 260 ret = meson_canvas_alloc(priv->canvas, &priv->canvas_id_vd1_2); in meson_drv_bind_master() 368 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_2); in meson_drv_bind_master() 370 meson_canvas_free(priv->canvas, priv->canvas_id_vd1_1); in meson_drv_bind_master() [all …]
|
H A D | meson_crtc.c | 13 #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 D | meson_drv.h | 50 struct meson_canvas *canvas; member
|
H A D | meson_plane.c | 180 /* Set up BLK0 to point to the right canvas */ in meson_plane_atomic_update() 367 /* Update Canvas with buffer address */ in meson_plane_atomic_update()
|
H A D | meson_overlay.c | 648 /* Update Canvas with buffer address */ in meson_overlay_atomic_update()
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | amlogic,gx-vdec.yaml | 82 amlogic,canvas: 83 description: should point to a canvas provider node 123 - amlogic,canvas 140 amlogic,canvas = <&canvas>;
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | amlogic,meson-vpu.yaml | 33 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>;
|
/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8m2.dtsi | 18 /* the offset of the canvas registers has changed compared to Meson8 */ 21 canvas: video-lut@48 { label 22 compatible = "amlogic,meson8m2-canvas", "amlogic,canvas";
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec.h | 16 #include <linux/soc/amlogic/meson-canvas.h> 58 * @canvas: canvas provider reference 79 struct meson_canvas *canvas; member 212 * @canvas_alloc: array of all the canvas IDs allocated 213 * @canvas_num: number of canvas IDs allocated
|
H A D | vdec_helpers.c | 85 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 D | vdec_helpers.h | 16 * @reg_base: Registry bases of where to write the canvas indexes
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gx.dtsi | 526 amlogic,canvas = <&canvas>; 549 canvas: video-lut@48 { label 550 compatible = "amlogic,canvas"; 634 amlogic,canvas = <&canvas>;
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-surface_aggregator-tabletsw | 18 - "folded-canvas": The type-cover has been folded back
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-lite-reg.h | 80 /* Camera Output Canvas */
|
/linux/drivers/platform/surface/ |
H A D | surface_aggregator_tabletsw.c | 230 return "folded-canvas"; in ssam_kip_cover_state_name() 371 return "folded-canvas"; in ssam_pos_state_name_cover()
|
/linux/drivers/mmc/core/ |
H A D | quirks.h | 20 * Kingston Canvas Go! Plus microSD cards never finish SD cache flush.
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_osd.rst | 21 It is a kind of canvas one can draw on.
|
/linux/Documentation/hid/ |
H A D | hid-bpf.rst | 354 and *brush on a painting canvas*. To make things even better, we can control the
|
/linux/drivers/media/usb/gspca/ |
H A D | spca508.c | 558 /* This line seems to setup the frame/canvas */
|
/linux/drivers/hid/ |
H A D | wacom_sys.c | 217 * The Dell Canvas 27 needs to be switched to its vendor-defined in wacom_hid_usage_quirk()
|