Home
last modified time | relevance | path

Searched refs:dss (Results 1 – 25 of 104) sorted by relevance

12345

/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Ddss.c54 #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
97 __raw_writel(val, dss->base + idx.idx); in dss_write_reg()
100 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg() argument
[all …]
Doutput.c57 int dss_install_mgr_ops(struct dss_device *dss, in dss_install_mgr_ops() argument
61 if (dss->mgr_ops) in dss_install_mgr_ops()
64 dss->mgr_ops = mgr_ops; in dss_install_mgr_ops()
65 dss->mgr_ops_priv = priv; in dss_install_mgr_ops()
71 void dss_uninstall_mgr_ops(struct dss_device *dss) in dss_uninstall_mgr_ops() argument
73 dss->mgr_ops = NULL; in dss_uninstall_mgr_ops()
74 dss->mgr_ops_priv = NULL; in dss_uninstall_mgr_ops()
81 dssdev->dss->mgr_ops->set_timings(dssdev->dss->mgr_ops_priv, in dss_mgr_set_timings()
89 dssdev->dss->mgr_ops->set_lcd_config(dssdev->dss->mgr_ops_priv, in dss_mgr_set_lcd_config()
96 return dssdev->dss->mgr_ops->enable(dssdev->dss->mgr_ops_priv, in dss_mgr_enable()
[all …]
Ddss.h180 struct dss_device *dss; member
252 struct dss_debugfs_entry *dss; member
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,
311 void dss_select_hdmi_venc_clk_source(struct dss_device *dss,
[all …]
Dbase.c27 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()
172 return dssdev->dss; in omapdss_device_is_connected()
175 int omapdss_device_connect(struct dss_device *dss, in omapdss_device_connect() argument
181 dev_dbg(&dss->pdev->dev, "connect(%s, %s)\n", in omapdss_device_connect()
198 dst->dss = dss; in omapdss_device_connect()
[all …]
Dsdi.c23 struct dss_device *dss; member
64 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb()
96 ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, in sdi_calc_clock_div()
132 r = dispc_runtime_get(sdi->dss->dispc); in sdi_display_enable()
142 r = dss_set_fck_rate(sdi->dss, fck); in sdi_display_enable()
159 dispc_mgr_set_clock_div(sdi->dss->dispc, sdi->output.dispc_channel, in sdi_display_enable()
162 dss_sdi_init(sdi->dss, sdi->datapairs); in sdi_display_enable()
163 r = dss_sdi_enable(sdi->dss); in sdi_display_enable()
175 dss_sdi_disable(sdi->dss); in sdi_display_enable()
179 dispc_runtime_put(sdi->dss->dispc); in sdi_display_enable()
[all …]
Dpll.c28 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()
51 pll->dss = NULL; in dss_pll_unregister()
[all …]
Ddpi.c30 struct dss_device *dss; member
64 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_1)) in dpi_get_clk_src_dra7xx()
70 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
72 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_3)) in dpi_get_clk_src_dra7xx()
78 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_1)) in dpi_get_clk_src_dra7xx()
80 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
184 return dispc_div_calc(ctx->dpi->dss->dispc, dispc, in dpi_calc_hsdiv_cb()
202 ctx->pck_min, dss_get_max_fck_rate(ctx->dpi->dss), in dpi_calc_pll_cb()
212 return dispc_div_calc(ctx->dpi->dss->dispc, fck, in dpi_calc_dss_cb()
275 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc()
[all …]
Domapdss-boot-init.c188 struct device_node *dss, *child; in omapdss_boot_init() local
192 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
194 if (dss == NULL || !of_device_is_available(dss)) in omapdss_boot_init()
197 omapdss_walk_device(dss, true); in omapdss_boot_init()
199 for_each_available_child_of_node(dss, child) { in omapdss_boot_init()
Dvideo-pll.c59 r = dss_runtime_get(pll->dss); in dss_video_pll_enable()
78 dss_runtime_put(pll->dss); in dss_video_pll_enable()
93 dss_runtime_put(pll->dss); in dss_video_pll_disable()
132 struct dss_pll *dss_video_pll_init(struct dss_device *dss, in dss_video_pll_init() argument
187 r = dss_pll_register(dss, pll); in dss_video_pll_init()
Dhdmi_pll.c128 static int hdmi_init_pll_data(struct dss_device *dss, in hdmi_init_pll_data() argument
154 r = dss_pll_register(dss, pll); in hdmi_init_pll_data()
161 int hdmi_pll_init(struct dss_device *dss, struct platform_device *pdev, in hdmi_pll_init() argument
175 r = hdmi_init_pll_data(dss, pdev, pll); in hdmi_pll_init()
Dvenc.c294 struct dss_device *dss; member
432 dss_set_venc_output(venc->dss, venc->type); in venc_power_on()
433 dss_set_dac_pwrdn_bgz(venc->dss, 1); in venc_power_on()
461 dss_set_dac_pwrdn_bgz(venc->dss, 0); in venc_power_on()
471 dss_set_dac_pwrdn_bgz(venc->dss, 0); in venc_power_off()
571 dispc_set_tv_pclk(venc->dss->dispc, 13500000); in venc_set_timings()
679 return omapdss_device_connect(dst->dss, dst, dst->next); in venc_connect()
707 struct dss_device *dss = dss_get_device(master); in venc_bind() local
712 venc->dss = dss; in venc_bind()
723 venc->debugfs = dss_debugfs_create_file(dss, "venc", venc_dump_regs, in venc_bind()
DMakefile5 omapdss-base-y := base.o display.o dss-of.o output.o
9 omapdss-y := core.o dss.o dispc.o dispc_coefs.o \
Domapdss.h400 struct dss_device *dss; member
457 void omapdss_set_dss(struct dss_device *dss);
473 int omapdss_device_connect(struct dss_device *dss,
540 int dss_install_mgr_ops(struct dss_device *dss,
543 void dss_uninstall_mgr_ops(struct dss_device *dss);
627 struct dispc_device *dispc_get_dispc(struct dss_device *dss);
628 const struct dispc_ops *dispc_get_ops(struct dss_device *dss);
Dhdmi4.c118 dss_select_hdmi_venc_clk_source(hdmi->dss, DSS_HDMI_M_PCLK); in hdmi_power_on_core()
249 dispc_set_tv_pclk(hdmi->dss->dispc, mode->clock * 1000); in hdmi_display_set_timings()
399 return omapdss_device_connect(dst->dss, dst, dst->next); in hdmi_connect()
602 struct dss_device *dss = dss_get_device(master); in hdmi4_bind() local
606 hdmi->dss = dss; in hdmi4_bind()
612 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi4_bind()
626 hdmi->debugfs = dss_debugfs_create_file(dss, "hdmi", hdmi_dump_regs, in hdmi4_bind()
Dhdmi5.c122 dss_select_hdmi_venc_clk_source(hdmi->dss, DSS_HDMI_M_PCLK); in hdmi_power_on_core()
248 dispc_set_tv_pclk(hdmi->dss->dispc, mode->clock * 1000); in hdmi_display_set_timings()
404 return omapdss_device_connect(dst->dss, dst, dst->next); in hdmi_connect()
601 struct dss_device *dss = dss_get_device(master); in hdmi5_bind() local
605 hdmi->dss = dss; in hdmi5_bind()
607 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi5_bind()
617 hdmi->debugfs = dss_debugfs_create_file(dss, "hdmi", hdmi_dump_regs, in hdmi5_bind()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c95 } 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()
171 if (!dss.syscon_pll_ctrl) in dss_ctrl_pll_enable()
191 regmap_update_bits(dss.syscon_pll_ctrl, dss.syscon_pll_ctrl_offset, in dss_ctrl_pll_enable()
200 if (!dss.syscon_pll_ctrl) in dss_ctrl_pll_set_control_mux()
[all …]
Domapdss-boot-init.c181 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()
194 for_each_available_child_of_node(dss, child) { in omapdss_boot_init()
DMakefile5 omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \
6 output.o dss-of.o pll.o video-pll.o
/Linux-v5.4/fs/nfs/
Dnfs4client.c62 struct nfs4_ds_server *dss; in nfs4_find_ds_client() local
65 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { in nfs4_find_ds_client()
66 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_find_ds_client()
70 dss = NULL; in nfs4_find_ds_client()
73 return dss; in nfs4_find_ds_client()
80 struct nfs4_ds_server *dss; in nfs4_add_ds_client() local
83 list_for_each_entry(dss, &ds_clp->cl_ds_clients, list) { in nfs4_add_ds_client()
84 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_add_ds_client()
90 dss = new; in nfs4_add_ds_client()
93 return dss; in nfs4_add_ds_client()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/display/ti/
Dti,dra7-dss.txt4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic
11 - compatible: "ti,dra7-dss"
12 - reg: address and length of the register spaces for 'dss'
Dti,omap-dss.txt48 dss: dss@58000000 {
49 compatible = "ti,omap4-dss";
185 &dss {
Dti,omap2-dss.txt4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic
11 - compatible: "ti,omap2-dss"
/Linux-v5.4/arch/arm/boot/dts/
Ddra72x.dtsi20 &dss {
24 reg-names = "dss", "pll1_clkctrl", "pll1";
Domap36xx-am35xx-omap3430es2plus-clocks.dtsi162 compatible = "ti,dss-gate-clock";
171 compatible = "ti,omap3-dss-interface-clock";
187 compatible = "ti,dss-gate-clock";
195 compatible = "ti,omap3-dss-interface-clock";
/Linux-v5.4/Documentation/arm/omap/
Dindex.rst12 dss

12345