Home
last modified time | relevance | path

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

123456

/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddss.c39 #include "dss.h"
55 #define REG_GET(dss, idx, start, end) \ argument
56 FLD_GET(dss_read_reg(dss, idx), start, end)
58 #define REG_FLD_MOD(dss, idx, val, start, end) \ argument
59 dss_write_reg(dss, idx, \
60 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
63 int (*dpi_select_source)(struct dss_device *dss, int port,
65 int (*select_lcd_source)(struct dss_device *dss,
95 static inline void dss_write_reg(struct dss_device *dss, in dss_write_reg() argument
98 __raw_writel(val, dss in dss_write_reg()
101 dss_read_reg(struct dss_device * dss,const struct dss_reg idx) dss_read_reg() argument
106 SR(dss,reg) global() argument
108 RR(dss,reg) global() argument
111 dss_save_context(struct dss_device * dss) dss_save_context() argument
127 dss_restore_context(struct dss_device * dss) dss_restore_context() argument
177 dss_ctrl_pll_set_control_mux(struct dss_device * dss,enum dss_clk_source clk_src,enum omap_channel channel) dss_ctrl_pll_set_control_mux() argument
244 dss_sdi_init(struct dss_device * dss,int datapairs) dss_sdi_init() argument
263 dss_sdi_enable(struct dss_device * dss) dss_sdi_enable() argument
321 dss_sdi_disable(struct dss_device * dss) dss_sdi_disable() argument
336 dss_dump_clocks(struct dss_device * dss,struct seq_file * s) dss_dump_clocks() argument
358 struct dss_device *dss = s->private; dss_dump_regs() local
360 DUMPREG(dss,r) dss_dump_regs() argument
383 struct dss_device *dss = s->private; dss_debug_dump_clocks() local
405 dss_select_dispc_clk_source(struct dss_device * dss,enum dss_clk_source clk_src) dss_select_dispc_clk_source() argument
439 dss_select_dsi_clk_source(struct dss_device * dss,int dsi_module,enum dss_clk_source clk_src) dss_select_dsi_clk_source() argument
467 dss_lcd_clk_mux_dra7(struct dss_device * dss,enum omap_channel channel,enum dss_clk_source clk_src) dss_lcd_clk_mux_dra7() argument
495 dss_lcd_clk_mux_omap5(struct dss_device * dss,enum omap_channel channel,enum dss_clk_source clk_src) dss_lcd_clk_mux_omap5() argument
526 dss_lcd_clk_mux_omap4(struct dss_device * dss,enum omap_channel channel,enum dss_clk_source clk_src) dss_lcd_clk_mux_omap4() argument
555 dss_select_lcd_clk_source(struct dss_device * dss,enum omap_channel channel,enum dss_clk_source clk_src) dss_select_lcd_clk_source() argument
575 dss_get_dispc_clk_source(struct dss_device * dss) dss_get_dispc_clk_source() argument
580 dss_get_dsi_clk_source(struct dss_device * dss,int dsi_module) dss_get_dsi_clk_source() argument
586 dss_get_lcd_clk_source(struct dss_device * dss,enum omap_channel channel) dss_get_lcd_clk_source() argument
599 dss_div_calc(struct dss_device * dss,unsigned long pck,unsigned long fck_min,dss_div_calc_func func,void * data) dss_div_calc() argument
643 dss_set_fck_rate(struct dss_device * dss,unsigned long rate) dss_set_fck_rate() argument
661 dss_get_dispc_clk_rate(struct dss_device * dss) dss_get_dispc_clk_rate() argument
666 dss_get_max_fck_rate(struct dss_device * dss) dss_get_max_fck_rate() argument
671 dss_setup_default_clock(struct dss_device * dss) dss_setup_default_clock() argument
698 dss_set_venc_output(struct dss_device * dss,enum omap_dss_venc_type type) dss_set_venc_output() argument
713 dss_set_dac_pwrdn_bgz(struct dss_device * dss,bool enable) dss_set_dac_pwrdn_bgz() argument
719 dss_select_hdmi_venc_clk_source(struct dss_device * dss,enum dss_hdmi_venc_clk_source_select src) dss_select_hdmi_venc_clk_source() argument
737 dss_dpi_select_source_omap2_omap3(struct dss_device * dss,int port,enum omap_channel channel) dss_dpi_select_source_omap2_omap3() argument
746 dss_dpi_select_source_omap4(struct dss_device * dss,int port,enum omap_channel channel) dss_dpi_select_source_omap4() argument
767 dss_dpi_select_source_omap5(struct dss_device * dss,int port,enum omap_channel channel) dss_dpi_select_source_omap5() argument
794 dss_dpi_select_source_dra7xx(struct dss_device * dss,int port,enum omap_channel channel) dss_dpi_select_source_dra7xx() argument
815 dss_dpi_select_source(struct dss_device * dss,int port,enum omap_channel channel) dss_dpi_select_source() argument
821 dss_get_clocks(struct dss_device * dss) dss_get_clocks() argument
849 dss_put_clocks(struct dss_device * dss) dss_put_clocks() argument
855 dss_runtime_get(struct dss_device * dss) dss_runtime_get() argument
869 dss_runtime_put(struct dss_device * dss) dss_runtime_put() argument
886 dss_initialize_debugfs(struct dss_device * dss) dss_initialize_debugfs() argument
899 dss_uninitialize_debugfs(struct dss_device * dss) dss_uninitialize_debugfs() argument
925 dss_debugfs_create_file(struct dss_device * dss,const char * name,int (* show_fn)(struct seq_file * s,void * data),void * data) dss_debugfs_create_file() argument
953 dss_initialize_debugfs(struct dss_device * dss) dss_initialize_debugfs() argument
957 dss_uninitialize_debugfs(struct dss_device * dss) dss_uninitialize_debugfs() argument
1158 __dss_uninit_ports(struct dss_device * dss,unsigned int num_ports) __dss_uninit_ports() argument
1184 dss_init_ports(struct dss_device * dss) dss_init_ports() argument
1224 dss_uninit_ports(struct dss_device * dss) dss_uninit_ports() argument
1229 dss_video_pll_probe(struct dss_device * dss) dss_video_pll_probe() argument
1307 struct dss_device *dss = dev_get_drvdata(dev); dss_bind() local
1333 struct dss_device *dss = dev_get_drvdata(dev); dss_unbind() local
1379 dss_probe_hardware(struct dss_device * dss) dss_probe_hardware() argument
1419 struct dss_device *dss; dss_probe() local
1532 struct dss_device *dss = platform_get_drvdata(pdev); dss_remove() local
1564 struct dss_device *dss = dev_get_drvdata(dev); dss_runtime_suspend() local
1576 struct dss_device *dss = dev_get_drvdata(dev); dss_runtime_resume() local
[all...]
H A 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,
351 sdi_init_port(struct dss_device * dss,struct platform_device * pdev,struct device_node * port) sdi_init_port() argument
376 dpi_init_port(struct dss_device * dss,struct platform_device * pdev,struct device_node * port,enum dss_model dss_model) dpi_init_port() argument
[all...]
H A 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 in dss_mgr_unregister_framedone_handler() local
[all...]
H A 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 in dss_pll_unregister()
57 dss_pll_find(struct dss_device * dss,const char * name) dss_pll_find() argument
69 dss_pll_find_by_src(struct dss_device * dss,enum dss_clk_source src) dss_pll_find_by_src() argument
[all...]
H A Dbase.c16 #include "dss.h"
19 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
144 dev_dbg(&dss->pdev->dev, "connect(%s)\n", in omapdss_device_connect()
153 dst->dss = dss; in omapdss_device_connect()
158 void omapdss_device_disconnect(struct dss_device *dss, in omapdss_device_disconnect() argument
161 dev_dbg(&dss in omapdss_device_disconnect()
[all...]
H A Dsdi.c21 #include "dss.h"
26 struct dss_device *dss; member
69 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb()
101 ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, in sdi_calc_clock_div()
211 r = dispc_runtime_get(sdi->dss->dispc); in sdi_bridge_enable()
221 r = dss_set_fck_rate(sdi->dss, fck); in sdi_bridge_enable()
238 dispc_mgr_set_clock_div(sdi->dss->dispc, sdi->output.dispc_channel, in sdi_bridge_enable()
241 dss_sdi_init(sdi->dss, sdi->datapairs); in sdi_bridge_enable()
242 r = dss_sdi_enable(sdi->dss); in sdi_bridge_enable()
254 dss_sdi_disable(sdi->dss); in sdi_bridge_enable()
338 sdi_init_port(struct dss_device * dss,struct platform_device * pdev,struct device_node * port) sdi_init_port() argument
[all...]
H A Ddpi.c27 #include "dss.h"
33 struct dss_device *dss; member
67 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_1)) in dpi_get_clk_src_dra7xx()
73 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
75 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_3)) in dpi_get_clk_src_dra7xx()
81 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_1)) in dpi_get_clk_src_dra7xx()
83 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
187 return dispc_div_calc(ctx->dpi->dss->dispc, dispc, in dpi_calc_hsdiv_cb()
205 ctx->pck_min, dss_get_max_fck_rate(ctx->dpi->dss), in dpi_calc_pll_cb()
215 return dispc_div_calc(ctx->dpi->dss in dpi_calc_dss_cb()
701 dpi_init_port(struct dss_device * dss,struct platform_device * pdev,struct device_node * port,enum dss_model dss_model) dpi_init_port() argument
[all...]
H A Dvideo-pll.c15 #include "dss.h"
59 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()
H A Domapdss.h204 struct dss_device *dss; member
236 struct dss_device *dss; member
244 int omapdss_device_connect(struct dss_device *dss,
246 void omapdss_device_disconnect(struct dss_device *dss,
308 struct dispc_device *dispc_get_dispc(struct dss_device *dss);
H A Dhdmi_pll.c20 #include "dss.h"
128 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()
H A Dvenc.c31 #include "dss.h"
251 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()
614 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()
[all...]
H A Dhdmi5.c39 #include "dss.h"
125 dss_select_hdmi_venc_clk_source(hdmi->dss, DSS_HDMI_M_PCLK); in hdmi_power_on_core()
337 dispc_set_tv_pclk(hdmi->dss->dispc, adjusted_mode->clock * 1000); in hdmi5_bridge_mode_set()
625 struct dss_device *dss = dss_get_device(master); in hdmi5_bind() local
629 hdmi->dss = dss; in hdmi5_bind()
631 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi5_bind()
641 hdmi->debugfs = dss_debugfs_create_file(dss, "hdmi", hdmi_dump_regs, in hdmi5_bind()
/linux/drivers/gpu/drm/omapdrm/
H A 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/ven
[all...]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss.c3 * linux/drivers/video/omap2/dss/dss.c
37 #include "dss.h"
96 } dss; variable
116 __raw_writel(val, dss.base + idx.idx); in dss_write_reg()
121 return __raw_readl(dss.base + idx.idx); in dss_read_reg()
125 dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg)
127 dss_write_reg(DSS_##reg, dss.ctx[(DSS_##reg).idx / sizeof(u32)])
141 dss.ctx_valid = true; in dss_save_context()
150 if (!dss in dss_restore_context()
[all...]
H A Domapdss-boot-init.c170 { .compatible = "ti,omap2-dss", },
171 { .compatible = "ti,omap3-dss", },
172 { .compatible = "ti,omap4-dss", },
173 { .compatible = "ti,omap5-dss", },
174 { .compatible = "ti,dra7-dss", },
180 struct device_node *dss, *child; in omapdss_boot_init() local
184 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
186 if (dss == NULL || !of_device_is_available(dss)) { in omapdss_boot_init()
187 of_node_put(dss); in omapdss_boot_init()
[all...]
H A 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/drivers/gpu/drm/xe/
H A Dxe_gt_mcr.h34 void xe_gt_mcr_get_dss_steering(struct xe_gt *gt, unsigned int dss, u16 *group, u16 *instance);
40 * @dss: DSS ID to obtain steering for
45 #define for_each_dss_steering(dss, gt, group, instance) \ argument
46 for_each_dss((dss), (gt)) \
47 for_each_if((xe_gt_mcr_get_dss_steering((gt), (dss), &(group), &(instance)), true))
52 * @dss: DSS ID to obtain steering for
57 #define for_each_geometry_dss(dss, gt, group, instance) \ argument
58 for_each_dss_steering(dss, gt, group, instance) \
59 if (xe_gt_has_geometry_dss(gt, dss))
64 * @dss
69 for_each_compute_dss(dss,gt,group,instance) global() argument
[all...]
H A Dxe_gt_topology.h13 * @dss: iterated DSS bit from the DSS mask
16 #define for_each_dss(dss, gt) \ argument
17 for_each_or_bit((dss), \
47 bool xe_gt_has_geometry_dss(struct xe_gt *gt, unsigned int dss);
48 bool xe_gt_has_compute_dss(struct xe_gt *gt, unsigned int dss);
H A Dxe_gt_topology.c268 drm_printf(p, "dss mask (geometry): %*pb\n", XE_MAX_DSS_FUSE_BITS, in xe_gt_topology_dump()
270 drm_printf(p, "dss mask (compute): %*pb\n", XE_MAX_DSS_FUSE_BITS, in xe_gt_topology_dump()
284 * beginning of a specific dss group (e.g., gslice, cslice, etc.) if
322 bool xe_gt_has_geometry_dss(struct xe_gt *gt, unsigned int dss) in xe_gt_has_geometry_dss() argument
324 return test_bit(dss, gt->fuse_topo.g_dss_mask); in xe_gt_has_geometry_dss()
327 bool xe_gt_has_compute_dss(struct xe_gt *gt, unsigned int dss) in xe_gt_has_compute_dss() argument
329 return test_bit(dss, gt->fuse_topo.c_dss_mask); in xe_gt_has_compute_dss()
/linux/fs/nfs/
H A Dnfs4client.c63 struct nfs4_ds_server *dss; in nfs4_find_ds_client() local
66 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { in nfs4_find_ds_client()
67 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_find_ds_client()
71 dss = NULL; in nfs4_find_ds_client()
74 return dss; in nfs4_find_ds_client()
81 struct nfs4_ds_server *dss; in nfs4_add_ds_client() local
84 list_for_each_entry(dss, &ds_clp->cl_ds_clients, list) { in nfs4_add_ds_client()
85 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_add_ds_client()
91 dss = new; in nfs4_add_ds_client()
94 return dss; in nfs4_add_ds_client()
100 struct nfs4_ds_server *dss; nfs4_alloc_ds_server() local
118 nfs4_free_ds_server(struct nfs4_ds_server * dss) nfs4_free_ds_server() argument
135 struct nfs4_ds_server *dss, *new; nfs4_find_or_create_ds_client() local
155 struct nfs4_ds_server *dss; nfs4_shutdown_ds_clients() local
[all...]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_mcr.c596 u32 dss; in get_nonterminated_steering() local
622 dss = intel_sseu_find_first_xehp_dss(&gt->info.sseu, 0, 0); in get_nonterminated_steering()
623 *group = dss / GEN_DSS_PER_GSLICE; in get_nonterminated_steering()
624 *instance = dss % GEN_DSS_PER_GSLICE; in get_nonterminated_steering()
793 * @dss: DSS ID to obtain steering for
800 void intel_gt_mcr_get_ss_steering(struct intel_gt *gt, unsigned int dss, in intel_gt_mcr_get_ss_steering() argument
804 *group = dss / GEN_DSS_PER_GSLICE; in intel_gt_mcr_get_ss_steering()
805 *instance = dss % GEN_DSS_PER_GSLICE; in intel_gt_mcr_get_ss_steering()
807 *group = dss / GEN_MAX_SS_PER_HSW_SLICE; in intel_gt_mcr_get_ss_steering()
808 *instance = dss in intel_gt_mcr_get_ss_steering()
[all...]
/linux/Documentation/devicetree/bindings/display/ti/
H A 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'
H A Dti,omap-dss.txt48 dss: dss@58000000 {
49 compatible = "ti,omap4-dss";
185 &dss {
H A Dti,omap2-dss.txt4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic
11 - compatible: "ti,omap2-dss"
/linux/arch/arm/boot/dts/ti/omap/
H A Domap36xx-am35xx-omap3430es2plus-clocks.dtsi195 compatible = "ti,dss-gate-clock";
204 compatible = "ti,omap3-dss-interface-clock";
220 compatible = "ti,dss-gate-clock";
228 compatible = "ti,omap3-dss-interface-clock";

123456