/Linux-v5.15/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 130 static void mtk_dpi_mask(struct mtk_dpi *dpi, u32 offset, u32 val, u32 mask) in mtk_dpi_mask() argument 132 u32 tmp = readl(dpi->regs + offset) & ~mask; in mtk_dpi_mask() 135 writel(tmp, dpi->regs + offset); in mtk_dpi_mask() 138 static void mtk_dpi_sw_reset(struct mtk_dpi *dpi, bool reset) in mtk_dpi_sw_reset() argument 140 mtk_dpi_mask(dpi, DPI_RET, reset ? RST : 0, RST); in mtk_dpi_sw_reset() 143 static void mtk_dpi_enable(struct mtk_dpi *dpi) in mtk_dpi_enable() argument 145 mtk_dpi_mask(dpi, DPI_EN, EN, EN); in mtk_dpi_enable() 148 static void mtk_dpi_disable(struct mtk_dpi *dpi) in mtk_dpi_disable() argument 150 mtk_dpi_mask(dpi, DPI_EN, 0, EN); in mtk_dpi_disable() 153 static void mtk_dpi_config_hsync(struct mtk_dpi *dpi, in mtk_dpi_config_hsync() argument [all …]
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/dss/ |
D | dpi.c | 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() 102 switch (dpi->dss_model) { in dpi_get_clk_src() 129 return dpi_get_clk_src_dra7xx(dpi, channel); in dpi_get_clk_src() [all …]
|
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 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() 299 static int dpi_set_dispc_clk(struct dpi_data *dpi, unsigned long pck_req, in dpi_set_dispc_clk() argument 314 dpi->mgr_config.clock_info = ctx.dispc_cinfo; in dpi_set_dispc_clk() 323 static int dpi_set_mode(struct dpi_data *dpi) in dpi_set_mode() argument 325 struct omap_dss_device *out = &dpi->output; in dpi_set_mode() [all …]
|
D | Makefile | 10 omapdss-$(CONFIG_FB_OMAP2_DSS_DPI) += dpi.o
|
/Linux-v5.15/drivers/gpu/drm/vc4/ |
D | vc4_dpi.c | 98 #define DPI_READ(offset) readl(dpi->regs + (offset)) 99 #define DPI_WRITE(offset, val) writel(val, dpi->regs + (offset)) 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 197 ret = clk_set_rate(dpi->pixel_clock, mode->clock * 1000); in vc4_dpi_encoder_enable() 201 ret = clk_prepare_enable(dpi->pixel_clock); in vc4_dpi_encoder_enable() 229 static int vc4_dpi_init_bridge(struct vc4_dpi *dpi) in vc4_dpi_init_bridge() argument 231 struct device *dev = &dpi->pdev->dev; in vc4_dpi_init_bridge() [all …]
|
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/displays/ |
D | encoder-tfp410.c | 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()
|
D | panel-sharp-ls037v7dw01.c | 66 return in->ops.dpi->connect(in, dssdev); in sharp_ls_connect() 77 in->ops.dpi->disconnect(in, dssdev); in sharp_ls_disconnect() 93 in->ops.dpi->set_data_lines(in, ddata->data_lines); in sharp_ls_enable() 94 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable() 102 r = in->ops.dpi->enable(in); in sharp_ls_enable() 140 in->ops.dpi->disable(in); in sharp_ls_disable() 157 in->ops.dpi->set_timings(in, timings); in sharp_ls_set_timings() 174 return in->ops.dpi->check_timings(in, timings); in sharp_ls_check_timings() 282 dssdev->phy.dpi.data_lines = ddata->data_lines; in sharp_ls_probe()
|
D | panel-dpi.c | 44 return in->ops.dpi->connect(in, dssdev); in panel_dpi_connect() 55 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect() 71 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable() 72 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable() 74 r = in->ops.dpi->enable(in); in panel_dpi_enable() 101 in->ops.dpi->disable(in); in panel_dpi_disable() 115 in->ops.dpi->set_timings(in, timings); in panel_dpi_set_timings() 132 return in->ops.dpi->check_timings(in, timings); in panel_dpi_check_timings() 267 dssdev->phy.dpi.data_lines = ddata->data_lines; in panel_dpi_probe()
|
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-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-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-tpo-td043mtea1.c | 344 return in->ops.dpi->connect(in, dssdev); in tpo_td043_connect() 355 in->ops.dpi->disconnect(in, dssdev); in tpo_td043_disconnect() 371 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tpo_td043_enable() 372 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable() 374 r = in->ops.dpi->enable(in); in tpo_td043_enable() 385 in->ops.dpi->disable(in); in tpo_td043_enable() 403 in->ops.dpi->disable(in); in tpo_td043_disable() 420 in->ops.dpi->set_timings(in, timings); in tpo_td043_set_timings() 437 return in->ops.dpi->check_timings(in, timings); in tpo_td043_check_timings()
|
D | Makefile | 8 obj-$(CONFIG_FB_OMAP2_PANEL_DPI) += panel-dpi.o
|
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 749 struct bnxt_qplib_dpi *dpi, in bnxt_qplib_alloc_dpi() argument 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() 779 dpi->dpi); in bnxt_qplib_dealloc_dpi() 783 dpit->app_tbl[dpi->dpi] = NULL; in bnxt_qplib_dealloc_dpi() [all …]
|
D | qplib_res.h | 195 u32 dpi; member 355 struct bnxt_qplib_dpi *dpi, 359 struct bnxt_qplib_dpi *dpi);
|
D | qplib_fp.c | 632 req.dpi = cpu_to_le32(srq->dpi->dpi); in bnxt_qplib_create_srq() 661 srq->dbinfo.db = srq->dpi->dbr; in bnxt_qplib_create_srq() 827 req.dpi = cpu_to_le32(qp->dpi->dpi); in bnxt_qplib_create_qp1() 902 sq->dbinfo.db = qp->dpi->dbr; in bnxt_qplib_create_qp1() 907 rq->dbinfo.db = qp->dpi->dbr; in bnxt_qplib_create_qp1() 970 req.dpi = cpu_to_le32(qp->dpi->dpi); in bnxt_qplib_create_qp() 1108 sq->dbinfo.db = qp->dpi->dbr; in bnxt_qplib_create_qp() 1113 rq->dbinfo.db = qp->dpi->dbr; in bnxt_qplib_create_qp() 2054 if (!cq->dpi) { in bnxt_qplib_create_cq() 2059 req.dpi = cpu_to_le32(cq->dpi->dpi); in bnxt_qplib_create_cq() [all …]
|
/Linux-v5.15/net/sched/ |
D | cls_rsvp.h | 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() 588 memcmp(&pinfo->dpi, &s->dpi, sizeof(s->dpi)) == 0 && in rsvp_change() 632 s->dpi = pinfo->dpi; in rsvp_change() 639 if ((nsp->dpi.mask & s->dpi.mask) != s->dpi.mask) in rsvp_change() 709 pinfo.dpi = s->dpi; in rsvp_dump()
|
/Linux-v5.15/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() 1112 jme_attempt_pcc(struct dynpcc_info *dpi, int atmp) in jme_attempt_pcc() argument 1114 if (likely(atmp == dpi->cur)) { in jme_attempt_pcc() 1115 dpi->cnt = 0; in jme_attempt_pcc() 1119 if (dpi->attempt == atmp) { in jme_attempt_pcc() 1120 ++(dpi->cnt); in jme_attempt_pcc() 1122 dpi->attempt = atmp; in jme_attempt_pcc() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,disp.txt | 26 Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml. 44 "mediatek,<chip>-dpi" - DPI controller, see mediatek,dpi.txt 55 mediatek,dsi.txt and mediatek,dpi.txt, respectively. 202 dpi0: dpi@1401d000 { 203 /* See mediatek,dpi.txt for details */
|
/Linux-v5.15/tools/edid/ |
D | edid.S | 55 #define pixdpi2mm(pix,dpi) ((pix*25)/dpi) argument
|
/Linux-v5.15/include/linux/qed/ |
D | qed_rdma_if.h | 208 u16 dpi; member 258 u16 dpi; member 298 u16 dpi; member 594 void (*rdma_remove_user)(void *rdma_cxt, u16 dpi);
|
/Linux-v5.15/arch/arc/include/asm/ |
D | arcregs.h | 283 unsigned int pad2:27, mpd:1, pad1:2, dpd:1, dpi:1; member 285 unsigned int dpi:1, dpd:1, pad1:2, mpd:1, pad2:27;
|
/Linux-v5.15/include/uapi/rdma/ |
D | bnxt_re-abi.h | 83 __u32 dpi; member
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | compulab-sb-som.dtsi | 20 compatible = "startek,startek-kd050c", "panel-dpi";
|
D | mt7623n.dtsi | 221 dpi0: dpi@14014000 { 222 compatible = "mediatek,mt7623-dpi", 223 "mediatek,mt2701-dpi";
|