Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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 …]
Ddss.h180 struct dss_device *dss; member
252 struct dss_debugfs_entry *dss; member
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,
309 void dss_select_hdmi_venc_clk_source(struct dss_device *dss,
[all …]
Doutput.c87 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()
Dbase.c19 struct dispc_device *dispc_get_dispc(struct dss_device *dss) in dispc_get_dispc() argument
21 return dss->dispc; in dispc_get_dispc()
138 return dssdev->dss; in omapdss_device_is_connected()
141 int omapdss_device_connect(struct dss_device *dss, in omapdss_device_connect() argument
145 dev_dbg(&dss->pdev->dev, "connect(%s, %s)\n", in omapdss_device_connect()
161 dst->dss = dss; in omapdss_device_connect()
169 struct dss_device *dss = src ? src->dss : dst->dss; in omapdss_device_disconnect() local
171 dev_dbg(&dss->pdev->dev, "disconnect(%s, %s)\n", in omapdss_device_disconnect()
185 dst->dss = NULL; in omapdss_device_disconnect()
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 …]
Dsdi.c25 struct dss_device *dss; member
68 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb()
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()
252 dss_sdi_disable(sdi->dss); in sdi_bridge_enable()
256 dispc_runtime_put(sdi->dss->dispc); in sdi_bridge_enable()
[all …]
Ddpi.c32 struct dss_device *dss; member
66 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_1)) in dpi_get_clk_src_dra7xx()
72 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
74 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_3)) in dpi_get_clk_src_dra7xx()
80 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_1)) in dpi_get_clk_src_dra7xx()
82 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
186 return dispc_div_calc(ctx->dpi->dss->dispc, dispc, in dpi_calc_hsdiv_cb()
204 ctx->pck_min, dss_get_max_fck_rate(ctx->dpi->dss), in dpi_calc_pll_cb()
214 return dispc_div_calc(ctx->dpi->dss->dispc, fck, in dpi_calc_dss_cb()
277 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc()
[all …]
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
183 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
173 r = hdmi_init_pll_data(dss, pdev, pll); in hdmi_pll_init()
Domapdss.h204 struct dss_device *dss; member
236 struct dss_device *dss; member
244 int omapdss_device_connect(struct dss_device *dss,
309 struct dispc_device *dispc_get_dispc(struct dss_device *dss);
Dvenc.c251 struct dss_device *dss; member
393 dss_set_venc_output(venc->dss, venc->type); in venc_power_on()
394 dss_set_dac_pwrdn_bgz(venc->dss, 1); in venc_power_on()
422 dss_set_dac_pwrdn_bgz(venc->dss, 0); in venc_power_on()
432 dss_set_dac_pwrdn_bgz(venc->dss, 0); in venc_power_off()
613 dispc_set_tv_pclk(venc->dss->dispc, 13500000); in venc_bridge_mode_set()
686 struct dss_device *dss = dss_get_device(master); in venc_bind() local
691 venc->dss = dss; in venc_bind()
702 venc->debugfs = dss_debugfs_create_file(dss, "venc", venc_dump_regs, in venc_bind()
/linux-6.1.9/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 …]
/linux-6.1.9/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-6.1.9/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 …]
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/display/ti/
Dti,k2g-dss.yaml5 $id: "http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml#"
21 const: ti,k2g-dss
83 dss: dss@2540000 {
84 compatible = "ti,k2g-dss";
Dti,am65x-dss.yaml5 $id: "http://devicetree.org/schemas/display/ti/ti,am65x-dss.yaml#"
22 const: ti,am65x-dss
122 dss: dss@4a00000 {
123 compatible = "ti,am65x-dss";
Dti,j721e-dss.yaml5 $id: "http://devicetree.org/schemas/display/ti/ti,j721e-dss.yaml#"
22 const: ti,j721e-dss
157 dss: dss@4a00000 {
158 compatible = "ti,j721e-dss";
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-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_mcr.c508 void intel_gt_mcr_get_ss_steering(struct intel_gt *gt, unsigned int dss, in intel_gt_mcr_get_ss_steering() argument
512 *group = dss / GEN_DSS_PER_CSLICE; in intel_gt_mcr_get_ss_steering()
513 *instance = dss % GEN_DSS_PER_CSLICE; in intel_gt_mcr_get_ss_steering()
515 *group = dss / GEN_DSS_PER_GSLICE; in intel_gt_mcr_get_ss_steering()
516 *instance = dss % GEN_DSS_PER_GSLICE; in intel_gt_mcr_get_ss_steering()
518 *group = dss / GEN_MAX_SS_PER_HSW_SLICE; in intel_gt_mcr_get_ss_steering()
519 *instance = dss % GEN_MAX_SS_PER_HSW_SLICE; in intel_gt_mcr_get_ss_steering()
/linux-6.1.9/arch/arm/boot/dts/
Domap36xx-am35xx-omap3430es2plus-clocks.dtsi190 compatible = "ti,dss-gate-clock";
200 compatible = "ti,omap3-dss-interface-clock";
216 compatible = "ti,dss-gate-clock";
224 compatible = "ti,omap3-dss-interface-clock";

12345