| /linux/Documentation/devicetree/bindings/display/ | 
| H A D | allwinner,sun4i-a10-display-backend.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-backend.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Allwinner A10 Display Engine Backend
 10   - Chen-Yu Tsai <wens@csie.org>
 11   - Maxime Ripard <mripard@kernel.org>
 14   The display engine backend exposes layers and sprites to the system.
 19       - allwinner,sun4i-a10-display-backend
 20       - allwinner,sun5i-a13-display-backend
 [all …]
 
 | 
| H A D | allwinner,sun4i-a10-display-engine.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Allwinner A10 Display Engine Pipeline
 10   - Chen-Yu Tsai <wens@csie.org>
 11   - Maxime Ripard <mripard@kernel.org>
 14   The display engine pipeline (and its entry point, since it can be
 15   either directly the backend or the frontend) is represented as an
 18   The Allwinner A10 Display pipeline is composed of several components
 [all …]
 
 | 
| /linux/drivers/gpu/drm/sun4i/ | 
| H A D | sun4i_backend.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later6  * Maxime Ripard <maxime.ripard@free-electrons.com>
 14 #include <linux/dma-mapping.h>
 35 	/* backend <-> TCON muxing selection done in backend */
 55 	regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG,  in sun4i_backend_apply_color_correction()
 59 		regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i),  in sun4i_backend_apply_color_correction()
 68 	regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG,  in sun4i_backend_disable_color_correction()
 78 	regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG,  in sun4i_backend_commit()
 83 void sun4i_backend_layer_enable(struct sun4i_backend *backend,  in sun4i_backend_layer_enable()  argument
 96 	regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG,  in sun4i_backend_layer_enable()
 [all …]
 
 | 
| H A D | sun4i_tcon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later6  * Maxime Ripard <maxime.ripard@free-electrons.com>
 11 #include <linux/media-bus-format.h>
 48 	drm_connector_list_iter_begin(encoder->dev, &iter);  in sun4i_tcon_get_connector()
 50 		if (connector->encoder == encoder) {  in sun4i_tcon_get_connector()
 66 		return -EINVAL;  in sun4i_tcon_get_pixel_depth()
 68 	info = &connector->display_info;  in sun4i_tcon_get_pixel_depth()
 69 	if (info->num_bus_formats != 1)  in sun4i_tcon_get_pixel_depth()
 70 		return -EINVAL;  in sun4i_tcon_get_pixel_depth()
 72 	switch (info->bus_formats[0]) {  in sun4i_tcon_get_pixel_depth()
 [all …]
 
 | 
| H A D | sun4i_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later6  * Maxime Ripard <maxime.ripard@free-electrons.com>
 11 #include <linux/dma-mapping.h>
 39 	args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2);  in drm_sun4i_gem_dumb_create()
 51 	.name			= "sun4i-drm",
 52 	.desc			= "Allwinner sun4i Display Engine",
 73 		ret = -ENOMEM;  in sun4i_drv_bind()
 77 	drm->dev_private = drv;  in sun4i_drv_bind()
 78 	INIT_LIST_HEAD(&drv->frontend_list);  in sun4i_drv_bind()
 79 	INIT_LIST_HEAD(&drv->engine_list);  in sun4i_drv_bind()
 [all …]
 
 | 
| /linux/drivers/soc/sunxi/ | 
| H A D | sunxi_mbus.c | 1 // SPDX-License-Identifier: GPL-2.05 #include <linux/dma-map-ops.h>
 13 	 * The display engine virtual devices are not strictly speaking
 18 	"allwinner,sun4i-a10-display-engine",
 19 	"allwinner,sun5i-a10s-display-engine",
 20 	"allwinner,sun5i-a13-display-engine",
 21 	"allwinner,sun6i-a31-display-engine",
 22 	"allwinner,sun6i-a31s-display-engine",
 23 	"allwinner,sun7i-a20-display-engine",
 24 	"allwinner,sun8i-a23-display-engine",
 [all …]
 
 | 
| /linux/drivers/gpu/drm/xen/ | 
| H A D | xen_drm_front.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */4  *  Xen para-virtual DRM device
 6  * Copyright (C) 2016-2018 EPAM Systems Inc.
 27  * DOC: Driver modes of operation in terms of display buffers used
 29  * Depending on the requirements for the para-virtualized environment, namely
 31  * host and guest environments, display buffers can be allocated by either
 32  * frontend driver or backend.
 42  * hardware can still reach display buffer memory while importing PRIME
 47  * DOC: Buffers allocated by the backend
 49  * This mode of operation is run-time configured via guest domain configuration
 [all …]
 
 | 
| H A D | xen_drm_front_kms.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT4  *  Xen para-virtual DRM device
 6  * Copyright (C) 2016-2018 EPAM Systems Inc.
 27  * Timeout in ms to wait for frame done event from the backend:
 28  * must be a bit more than IO time-out
 40 	struct xen_drm_front_drm_info *drm_info = fb->dev->dev_private;  in fb_destroy()
 43 	if (drm_dev_enter(fb->dev, &idx)) {  in fb_destroy()
 44 		xen_drm_front_fb_detach(drm_info->front_info,  in fb_destroy()
 60 	struct xen_drm_front_drm_info *drm_info = dev->dev_private;  in fb_create()
 69 	gem_obj = fb->obj[0];  in fb_create()
 [all …]
 
 | 
| H A D | xen_drm_front.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT4  *  Xen para-virtual DRM device
 6  * Copyright (C) 2016-2018 EPAM Systems Inc.
 12 #include <linux/dma-mapping.h>
 26 #include <xen/xen-front-pgdir-shbuf.h>
 46 	dbuf->dbuf_cookie = dbuf_cookie;  in dbuf_add_to_list()
 47 	list_add(&dbuf->list, &front_info->dbuf_list);  in dbuf_add_to_list()
 56 		if (buf->dbuf_cookie == dbuf_cookie)  in dbuf_get()
 67 		if (buf->dbuf_cookie == dbuf_cookie) {  in dbuf_free()
 68 			list_del(&buf->list);  in dbuf_free()
 [all …]
 
 | 
| H A D | xen_drm_front_cfg.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT4  *  Xen para-virtual DRM device
 6  * Copyright (C) 2016-2018 EPAM Systems Inc.
 27 	connector_path = devm_kasprintf(&front_info->xb_dev->dev,  in cfg_connector()
 30 		return -ENOMEM;  in cfg_connector()
 34 			 &connector->width, &connector->height) < 0) {  in cfg_connector()
 36 		connector->width = 0;  in cfg_connector()
 37 		connector->height = 0;  in cfg_connector()
 38 		return -EINVAL;  in cfg_connector()
 41 	connector->xenstore_path = connector_path;  in cfg_connector()
 [all …]
 
 | 
| /linux/include/xen/interface/io/ | 
| H A D | displif.h | 1 /* SPDX-License-Identifier: MIT */5  * Unified display device I/O interface for Xen guest OSes.
 7  * Copyright (C) 2016-2017 EPAM Systems Inc.
 32  * sophisticated use-cases than a framebuffer device can handle. At the
 37  *  o better configuration options including multiple display support
 42  * Note: display resolution (XenStore's "resolution" property) defines
 43  * visible area of the virtual display. At the same time resolution of
 44  * the display and frame buffers may differ: buffers can be smaller, equal
 45  * or bigger than the visible area. This is to enable use-cases, where backend
 46  * may do some post-processing of the display and frame buffers supplied,
 [all …]
 
 | 
| /linux/Documentation/gpu/ | 
| H A D | xen-front.rst | 2  drm/xen-front Xen para-virtualized frontend driver5 This frontend driver implements Xen para-virtualized display
 6 according to the display protocol described at
 9 Driver modes of operation in terms of display buffers used
 12 .. kernel-doc:: drivers/gpu/drm/xen/xen_drm_front.h
 13    :doc: Driver modes of operation in terms of display buffers used
 16 ----------------------------------------
 18 .. kernel-doc:: drivers/gpu/drm/xen/xen_drm_front.h
 21 Buffers allocated by the backend
 22 --------------------------------
 [all …]
 
 | 
| /linux/drivers/scsi/elx/libefc/ | 
| H A D | efclib.h | 1 /* SPDX-License-Identifier: GPL-2.0 */109  * @display_name:	port display name
 113  * @p2p_winner:		TRUE if we're the point-to-point winner
 117  * @tgt_data:		target backend private port data
 118  * @ini_data:		initiator backend private port data
 131  * @p2p_port_id:	our port id for point-to-point
 134  * @p2p_remote_port_id:	remote node's port id for point-to-point
 182  * @display_name:	Node display name
 186  * @ini_domain:		initiator backend private domain data
 187  * @tgt_domain:		target backend private domain data
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/allwinner/ | 
| H A D | sun8i-a23.dtsi | 2  * Copyright 2014 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 45 #include "sun8i-a23-a33.dtsi"
 50 			#sound-dai-cells = <0>;
 51 			compatible = "allwinner,sun8i-a23-codec";
 55 			clock-names = "apb", "codec";
 58 			dma-names = "rx", "tx";
 59 			allwinner,codec-analog-controls = <&codec_analog>;
 66 	compatible = "allwinner,sun8i-a23-display-backend";
 [all …]
 
 | 
| H A D | sun8i-a33.dtsi | 2  * Copyright 2014 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 45 #include "sun8i-a23-a33.dtsi"
 46 #include <dt-bindings/thermal/thermal.h>
 49 	cpu0_opp_table: opp-table-cpu {
 50 		compatible = "operating-points-v2";
 51 		opp-shared;
 53 		opp-120000000 {
 54 			opp-hz = /bits/ 64 <120000000>;
 [all …]
 
 | 
| H A D | sun4i-a10.dtsi | 5  * This file is dual-licensed: you can use it either under the terms44 #include <dt-bindings/thermal/thermal.h>
 45 #include <dt-bindings/dma/sun4i-a10.h>
 46 #include <dt-bindings/clock/sun4i-a10-ccu.h>
 47 #include <dt-bindings/reset/sun4i-a10-ccu.h>
 50 	#address-cells = <1>;
 51 	#size-cells = <1>;
 52 	interrupt-parent = <&intc>;
 59 		#address-cells = <1>;
 60 		#size-cells = <1>;
 [all …]
 
 | 
| H A D | sun9i-a80.dtsi | 2  * Copyright 2014 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 45 #include <dt-bindings/interrupt-controller/arm-gic.h>
 47 #include <dt-bindings/clock/sun9i-a80-ccu.h>
 48 #include <dt-bindings/clock/sun9i-a80-de.h>
 49 #include <dt-bindings/clock/sun9i-a80-usb.h>
 50 #include <dt-bindings/reset/sun9i-a80-ccu.h>
 51 #include <dt-bindings/reset/sun9i-a80-de.h>
 52 #include <dt-bindings/reset/sun9i-a80-usb.h>
 [all …]
 
 | 
| H A D | sun6i-a31.dtsi | 4  * Maxime Ripard <maxime.ripard@free-electrons.com>6  * This file is dual-licensed: you can use it either under the terms
 45 #include <dt-bindings/interrupt-controller/arm-gic.h>
 46 #include <dt-bindings/thermal/thermal.h>
 48 #include <dt-bindings/clock/sun6i-a31-ccu.h>
 49 #include <dt-bindings/clock/sun6i-rtc.h>
 50 #include <dt-bindings/reset/sun6i-a31-ccu.h>
 53 	interrupt-parent = <&gic>;
 54 	#address-cells = <1>;
 55 	#size-cells = <1>;
 [all …]
 
 | 
| H A D | sun7i-a20.dtsi | 4  * Maxime Ripard <maxime.ripard@free-electrons.com>6  * This file is dual-licensed: you can use it either under the terms
 45 #include <dt-bindings/interrupt-controller/arm-gic.h>
 46 #include <dt-bindings/thermal/thermal.h>
 47 #include <dt-bindings/dma/sun4i-a10.h>
 48 #include <dt-bindings/clock/sun7i-a20-ccu.h>
 49 #include <dt-bindings/reset/sun4i-a10-ccu.h>
 50 #include <dt-bindings/pinctrl/sun4i-a10.h>
 53 	interrupt-parent = <&gic>;
 54 	#address-cells = <1>;
 [all …]
 
 | 
| H A D | sun5i.dtsi | 2  * Copyright 2012-2015 Maxime Ripard4  * Maxime Ripard <maxime.ripard@free-electrons.com>
 6  * This file is dual-licensed: you can use it either under the terms
 45 #include <dt-bindings/clock/sun5i-ccu.h>
 46 #include <dt-bindings/dma/sun4i-a10.h>
 47 #include <dt-bindings/reset/sun5i-ccu.h>
 50 	interrupt-parent = <&intc>;
 51 	#address-cells = <1>;
 52 	#size-cells = <1>;
 55 		#address-cells = <1>;
 [all …]
 
 | 
| /linux/drivers/xen/ | 
| H A D | xen-front-pgdir-shbuf.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT4  * Xen frontend/backend page directory based shared buffer
 22 #include <xen/xen-front-pgdir-shbuf.h>
 27  * buffer. This structure is common to many Xen para-virtualized
 39  * is allocated by the corresponding backend or frontend.
 50 	/* Fill page directory according to para-virtual display protocol. */
 66  * page directory. Usually this is passed to the backend,
 77 	if (!buf->grefs)  in xen_front_pgdir_shbuf_get_dir_start()
 80 	return buf->grefs[0];  in xen_front_pgdir_shbuf_get_dir_start()
 90  * references onto the backing storage (buf->pages).
 [all …]
 
 | 
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ | 
| H A D | vega10_hwmgr.c | 98 	PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic),  in cast_phw_vega10_power_state()108 	PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic),  in cast_const_phw_vega10_power_state()
 117 	struct vega10_hwmgr *data = hwmgr->backend;  in vega10_set_default_registry_data()
 119 	data->registry_data.sclk_dpm_key_disabled =  in vega10_set_default_registry_data()
 120 			hwmgr->feature_mask & PP_SCLK_DPM_MASK ? false : true;  in vega10_set_default_registry_data()
 121 	data->registry_data.socclk_dpm_key_disabled =  in vega10_set_default_registry_data()
 122 			hwmgr->feature_mask & PP_SOCCLK_DPM_MASK ? false : true;  in vega10_set_default_registry_data()
 123 	data->registry_data.mclk_dpm_key_disabled =  in vega10_set_default_registry_data()
 124 			hwmgr->feature_mask & PP_MCLK_DPM_MASK ? false : true;  in vega10_set_default_registry_data()
 125 	data->registry_data.pcie_dpm_key_disabled =  in vega10_set_default_registry_data()
 [all …]
 
 | 
| H A D | smu8_hwmgr.c | 27 #include "atom-types.h"53 	if (smu8_magic != hw_ps->magic)  in cast_smu8_power_state()
 62 	if (smu8_magic != hw_ps->magic)  in cast_const_smu8_power_state()
 73 		hwmgr->dyn_state.vce_clock_voltage_dependency_table;  in smu8_get_eclk_level()
 78 		for (i = 0; i < (int)ptable->count; i++) {  in smu8_get_eclk_level()
 79 			if (clock <= ptable->entries[i].ecclk)  in smu8_get_eclk_level()
 86 		for (i = ptable->count - 1; i >= 0; i--) {  in smu8_get_eclk_level()
 87 			if (clock >= ptable->entries[i].ecclk)  in smu8_get_eclk_level()
 104 				hwmgr->dyn_state.vddc_dependency_on_sclk;  in smu8_get_sclk_level()
 109 		for (i = 0; i < (int)table->count; i++) {  in smu8_get_sclk_level()
 [all …]
 
 | 
| /linux/drivers/scsi/elx/efct/ | 
| H A D | efct_io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */13 		(((efct) != NULL) ? (((efct)->logmask & (1U << 6)) != 0) : 0)
 17 		if (EFCT_LOG_ENABLE_IO_ERRORS(io->efct)) \
 18 			efc_log_warn(io->efct, fmt, ##__VA_ARGS__); \
 49  * @io:			IO display name
 55  * @init_task_tag:	initiator task tag (OX_ID) for back-end and SCSI logging
 56  * @tgt_task_tag:	target task tag (RX_ID) for back-end and SCSI logging
 62  * @tgt_io:		backend target private IO data
 
 | 
| /linux/drivers/video/fbdev/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only14 	  a well-defined interface, so the software doesn't need to know
 15 	  anything about the low-level (hardware register) stuff.
 21 	  On several non-X86 architectures, the frame buffer device is the
 29 	  and the Framebuffer-HOWTO at
 30 	  <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more
 40 	  are compiling a kernel for a non-x86 architecture.
 46 	  device-aware may cause unexpected results. If unsure, say N.
 57 	  Common utility functions useful to fbdev drivers of VGA-based
 82 	  If you have a PCI-based system, this enables support for these
 [all …]
 
 |