/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dss.c | 10 #define DSS_SUBSYS_NAME "DSS" 38 #include "dss.h" 54 #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 [all …]
|
H A D | dss.h | 180 struct dss_device *dss; member 252 struct dss_debugfs_entry *dss; member 279 /* DSS */ 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, [all …]
|
H A D | output.c | 17 #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 = 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 D | pll.c | 16 #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->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() [all …]
|
H A D | sdi.c | 20 #include "dss.h" 25 struct dss_device *dss; member 68 return dispc_div_calc(ctx->sdi->dss->dispc, fck, in dpi_calc_dss_cb() 81 * DSS fclk gives us very few possibilities, so finding a good pixel in sdi_calc_clock_div() 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() [all …]
|
H A D | base.c | 16 #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() 25 * OMAP DSS Devices Handling 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() [all …]
|
H A D | dpi.c | 26 #include "dss.h" 32 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() [all …]
|
H A D | omapdss.h | 204 struct dss_device *dss; member 212 * DSS type that this device generates (for DSS internal devices) or 223 /* OMAP DSS output specific fields */ 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);
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | Makefile | 22 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 …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dss.c | 3 * linux/drivers/video/omap2/dss/dss.c 12 #define DSS_SUBSYS_NAME "DSS" 36 #include "dss.h" 95 } 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() [all …]
|
H A D | omapdss-boot-init.c | 171 { .compatible = "ti,omap2-dss", }, 172 { .compatible = "ti,omap3-dss", }, 173 { .compatible = "ti,omap4-dss", }, 174 { .compatible = "ti,omap5-dss", }, 175 { .compatible = "ti,dra7-dss", }, 181 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() [all …]
|
H A D | Makefile | 4 # Core DSS files 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 7 # DSS compat layer files
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_parser.c | 41 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ti/ |
H A D | ti,am65x-dss.yaml | 5 $id: http://devicetree.org/schemas/display/ti/ti,am65x-dss.yaml# 16 ports and two video planes. In AM65x DSS, the first video port 17 supports 1 OLDI TX and in AM625 DSS, the first video port output is 25 - ti,am625-dss 26 - ti,am65x-dss 30 Addresses to each DSS memory region described in the SoC's TRM. 32 - description: common DSS register area 52 - description: fck DSS functional clock 87 For AM65x DSS, the OLDI output port node from video port 1. 88 For AM625 DSS, the internal DPI output port node from video [all …]
|
H A D | ti,omap-dss.txt | 11 The OMAP Display Subsystem (DSS) hardware consists of DSS Core, DISPC module and 12 a number of encoder modules. All DSS versions contain DSS Core and DISPC, but 15 The DSS Core is the parent of the other DSS modules, and manages clock routing, 27 The DSS Core and the encoders have video port outputs. The structure of the 30 described in the SoC's DSS binding documentation. 45 A shortened example of the DSS description for OMAP4, with non-relevant parts 48 dss: dss@58000000 { 49 compatible = "ti,omap4-dss"; 90 DSS Core --(MIPI DPI)--> TFP410 --(DVI)--> DVI Connector 185 &dss {
|
H A D | ti,j721e-dss.yaml | 5 $id: http://devicetree.org/schemas/display/ti/ti,j721e-dss.yaml# 22 const: ti,j721e-dss 26 - description: common_m DSS Master common 27 - description: common_s0 DSS Shared common 0 28 - description: common_s1 DSS Shared common 1 29 - description: common_s2 DSS Shared common 2 66 - description: fck DSS functional clock 90 - description: common_m DSS Master common 91 - description: common_s0 DSS Shared common 0 92 - description: common_s1 DSS Shared common 1 [all …]
|
H A D | ti,k2g-dss.yaml | 5 $id: http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml# 15 The K2G DSS is an ultra-light version of TI Keystone Display 21 const: ti,k2g-dss 25 - description: cfg DSS top level 41 - description: fck DSS functional clock 59 The DSS DPI output port node 83 dss: dss@2540000 { 84 compatible = "ti,k2g-dss";
|
H A D | ti,dra7-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 7 DSS Core 11 - compatible: "ti,dra7-dss" 12 - reg: address and length of the register spaces for 'dss' 32 - DSS Submodules: HDMI
|
/openbmc/linux/Documentation/networking/ |
H A D | cdc_mbim.rst | 196 Device Service Streams (DSS) 201 device, mapping MBIM DSS session A to VLAN ID (256 + A) for all values 207 The DSS VLAN subdevices are used as a practical interface between the 208 shared MBIM data channel and a MBIM DSS aware userspace application. 210 assumption is that a userspace application initiating a DSS session 211 also takes care of the necessary framing of the DSS data, presenting 214 The network device ABI requires a dummy ethernet header for every DSS 224 The DSS supporting userspace management application is responsible for 235 This is only an example, most suitable for testing out a DSS 236 service. Userspace applications supporting specific MBIM DSS services [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am437x-sbc-t43.dts | 32 dss_pinctrl_default: dss-pinctrl-default-pins { 34 AM4372_IOPAD(0x9b0, PIN_OUTPUT_PULLUP | MUX_MODE2) /* cam0 hd -> DSS DATA 23 */ 41 AM4372_IOPAD(0x9cc, PIN_OUTPUT_PULLUP | MUX_MODE2) /* cam1 data 9 -> DSS DATA 16 */ 43 AM4372_IOPAD(0x8a0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 0 */ 58 AM4372_IOPAD(0x8dc, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 15 */ 59 AM4372_IOPAD(0x8e0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS VSYNC */ 60 AM4372_IOPAD(0x8e4, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS HSYNC */ 61 AM4372_IOPAD(0x8e8, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS PCLK */ 62 AM4372_IOPAD(0x8ec, PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS AC BIAS EN */ 138 &dss {
|
/openbmc/u-boot/drivers/video/ |
H A D | omap3_dss.c | 6 * Referred to Linux Kernel DSS driver files for OMAP3 by 7 * Tomi Valkeinen from drivers/video/omap2/dss/ 30 #include <asm/arch/dss.h> 38 struct dss_regs *dss = (struct dss_regs *) OMAP3_DSS_BASE; in omap3_dss_venc_config() local 92 /* Configure DSS for VENC Settings */ in omap3_dss_venc_config() 94 &dss->control); in omap3_dss_venc_config() 104 struct dss_regs *dss = (struct dss_regs *) OMAP3_DSS_BASE; in omap3_dss_panel_config() local 106 writel(DSS_SOFTRESET, &dss->sysconfig); in omap3_dss_panel_config() 107 while (!(readl(&dss->sysstatus) & DSS_RESETDONE)) in omap3_dss_panel_config() 130 /* Enable LCD and DIGITAL OUT in DSS */
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | display.c | 169 pr_err("DSS not supported on this SoC\n"); in omapdss_init_fbdev() 212 "ti,omap2-dss", 213 "ti,omap3-dss", 214 "ti,omap4-dss", 215 "ti,omap5-dss", 216 "ti,dra7-dss", 240 /* only create dss helper devices if dss is enabled in the .dts */ in omapdss_init_of() 254 pr_err("Unable to find DSS platform device\n"); in omapdss_init_of() 263 pr_err("Unable to populate DSS submodule devices\n"); in omapdss_init_of() 315 * DSS clocks are disabled or DISPC module is reset in dispc_disable_outputs() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4client.c | 63 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 …]
|
/openbmc/linux/Documentation/arch/arm/omap/ |
H A D | dss.rst | 10 The DSS2 driver (omapdss module) is in arch/arm/plat-omap/dss/, and the FB, 31 - Adjusting DSS FCK to find a good pixel clock 32 - Use DSI DPLL to create DSS FCK 42 The DSS driver does not itself have any support for Linux framebuffer, V4L or 46 The DSS driver models OMAP's overlays, overlay managers and displays in a 54 well. Hence, it is relevant to update the DSS device driver to provide an audio 64 While a given DSS device driver may support audio, it is possible that for 71 specific DSS device driver, a struct omap_dss_audio is defined. Its purpose 101 themselves to the DSS driver. 163 The sysfs interface is divided to two parts: DSS and FB. [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_mcr.c | 44 "DSS", 121 /* DSS steering is used for SLICE ranges as well */ 125 { 0x008140, 0x00815F }, /* SLICE (0x8140-0x814F), DSS (0x8150-0x815F) */ 126 { 0x0094D0, 0x00955F }, /* SLICE (0x94D0-0x951F), DSS (0x9520-0x955F) */ 127 { 0x009680, 0x0096FF }, /* DSS */ 130 { 0x00DE80, 0x00E8FF }, /* DSS (0xE000-0xE0FF reserved) */ 150 * disabled *and* all of the DSS in the slice (quadrant) are disabled. in intel_gt_mcr_init() 186 gt->steering_table[DSS] = xelpg_dss_steering_table; in intel_gt_mcr_init() 614 u32 dss; in get_nonterminated_steering() local 639 case DSS: in get_nonterminated_steering() [all …]
|