Home
last modified time | relevance | path

Searched +full:tcon +full:- +full:top (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dallwinner,sun8i-r40-tcon-top.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner R40 TCON TOP Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 TCON TOPs main purpose is to configure whole display pipeline. It
16 TCON for HDMI, muxes LCD and TV encoder GPIO output, selects TV
17 encoder clock source and contains additional TV TCON and DSI gates.
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun8i_tcon_top.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <dt-bindings/clock/sun8i-tcon-top.h>
28 int sun8i_tcon_top_set_hdmi_src(struct device *dev, int tcon) in sun8i_tcon_top_set_hdmi_src() argument
34 if (!sun8i_tcon_top_node_is_tcon_top(dev->of_node)) { in sun8i_tcon_top_set_hdmi_src()
35 dev_err(dev, "Device is not TCON TOP!\n"); in sun8i_tcon_top_set_hdmi_src()
36 return -EINVAL; in sun8i_tcon_top_set_hdmi_src()
39 if (tcon < 2 || tcon > 3) { in sun8i_tcon_top_set_hdmi_src()
40 dev_err(dev, "TCON index must be 2 or 3!\n"); in sun8i_tcon_top_set_hdmi_src()
41 return -EINVAL; in sun8i_tcon_top_set_hdmi_src()
44 spin_lock_irqsave(&tcon_top->reg_lock, flags); in sun8i_tcon_top_set_hdmi_src()
[all …]
Dsun4i_drv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
36 args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); in drm_sun4i_gem_dumb_create()
48 .name = "sun4i-drm",
70 ret = -ENOMEM; in sun4i_drv_bind()
75 drm->dev_private = drv; in sun4i_drv_bind()
76 INIT_LIST_HEAD(&drv->frontend_list); in sun4i_drv_bind()
77 INIT_LIST_HEAD(&drv->engine_list); in sun4i_drv_bind()
78 INIT_LIST_HEAD(&drv->tcon_list); in sun4i_drv_bind()
81 if (ret && ret != -ENODEV) { in sun4i_drv_bind()
[all …]
Dsun4i_tcon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
47 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
49 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
65 return -EINVAL; in sun4i_tcon_get_pixel_depth()
67 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
68 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
69 return -EINVAL; in sun4i_tcon_get_pixel_depth()
71 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
80 return -EINVAL; in sun4i_tcon_get_pixel_depth()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 sun4i-drm.
41 do some alpha blending and feed graphics to TCON. If M is
42 selected the module will be called sun4i-backend.
45 tristate "Allwinner A31 MIPI-DSI Controller Support"
52 MIPI-DSI support. If M is selected the module will be called
70 graphics mixture and feed graphics to TCON, If M is
71 selected the module will be called sun8i-mixer.
77 TCON TOP is responsible for configuring display pipeline for
/kernel/linux/linux-4.19/drivers/gpu/drm/sun4i/
Dsun8i_tcon_top.c1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/clock/sun8i-tcon-top.h>
22 int sun8i_tcon_top_set_hdmi_src(struct device *dev, int tcon) in sun8i_tcon_top_set_hdmi_src() argument
28 if (!sun8i_tcon_top_node_is_tcon_top(dev->of_node)) { in sun8i_tcon_top_set_hdmi_src()
29 dev_err(dev, "Device is not TCON TOP!\n"); in sun8i_tcon_top_set_hdmi_src()
30 return -EINVAL; in sun8i_tcon_top_set_hdmi_src()
33 if (tcon < 2 || tcon > 3) { in sun8i_tcon_top_set_hdmi_src()
34 dev_err(dev, "TCON index must be 2 or 3!\n"); in sun8i_tcon_top_set_hdmi_src()
35 return -EINVAL; in sun8i_tcon_top_set_hdmi_src()
38 spin_lock_irqsave(&tcon_top->reg_lock, flags); in sun8i_tcon_top_set_hdmi_src()
[all …]
Dsun4i_drv.c5 * Maxime Ripard <maxime.ripard@free-electrons.com>
39 .name = "sun4i-drm",
73 ap->ranges[0].base = 0; in sun4i_remove_framebuffers()
74 ap->ranges[0].size = ~0; in sun4i_remove_framebuffers()
76 drm_fb_helper_remove_conflicting_framebuffers(ap, "sun4i-drm-fb", false); in sun4i_remove_framebuffers()
92 ret = -ENOMEM; in sun4i_drv_bind()
97 drm->dev_private = drv; in sun4i_drv_bind()
98 INIT_LIST_HEAD(&drv->frontend_list); in sun4i_drv_bind()
99 INIT_LIST_HEAD(&drv->engine_list); in sun4i_drv_bind()
100 INIT_LIST_HEAD(&drv->tcon_list); in sun4i_drv_bind()
[all …]
DKconfig14 sun4i-drm.
40 do some alpha blending and feed graphics to TCON. If M is
41 selected the module will be called sun4i-backend.
44 tristate "Allwinner A31 MIPI-DSI Controller Support"
50 MIPI-DSI support. If M is selected the module will be called
51 sun6i-dsi
68 graphics mixture and feed graphics to TCON, If M is
69 selected the module will be called sun8i-mixer.
75 TCON TOP is responsible for configuring display pipeline for
Dsun4i_tcon.c5 * Maxime Ripard <maxime.ripard@free-electrons.com>
45 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
47 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
63 return -EINVAL; in sun4i_tcon_get_pixel_depth()
65 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
66 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
67 return -EINVAL; in sun4i_tcon_get_pixel_depth()
69 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
78 return -EINVAL; in sun4i_tcon_get_pixel_depth()
81 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/sunxi/
Dsun4i-drm.txt13 Frontend 0 [0] ------- [0] Backend 0 [0] ------- [0] TCON 0
14 [1] -- -- [1] [1] -- -- [1]
18 [0] -- -- [0] [0] -- -- [0]
19 Frontend 1 [1] ------- [1] Backend 1 [1] ------- [1] TCON 1
25 The same rule also applies to DE 2.0 mixer-TCON connections:
27 Mixer 0 [0] ----------- [0] TCON 0
28 [1] ---- ---- [1]
32 [0] ---- ---- [0]
33 Mixer 1 [1] ----------- [1] TCON 1
36 ------------
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dsun8i-r40.dtsi2 * Copyright 2017 Chen-Yu Tsai <wens@csie.org>
5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45 #include <dt-bindings/clock/sun8i-de2.h>
46 #include <dt-bindings/clock/sun8i-r40-ccu.h>
47 #include <dt-bindings/reset/sun8i-r40-ccu.h>
48 #include <dt-bindings/reset/sun8i-de2.h>
51 #address-cells = <1>;
52 #size-cells = <1>;
53 interrupt-parent = <&gic>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-r40.dtsi2 * Copyright 2017 Chen-Yu Tsai <wens@csie.org>
5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45 #include <dt-bindings/clock/sun8i-de2.h>
46 #include <dt-bindings/clock/sun8i-r40-ccu.h>
47 #include <dt-bindings/clock/sun8i-tcon-top.h>
48 #include <dt-bindings/reset/sun8i-r40-ccu.h>
49 #include <dt-bindings/reset/sun8i-de2.h>
50 #include <dt-bindings/thermal/thermal.h>
53 #address-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/
Dsun50i-h6.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/sun50i-h6-ccu.h>
6 #include <dt-bindings/clock/sun50i-h6-r-ccu.h>
7 #include <dt-bindings/clock/sun8i-de2.h>
8 #include <dt-bindings/clock/sun8i-tcon-top.h>
9 #include <dt-bindings/reset/sun50i-h6-ccu.h>
10 #include <dt-bindings/reset/sun50i-h6-r-ccu.h>
11 #include <dt-bindings/reset/sun8i-de2.h>
12 #include <dt-bindings/thermal/thermal.h>
[all …]
/kernel/linux/linux-5.10/fs/cifs/
Dconnect.c19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44 #include <keys/user-type.h>
293 * This should be called with server->srv_mutex held.
302 if (!server->hostname) in reconn_set_ipaddr()
303 return -EINVAL; in reconn_set_ipaddr()
305 len = strlen(server->hostname) + 3; in reconn_set_ipaddr()
310 return -ENOMEM; in reconn_set_ipaddr()
312 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr()
319 __func__, server->hostname, rc); in reconn_set_ipaddr()
324 rc = cifs_convert_address((struct sockaddr *)&server->dstaddr, ipaddr, in reconn_set_ipaddr()
[all …]
Dsmb2ops.c1 // SPDX-License-Identifier: GPL-2.0
32 server->credits += server->echo_credits + server->oplock_credits; in change_conf()
33 server->oplock_credits = server->echo_credits = 0; in change_conf()
34 switch (server->credits) { in change_conf()
38 server->echoes = false; in change_conf()
39 server->oplocks = false; in change_conf()
42 server->echoes = true; in change_conf()
43 server->oplocks = false; in change_conf()
44 server->echo_credits = 1; in change_conf()
47 server->echoes = true; in change_conf()
[all …]
/kernel/linux/linux-4.19/fs/cifs/
Dconnect.c19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43 #include <keys/user-type.h>
326 * This should be called with server->srv_mutex held.
335 if (!server->hostname) in reconn_set_ipaddr()
336 return -EINVAL; in reconn_set_ipaddr()
338 len = strlen(server->hostname) + 3; in reconn_set_ipaddr()
343 return -ENOMEM; in reconn_set_ipaddr()
345 snprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr()
352 __func__, server->hostname, rc); in reconn_set_ipaddr()
357 rc = cifs_convert_address((struct sockaddr *)&server->dstaddr, ipaddr, in reconn_set_ipaddr()
[all …]
Dsmb2ops.c17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41 server->credits += server->echo_credits + server->oplock_credits; in change_conf()
42 server->oplock_credits = server->echo_credits = 0; in change_conf()
43 switch (server->credits) { in change_conf()
47 server->echoes = false; in change_conf()
48 server->oplocks = false; in change_conf()
51 server->echoes = true; in change_conf()
52 server->oplocks = false; in change_conf()
53 server->echo_credits = 1; in change_conf()
56 server->echoes = true; in change_conf()
[all …]
/kernel/linux/linux-4.19/drivers/clk/sunxi-ng/
Dccu-sun8i-r40.c14 #include <linux/clk-provider.h>
31 #include "ccu-sun8i-r40.h"
43 .hw.init = CLK_HW_INIT("pll-cpu",
60 static SUNXI_CCU_NM_WITH_GATE_LOCK(pll_audio_base_clk, "pll-audio-base",
69 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN(pll_video0_clk, "pll-video0",
83 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve",
96 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr0_clk, "pll-ddr0",
115 .hw.init = CLK_HW_INIT("pll-periph0", "osc24M",
125 * The formula of pll-periph0 (1x) is 24MHz*N*K/2, and the formula
126 * of pll-periph0-sata is 24MHz*N*K/M/6, so the postdiv here is
[all …]
Dccu-sun50i-h6.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
22 #include "ccu-sun50i-h6.h"
41 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M",
57 .hw.init = CLK_HW_INIT("pll-ddr0", "osc24M",
74 .hw.init = CLK_HW_INIT("pll-periph0", "osc24M",
91 .hw.init = CLK_HW_INIT("pll-periph1", "osc24M",
106 .hw.init = CLK_HW_INIT("pll-gpu", "osc24M",
126 .hw.init = CLK_HW_INIT("pll-video0", "osc24M",
142 .hw.init = CLK_HW_INIT("pll-video1", "osc24M",
[all …]
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu-sun8i-r40.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
24 #include "ccu-sun8i-r40.h"
36 .hw.init = CLK_HW_INIT("pll-cpu",
48 * With sigma-delta modulation for fractional-N on the audio PLL,
62 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base",
72 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN_MAX(pll_video0_clk, "pll-video0",
87 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve",
100 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr0_clk, "pll-ddr0",
119 .hw.init = CLK_HW_INIT("pll-periph0", "osc24M",
[all …]
Dccu-sun50i-h6.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
23 #include "ccu-sun50i-h6.h"
42 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M",
58 .hw.init = CLK_HW_INIT("pll-ddr0", "osc24M",
75 .hw.init = CLK_HW_INIT("pll-periph0", "osc24M",
92 .hw.init = CLK_HW_INIT("pll-periph1", "osc24M",
107 .hw.init = CLK_HW_INIT("pll-gpu", "osc24M",
129 .hw.init = CLK_HW_INIT("pll-video0", "osc24M",
147 .hw.init = CLK_HW_INIT("pll-video1", "osc24M",
[all …]
Dccu-sun50i-a100.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
24 #include "ccu-sun50i-a100.h"
51 .hw.init = CLK_HW_INIT("pll-cpux", "dcxo24M",
67 .hw.init = CLK_HW_INIT("pll-ddr0", "dcxo24M",
85 .hw.init = CLK_HW_INIT("pll-periph0", "dcxo24M",
102 .hw.init = CLK_HW_INIT("pll-periph1", "dcxo24M",
118 .hw.init = CLK_HW_INIT("pll-gpu", "dcxo24M",
138 .hw.init = CLK_HW_INIT("pll-video0", "dcxo24M",
154 .hw.init = CLK_HW_INIT("pll-video1", "dcxo24M",
[all …]
/kernel/linux/linux-4.19/
DMAINTAINERS28 'diff -u' to make the patch easy to merge. Be prepared to get your
38 See Documentation/process/coding-style.rst for guidance here.
44 See Documentation/process/submitting-patches.rst for details.
55 include a Signed-off-by: line. The current version of this
57 Documentation/process/submitting-patches.rst.
68 that the bug would present a short-term risk to other users if it
84 W: Web-page with status/info
85 B: URI for where to file bugs. A web-page with detailed bug
106 F: */net/* all files in "any top level directory"/net
109 N: [^a-z]tegra all files whose path contains the word tegra
[all …]
/kernel/linux/linux-5.10/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]