/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 124 static void mtk_dpi_mask(struct mtk_dpi *dpi, u32 offset, u32 val, u32 mask) in mtk_dpi_mask() argument 126 u32 tmp = readl(dpi->regs + offset) & ~mask; in mtk_dpi_mask() 129 writel(tmp, dpi->regs + offset); in mtk_dpi_mask() 132 static void mtk_dpi_sw_reset(struct mtk_dpi *dpi, bool reset) in mtk_dpi_sw_reset() argument 134 mtk_dpi_mask(dpi, DPI_RET, reset ? RST : 0, RST); in mtk_dpi_sw_reset() 137 static void mtk_dpi_enable(struct mtk_dpi *dpi) in mtk_dpi_enable() argument 139 mtk_dpi_mask(dpi, DPI_EN, EN, EN); in mtk_dpi_enable() 142 static void mtk_dpi_disable(struct mtk_dpi *dpi) in mtk_dpi_disable() argument 144 mtk_dpi_mask(dpi, DPI_EN, 0, EN); in mtk_dpi_disable() 147 static void mtk_dpi_config_hsync(struct mtk_dpi *dpi, in mtk_dpi_config_hsync() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 10 #define DSS_SUBSYS_NAME "DPI" 53 static enum dss_clk_source dpi_get_clk_src_dra7xx(struct dpi_data *dpi, in dpi_get_clk_src_dra7xx() argument 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() 93 static enum dss_clk_source dpi_get_clk_src(struct dpi_data *dpi) in dpi_get_clk_src() argument 95 enum omap_channel channel = dpi->output.dispc_channel; in dpi_get_clk_src() 98 * XXX we can't currently use DSI PLL for DPI with OMAP3, as the DSI PLL in dpi_get_clk_src() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 3 * linux/drivers/video/omap2/dss/dpi.c 12 #define DSS_SUBSYS_NAME "DPI" 64 * XXX we can't currently use DSI PLL for DPI with OMAP3, as the DSI PLL in dpi_get_pll() 65 * would also be used for DISPC fclk. Meaning, when the DPI output is in dpi_get_pll() 219 static bool dpi_dsi_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_dsi_clk_calc() argument 226 ctx->pll = dpi->pll; in dpi_dsi_clk_calc() 271 static int dpi_set_dsi_clk(struct dpi_data *dpi, enum omap_channel channel, in dpi_set_dsi_clk() argument 279 ok = dpi_dsi_clk_calc(dpi, pck_req, &ctx); in dpi_set_dsi_clk() 283 r = dss_pll_set_config(dpi->pll, &ctx.dsi_cinfo); in dpi_set_dsi_clk() 290 dpi->mgr_config.clock_info = ctx.dispc_cinfo; in dpi_set_dsi_clk() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_dpi.c | 7 * DOC: VC4 DPI module 9 * The VC4 DPI hardware supports MIPI DPI type 4 and Nokia ViSSI 84 /* General DPI hardware state. */ 98 #define DPI_READ(offset) readl(dpi->regs + (offset)) 99 #define DPI_WRITE(offset, val) writel(val, dpi->regs + (offset)) 101 /* VC4 DPI encoder KMS struct */ 104 struct vc4_dpi *dpi; member 121 struct vc4_dpi *dpi = vc4_encoder->dpi; in vc4_dpi_encoder_disable() local 123 clk_disable_unprepare(dpi->pixel_clock); in vc4_dpi_encoder_disable() 131 struct vc4_dpi *dpi = vc4_encoder->dpi; in vc4_dpi_encoder_enable() local [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-dpi.c | 3 * Generic MIPI DPI Panel Driver 45 r = in->ops.dpi->connect(in, dssdev); in panel_dpi_connect() 60 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect() 76 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable() 77 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable() 79 r = in->ops.dpi->enable(in); in panel_dpi_enable() 106 in->ops.dpi->disable(in); in panel_dpi_disable() 120 in->ops.dpi->set_timings(in, timings); in panel_dpi_set_timings() 137 return in->ops.dpi->check_timings(in, timings); in panel_dpi_check_timings() 272 dssdev->phy.dpi.data_lines = ddata->data_lines; in panel_dpi_probe() [all …]
|
D | encoder-tfp410.c | 3 * TFP410 DPI-to-DVI encoder driver 39 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect() 66 in->ops.dpi->disconnect(in, &ddata->dssdev); in tfp410_disconnect() 81 in->ops.dpi->set_timings(in, &ddata->timings); in tfp410_enable() 83 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tfp410_enable() 85 r = in->ops.dpi->enable(in); in tfp410_enable() 108 in->ops.dpi->disable(in); in tfp410_disable() 131 in->ops.dpi->set_timings(in, timings); in tfp410_set_timings() 150 return in->ops.dpi->check_timings(in, timings); in tfp410_check_timings() 227 dssdev->phy.dpi.data_lines = ddata->data_lines; in tfp410_probe() [all …]
|
D | panel-sharp-ls037v7dw01.c | 67 r = in->ops.dpi->connect(in, dssdev); in sharp_ls_connect() 82 in->ops.dpi->disconnect(in, dssdev); in sharp_ls_disconnect() 98 in->ops.dpi->set_data_lines(in, ddata->data_lines); in sharp_ls_enable() 99 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable() 107 r = in->ops.dpi->enable(in); in sharp_ls_enable() 145 in->ops.dpi->disable(in); in sharp_ls_disable() 162 in->ops.dpi->set_timings(in, timings); in sharp_ls_set_timings() 179 return in->ops.dpi->check_timings(in, timings); in sharp_ls_check_timings() 287 dssdev->phy.dpi.data_lines = ddata->data_lines; in sharp_ls_probe()
|
D | Kconfig | 12 tristate "TFP410 DPI to DVI Encoder" 14 Driver for TFP410 DPI to DVI encoder. 39 tristate "Generic DPI panel" 41 Driver for generic DPI panels.
|
D | panel-lgphilips-lb035q02.c | 126 r = in->ops.dpi->connect(in, dssdev); in lb035q02_connect() 143 in->ops.dpi->disconnect(in, dssdev); in lb035q02_disconnect() 159 in->ops.dpi->set_data_lines(in, ddata->data_lines); in lb035q02_enable() 160 in->ops.dpi->set_timings(in, &ddata->videomode); in lb035q02_enable() 162 r = in->ops.dpi->enable(in); in lb035q02_enable() 191 in->ops.dpi->disable(in); in lb035q02_disable() 205 in->ops.dpi->set_timings(in, timings); in lb035q02_set_timings() 222 return in->ops.dpi->check_timings(in, timings); in lb035q02_check_timings() 303 dssdev->phy.dpi.data_lines = ddata->data_lines; in lb035q02_panel_spi_probe()
|
D | panel-tpo-td028ttec1.c | 167 r = in->ops.dpi->connect(in, dssdev); in td028ttec1_panel_connect() 182 in->ops.dpi->disconnect(in, dssdev); in td028ttec1_panel_disconnect() 198 in->ops.dpi->set_data_lines(in, ddata->data_lines); in td028ttec1_panel_enable() 199 in->ops.dpi->set_timings(in, &ddata->videomode); in td028ttec1_panel_enable() 201 r = in->ops.dpi->enable(in); in td028ttec1_panel_enable() 310 in->ops.dpi->disable(in); in td028ttec1_panel_disable() 324 in->ops.dpi->set_timings(in, timings); in td028ttec1_panel_set_timings() 341 return in->ops.dpi->check_timings(in, timings); in td028ttec1_panel_check_timings() 413 dssdev->phy.dpi.data_lines = ddata->data_lines; in td028ttec1_panel_probe()
|
D | panel-nec-nl8048hl11.c | 125 r = in->ops.dpi->connect(in, dssdev); in nec_8048_connect() 140 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect() 156 in->ops.dpi->set_data_lines(in, ddata->data_lines); in nec_8048_enable() 157 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable() 159 r = in->ops.dpi->enable(in); in nec_8048_enable() 182 in->ops.dpi->disable(in); in nec_8048_disable() 196 in->ops.dpi->set_timings(in, timings); in nec_8048_set_timings() 213 return in->ops.dpi->check_timings(in, timings); in nec_8048_check_timings()
|
D | panel-tpo-td043mtea1.c | 345 r = in->ops.dpi->connect(in, dssdev); in tpo_td043_connect() 360 in->ops.dpi->disconnect(in, dssdev); in tpo_td043_disconnect() 376 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tpo_td043_enable() 377 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable() 379 r = in->ops.dpi->enable(in); in tpo_td043_enable() 390 in->ops.dpi->disable(in); in tpo_td043_enable() 408 in->ops.dpi->disable(in); in tpo_td043_disable() 425 in->ops.dpi->set_timings(in, timings); in tpo_td043_set_timings() 442 return in->ops.dpi->check_timings(in, timings); in tpo_td043_check_timings()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
D | brcm,bcm2835-dpi.yaml | 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml# 7 title: Broadcom VC4 (VideoCore4) DPI Controller 14 const: brcm,bcm2835-dpi 48 dpi: dpi@7e208000 { 49 compatible = "brcm,bcm2835-dpi";
|
D | st,stm32-ltdc.yaml | 40 "Video port for DPI RGB output. 42 - for external dpi rgb panel or bridge, using gpios. 43 - for internal dpi input of the MIPI DSI host controller.
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/ |
D | Kconfig | 3 tristate "Cadence DPI/DP bridge" 8 Support Cadence DPI to DP bridge. This is an internal 10 It takes a DPI stream as input and outputs it encoded 17 bool "J721E Cadence DPI/DP wrapper support" 20 Support J721E Cadence DPI/DP wrapper. This is a wrapper
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,dpi.txt | 1 Mediatek DPI Device 4 The Mediatek DPI function block is a sink of the display subsystem and 9 - compatible: "mediatek,<chip>-dpi" 25 dpi0: dpi@1401d000 { 26 compatible = "mediatek,mt8173-dpi";
|
D | mediatek,disp.txt | 26 Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt. 43 "mediatek,<chip>-dpi" - DPI controller, see mediatek,dpi.txt 53 DPI controller nodes have multiple clock inputs. These are documented in 54 mediatek,dsi.txt and mediatek,dpi.txt, respectively. 192 dpi0: dpi@1401d000 { 193 /* See mediatek,dpi.txt for details */
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/ |
D | panel-dpi.yaml | 4 $id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# 7 title: Generic MIPI DPI Panel 18 Shall contain a panel specific compatible and "panel-dpi" 22 - const: panel-dpi 43 compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
|
D | startek,startek-kd050c.yaml | 13 - $ref: panel-dpi.yaml# 19 - {} # panel-dpi, but not listed here to avoid false select
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 749 struct bnxt_qplib_dpi *dpi, in bnxt_qplib_alloc_dpi() argument 758 /* Found unused DPI */ in bnxt_qplib_alloc_dpi() 762 dpi->dpi = bit_num; in bnxt_qplib_alloc_dpi() 763 dpi->dbr = dpit->dbr_bar_reg_iomem + (bit_num * PAGE_SIZE); in bnxt_qplib_alloc_dpi() 764 dpi->umdbr = dpit->unmapped_dbr + (bit_num * PAGE_SIZE); in bnxt_qplib_alloc_dpi() 771 struct bnxt_qplib_dpi *dpi) in bnxt_qplib_dealloc_dpi() argument 773 if (dpi->dpi >= dpit->max) { in bnxt_qplib_dealloc_dpi() 774 dev_warn(&res->pdev->dev, "Invalid DPI? dpi = %d\n", dpi->dpi); in bnxt_qplib_dealloc_dpi() 777 if (test_and_set_bit(dpi->dpi, dpit->tbl)) { in bnxt_qplib_dealloc_dpi() 778 dev_warn(&res->pdev->dev, "Freeing an unused DPI? dpi = %d\n", in bnxt_qplib_dealloc_dpi() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | cls_rsvp.h | 23 DPI(="Destination Port ID"): triple (key, mask, offset). 42 resources. But DPI and SPI add the possibility to assign different 56 F.e. DPI can select ETH_P_IP (and necessary flags to make 76 struct tc_rsvp_gpi dpi; member 174 !(s->dpi.mask & in rsvp_classify() 175 (*(u32 *)(xprt + s->dpi.offset) ^ s->dpi.key)) && in rsvp_classify() 589 memcmp(&pinfo->dpi, &s->dpi, sizeof(s->dpi)) == 0 && in rsvp_change() 633 s->dpi = pinfo->dpi; in rsvp_change() 640 if ((nsp->dpi.mask & s->dpi.mask) != s->dpi.mask) in rsvp_change() 710 pinfo.dpi = s->dpi; in rsvp_dump()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | jme.c | 356 register struct dynpcc_info *dpi = &(jme->dpi); in jme_start_irq() local 359 dpi->cur = PCC_P1; in jme_start_irq() 360 dpi->attempt = PCC_P1; in jme_start_irq() 361 dpi->cnt = 0; in jme_start_irq() 1118 jme_attempt_pcc(struct dynpcc_info *dpi, int atmp) in jme_attempt_pcc() argument 1120 if (likely(atmp == dpi->cur)) { in jme_attempt_pcc() 1121 dpi->cnt = 0; in jme_attempt_pcc() 1125 if (dpi->attempt == atmp) { in jme_attempt_pcc() 1126 ++(dpi->cnt); in jme_attempt_pcc() 1128 dpi->attempt = atmp; in jme_attempt_pcc() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
D | toshiba,tc358762.yaml | 7 title: Toshiba TC358762 MIPI DSI to MIPI DPI bridge 13 The TC358762 is bridge device which converts MIPI DSI to MIPI DPI. 64 Video port for MIPI DPI output (panel or connector).
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
D | Kconfig | 20 tristate "Cadence DPI/DSI bridge" 27 Support Cadence DPI to DSI bridge. This is an internal 172 tristate "TC358762 DSI/DPI bridge" 177 Toshiba TC358762 DSI/DPI bridge driver.
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mcde/ |
D | mcde_drv.c | 18 * It can do 1080p30 on SDTV CCIR656, DPI-2, DBI-2 or DSI for 25 * Memory -> Overlay -> Channel -> FIFO -> 5 formatters -> DSI/DPI 27 * source 0..9 C0,C1 2 x DPI 32 * 2 of the formatters are for DPI. 34 * Behind the formatters are the DSI or DPI ports that route to 36 * DPI port, it is possible to configure up to 4 display pipelines 162 * TODO: when adding support for the DPI bridge or several DSI bridges, in mcde_modeset_init()
|