Home
last modified time | relevance | path

Searched full:dpi (Results 1 – 25 of 237) sorted by relevance

12345678910

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c120 * struct mtk_dpi_conf - Configuration of mediatek dpi.
129 * @support_direct_pin: IP supports direct connection to dpi panels.
139 * @edge_cfg_in_mmsys: If the edge configuration for DPI's output needs to be set in MMSYS.
161 static void mtk_dpi_mask(struct mtk_dpi *dpi, u32 offset, u32 val, u32 mask) in mtk_dpi_mask() argument
163 u32 tmp = readl(dpi->regs + offset) & ~mask; in mtk_dpi_mask()
166 writel(tmp, dpi->regs + offset); in mtk_dpi_mask()
169 static void mtk_dpi_sw_reset(struct mtk_dpi *dpi, bool reset) in mtk_dpi_sw_reset() argument
171 mtk_dpi_mask(dpi, DPI_RET, reset ? RST : 0, RST); in mtk_dpi_sw_reset()
174 static void mtk_dpi_enable(struct mtk_dpi *dpi) in mtk_dpi_enable() argument
176 mtk_dpi_mask(dpi, DPI_EN, EN, EN); in mtk_dpi_enable()
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddpi.c10 #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 …]
/linux/drivers/misc/
H A Dmrvl_cn10k_dpi.c2 /* Marvell Octeon CN10K DPI driver
93 /* Message fields in word_l of DPI mailbox structure */
100 /* Message fields in word_h of DPI mailbox structure */
164 /* DPI device mailbox */
188 static inline void dpi_reg_write(struct dpipf *dpi, u64 offset, u64 val) in dpi_reg_write() argument
190 writeq(val, dpi->reg_base + offset); in dpi_reg_write()
193 static inline u64 dpi_reg_read(struct dpipf *dpi, u64 offset) in dpi_reg_read() argument
195 return readq(dpi->reg_base + offset); in dpi_reg_read()
198 static void dpi_wqe_cs_offset(struct dpipf *dpi, u8 offset) in dpi_wqe_cs_offset() argument
202 reg = dpi_reg_read(dpi, DPI_DMA_CONTROL); in dpi_wqe_cs_offset()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddpi.c3 * 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 …]
/linux/drivers/gpu/drm/vc4/
H A Dvc4_dpi.c7 * DOC: VC4 DPI module
9 * The VC4 DPI hardware supports MIPI DPI type 4 and Nokia ViSSI
86 /* General DPI hardware state. */
106 readl(dpi->regs + (offset)); \
112 writel(val, dpi->regs + (offset)); \
123 struct vc4_dpi *dpi = to_vc4_dpi(encoder); in vc4_dpi_encoder_disable() local
129 clk_disable_unprepare(dpi->pixel_clock); in vc4_dpi_encoder_disable()
138 struct vc4_dpi *dpi = to_vc4_dpi(encoder); in vc4_dpi_encoder_enable() local
145 /* Look up the connector attached to DPI so we can get the in vc4_dpi_encoder_enable()
237 ret = clk_set_rate(dpi->pixel_clock, mode->clock * 1000); in vc4_dpi_encoder_enable()
[all …]
/linux/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,dpi.yaml4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dpi.yaml#
7 title: MediaTek DPI and DP_INTF Controller
14 The MediaTek DPI and DP_INTF function blocks are a sink of the display
22 - mediatek,mt2701-dpi
23 - mediatek,mt7623-dpi
24 - mediatek,mt8173-dpi
25 - mediatek,mt8183-dpi
26 - mediatek,mt8186-dpi
28 - mediatek,mt8192-dpi
32 - mediatek,mt6795-dpi
[all …]
/linux/drivers/gpu/drm/vc4/tests/
H A Dvc4_test_pv_muxing.c201 VC4_PV_MUXING_TEST("1 output: DPI",
223 VC4_PV_MUXING_TEST("2 outputs: DPI, HDMI0",
226 VC4_PV_MUXING_TEST("2 outputs: DPI, VEC",
229 VC4_PV_MUXING_TEST("2 outputs: DPI, DSI1",
232 VC4_PV_MUXING_TEST("2 outputs: DPI, TXP",
263 VC4_PV_MUXING_TEST("3 outputs: DPI, HDMI0, DSI1",
267 VC4_PV_MUXING_TEST("3 outputs: DPI, HDMI0, TXP",
271 VC4_PV_MUXING_TEST("3 outputs: DPI, VEC, DSI1",
275 VC4_PV_MUXING_TEST("3 outputs: DPI, VEC, TXP",
286 VC4_PV_MUXING_TEST("DPI/DSI0 Conflict",
[all …]
/linux/Documentation/misc-devices/
H A Dmrvl_cn10k_dpi.rst4 Marvell CN10K DMA packet interface (DPI) driver
10 DPI is a DMA packet interface hardware block in Marvell's CN10K silicon.
11 DPI hardware comprises a physical function (PF), its virtual functions,
14 DPI PF function is an administrative function which services the mailbox
18 mrvl_cn10k_dpi.ko misc driver loads on DPI PF device and services the
21 /dev/mrvl-cn10k-dpi node to set DMA engine and PEM (PCIe interface) port
24 DPI PF driver is just an administrative driver to setup its VF device's
48 DPI VF devices are probed and accessed from user space applications using
49 vfio-pci driver. Below is a sample dpi dma application to demonstrate on
50 how applications use mailbox and ioctl services from DPI PF kernel driver.
[all …]
/linux/drivers/gpu/drm/bridge/cadence/
H A DKconfig3 tristate "Cadence DPI/DSI bridge"
11 Support Cadence DPI to DSI bridge. This is an internal
21 the routing of the DSS DPI signal to the Cadence DSI.
25 tristate "Cadence DPI/DP bridge"
33 Support Cadence DPI to DP bridge. This is an internal
35 It takes a DPI stream as input and outputs it encoded
42 bool "J721E Cadence DPI/DP wrapper support"
45 Support J721E Cadence DPI/DP wrapper. This is a wrapper
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-dpi.c3 * Generic MIPI DPI Panel Driver
39 return in->ops.dpi->connect(in, dssdev); in panel_dpi_connect()
50 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
66 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable()
67 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
69 r = in->ops.dpi->enable(in); in panel_dpi_enable()
90 in->ops.dpi->disable(in); in panel_dpi_disable()
104 in->ops.dpi->set_timings(in, timings); in panel_dpi_set_timings()
121 return in->ops.dpi->check_timings(in, timings); in panel_dpi_check_timings()
199 dssdev->phy.dpi.data_lines = ddata->data_lines; in panel_dpi_probe()
[all …]
H A Dencoder-tfp410.c3 * TFP410 DPI-to-DVI encoder driver
41 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect()
68 in->ops.dpi->disconnect(in, &ddata->dssdev); in tfp410_disconnect()
83 in->ops.dpi->set_timings(in, &ddata->timings); in tfp410_enable()
85 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tfp410_enable()
87 r = in->ops.dpi->enable(in); in tfp410_enable()
110 in->ops.dpi->disable(in); in tfp410_disable()
133 in->ops.dpi->set_timings(in, timings); in tfp410_set_timings()
152 return in->ops.dpi->check_timings(in, timings); in tfp410_check_timings()
205 dssdev->phy.dpi.data_lines = ddata->data_lines; in tfp410_probe()
[all …]
H A Dpanel-lgphilips-lb035q02.c123 r = in->ops.dpi->connect(in, dssdev); in lb035q02_connect()
140 in->ops.dpi->disconnect(in, dssdev); in lb035q02_disconnect()
156 in->ops.dpi->set_data_lines(in, ddata->data_lines); in lb035q02_enable()
157 in->ops.dpi->set_timings(in, &ddata->videomode); in lb035q02_enable()
159 r = in->ops.dpi->enable(in); in lb035q02_enable()
182 in->ops.dpi->disable(in); in lb035q02_disable()
196 in->ops.dpi->set_timings(in, timings); in lb035q02_set_timings()
213 return in->ops.dpi->check_timings(in, timings); in lb035q02_check_timings()
284 dssdev->phy.dpi.data_lines = ddata->data_lines; in lb035q02_panel_spi_probe()
H A Dpanel-sharp-ls037v7dw01.c65 return in->ops.dpi->connect(in, dssdev); in sharp_ls_connect()
76 in->ops.dpi->disconnect(in, dssdev); in sharp_ls_disconnect()
92 in->ops.dpi->set_data_lines(in, ddata->data_lines); in sharp_ls_enable()
93 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable()
101 r = in->ops.dpi->enable(in); in sharp_ls_enable()
139 in->ops.dpi->disable(in); in sharp_ls_disable()
156 in->ops.dpi->set_timings(in, timings); in sharp_ls_set_timings()
173 return in->ops.dpi->check_timings(in, timings); in sharp_ls_check_timings()
280 dssdev->phy.dpi.data_lines = ddata->data_lines; in sharp_ls_probe()
H A DKconfig12 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.
H A Dpanel-tpo-td028ttec1.c166 r = in->ops.dpi->connect(in, dssdev); in td028ttec1_panel_connect()
181 in->ops.dpi->disconnect(in, dssdev); in td028ttec1_panel_disconnect()
197 in->ops.dpi->set_data_lines(in, ddata->data_lines); in td028ttec1_panel_enable()
198 in->ops.dpi->set_timings(in, &ddata->videomode); in td028ttec1_panel_enable()
200 r = in->ops.dpi->enable(in); in td028ttec1_panel_enable()
309 in->ops.dpi->disable(in); in td028ttec1_panel_disable()
323 in->ops.dpi->set_timings(in, timings); in td028ttec1_panel_set_timings()
340 return in->ops.dpi->check_timings(in, timings); in td028ttec1_panel_check_timings()
412 dssdev->phy.dpi.data_lines = ddata->data_lines; in td028ttec1_panel_probe()
H A Dpanel-nec-nl8048hl11.c123 return in->ops.dpi->connect(in, dssdev); in nec_8048_connect()
134 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect()
150 in->ops.dpi->set_data_lines(in, ddata->data_lines); in nec_8048_enable()
151 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable()
153 r = in->ops.dpi->enable(in); in nec_8048_enable()
176 in->ops.dpi->disable(in); in nec_8048_disable()
190 in->ops.dpi->set_timings(in, timings); in nec_8048_set_timings()
207 return in->ops.dpi->check_timings(in, timings); in nec_8048_check_timings()
/linux/Documentation/devicetree/bindings/display/
H A Dbrcm,bcm2835-dpi.yaml4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#
7 title: Broadcom VC4 (VideoCore4) DPI Controller
14 const: brcm,bcm2835-dpi
47 dpi: dpi@7e208000 {
48 compatible = "brcm,bcm2835-dpi";
H A Dst,stm32-ltdc.yaml39 Video port for DPI RGB output.
41 - for external dpi rgb panel or bridge, using gpios.
42 - for internal dpi input of the MIPI DSI host controller.
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c703 struct bnxt_qplib_dpi *dpi, in bnxt_qplib_alloc_dpi() argument
720 /* Found unused DPI */ in bnxt_qplib_alloc_dpi()
724 dpi->bit = bit_num; in bnxt_qplib_alloc_dpi()
725 dpi->dpi = bit_num + (reg->offset - dpit->ucreg.offset) / PAGE_SIZE; in bnxt_qplib_alloc_dpi()
728 dpi->umdbr = umaddr; in bnxt_qplib_alloc_dpi()
733 dpi->umdbr = dpit->ucreg.bar_base + in bnxt_qplib_alloc_dpi()
735 dpi->dbr = dpit->priv_db; in bnxt_qplib_alloc_dpi()
736 dpi->dpi = dpi->bit; in bnxt_qplib_alloc_dpi()
739 dpi->dbr = ioremap_wc(umaddr, PAGE_SIZE); in bnxt_qplib_alloc_dpi()
742 dpi->dbr = ioremap(umaddr, PAGE_SIZE); in bnxt_qplib_alloc_dpi()
[all …]
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dlontium,lt9211.yaml7 title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge.
14 or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI.
42 LVDS port-1 for LVDS input or DPI input.
55 LVDS port-1 for LVDS output or DPI output.
H A Dtoshiba,tc358767.yaml7 title: Toshiba TC358767/TC358867/TC9595 DSI/DPI/eDP bridge
14 converts DSI/DPI to eDP/DP .
91 DPI input/output port. The remote endpoint phandle should be a
92 reference to a valid DPI output or input endpoint node.
140 /* DPI input and eDP output */
177 /* DPI input and DP output */
H A Dtoshiba,tc358762.yaml7 title: Toshiba TC358762 MIPI DSI to MIPI DPI bridge
13 The TC358762 is bridge device which converts MIPI DSI to MIPI DPI.
42 Video port for MIPI DPI output (panel or connector).
/linux/Documentation/devicetree/bindings/display/panel/
H A Dpanel-dpi.yaml4 $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 = "startek,startek-kd050c", "panel-dpi";
/linux/drivers/gpu/drm/bridge/
H A DKconfig91 Support for i.MX8MP DPI-to-LVDS on-SoC encoder.
124 tristate "Lontium LT9211 DSI/LVDS/DPI bridge"
131 Driver for Lontium LT9211 Single/Dual-Link DSI/LVDS or Single DPI
132 input to Single-link/Dual-Link DSI/LVDS or Single DPI output bridge
303 tristate "TC358762 DSI/DPI bridge"
309 Toshiba TC358762 DSI/DPI bridge driver.
364 It has a flexible configuration of MIPI DSI and DPI signal
/linux/drivers/net/ethernet/
H A 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()
1111 jme_attempt_pcc(struct dynpcc_info *dpi, int atmp) in jme_attempt_pcc() argument
1113 if (likely(atmp == dpi->cur)) { in jme_attempt_pcc()
1114 dpi->cnt = 0; in jme_attempt_pcc()
1118 if (dpi->attempt == atmp) { in jme_attempt_pcc()
1119 ++(dpi->cnt); in jme_attempt_pcc()
1121 dpi->attempt = atmp; in jme_attempt_pcc()
[all …]

12345678910