Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c161 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()
179 static void mtk_dpi_disable(struct mtk_dpi *dpi) in mtk_dpi_disable() argument
181 mtk_dpi_mask(dpi, DPI_EN, 0, EN); in mtk_dpi_disable()
184 static void mtk_dpi_config_hsync(struct mtk_dpi *dpi, in mtk_dpi_config_hsync() argument
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A 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 …]
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_dpi.c106 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
237 ret = clk_set_rate(dpi->pixel_clock, mode->clock * 1000); in vc4_dpi_encoder_enable()
241 ret = clk_prepare_enable(dpi->pixel_clock); in vc4_dpi_encoder_enable()
266 struct vc4_dpi *dpi = to_vc4_dpi(encoder); in vc4_dpi_late_register() local
268 vc4_debugfs_add_regset32(drm, "dpi_regs", &dpi->regset); in vc4_dpi_late_register()
285 static int vc4_dpi_init_bridge(struct vc4_dpi *dpi) in vc4_dpi_init_bridge() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-font/
H A Dxorg-fonts-100dpi.bb9 font-adobe-100dpi \
10 font-adobe-utopia-100dpi \
11 font-bh-100dpi \
12 font-bh-lucidatypewriter-100dpi \
13 font-bitstream-100dpi \
H A Dfont-adobe-100dpi_1.0.3.bb4 HOMEPAGE = "http://cgit.freedesktop.org/xorg/font/adobe-100dpi/"
13 UPSTREAM_CHECK_REGEX = "font\-adobe\-100dpi\-(?P<pver>\d+(\.\d+)+).tar.gz"
H A Dfont-bh-100dpi_1.0.3.bb4 HOMEPAGE = "http://cgit.freedesktop.org/xorg/font/bh-100dpi/"
13 UPSTREAM_CHECK_REGEX = "font\-bh\-100dpi\-(?P<pver>\d+(\.\d+)+).tar.gz"
H A Dfont-bitstream-100dpi_1.0.3.bb4 HOMEPAGE = "http://cgit.freedesktop.org/xorg/font/bitstream-100dpi/"
13 UPSTREAM_CHECK_REGEX = "font\-bitstream\-100dpi\-(?P<pver>\d+(\.\d+)+).tar.gz"
H A Dfont-adobe-utopia-100dpi_1.0.4.bb4 HOMEPAGE = "http://cgit.freedesktop.org/xorg/font/adobe-utopia-100dpi/"
13 UPSTREAM_CHECK_REGEX = "font\-adobe\-utopia\-100dpi\-(?P<pver>\d+(\.\d+)+).tar.gz"
H A Dfont-bh-lucidatypewriter-100dpi_1.0.3.bb4 HOMEPAGE = "http://cgit.freedesktop.org/xorg/font/bh-lucidatypewriter-100dpi/"
13 UPSTREAM_CHECK_REGEX = "font\-bh\-lucidatypewriter\-100dpi\-(?P<pver>\d+(\.\d+)+).tar.gz"
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-dpi.c39 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()
H A Dencoder-tfp410.c41 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()
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 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()
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-tpo-td043mtea1.c341 return in->ops.dpi->connect(in, dssdev); in tpo_td043_connect()
352 in->ops.dpi->disconnect(in, dssdev); in tpo_td043_disconnect()
368 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tpo_td043_enable()
369 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable()
371 r = in->ops.dpi->enable(in); in tpo_td043_enable()
382 in->ops.dpi->disable(in); in tpo_td043_enable()
400 in->ops.dpi->disable(in); in tpo_td043_disable()
417 in->ops.dpi->set_timings(in, timings); in tpo_td043_set_timings()
434 return in->ops.dpi->check_timings(in, timings); in tpo_td043_check_timings()
/openbmc/qemu/
H A Dqemu-edid.c46 uint32_t dpi = 100; in main() local
91 if (qemu_strtoui(optarg, NULL, 10, &dpi) < 0) { in main()
95 if (dpi == 0) { in main()
122 info.width_mm = qemu_edid_dpi_to_mm(dpi, info.prefx); in main()
123 info.height_mm = qemu_edid_dpi_to_mm(dpi, info.prefy); in main()
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c703 struct bnxt_qplib_dpi *dpi, in bnxt_qplib_alloc_dpi() argument
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()
746 dpi->type = type; in bnxt_qplib_alloc_dpi()
[all …]
/openbmc/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 …]
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-font/
H A Dfont-alias_1.0.5.bb8 file://75dpi/fonts.alias;md5=6bc48023f2ae7f3bfc105db7b0ee6b49 \
10 file://100dpi/fonts.alias;md5=85bebd6ca213aa656c301a72eb4397cb \
/openbmc/qemu/hw/display/
H A Dedid-generate.c335 uint32_t qemu_edid_dpi_to_mm(uint32_t dpi, uint32_t res) in qemu_edid_dpi_to_mm() argument
337 return res * 254 / 10 / dpi; in qemu_edid_dpi_to_mm()
391 uint32_t dpi = 100; /* if no width_mm/height_mm */ in qemu_edid_generate() local
411 dpi = qemu_edid_dpi_from_mm(width_mm, info->prefx); in qemu_edid_generate()
413 width_mm = qemu_edid_dpi_to_mm(dpi, info->prefx); in qemu_edid_generate()
414 height_mm = qemu_edid_dpi_to_mm(dpi, info->prefy); in qemu_edid_generate()
/openbmc/linux/tools/edid/
H A Dedid.S55 #define pixdpi2mm(pix,dpi) ((pix*25)/dpi) argument
/openbmc/linux/include/linux/qed/
H A 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);
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-thunder.dts15 dss_dpi_pins: dss-dpi-pins {
86 compatible = "samsung,lte430wq-f0c", "panel-dpi";

12345