Home
last modified time | relevance | path

Searched refs:dpi (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dpi.c157 static void mtk_dpi_mask(struct mtk_dpi *dpi, u32 offset, u32 val, u32 mask) in mtk_dpi_mask() argument
159 u32 tmp = readl(dpi->regs + offset) & ~mask; in mtk_dpi_mask()
162 writel(tmp, dpi->regs + offset); in mtk_dpi_mask()
165 static void mtk_dpi_sw_reset(struct mtk_dpi *dpi, bool reset) in mtk_dpi_sw_reset() argument
167 mtk_dpi_mask(dpi, DPI_RET, reset ? RST : 0, RST); in mtk_dpi_sw_reset()
170 static void mtk_dpi_enable(struct mtk_dpi *dpi) in mtk_dpi_enable() argument
172 mtk_dpi_mask(dpi, DPI_EN, EN, EN); in mtk_dpi_enable()
175 static void mtk_dpi_disable(struct mtk_dpi *dpi) in mtk_dpi_disable() argument
177 mtk_dpi_mask(dpi, DPI_EN, 0, EN); in mtk_dpi_disable()
180 static void mtk_dpi_config_hsync(struct mtk_dpi *dpi, in mtk_dpi_config_hsync() argument
[all …]
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Ddpi.c53 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-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c219 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 …]
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_dpi.c106 #define DPI_READ(offset) readl(dpi->regs + (offset))
107 #define DPI_WRITE(offset, val) writel(val, dpi->regs + (offset))
117 struct vc4_dpi *dpi = to_vc4_dpi(encoder); in vc4_dpi_encoder_disable() local
123 clk_disable_unprepare(dpi->pixel_clock); in vc4_dpi_encoder_disable()
132 struct vc4_dpi *dpi = to_vc4_dpi(encoder); in vc4_dpi_encoder_enable() local
221 ret = clk_set_rate(dpi->pixel_clock, mode->clock * 1000); in vc4_dpi_encoder_enable()
225 ret = clk_prepare_enable(dpi->pixel_clock); in vc4_dpi_encoder_enable()
250 struct vc4_dpi *dpi = to_vc4_dpi(encoder); in vc4_dpi_late_register() local
253 ret = vc4_debugfs_add_regset32(drm->primary, "dpi_regs", &dpi->regset); in vc4_dpi_late_register()
272 static int vc4_dpi_init_bridge(struct vc4_dpi *dpi) in vc4_dpi_init_bridge() argument
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,dpi.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dpi.yaml#
21 - mediatek,mt2701-dpi
22 - mediatek,mt7623-dpi
23 - mediatek,mt8173-dpi
24 - mediatek,mt8183-dpi
25 - mediatek,mt8186-dpi
26 - mediatek,mt8192-dpi
76 dpi0: dpi@1401d000 {
77 compatible = "mediatek,mt8173-dpi";
/linux-6.1.9/Documentation/devicetree/bindings/display/
Dbrcm,bcm2835-dpi.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#
14 const: brcm,bcm2835-dpi
47 dpi: dpi@7e208000 {
48 compatible = "brcm,bcm2835-dpi";
Dst,stm32-ltdc.yaml41 - for external dpi rgb panel or bridge, using gpios.
42 - for internal dpi input of the MIPI DSI host controller.
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dencoder-tfp410.c39 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()
Dpanel-dpi.c44 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()
Dpanel-sharp-ls037v7dw01.c66 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()
281 dssdev->phy.dpi.data_lines = ddata->data_lines; in sharp_ls_probe()
Dpanel-lgphilips-lb035q02.c126 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()
302 dssdev->phy.dpi.data_lines = ddata->data_lines; in lb035q02_panel_spi_probe()
Dpanel-nec-nl8048hl11.c124 return in->ops.dpi->connect(in, dssdev); in nec_8048_connect()
135 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect()
151 in->ops.dpi->set_data_lines(in, ddata->data_lines); in nec_8048_enable()
152 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable()
154 r = in->ops.dpi->enable(in); in nec_8048_enable()
177 in->ops.dpi->disable(in); in nec_8048_disable()
191 in->ops.dpi->set_timings(in, timings); in nec_8048_set_timings()
208 return in->ops.dpi->check_timings(in, timings); in nec_8048_check_timings()
Dpanel-tpo-td028ttec1.c167 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()
Dpanel-tpo-td043mtea1.c344 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()
DMakefile8 obj-$(CONFIG_FB_OMAP2_PANEL_DPI) += panel-dpi.o
/linux-6.1.9/Documentation/devicetree/bindings/display/panel/
Dpanel-dpi.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml#
18 Shall contain a panel specific compatible and "panel-dpi"
22 - const: panel-dpi
43 compatible = "startek,startek-kd050c", "panel-dpi";
Dstartek,startek-kd050c.yaml13 - $ref: panel-dpi.yaml#
19 - {} # panel-dpi, but not listed here to avoid false select
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c708 struct bnxt_qplib_dpi *dpi, in bnxt_qplib_alloc_dpi() argument
721 dpi->dpi = bit_num; in bnxt_qplib_alloc_dpi()
722 dpi->dbr = dpit->dbr_bar_reg_iomem + (bit_num * PAGE_SIZE); in bnxt_qplib_alloc_dpi()
723 dpi->umdbr = dpit->unmapped_dbr + (bit_num * PAGE_SIZE); in bnxt_qplib_alloc_dpi()
730 struct bnxt_qplib_dpi *dpi) in bnxt_qplib_dealloc_dpi() argument
732 if (dpi->dpi >= dpit->max) { in bnxt_qplib_dealloc_dpi()
733 dev_warn(&res->pdev->dev, "Invalid DPI? dpi = %d\n", dpi->dpi); in bnxt_qplib_dealloc_dpi()
736 if (test_and_set_bit(dpi->dpi, dpit->tbl)) { in bnxt_qplib_dealloc_dpi()
738 dpi->dpi); in bnxt_qplib_dealloc_dpi()
742 dpit->app_tbl[dpi->dpi] = NULL; in bnxt_qplib_dealloc_dpi()
[all …]
Dqplib_res.h189 u32 dpi; member
348 struct bnxt_qplib_dpi *dpi,
352 struct bnxt_qplib_dpi *dpi);
/linux-6.1.9/net/sched/
Dcls_rsvp.h76 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()
702 pinfo.dpi = s->dpi; in rsvp_dump()
/linux-6.1.9/drivers/net/ethernet/
Djme.c357 register struct dynpcc_info *dpi = &(jme->dpi); in jme_start_irq() local
360 dpi->cur = PCC_P1; in jme_start_irq()
361 dpi->attempt = PCC_P1; in jme_start_irq()
362 dpi->cnt = 0; in jme_start_irq()
1113 jme_attempt_pcc(struct dynpcc_info *dpi, int atmp) in jme_attempt_pcc() argument
1115 if (likely(atmp == dpi->cur)) { in jme_attempt_pcc()
1116 dpi->cnt = 0; in jme_attempt_pcc()
1120 if (dpi->attempt == atmp) { in jme_attempt_pcc()
1121 ++(dpi->cnt); in jme_attempt_pcc()
1123 dpi->attempt = atmp; in jme_attempt_pcc()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/display/bridge/
Dnwl-dsi.yaml75 - description: dsi dpi reset line
82 - const: dpi
165 reset-names = "byte", "dpi", "esc", "pclk";
/linux-6.1.9/tools/edid/
Dedid.S55 #define pixdpi2mm(pix,dpi) ((pix*25)/dpi) argument
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h208 u16 dpi; member
258 u16 dpi; member
298 u16 dpi; member
594 void (*rdma_remove_user)(void *rdma_cxt, u16 dpi);
/linux-6.1.9/arch/arm/boot/dts/
Dmt7623n.dtsi216 dpi0: dpi@14014000 {
217 compatible = "mediatek,mt7623-dpi",
218 "mediatek,mt2701-dpi";

123