Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddss.c65 #define REG_GET(dss, idx, start, end) \ argument
66 FLD_GET(dss_read_reg(dss, idx), start, end)
68 #define REG_FLD_MOD(dss, idx, val, start, end) \ argument
69 dss_write_reg(dss, idx, \
70 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
73 int (*dpi_select_source)(struct dss_device *dss, int port,
75 int (*select_lcd_source)(struct dss_device *dss,
105 static inline void dss_write_reg(struct dss_device *dss, in dss_write_reg() argument
108 __raw_writel(val, dss->base + idx.idx); in dss_write_reg()
111 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg() argument
[all …]
Ddss.h191 struct dss_device *dss; member
261 struct dss_debugfs_entry *dss; member
291 dss_debugfs_create_file(struct dss_device *dss, const char *name,
297 dss_debugfs_create_file(struct dss_device *dss, const char *name, in dss_debugfs_create_file() argument
311 int dss_runtime_get(struct dss_device *dss);
312 void dss_runtime_put(struct dss_device *dss);
314 unsigned long dss_get_dispc_clk_rate(struct dss_device *dss);
315 unsigned long dss_get_max_fck_rate(struct dss_device *dss);
316 enum omap_dss_output_id dss_get_supported_outputs(struct dss_device *dss,
318 int dss_dpi_select_source(struct dss_device *dss, int port,
[all …]
Dpll.c39 int dss_pll_register(struct dss_device *dss, struct dss_pll *pll) in dss_pll_register() argument
43 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_register()
44 if (!dss->plls[i]) { in dss_pll_register()
45 dss->plls[i] = pll; in dss_pll_register()
46 pll->dss = dss; in dss_pll_register()
56 struct dss_device *dss = pll->dss; in dss_pll_unregister() local
59 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_unregister()
60 if (dss->plls[i] == pll) { in dss_pll_unregister()
61 dss->plls[i] = NULL; in dss_pll_unregister()
62 pll->dss = NULL; in dss_pll_unregister()
[all …]
Dsdi.c34 struct dss_device *dss; member
75 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb()
107 ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, in sdi_calc_clock_div()
150 r = dispc_runtime_get(sdi->dss->dispc); in sdi_display_enable()
175 r = dss_set_fck_rate(sdi->dss, fck); in sdi_display_enable()
192 dispc_mgr_set_clock_div(sdi->dss->dispc, sdi->output.dispc_channel, in sdi_display_enable()
195 dss_sdi_init(sdi->dss, sdi->datapairs); in sdi_display_enable()
196 r = dss_sdi_enable(sdi->dss); in sdi_display_enable()
208 dss_sdi_disable(sdi->dss); in sdi_display_enable()
212 dispc_runtime_put(sdi->dss->dispc); in sdi_display_enable()
[all …]
Ddpi.c41 struct dss_device *dss; member
74 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_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()
82 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_3)) in dpi_get_clk_src_dra7xx()
88 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_1)) in dpi_get_clk_src_dra7xx()
90 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
194 return dispc_div_calc(ctx->dpi->dss->dispc, dispc, in dpi_calc_hsdiv_cb()
212 ctx->pck_min, dss_get_max_fck_rate(ctx->dpi->dss), in dpi_calc_pll_cb()
222 return dispc_div_calc(ctx->dpi->dss->dispc, fck, in dpi_calc_dss_cb()
285 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc()
[all …]
Dbase.c41 void omapdss_set_dss(struct dss_device *dss) in omapdss_set_dss() argument
43 dss_device = dss; in omapdss_set_dss()
47 struct dispc_device *dispc_get_dispc(struct dss_device *dss) in dispc_get_dispc() argument
49 return dss->dispc; in dispc_get_dispc()
53 const struct dispc_ops *dispc_get_ops(struct dss_device *dss) in dispc_get_ops() argument
55 return dss->dispc_ops; in dispc_get_ops()
Domapdss-boot-init.c189 struct device_node *dss, *child; in omapdss_boot_init() local
193 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
195 if (dss == NULL || !of_device_is_available(dss)) in omapdss_boot_init()
198 omapdss_walk_device(dss, true); in omapdss_boot_init()
200 for_each_available_child_of_node(dss, child) { in omapdss_boot_init()
Dvideo-pll.c67 r = dss_runtime_get(pll->dss); in dss_video_pll_enable()
86 dss_runtime_put(pll->dss); in dss_video_pll_enable()
101 dss_runtime_put(pll->dss); in dss_video_pll_disable()
140 struct dss_pll *dss_video_pll_init(struct dss_device *dss, in dss_video_pll_init() argument
195 r = dss_pll_register(dss, pll); in dss_video_pll_init()
Dhdmi_pll.c131 static int hdmi_init_pll_data(struct dss_device *dss, in hdmi_init_pll_data() argument
157 r = dss_pll_register(dss, pll); in hdmi_init_pll_data()
164 int hdmi_pll_init(struct dss_device *dss, struct platform_device *pdev, in hdmi_pll_init() argument
178 r = hdmi_init_pll_data(dss, pdev, pll); in hdmi_pll_init()
Dvenc.c328 struct dss_device *dss; member
479 dss_set_venc_output(venc->dss, venc->type); in venc_power_on()
480 dss_set_dac_pwrdn_bgz(venc->dss, 1); in venc_power_on()
510 dss_set_dac_pwrdn_bgz(venc->dss, 0); in venc_power_on()
520 dss_set_dac_pwrdn_bgz(venc->dss, 0); in venc_power_off()
598 dispc_set_tv_pclk(venc->dss->dispc, 13500000); in venc_set_timings()
891 struct dss_device *dss = dss_get_device(master); in venc_bind() local
902 venc->dss = dss; in venc_bind()
941 venc->debugfs = dss_debugfs_create_file(dss, "venc", venc_dump_regs, in venc_bind()
992 dispc_runtime_put(venc->dss->dispc); in venc_runtime_suspend()
[all …]
Dhdmi5.c151 dss_select_hdmi_venc_clk_source(hdmi->dss, DSS_HDMI_M_PCLK); in hdmi_power_on_core()
276 if (!dispc_mgr_timings_ok(hdmi->dss->dispc, dssdev->dispc_channel, vm)) in hdmi_display_check_timing()
291 dispc_set_tv_pclk(hdmi->dss->dispc, vm->pixelclock); in hdmi_display_set_timing()
729 struct dss_device *dss = dss_get_device(master); in hdmi5_bind() local
739 hdmi->dss = dss; in hdmi5_bind()
753 r = hdmi_pll_init(dss, pdev, &hdmi->pll, &hdmi->wp); in hdmi5_bind()
792 hdmi->debugfs = dss_debugfs_create_file(dss, "hdmi", hdmi_dump_regs, in hdmi5_bind()
842 dispc_runtime_put(hdmi->dss->dispc); in hdmi_runtime_suspend()
852 r = dispc_runtime_get(hdmi->dss->dispc); in hdmi_runtime_resume()
Dhdmi4.c149 dss_select_hdmi_venc_clk_source(hdmi->dss, DSS_HDMI_M_PCLK); in hdmi_power_on_core()
279 if (!dispc_mgr_timings_ok(hdmi->dss->dispc, dssdev->dispc_channel, vm)) in hdmi_display_check_timing()
294 dispc_set_tv_pclk(hdmi->dss->dispc, vm->pixelclock); in hdmi_display_set_timing()
732 struct dss_device *dss = dss_get_device(master); in hdmi4_bind() local
742 hdmi->dss = dss; in hdmi4_bind()
756 r = hdmi_pll_init(dss, pdev, &hdmi->pll, &hdmi->wp); in hdmi4_bind()
799 hdmi->debugfs = dss_debugfs_create_file(dss, "hdmi", hdmi_dump_regs, in hdmi4_bind()
851 dispc_runtime_put(hdmi->dss->dispc); in hdmi_runtime_suspend()
861 r = dispc_runtime_get(hdmi->dss->dispc); in hdmi_runtime_resume()
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 \
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c106 } dss; variable
126 __raw_writel(val, dss.base + idx.idx); in dss_write_reg()
131 return __raw_readl(dss.base + idx.idx); in dss_read_reg()
135 dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg)
137 dss_write_reg(DSS_##reg, dss.ctx[(DSS_##reg).idx / sizeof(u32)])
151 dss.ctx_valid = true; in dss_save_context()
160 if (!dss.ctx_valid) in dss_restore_context()
182 if (!dss.syscon_pll_ctrl) in dss_ctrl_pll_enable()
202 regmap_update_bits(dss.syscon_pll_ctrl, dss.syscon_pll_ctrl_offset, in dss_ctrl_pll_enable()
211 if (!dss.syscon_pll_ctrl) in dss_ctrl_pll_set_control_mux()
[all …]
Domapdss-boot-init.c190 struct device_node *dss, *child; in omapdss_boot_init() local
194 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
196 if (dss == NULL || !of_device_is_available(dss)) in omapdss_boot_init()
199 omapdss_walk_device(dss, true); in omapdss_boot_init()
201 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-v4.19/fs/nfs/
Dnfs4client.c59 struct nfs4_ds_server *dss; in nfs4_find_ds_client() local
62 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { in nfs4_find_ds_client()
63 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_find_ds_client()
67 dss = NULL; in nfs4_find_ds_client()
70 return dss; in nfs4_find_ds_client()
77 struct nfs4_ds_server *dss; in nfs4_add_ds_client() local
80 list_for_each_entry(dss, &ds_clp->cl_ds_clients, list) { in nfs4_add_ds_client()
81 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_add_ds_client()
87 dss = new; in nfs4_add_ds_client()
90 return dss; in nfs4_add_ds_client()
[all …]
/Linux-v4.19/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"
Dti,omap3-dss.txt4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic
11 - compatible: "ti,omap3-dss"
/Linux-v4.19/arch/arm/boot/dts/
Ddra72x.dtsi22 &dss {
26 reg-names = "dss", "pll1_clkctrl", "pll1";
Domap36xx-am35xx-omap3430es2plus-clocks.dtsi165 compatible = "ti,dss-gate-clock";
174 compatible = "ti,omap3-dss-interface-clock";
190 compatible = "ti,dss-gate-clock";
198 compatible = "ti,omap3-dss-interface-clock";
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/
DMakefile3 obj-y += dss/
/Linux-v4.19/drivers/gpu/drm/omapdrm/
DMakefile7 obj-y += dss/

1234