Home
last modified time | relevance | path

Searched full:dss (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
Ddss.c10 #define DSS_SUBSYS_NAME "DSS"
38 #include "dss.h"
54 #define REG_GET(dss, idx, start, end) \ argument
55 FLD_GET(dss_read_reg(dss, idx), start, end)
57 #define REG_FLD_MOD(dss, idx, val, start, end) \ argument
58 dss_write_reg(dss, idx, \
59 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
62 int (*dpi_select_source)(struct dss_device *dss, int port,
64 int (*select_lcd_source)(struct dss_device *dss,
94 static inline void dss_write_reg(struct dss_device *dss, in dss_write_reg() argument
[all …]
Ddss.h180 struct dss_device *dss; member
252 struct dss_debugfs_entry *dss; member
279 /* DSS */
282 dss_debugfs_create_file(struct dss_device *dss, const char *name,
288 dss_debugfs_create_file(struct dss_device *dss, const char *name, in dss_debugfs_create_file() argument
302 int dss_runtime_get(struct dss_device *dss);
303 void dss_runtime_put(struct dss_device *dss);
305 unsigned long dss_get_dispc_clk_rate(struct dss_device *dss);
306 unsigned long dss_get_max_fck_rate(struct dss_device *dss);
307 int dss_dpi_select_source(struct dss_device *dss, int port,
[all …]
Doutput.c17 #include "dss.h"
87 omap_crtc_dss_set_timings(dssdev->dss->mgr_ops_priv, in dss_mgr_set_timings()
94 omap_crtc_dss_set_lcd_config(dssdev->dss->mgr_ops_priv, in dss_mgr_set_lcd_config()
100 return omap_crtc_dss_enable(dssdev->dss->mgr_ops_priv, in dss_mgr_enable()
106 omap_crtc_dss_disable(dssdev->dss->mgr_ops_priv, in dss_mgr_disable()
112 omap_crtc_dss_start_update(dssdev->dss->mgr_ops_priv, in dss_mgr_start_update()
119 struct dss_device *dss = dssdev->dss; in dss_mgr_register_framedone_handler() local
121 return omap_crtc_dss_register_framedone(dss->mgr_ops_priv, in dss_mgr_register_framedone_handler()
129 struct dss_device *dss = dssdev->dss; in dss_mgr_unregister_framedone_handler() local
131 omap_crtc_dss_unregister_framedone(dss->mgr_ops_priv, in dss_mgr_unregister_framedone_handler()
Dpll.c16 #include "dss.h"
28 int dss_pll_register(struct dss_device *dss, struct dss_pll *pll) in dss_pll_register() argument
32 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_register()
33 if (!dss->plls[i]) { in dss_pll_register()
34 dss->plls[i] = pll; in dss_pll_register()
35 pll->dss = dss; in dss_pll_register()
45 struct dss_device *dss = pll->dss; in dss_pll_unregister() local
48 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_unregister()
49 if (dss->plls[i] == pll) { in dss_pll_unregister()
50 dss->plls[i] = NULL; in dss_pll_unregister()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddss.c10 #define DSS_SUBSYS_NAME "DSS"
38 #include "dss.h"
54 #define REG_GET(dss, idx, start, end) \ argument
55 FLD_GET(dss_read_reg(dss, idx), start, end)
57 #define REG_FLD_MOD(dss, idx, val, start, end) \ argument
58 dss_write_reg(dss, idx, \
59 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
62 int (*dpi_select_source)(struct dss_device *dss, int port,
64 int (*select_lcd_source)(struct dss_device *dss,
94 static inline void dss_write_reg(struct dss_device *dss, in dss_write_reg() argument
[all …]
Doutput.c17 #include "dss.h"
97 int dss_install_mgr_ops(struct dss_device *dss, in dss_install_mgr_ops() argument
101 if (dss->mgr_ops) in dss_install_mgr_ops()
104 dss->mgr_ops = mgr_ops; in dss_install_mgr_ops()
105 dss->mgr_ops_priv = priv; in dss_install_mgr_ops()
111 void dss_uninstall_mgr_ops(struct dss_device *dss) in dss_uninstall_mgr_ops() argument
113 dss->mgr_ops = NULL; in dss_uninstall_mgr_ops()
114 dss->mgr_ops_priv = NULL; in dss_uninstall_mgr_ops()
121 dssdev->dss->mgr_ops->set_timings(dssdev->dss->mgr_ops_priv, in dss_mgr_set_timings()
129 dssdev->dss->mgr_ops->set_lcd_config(dssdev->dss->mgr_ops_priv, in dss_mgr_set_lcd_config()
[all …]
Ddss.h180 struct dss_device *dss; member
252 struct dss_debugfs_entry *dss; member
281 /* DSS */
284 dss_debugfs_create_file(struct dss_device *dss, const char *name,
290 dss_debugfs_create_file(struct dss_device *dss, const char *name, in dss_debugfs_create_file() argument
304 int dss_runtime_get(struct dss_device *dss);
305 void dss_runtime_put(struct dss_device *dss);
307 unsigned long dss_get_dispc_clk_rate(struct dss_device *dss);
308 unsigned long dss_get_max_fck_rate(struct dss_device *dss);
309 int dss_dpi_select_source(struct dss_device *dss, int port,
[all …]
Dbase.c16 #include "dss.h"
27 void omapdss_set_dss(struct dss_device *dss) in omapdss_set_dss() argument
29 dss_device = dss; in omapdss_set_dss()
33 struct dispc_device *dispc_get_dispc(struct dss_device *dss) in dispc_get_dispc() argument
35 return dss->dispc; in dispc_get_dispc()
39 const struct dispc_ops *dispc_get_ops(struct dss_device *dss) in dispc_get_ops() argument
41 return dss->dispc_ops; in dispc_get_ops()
47 * OMAP DSS Devices Handling
171 return dssdev->dss; in omapdss_device_is_connected()
174 int omapdss_device_connect(struct dss_device *dss, in omapdss_device_connect() argument
[all …]
Dpll.c16 #include "dss.h"
28 int dss_pll_register(struct dss_device *dss, struct dss_pll *pll) in dss_pll_register() argument
32 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_register()
33 if (!dss->plls[i]) { in dss_pll_register()
34 dss->plls[i] = pll; in dss_pll_register()
35 pll->dss = dss; in dss_pll_register()
45 struct dss_device *dss = pll->dss; in dss_pll_unregister() local
48 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_unregister()
49 if (dss->plls[i] == pll) { in dss_pll_unregister()
50 dss->plls[i] = NULL; in dss_pll_unregister()
[all …]
Domapdss-boot-init.c168 { .compatible = "ti,omap2-dss", },
169 { .compatible = "ti,omap3-dss", },
170 { .compatible = "ti,omap4-dss", },
171 { .compatible = "ti,omap5-dss", },
172 { .compatible = "ti,dra7-dss", },
198 struct device_node *dss; in omapdss_boot_init() local
202 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
204 if (dss == NULL || !of_device_is_available(dss)) in omapdss_boot_init()
207 omapdss_walk_device(dss, true); in omapdss_boot_init()
208 omapdss_find_children(dss); in omapdss_boot_init()
[all …]
Dsdi.c20 #include "dss.h"
25 struct dss_device *dss; member
68 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb()
81 * DSS fclk gives us very few possibilities, so finding a good pixel in sdi_calc_clock_div()
100 ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, in sdi_calc_clock_div()
209 r = dispc_runtime_get(sdi->dss->dispc); in sdi_bridge_enable()
219 r = dss_set_fck_rate(sdi->dss, fck); in sdi_bridge_enable()
236 dispc_mgr_set_clock_div(sdi->dss->dispc, sdi->output.dispc_channel, in sdi_bridge_enable()
239 dss_sdi_init(sdi->dss, sdi->datapairs); in sdi_bridge_enable()
240 r = dss_sdi_enable(sdi->dss); in sdi_bridge_enable()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
DMakefile22 omapdrm-y += dss/base.o dss/output.o dss/dss.o dss/dispc.o \
23 dss/dispc_coefs.o dss/pll.o dss/video-pll.o
24 omapdrm-$(CONFIG_OMAP2_DSS_DPI) += dss/dpi.o
25 omapdrm-$(CONFIG_OMAP2_DSS_VENC) += dss/venc.o
26 omapdrm-$(CONFIG_OMAP2_DSS_SDI) += dss/sdi.o
27 omapdrm-$(CONFIG_OMAP2_DSS_DSI) += dss/dsi.o
28 omapdrm-$(CONFIG_OMAP2_DSS_HDMI_COMMON) += dss/hdmi_common.o dss/hdmi_wp.o \
29 dss/hdmi_pll.o dss/hdmi_phy.o
30 omapdrm-$(CONFIG_OMAP4_DSS_HDMI) += dss/hdmi4.o dss/hdmi4_core.o
31 omapdrm-$(CONFIG_OMAP4_DSS_HDMI_CEC) += dss/hdmi4_cec.o
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c3 * linux/drivers/video/omap2/dss/dss.c
12 #define DSS_SUBSYS_NAME "DSS"
36 #include "dss.h"
95 } dss; variable
115 __raw_writel(val, dss.base + idx.idx); in dss_write_reg()
120 return __raw_readl(dss.base + idx.idx); in dss_read_reg()
124 dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg)
126 dss_write_reg(DSS_##reg, dss.ctx[(DSS_##reg).idx / sizeof(u32)])
140 dss.ctx_valid = true; in dss_save_context()
149 if (!dss.ctx_valid) in dss_restore_context()
[all …]
Domapdss-boot-init.c171 { .compatible = "ti,omap2-dss", },
172 { .compatible = "ti,omap3-dss", },
173 { .compatible = "ti,omap4-dss", },
174 { .compatible = "ti,omap5-dss", },
175 { .compatible = "ti,dra7-dss", },
181 struct device_node *dss, *child; in omapdss_boot_init() local
185 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
187 if (dss == NULL || !of_device_is_available(dss)) { in omapdss_boot_init()
188 of_node_put(dss); in omapdss_boot_init()
192 omapdss_walk_device(dss, true); in omapdss_boot_init()
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c3 * linux/drivers/video/omap2/dss/dss.c
12 #define DSS_SUBSYS_NAME "DSS"
36 #include "dss.h"
95 } dss; variable
115 __raw_writel(val, dss.base + idx.idx); in dss_write_reg()
120 return __raw_readl(dss.base + idx.idx); in dss_read_reg()
124 dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg)
126 dss_write_reg(DSS_##reg, dss.ctx[(DSS_##reg).idx / sizeof(u32)])
140 dss.ctx_valid = true; in dss_save_context()
149 if (!dss.ctx_valid) in dss_restore_context()
[all …]
Domapdss-boot-init.c171 { .compatible = "ti,omap2-dss", },
172 { .compatible = "ti,omap3-dss", },
173 { .compatible = "ti,omap4-dss", },
174 { .compatible = "ti,omap5-dss", },
175 { .compatible = "ti,dra7-dss", },
181 struct device_node *dss, *child; in omapdss_boot_init() local
185 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
187 if (dss == NULL || !of_device_is_available(dss)) { in omapdss_boot_init()
188 of_node_put(dss); in omapdss_boot_init()
192 omapdss_walk_device(dss, true); in omapdss_boot_init()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/
Ddp_parser.c41 struct dss_io_data *dss = &io->dp_controller; in dp_parser_ctrl_res() local
43 dss->ahb.base = dp_ioremap(pdev, 0, &dss->ahb.len); in dp_parser_ctrl_res()
44 if (IS_ERR(dss->ahb.base)) in dp_parser_ctrl_res()
45 return PTR_ERR(dss->ahb.base); in dp_parser_ctrl_res()
47 dss->aux.base = dp_ioremap(pdev, 1, &dss->aux.len); in dp_parser_ctrl_res()
48 if (IS_ERR(dss->aux.base)) { in dp_parser_ctrl_res()
56 if (PTR_ERR(dss->aux.base) == -EINVAL) { in dp_parser_ctrl_res()
57 if (dss->ahb.len < DP_DEFAULT_P0_OFFSET + DP_DEFAULT_P0_SIZE) { in dp_parser_ctrl_res()
62 dss->ahb.len = DP_DEFAULT_AHB_SIZE; in dp_parser_ctrl_res()
63 dss->aux.base = dss->ahb.base + DP_DEFAULT_AUX_OFFSET; in dp_parser_ctrl_res()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ti/
Dti,am65x-dss.yaml5 $id: http://devicetree.org/schemas/display/ti/ti,am65x-dss.yaml#
16 ports and two video planes. In AM65x DSS, the first video port
17 supports 1 OLDI TX and in AM625 DSS, the first video port output is
25 - ti,am625-dss
26 - ti,am65x-dss
30 Addresses to each DSS memory region described in the SoC's TRM.
32 - description: common DSS register area
52 - description: fck DSS functional clock
87 For AM65x DSS, the OLDI output port node from video port 1.
88 For AM625 DSS, the internal DPI output port node from video
[all …]
Dti,omap-dss.txt11 The OMAP Display Subsystem (DSS) hardware consists of DSS Core, DISPC module and
12 a number of encoder modules. All DSS versions contain DSS Core and DISPC, but
15 The DSS Core is the parent of the other DSS modules, and manages clock routing,
27 The DSS Core and the encoders have video port outputs. The structure of the
30 described in the SoC's DSS binding documentation.
45 A shortened example of the DSS description for OMAP4, with non-relevant parts
48 dss: dss@58000000 {
49 compatible = "ti,omap4-dss";
90 DSS Core --(MIPI DPI)--> TFP410 --(DVI)--> DVI Connector
185 &dss {
Dti,j721e-dss.yaml5 $id: http://devicetree.org/schemas/display/ti/ti,j721e-dss.yaml#
22 const: ti,j721e-dss
26 - description: common_m DSS Master common
27 - description: common_s0 DSS Shared common 0
28 - description: common_s1 DSS Shared common 1
29 - description: common_s2 DSS Shared common 2
66 - description: fck DSS functional clock
90 - description: common_m DSS Master common
91 - description: common_s0 DSS Shared common 0
92 - description: common_s1 DSS Shared common 1
[all …]
Dti,k2g-dss.yaml5 $id: http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml#
15 The K2G DSS is an ultra-light version of TI Keystone Display
21 const: ti,k2g-dss
25 - description: cfg DSS top level
41 - description: fck DSS functional clock
59 The DSS DPI output port node
83 dss: dss@2540000 {
84 compatible = "ti,k2g-dss";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ti/
Dti,omap-dss.txt11 The OMAP Display Subsystem (DSS) hardware consists of DSS Core, DISPC module and
12 a number of encoder modules. All DSS versions contain DSS Core and DISPC, but
15 The DSS Core is the parent of the other DSS modules, and manages clock routing,
27 The DSS Core and the encoders have video port outputs. The structure of the
30 described in the SoC's DSS binding documentation.
45 A shortened example of the DSS description for OMAP4, with non-relevant parts
48 dss: dss@58000000 {
49 compatible = "ti,omap4-dss";
90 DSS Core --(MIPI DPI)--> TFP410 --(DVI)--> DVI Connector
185 &dss {
Dti,j721e-dss.yaml5 $id: "http://devicetree.org/schemas/display/ti/ti,j721e-dss.yaml#"
22 const: ti,j721e-dss
26 - description: common_m DSS Master common
27 - description: common_s0 DSS Shared common 0
28 - description: common_s1 DSS Shared common 1
29 - description: common_s2 DSS Shared common 2
66 - description: fck DSS functional clock
82 - description: common_m DSS Master common
83 - description: common_s0 DSS Shared common 0
84 - description: common_s1 DSS Shared common 1
[all …]
Dti,k2g-dss.yaml5 $id: "http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml#"
15 The K2G DSS is an ultra-light version of TI Keystone Display
21 const: ti,k2g-dss
25 - description: cfg DSS top level
41 - description: fck DSS functional clock
60 The DSS DPI output port node
84 dss: dss@2540000 {
85 compatible = "ti,k2g-dss";
Dti,am65x-dss.yaml5 $id: "http://devicetree.org/schemas/display/ti/ti,am65x-dss.yaml#"
22 const: ti,am65x-dss
26 Addresses to each DSS memory region described in the SoC's TRM.
28 - description: common DSS register area
48 - description: fck DSS functional clock
79 The DSS OLDI output port node form video port 1
84 The DSS DPI output port node from video port 2
123 dss: dss@4a00000 {
124 compatible = "ti,am65x-dss";

12345678910>>...21