/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dss.c | 65 #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 …]
|
D | dss.h | 191 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 …]
|
D | pll.c | 39 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 …]
|
D | sdi.c | 34 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 …]
|
D | dpi.c | 41 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 …]
|
D | base.c | 41 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()
|
D | omapdss-boot-init.c | 189 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()
|
D | video-pll.c | 67 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()
|
D | hdmi_pll.c | 131 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()
|
D | venc.c | 328 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 …]
|
D | hdmi5.c | 151 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()
|
D | hdmi4.c | 149 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()
|
D | Makefile | 5 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/ |
D | dss.c | 106 } 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 …]
|
D | omapdss-boot-init.c | 190 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()
|
D | Makefile | 5 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/ |
D | nfs4client.c | 59 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/ |
D | ti,dra7-dss.txt | 4 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'
|
D | ti,omap-dss.txt | 48 dss: dss@58000000 { 49 compatible = "ti,omap4-dss"; 185 &dss {
|
D | ti,omap2-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 11 - compatible: "ti,omap2-dss"
|
D | ti,omap3-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 11 - compatible: "ti,omap3-dss"
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | dra72x.dtsi | 22 &dss { 26 reg-names = "dss", "pll1_clkctrl", "pll1";
|
D | omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 165 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/ |
D | Makefile | 3 obj-y += dss/
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
D | Makefile | 7 obj-y += dss/
|