Home
last modified time | relevance | path

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

123456

/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddss.c55 #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->base + idx.idx); in dss_write_reg()
101 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg() argument
[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,
[all …]
H A 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()
H A 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 …]
H A Dsdi.c26 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()
258 dispc_runtime_put(sdi->dss->dispc); in sdi_bridge_enable()
[all …]
H A 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
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->pdev->dev, "disconnect(%s)\n", in omapdss_device_disconnect()
172 dst->dss = NULL; in omapdss_device_disconnect()
H A Ddpi.c33 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->dispc, fck, in dpi_calc_dss_cb()
278 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc()
[all …]
H A 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()
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.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()
H A 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()
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()
702 venc->debugfs = dss_debugfs_create_file(dss, "venc", venc_dump_regs, in venc_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/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/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss.c96 } 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.ctx_valid) in dss_restore_context()
172 if (!dss.syscon_pll_ctrl) in dss_ctrl_pll_enable()
192 regmap_update_bits(dss.syscon_pll_ctrl, dss.syscon_pll_ctrl_offset, in dss_ctrl_pll_enable()
201 if (!dss.syscon_pll_ctrl) in dss_ctrl_pll_set_control_mux()
[all …]
H A Domapdss-boot-init.c179 struct device_node *dss, *child; in omapdss_boot_init() local
183 dss = of_find_matching_node(NULL, omapdss_of_match); in omapdss_boot_init()
185 if (dss == NULL || !of_device_is_available(dss)) { in omapdss_boot_init()
186 of_node_put(dss); in omapdss_boot_init()
190 omapdss_walk_device(dss, true); in omapdss_boot_init()
192 for_each_available_child_of_node(dss, child) { in omapdss_boot_init()
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.h35 unsigned int dss, u16 *group, u16 *instance);
46 #define for_each_dss_steering(dss, gt, group, instance) \ argument
47 for_each_dss((dss), (gt)) \
48 for_each_if((xe_gt_mcr_get_dss_steering((gt), (dss), &(group), &(instance)), true))
58 #define for_each_geometry_dss(dss, gt, group, instance) \ argument
59 for_each_dss_steering(dss, gt, group, instance) \
60 if (xe_gt_has_geometry_dss(gt, dss))
70 #define for_each_compute_dss(dss, gt, group, instance) \ argument
71 for_each_dss_steering(dss, gt, group, instance) \
72 if (xe_gt_has_compute_dss(gt, dss))
H A Dxe_gt_topology.h16 #define for_each_dss(dss, gt) \ argument
17 for_each_or_bit((dss), \
49 bool xe_gt_has_geometry_dss(struct xe_gt *gt, unsigned int dss);
50 bool xe_gt_has_compute_dss(struct xe_gt *gt, unsigned int dss);
H A Dxe_gt_topology.c348 bool xe_gt_has_geometry_dss(struct xe_gt *gt, unsigned int dss) in xe_gt_has_geometry_dss() argument
350 return test_bit(dss, gt->fuse_topo.g_dss_mask); in xe_gt_has_geometry_dss()
353 bool xe_gt_has_compute_dss(struct xe_gt *gt, unsigned int dss) in xe_gt_has_compute_dss() argument
355 return test_bit(dss, gt->fuse_topo.c_dss_mask); in xe_gt_has_compute_dss()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c261 if (IS_ERR_OR_NULL(mirror->dss[dss_id].mirror_ds)) in ff_layout_track_ds_error()
273 nfs4_stateid_copy(&dserr->stateid, &mirror->dss[dss_id].stateid); in ff_layout_track_ds_error()
274 memcpy(&dserr->deviceid, &mirror->dss[dss_id].mirror_ds->id_node.deviceid, in ff_layout_track_ds_error()
289 pcred = &mirror->dss[dss_id].ro_cred; in ff_layout_get_mirror_cred()
291 pcred = &mirror->dss[dss_id].rw_cred; in ff_layout_get_mirror_cred()
309 return &mirror->dss[dss_id].fh_versions[0]; in nfs4_ff_layout_select_ds_fh()
318 nfs4_stateid_copy(stateid, &mirror->dss[dss_id].stateid); in nfs4_ff_layout_select_ds_stateid()
328 if (mirror->dss[dss_id].mirror_ds == NULL) { in ff_layout_init_mirror_ds()
333 &mirror->dss[dss_id].devid, lo->plh_lc_cred, in ff_layout_init_mirror_ds()
339 if (cmpxchg(&mirror->dss[dss_id].mirror_ds, NULL, mirror_ds) && in ff_layout_init_mirror_ds()
[all …]
H A Dflexfilelayout.c174 return nfs_local_open_fh(clp, cred, fh, &mirror->dss[dss_id].nfl, mode); in ff_local_open_fh()
212 if (!ff_dss_match_fh(&m1->dss[dss_id], &m2->dss[dss_id])) in ff_mirror_match_fh()
227 if (memcmp(&m1->dss[dss_id].devid, in ff_mirror_match_devid()
228 &m2->dss[dss_id].devid, in ff_mirror_match_devid()
229 sizeof(m1->dss[dss_id].devid)) != 0) in ff_mirror_match_devid()
287 mirror->dss = in ff_layout_alloc_mirror()
290 if (mirror->dss == NULL) { in ff_layout_alloc_mirror()
296 nfs_localio_file_init(&mirror->dss[dss_id].nfl); in ff_layout_alloc_mirror()
309 kfree(mirror->dss[dss_id].fh_versions); in ff_layout_free_mirror()
310 cred = rcu_access_pointer(mirror->dss[dss_id].ro_cred); in ff_layout_free_mirror()
[all …]
/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()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_mcr.c597 u32 dss; in get_nonterminated_steering() local
623 dss = intel_sseu_find_first_xehp_dss(&gt->info.sseu, 0, 0); in get_nonterminated_steering()
624 *group = dss / GEN_DSS_PER_GSLICE; in get_nonterminated_steering()
625 *instance = dss % GEN_DSS_PER_GSLICE; in get_nonterminated_steering()
801 void intel_gt_mcr_get_ss_steering(struct intel_gt *gt, unsigned int dss, in intel_gt_mcr_get_ss_steering() argument
805 *group = dss / GEN_DSS_PER_GSLICE; in intel_gt_mcr_get_ss_steering()
806 *instance = dss % GEN_DSS_PER_GSLICE; in intel_gt_mcr_get_ss_steering()
808 *group = dss / GEN_MAX_SS_PER_HSW_SLICE; in intel_gt_mcr_get_ss_steering()
809 *instance = dss % GEN_MAX_SS_PER_HSW_SLICE; in intel_gt_mcr_get_ss_steering()
/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 {
/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