dpi 255 arch/arc/include/asm/arcregs.h unsigned int pad2:27, mpd:1, pad1:2, dpd:1, dpi:1; dpi 257 arch/arc/include/asm/arcregs.h unsigned int dpi:1, dpd:1, pad1:2, mpd:1, pad2:27; dpi 384 arch/arc/kernel/setup.c IS_AVAIL3(erp.ic, !ctl.dpi, "IC "), dpi 116 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_mask(struct mtk_dpi *dpi, u32 offset, u32 val, u32 mask) dpi 118 drivers/gpu/drm/mediatek/mtk_dpi.c u32 tmp = readl(dpi->regs + offset) & ~mask; dpi 121 drivers/gpu/drm/mediatek/mtk_dpi.c writel(tmp, dpi->regs + offset); dpi 124 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_sw_reset(struct mtk_dpi *dpi, bool reset) dpi 126 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_RET, reset ? RST : 0, RST); dpi 129 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_enable(struct mtk_dpi *dpi) dpi 131 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_EN, EN, EN); dpi 134 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_disable(struct mtk_dpi *dpi) dpi 136 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_EN, 0, EN); dpi 139 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_hsync(struct mtk_dpi *dpi, dpi 142 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_TGEN_HWIDTH, dpi 144 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_TGEN_HPORCH, dpi 146 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_TGEN_HPORCH, sync->front_porch << HFP, dpi 150 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_vsync(struct mtk_dpi *dpi, dpi 154 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, width_addr, dpi 157 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, width_addr, dpi 160 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, porch_addr, dpi 163 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, porch_addr, dpi 168 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_vsync_lodd(struct mtk_dpi *dpi, dpi 171 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync(dpi, sync, DPI_TGEN_VWIDTH, DPI_TGEN_VPORCH); dpi 174 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_vsync_leven(struct mtk_dpi *dpi, dpi 177 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync(dpi, sync, DPI_TGEN_VWIDTH_LEVEN, dpi 181 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_vsync_rodd(struct mtk_dpi *dpi, dpi 184 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync(dpi, sync, DPI_TGEN_VWIDTH_RODD, dpi 188 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_vsync_reven(struct mtk_dpi *dpi, dpi 191 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync(dpi, sync, DPI_TGEN_VWIDTH_REVEN, dpi 195 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_pol(struct mtk_dpi *dpi, dpi 204 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_OUTPUT_SETTING, pol, dpi 208 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_3d(struct mtk_dpi *dpi, bool en_3d) dpi 210 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_CON, en_3d ? TDFP_EN : 0, TDFP_EN); dpi 213 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_interface(struct mtk_dpi *dpi, bool inter) dpi 215 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_CON, inter ? INTL_EN : 0, INTL_EN); dpi 218 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_fb_size(struct mtk_dpi *dpi, u32 width, u32 height) dpi 220 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_SIZE, width << HSIZE, HSIZE_MASK); dpi 221 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_SIZE, height << VSIZE, VSIZE_MASK); dpi 224 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_channel_limit(struct mtk_dpi *dpi, dpi 227 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_Y_LIMIT, limit->y_bottom << Y_LIMINT_BOT, dpi 229 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_Y_LIMIT, limit->y_top << Y_LIMINT_TOP, dpi 231 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_C_LIMIT, limit->c_bottom << C_LIMIT_BOT, dpi 233 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_C_LIMIT, limit->c_top << C_LIMIT_TOP, dpi 237 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_bit_num(struct mtk_dpi *dpi, dpi 259 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_OUTPUT_SETTING, val << OUT_BIT, dpi 263 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_yc_map(struct mtk_dpi *dpi, dpi 289 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_OUTPUT_SETTING, val << YC_MAP, YC_MAP_MASK); dpi 292 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_channel_swap(struct mtk_dpi *dpi, dpi 321 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_OUTPUT_SETTING, val << CH_SWAP, CH_SWAP_MASK); dpi 324 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_yuv422_enable(struct mtk_dpi *dpi, bool enable) dpi 326 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_CON, enable ? YUV422_EN : 0, YUV422_EN); dpi 329 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_csc_enable(struct mtk_dpi *dpi, bool enable) dpi 331 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_CON, enable ? CSC_ENABLE : 0, CSC_ENABLE); dpi 334 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_swap_input(struct mtk_dpi *dpi, bool enable) dpi 336 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_CON, enable ? IN_RB_SWAP : 0, IN_RB_SWAP); dpi 339 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_2n_h_fre(struct mtk_dpi *dpi) dpi 341 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, dpi->conf->reg_h_fre_con, H_FRE_2N, H_FRE_2N); dpi 344 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_disable_edge(struct mtk_dpi *dpi) dpi 346 drivers/gpu/drm/mediatek/mtk_dpi.c if (dpi->conf->edge_sel_en) dpi 347 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, dpi->conf->reg_h_fre_con, 0, EDGE_SEL_EN); dpi 350 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_color_format(struct mtk_dpi *dpi, dpi 355 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_yuv422_enable(dpi, false); dpi 356 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_csc_enable(dpi, true); dpi 357 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_swap_input(dpi, false); dpi 358 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_channel_swap(dpi, MTK_DPI_OUT_CHANNEL_SWAP_BGR); dpi 361 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_yuv422_enable(dpi, true); dpi 362 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_csc_enable(dpi, true); dpi 363 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_swap_input(dpi, true); dpi 364 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_channel_swap(dpi, MTK_DPI_OUT_CHANNEL_SWAP_RGB); dpi 366 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_yuv422_enable(dpi, false); dpi 367 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_csc_enable(dpi, false); dpi 368 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_swap_input(dpi, false); dpi 369 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_channel_swap(dpi, MTK_DPI_OUT_CHANNEL_SWAP_RGB); dpi 373 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_power_off(struct mtk_dpi *dpi) dpi 375 drivers/gpu/drm/mediatek/mtk_dpi.c if (WARN_ON(dpi->refcount == 0)) dpi 378 drivers/gpu/drm/mediatek/mtk_dpi.c if (--dpi->refcount != 0) dpi 381 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_disable(dpi); dpi 382 drivers/gpu/drm/mediatek/mtk_dpi.c clk_disable_unprepare(dpi->pixel_clk); dpi 383 drivers/gpu/drm/mediatek/mtk_dpi.c clk_disable_unprepare(dpi->engine_clk); dpi 386 drivers/gpu/drm/mediatek/mtk_dpi.c static int mtk_dpi_power_on(struct mtk_dpi *dpi) dpi 390 drivers/gpu/drm/mediatek/mtk_dpi.c if (++dpi->refcount != 1) dpi 393 drivers/gpu/drm/mediatek/mtk_dpi.c ret = clk_prepare_enable(dpi->engine_clk); dpi 395 drivers/gpu/drm/mediatek/mtk_dpi.c dev_err(dpi->dev, "Failed to enable engine clock: %d\n", ret); dpi 399 drivers/gpu/drm/mediatek/mtk_dpi.c ret = clk_prepare_enable(dpi->pixel_clk); dpi 401 drivers/gpu/drm/mediatek/mtk_dpi.c dev_err(dpi->dev, "Failed to enable pixel clock: %d\n", ret); dpi 405 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_enable(dpi); dpi 409 drivers/gpu/drm/mediatek/mtk_dpi.c clk_disable_unprepare(dpi->engine_clk); dpi 411 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->refcount--; dpi 415 drivers/gpu/drm/mediatek/mtk_dpi.c static int mtk_dpi_set_display_mode(struct mtk_dpi *dpi, dpi 430 drivers/gpu/drm/mediatek/mtk_dpi.c factor = dpi->conf->cal_factor(mode->clock); dpi 434 drivers/gpu/drm/mediatek/mtk_dpi.c dev_dbg(dpi->dev, "Want PLL %lu Hz, pixel clock %lu Hz\n", dpi 437 drivers/gpu/drm/mediatek/mtk_dpi.c clk_set_rate(dpi->tvd_clk, pll_rate); dpi 438 drivers/gpu/drm/mediatek/mtk_dpi.c pll_rate = clk_get_rate(dpi->tvd_clk); dpi 441 drivers/gpu/drm/mediatek/mtk_dpi.c clk_set_rate(dpi->pixel_clk, vm.pixelclock); dpi 442 drivers/gpu/drm/mediatek/mtk_dpi.c vm.pixelclock = clk_get_rate(dpi->pixel_clk); dpi 444 drivers/gpu/drm/mediatek/mtk_dpi.c dev_dbg(dpi->dev, "Got PLL %lu Hz, pixel clock %lu Hz\n", dpi 482 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_sw_reset(dpi, true); dpi 483 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_pol(dpi, &dpi_pol); dpi 485 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_hsync(dpi, &hsync); dpi 486 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync_lodd(dpi, &vsync_lodd); dpi 487 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync_rodd(dpi, &vsync_rodd); dpi 488 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync_leven(dpi, &vsync_leven); dpi 489 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_vsync_reven(dpi, &vsync_reven); dpi 491 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_3d(dpi, !!(mode->flags & DRM_MODE_FLAG_3D_MASK)); dpi 492 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_interface(dpi, !!(vm.flags & dpi 495 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_fb_size(dpi, vm.hactive, vm.vactive >> 1); dpi 497 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_fb_size(dpi, vm.hactive, vm.vactive); dpi 499 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_channel_limit(dpi, &limit); dpi 500 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_bit_num(dpi, dpi->bit_num); dpi 501 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_channel_swap(dpi, dpi->channel_swap); dpi 502 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_yc_map(dpi, dpi->yc_map); dpi 503 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_color_format(dpi, dpi->color_format); dpi 504 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_2n_h_fre(dpi); dpi 505 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_config_disable_edge(dpi); dpi 506 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_sw_reset(dpi, false); dpi 531 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = mtk_dpi_from_encoder(encoder); dpi 533 drivers/gpu/drm/mediatek/mtk_dpi.c drm_mode_copy(&dpi->mode, adjusted_mode); dpi 538 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = mtk_dpi_from_encoder(encoder); dpi 540 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_power_off(dpi); dpi 545 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = mtk_dpi_from_encoder(encoder); dpi 547 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_power_on(dpi); dpi 548 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_set_display_mode(dpi, &dpi->mode); dpi 568 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = container_of(comp, struct mtk_dpi, ddp_comp); dpi 570 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_power_on(dpi); dpi 575 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = container_of(comp, struct mtk_dpi, ddp_comp); dpi 577 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_power_off(dpi); dpi 587 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = dev_get_drvdata(dev); dpi 591 drivers/gpu/drm/mediatek/mtk_dpi.c ret = mtk_ddp_comp_register(drm_dev, &dpi->ddp_comp); dpi 598 drivers/gpu/drm/mediatek/mtk_dpi.c ret = drm_encoder_init(drm_dev, &dpi->encoder, &mtk_dpi_encoder_funcs, dpi 604 drivers/gpu/drm/mediatek/mtk_dpi.c drm_encoder_helper_add(&dpi->encoder, &mtk_dpi_encoder_helper_funcs); dpi 607 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->encoder.possible_crtcs = BIT(1); dpi 609 drivers/gpu/drm/mediatek/mtk_dpi.c ret = drm_bridge_attach(&dpi->encoder, dpi->bridge, NULL); dpi 615 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->bit_num = MTK_DPI_OUT_BIT_NUM_8BITS; dpi 616 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->channel_swap = MTK_DPI_OUT_CHANNEL_SWAP_RGB; dpi 617 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->yc_map = MTK_DPI_OUT_YC_MAP_RGB; dpi 618 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->color_format = MTK_DPI_COLOR_FORMAT_RGB; dpi 623 drivers/gpu/drm/mediatek/mtk_dpi.c drm_encoder_cleanup(&dpi->encoder); dpi 625 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_ddp_comp_unregister(drm_dev, &dpi->ddp_comp); dpi 632 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi = dev_get_drvdata(dev); dpi 635 drivers/gpu/drm/mediatek/mtk_dpi.c drm_encoder_cleanup(&dpi->encoder); dpi 636 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_ddp_comp_unregister(drm_dev, &dpi->ddp_comp); dpi 680 drivers/gpu/drm/mediatek/mtk_dpi.c struct mtk_dpi *dpi; dpi 685 drivers/gpu/drm/mediatek/mtk_dpi.c dpi = devm_kzalloc(dev, sizeof(*dpi), GFP_KERNEL); dpi 686 drivers/gpu/drm/mediatek/mtk_dpi.c if (!dpi) dpi 689 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->dev = dev; dpi 690 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->conf = (struct mtk_dpi_conf *)of_device_get_match_data(dev); dpi 693 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->regs = devm_ioremap_resource(dev, mem); dpi 694 drivers/gpu/drm/mediatek/mtk_dpi.c if (IS_ERR(dpi->regs)) { dpi 695 drivers/gpu/drm/mediatek/mtk_dpi.c ret = PTR_ERR(dpi->regs); dpi 700 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->engine_clk = devm_clk_get(dev, "engine"); dpi 701 drivers/gpu/drm/mediatek/mtk_dpi.c if (IS_ERR(dpi->engine_clk)) { dpi 702 drivers/gpu/drm/mediatek/mtk_dpi.c ret = PTR_ERR(dpi->engine_clk); dpi 707 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->pixel_clk = devm_clk_get(dev, "pixel"); dpi 708 drivers/gpu/drm/mediatek/mtk_dpi.c if (IS_ERR(dpi->pixel_clk)) { dpi 709 drivers/gpu/drm/mediatek/mtk_dpi.c ret = PTR_ERR(dpi->pixel_clk); dpi 714 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->tvd_clk = devm_clk_get(dev, "pll"); dpi 715 drivers/gpu/drm/mediatek/mtk_dpi.c if (IS_ERR(dpi->tvd_clk)) { dpi 716 drivers/gpu/drm/mediatek/mtk_dpi.c ret = PTR_ERR(dpi->tvd_clk); dpi 721 drivers/gpu/drm/mediatek/mtk_dpi.c dpi->irq = platform_get_irq(pdev, 0); dpi 722 drivers/gpu/drm/mediatek/mtk_dpi.c if (dpi->irq <= 0) { dpi 723 drivers/gpu/drm/mediatek/mtk_dpi.c dev_err(dev, "Failed to get irq: %d\n", dpi->irq); dpi 728 drivers/gpu/drm/mediatek/mtk_dpi.c NULL, &dpi->bridge); dpi 732 drivers/gpu/drm/mediatek/mtk_dpi.c dev_info(dev, "Found bridge node: %pOF\n", dpi->bridge->of_node); dpi 740 drivers/gpu/drm/mediatek/mtk_dpi.c ret = mtk_ddp_comp_init(dev, dev->of_node, &dpi->ddp_comp, comp_id, dpi 747 drivers/gpu/drm/mediatek/mtk_dpi.c platform_set_drvdata(pdev, dpi); dpi 51 drivers/gpu/drm/omapdrm/dss/dpi.c static enum dss_clk_source dpi_get_clk_src_dra7xx(struct dpi_data *dpi, dpi 64 drivers/gpu/drm/omapdrm/dss/dpi.c if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_1)) dpi 70 drivers/gpu/drm/omapdrm/dss/dpi.c if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) dpi 72 drivers/gpu/drm/omapdrm/dss/dpi.c if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_3)) dpi 78 drivers/gpu/drm/omapdrm/dss/dpi.c if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_1)) dpi 80 drivers/gpu/drm/omapdrm/dss/dpi.c if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) dpi 91 drivers/gpu/drm/omapdrm/dss/dpi.c static enum dss_clk_source dpi_get_clk_src(struct dpi_data *dpi) dpi 93 drivers/gpu/drm/omapdrm/dss/dpi.c enum omap_channel channel = dpi->output.dispc_channel; dpi 100 drivers/gpu/drm/omapdrm/dss/dpi.c switch (dpi->dss_model) { dpi 127 drivers/gpu/drm/omapdrm/dss/dpi.c return dpi_get_clk_src_dra7xx(dpi, channel); dpi 135 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi; dpi 184 drivers/gpu/drm/omapdrm/dss/dpi.c return dispc_div_calc(ctx->dpi->dss->dispc, dispc, dpi 201 drivers/gpu/drm/omapdrm/dss/dpi.c return dss_pll_hsdiv_calc_a(ctx->dpi->pll, clkdco, dpi 202 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->pck_min, dss_get_max_fck_rate(ctx->dpi->dss), dpi 212 drivers/gpu/drm/omapdrm/dss/dpi.c return dispc_div_calc(ctx->dpi->dss->dispc, fck, dpi 217 drivers/gpu/drm/omapdrm/dss/dpi.c static bool dpi_pll_clk_calc(struct dpi_data *dpi, unsigned long pck, dpi 223 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->dpi = dpi; dpi 224 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->clkout_idx = dss_pll_get_clkout_idx_for_src(dpi->clk_src); dpi 226 drivers/gpu/drm/omapdrm/dss/dpi.c clkin = clk_get_rate(dpi->pll->clkin); dpi 228 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll->hw->type == DSS_PLL_TYPE_A) { dpi 237 drivers/gpu/drm/omapdrm/dss/dpi.c return dss_pll_calc_a(ctx->dpi->pll, clkin, dpi 241 drivers/gpu/drm/omapdrm/dss/dpi.c dss_pll_calc_b(dpi->pll, clkin, pck, &ctx->pll_cinfo); dpi 252 drivers/gpu/drm/omapdrm/dss/dpi.c static bool dpi_dss_clk_calc(struct dpi_data *dpi, unsigned long pck, dpi 268 drivers/gpu/drm/omapdrm/dss/dpi.c ctx->dpi = dpi; dpi 275 drivers/gpu/drm/omapdrm/dss/dpi.c ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, dpi 286 drivers/gpu/drm/omapdrm/dss/dpi.c static int dpi_set_pll_clk(struct dpi_data *dpi, enum omap_channel channel, dpi 294 drivers/gpu/drm/omapdrm/dss/dpi.c ok = dpi_pll_clk_calc(dpi, pck_req, &ctx); dpi 298 drivers/gpu/drm/omapdrm/dss/dpi.c r = dss_pll_set_config(dpi->pll, &ctx.pll_cinfo); dpi 302 drivers/gpu/drm/omapdrm/dss/dpi.c dss_select_lcd_clk_source(dpi->dss, channel, dpi->clk_src); dpi 304 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.clock_info = ctx.dispc_cinfo; dpi 313 drivers/gpu/drm/omapdrm/dss/dpi.c static int dpi_set_dispc_clk(struct dpi_data *dpi, unsigned long pck_req, dpi 320 drivers/gpu/drm/omapdrm/dss/dpi.c ok = dpi_dss_clk_calc(dpi, pck_req, &ctx); dpi 324 drivers/gpu/drm/omapdrm/dss/dpi.c r = dss_set_fck_rate(dpi->dss, ctx.fck); dpi 328 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.clock_info = ctx.dispc_cinfo; dpi 337 drivers/gpu/drm/omapdrm/dss/dpi.c static int dpi_set_mode(struct dpi_data *dpi) dpi 343 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll) dpi 344 drivers/gpu/drm/omapdrm/dss/dpi.c r = dpi_set_pll_clk(dpi, dpi->output.dispc_channel, dpi 345 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->pixelclock, &fck, &lck_div, &pck_div); dpi 347 drivers/gpu/drm/omapdrm/dss/dpi.c r = dpi_set_dispc_clk(dpi, dpi->pixelclock, &fck, dpi 355 drivers/gpu/drm/omapdrm/dss/dpi.c static void dpi_config_lcd_manager(struct dpi_data *dpi) dpi 357 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.io_pad_mode = DSS_IO_PAD_MODE_BYPASS; dpi 359 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.stallmode = false; dpi 360 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.fifohandcheck = false; dpi 362 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.video_port_width = dpi->data_lines; dpi 364 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->mgr_config.lcden_sig_polarity = 0; dpi 366 drivers/gpu/drm/omapdrm/dss/dpi.c dss_mgr_set_lcd_config(&dpi->output, &dpi->mgr_config); dpi 371 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 372 drivers/gpu/drm/omapdrm/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 375 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_lock(&dpi->lock); dpi 377 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->vdds_dsi_reg) { dpi 378 drivers/gpu/drm/omapdrm/dss/dpi.c r = regulator_enable(dpi->vdds_dsi_reg); dpi 383 drivers/gpu/drm/omapdrm/dss/dpi.c r = dispc_runtime_get(dpi->dss->dispc); dpi 387 drivers/gpu/drm/omapdrm/dss/dpi.c r = dss_dpi_select_source(dpi->dss, dpi->id, out->dispc_channel); dpi 391 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll) { dpi 392 drivers/gpu/drm/omapdrm/dss/dpi.c r = dss_pll_enable(dpi->pll); dpi 397 drivers/gpu/drm/omapdrm/dss/dpi.c r = dpi_set_mode(dpi); dpi 401 drivers/gpu/drm/omapdrm/dss/dpi.c dpi_config_lcd_manager(dpi); dpi 405 drivers/gpu/drm/omapdrm/dss/dpi.c r = dss_mgr_enable(&dpi->output); dpi 409 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_unlock(&dpi->lock); dpi 415 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll) dpi 416 drivers/gpu/drm/omapdrm/dss/dpi.c dss_pll_disable(dpi->pll); dpi 419 drivers/gpu/drm/omapdrm/dss/dpi.c dispc_runtime_put(dpi->dss->dispc); dpi 421 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->vdds_dsi_reg) dpi 422 drivers/gpu/drm/omapdrm/dss/dpi.c regulator_disable(dpi->vdds_dsi_reg); dpi 424 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_unlock(&dpi->lock); dpi 429 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 431 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_lock(&dpi->lock); dpi 433 drivers/gpu/drm/omapdrm/dss/dpi.c dss_mgr_disable(&dpi->output); dpi 435 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll) { dpi 436 drivers/gpu/drm/omapdrm/dss/dpi.c dss_select_lcd_clk_source(dpi->dss, dpi->output.dispc_channel, dpi 438 drivers/gpu/drm/omapdrm/dss/dpi.c dss_pll_disable(dpi->pll); dpi 441 drivers/gpu/drm/omapdrm/dss/dpi.c dispc_runtime_put(dpi->dss->dispc); dpi 443 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->vdds_dsi_reg) dpi 444 drivers/gpu/drm/omapdrm/dss/dpi.c regulator_disable(dpi->vdds_dsi_reg); dpi 446 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_unlock(&dpi->lock); dpi 452 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 456 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_lock(&dpi->lock); dpi 458 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->pixelclock = mode->clock * 1000; dpi 460 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_unlock(&dpi->lock); dpi 466 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 479 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll) { dpi 480 drivers/gpu/drm/omapdrm/dss/dpi.c ok = dpi_pll_clk_calc(dpi, mode->clock * 1000, &ctx); dpi 486 drivers/gpu/drm/omapdrm/dss/dpi.c ok = dpi_dss_clk_calc(dpi, mode->clock * 1000, &ctx); dpi 518 drivers/gpu/drm/omapdrm/dss/dpi.c static void dpi_init_pll(struct dpi_data *dpi) dpi 522 drivers/gpu/drm/omapdrm/dss/dpi.c if (dpi->pll) dpi 525 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->clk_src = dpi_get_clk_src(dpi); dpi 527 drivers/gpu/drm/omapdrm/dss/dpi.c pll = dss_pll_find_by_src(dpi->dss, dpi->clk_src); dpi 536 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->pll = pll; dpi 545 drivers/gpu/drm/omapdrm/dss/dpi.c static enum omap_channel dpi_get_channel(struct dpi_data *dpi) dpi 547 drivers/gpu/drm/omapdrm/dss/dpi.c switch (dpi->dss_model) { dpi 553 drivers/gpu/drm/omapdrm/dss/dpi.c switch (dpi->id) { dpi 578 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dst); dpi 580 drivers/gpu/drm/omapdrm/dss/dpi.c dpi_init_pll(dpi); dpi 602 drivers/gpu/drm/omapdrm/dss/dpi.c static int dpi_init_output_port(struct dpi_data *dpi, struct device_node *port) dpi 604 drivers/gpu/drm/omapdrm/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 609 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->id = port_num <= 2 ? port_num : 0; dpi 624 drivers/gpu/drm/omapdrm/dss/dpi.c out->dev = &dpi->pdev->dev; dpi 627 drivers/gpu/drm/omapdrm/dss/dpi.c out->dispc_channel = dpi_get_channel(dpi); dpi 643 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = port->data; dpi 644 drivers/gpu/drm/omapdrm/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 656 drivers/gpu/drm/omapdrm/dss/dpi.c static int dpi_init_regulator(struct dpi_data *dpi) dpi 667 drivers/gpu/drm/omapdrm/dss/dpi.c vdds_dsi = devm_regulator_get(&dpi->pdev->dev, "vdds_dsi"); dpi 674 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->vdds_dsi_reg = vdds_dsi; dpi 682 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi; dpi 687 drivers/gpu/drm/omapdrm/dss/dpi.c dpi = devm_kzalloc(&pdev->dev, sizeof(*dpi), GFP_KERNEL); dpi 688 drivers/gpu/drm/omapdrm/dss/dpi.c if (!dpi) dpi 702 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->data_lines = datalines; dpi 704 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->pdev = pdev; dpi 705 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->dss_model = dss_model; dpi 706 drivers/gpu/drm/omapdrm/dss/dpi.c dpi->dss = dss; dpi 707 drivers/gpu/drm/omapdrm/dss/dpi.c port->data = dpi; dpi 709 drivers/gpu/drm/omapdrm/dss/dpi.c mutex_init(&dpi->lock); dpi 711 drivers/gpu/drm/omapdrm/dss/dpi.c r = dpi_init_regulator(dpi); dpi 715 drivers/gpu/drm/omapdrm/dss/dpi.c return dpi_init_output_port(dpi, port); dpi 720 drivers/gpu/drm/omapdrm/dss/dpi.c struct dpi_data *dpi = port->data; dpi 722 drivers/gpu/drm/omapdrm/dss/dpi.c if (!dpi) dpi 97 drivers/gpu/drm/vc4/vc4_dpi.c #define DPI_READ(offset) readl(dpi->regs + (offset)) dpi 98 drivers/gpu/drm/vc4/vc4_dpi.c #define DPI_WRITE(offset, val) writel(val, dpi->regs + (offset)) dpi 103 drivers/gpu/drm/vc4/vc4_dpi.c struct vc4_dpi *dpi; dpi 124 drivers/gpu/drm/vc4/vc4_dpi.c struct vc4_dpi *dpi = vc4_encoder->dpi; dpi 126 drivers/gpu/drm/vc4/vc4_dpi.c clk_disable_unprepare(dpi->pixel_clock); dpi 134 drivers/gpu/drm/vc4/vc4_dpi.c struct vc4_dpi *dpi = vc4_encoder->dpi; dpi 200 drivers/gpu/drm/vc4/vc4_dpi.c ret = clk_set_rate(dpi->pixel_clock, mode->clock * 1000); dpi 204 drivers/gpu/drm/vc4/vc4_dpi.c ret = clk_prepare_enable(dpi->pixel_clock); dpi 232 drivers/gpu/drm/vc4/vc4_dpi.c static int vc4_dpi_init_bridge(struct vc4_dpi *dpi) dpi 234 drivers/gpu/drm/vc4/vc4_dpi.c struct device *dev = &dpi->pdev->dev; dpi 254 drivers/gpu/drm/vc4/vc4_dpi.c return drm_bridge_attach(dpi->encoder, bridge, NULL); dpi 262 drivers/gpu/drm/vc4/vc4_dpi.c struct vc4_dpi *dpi; dpi 266 drivers/gpu/drm/vc4/vc4_dpi.c dpi = devm_kzalloc(dev, sizeof(*dpi), GFP_KERNEL); dpi 267 drivers/gpu/drm/vc4/vc4_dpi.c if (!dpi) dpi 275 drivers/gpu/drm/vc4/vc4_dpi.c vc4_dpi_encoder->dpi = dpi; dpi 276 drivers/gpu/drm/vc4/vc4_dpi.c dpi->encoder = &vc4_dpi_encoder->base.base; dpi 278 drivers/gpu/drm/vc4/vc4_dpi.c dpi->pdev = pdev; dpi 279 drivers/gpu/drm/vc4/vc4_dpi.c dpi->regs = vc4_ioremap_regs(pdev, 0); dpi 280 drivers/gpu/drm/vc4/vc4_dpi.c if (IS_ERR(dpi->regs)) dpi 281 drivers/gpu/drm/vc4/vc4_dpi.c return PTR_ERR(dpi->regs); dpi 282 drivers/gpu/drm/vc4/vc4_dpi.c dpi->regset.base = dpi->regs; dpi 283 drivers/gpu/drm/vc4/vc4_dpi.c dpi->regset.regs = dpi_regs; dpi 284 drivers/gpu/drm/vc4/vc4_dpi.c dpi->regset.nregs = ARRAY_SIZE(dpi_regs); dpi 292 drivers/gpu/drm/vc4/vc4_dpi.c dpi->core_clock = devm_clk_get(dev, "core"); dpi 293 drivers/gpu/drm/vc4/vc4_dpi.c if (IS_ERR(dpi->core_clock)) { dpi 294 drivers/gpu/drm/vc4/vc4_dpi.c ret = PTR_ERR(dpi->core_clock); dpi 299 drivers/gpu/drm/vc4/vc4_dpi.c dpi->pixel_clock = devm_clk_get(dev, "pixel"); dpi 300 drivers/gpu/drm/vc4/vc4_dpi.c if (IS_ERR(dpi->pixel_clock)) { dpi 301 drivers/gpu/drm/vc4/vc4_dpi.c ret = PTR_ERR(dpi->pixel_clock); dpi 307 drivers/gpu/drm/vc4/vc4_dpi.c ret = clk_prepare_enable(dpi->core_clock); dpi 311 drivers/gpu/drm/vc4/vc4_dpi.c drm_encoder_init(drm, dpi->encoder, &vc4_dpi_encoder_funcs, dpi 313 drivers/gpu/drm/vc4/vc4_dpi.c drm_encoder_helper_add(dpi->encoder, &vc4_dpi_encoder_helper_funcs); dpi 315 drivers/gpu/drm/vc4/vc4_dpi.c ret = vc4_dpi_init_bridge(dpi); dpi 319 drivers/gpu/drm/vc4/vc4_dpi.c dev_set_drvdata(dev, dpi); dpi 321 drivers/gpu/drm/vc4/vc4_dpi.c vc4->dpi = dpi; dpi 323 drivers/gpu/drm/vc4/vc4_dpi.c vc4_debugfs_add_regset32(drm, "dpi_regs", &dpi->regset); dpi 328 drivers/gpu/drm/vc4/vc4_dpi.c drm_encoder_cleanup(dpi->encoder); dpi 329 drivers/gpu/drm/vc4/vc4_dpi.c clk_disable_unprepare(dpi->core_clock); dpi 338 drivers/gpu/drm/vc4/vc4_dpi.c struct vc4_dpi *dpi = dev_get_drvdata(dev); dpi 342 drivers/gpu/drm/vc4/vc4_dpi.c drm_encoder_cleanup(dpi->encoder); dpi 344 drivers/gpu/drm/vc4/vc4_dpi.c clk_disable_unprepare(dpi->core_clock); dpi 346 drivers/gpu/drm/vc4/vc4_dpi.c vc4->dpi = NULL; dpi 77 drivers/gpu/drm/vc4/vc4_drv.h struct vc4_dpi *dpi; dpi 1410 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 dpi; dpi 2111 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 dpi; dpi 184 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.dpi = 0; dpi 587 drivers/infiniband/hw/bnxt_re/ib_verbs.c if (!ucntx->dpi.dbr) { dpi 593 drivers/infiniband/hw/bnxt_re/ib_verbs.c &ucntx->dpi, ucntx)) { dpi 601 drivers/infiniband/hw/bnxt_re/ib_verbs.c resp.dpi = ucntx->dpi.dpi; dpi 602 drivers/infiniband/hw/bnxt_re/ib_verbs.c resp.dbr = (u64)ucntx->dpi.umdbr; dpi 881 drivers/infiniband/hw/bnxt_re/ib_verbs.c qplib_qp->dpi = &cntx->dpi; dpi 981 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.dpi = &rdev->dpi_privileged; dpi 1120 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.dpi = &rdev->dpi_privileged; dpi 1170 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.dpi = &rdev->dpi_privileged; dpi 1334 drivers/infiniband/hw/bnxt_re/ib_verbs.c qplib_srq->dpi = &cntx->dpi; dpi 1365 drivers/infiniband/hw/bnxt_re/ib_verbs.c srq->qplib_srq.dpi = &rdev->dpi_privileged; dpi 2576 drivers/infiniband/hw/bnxt_re/ib_verbs.c cq->qplib_cq.dpi = &uctx->dpi; dpi 2586 drivers/infiniband/hw/bnxt_re/ib_verbs.c cq->qplib_cq.dpi = &rdev->dpi_privileged; dpi 3675 drivers/infiniband/hw/bnxt_re/ib_verbs.c if (uctx->dpi.dbr) { dpi 3680 drivers/infiniband/hw/bnxt_re/ib_verbs.c &rdev->qplib_res.dpi_tbl, &uctx->dpi); dpi 3681 drivers/infiniband/hw/bnxt_re/ib_verbs.c uctx->dpi.dbr = NULL; dpi 140 drivers/infiniband/hw/bnxt_re/ib_verbs.h struct bnxt_qplib_dpi dpi; dpi 503 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->dpi->dbr; dpi 560 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dpi = cpu_to_le32(srq->dpi->dpi); dpi 738 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dpi = cpu_to_le32(qp->dpi->dpi); dpi 881 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dpi = cpu_to_le32(qp->dpi->dpi); dpi 1518 drivers/infiniband/hw/bnxt_re/qplib_fp.c writeq(val, qp->dpi->dbr); dpi 1819 drivers/infiniband/hw/bnxt_re/qplib_fp.c writeq(val, qp->dpi->dbr); dpi 1924 drivers/infiniband/hw/bnxt_re/qplib_fp.c writeq(val, cq->dpi->dbr); dpi 1946 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (!cq->dpi) { dpi 1951 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dpi = cpu_to_le32(cq->dpi->dpi); dpi 44 drivers/infiniband/hw/bnxt_re/qplib_fp.h struct bnxt_qplib_dpi *dpi; dpi 255 drivers/infiniband/hw/bnxt_re/qplib_fp.h struct bnxt_qplib_dpi *dpi; dpi 372 drivers/infiniband/hw/bnxt_re/qplib_fp.h struct bnxt_qplib_dpi *dpi; dpi 630 drivers/infiniband/hw/bnxt_re/qplib_res.c struct bnxt_qplib_dpi *dpi, dpi 643 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->dpi = bit_num; dpi 644 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->dbr = dpit->dbr_bar_reg_iomem + (bit_num * PAGE_SIZE); dpi 645 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->umdbr = dpit->unmapped_dbr + (bit_num * PAGE_SIZE); dpi 652 drivers/infiniband/hw/bnxt_re/qplib_res.c struct bnxt_qplib_dpi *dpi) dpi 654 drivers/infiniband/hw/bnxt_re/qplib_res.c if (dpi->dpi >= dpit->max) { dpi 655 drivers/infiniband/hw/bnxt_re/qplib_res.c dev_warn(&res->pdev->dev, "Invalid DPI? dpi = %d\n", dpi->dpi); dpi 658 drivers/infiniband/hw/bnxt_re/qplib_res.c if (test_and_set_bit(dpi->dpi, dpit->tbl)) { dpi 660 drivers/infiniband/hw/bnxt_re/qplib_res.c dpi->dpi); dpi 664 drivers/infiniband/hw/bnxt_re/qplib_res.c dpit->app_tbl[dpi->dpi] = NULL; dpi 665 drivers/infiniband/hw/bnxt_re/qplib_res.c memset(dpi, 0, sizeof(*dpi)); dpi 129 drivers/infiniband/hw/bnxt_re/qplib_res.h u32 dpi; dpi 250 drivers/infiniband/hw/bnxt_re/qplib_res.h struct bnxt_qplib_dpi *dpi, dpi 254 drivers/infiniband/hw/bnxt_re/qplib_res.h struct bnxt_qplib_dpi *dpi); dpi 1057 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dpi; dpi 1250 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dpi; dpi 1313 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dpi; dpi 1633 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dpi; dpi 833 drivers/infiniband/hw/qedr/main.c dev->dpi = out_params.dpi; dpi 846 drivers/infiniband/hw/qedr/main.c dev->ops->rdma_remove_user(dev->rdma_ctx, dev->dpi); dpi 149 drivers/infiniband/hw/qedr/qedr.h u16 dpi; dpi 236 drivers/infiniband/hw/qedr/qedr.h u16 dpi; dpi 334 drivers/infiniband/hw/qedr/verbs.c ctx->dpi = oparams.dpi; dpi 376 drivers/infiniband/hw/qedr/verbs.c uctx->dev->ops->rdma_remove_user(uctx->dev->rdma_ctx, uctx->dpi); dpi 395 drivers/infiniband/hw/qedr/verbs.c dpi_start = dev->db_phys_addr + (ucontext->dpi * ucontext->dpi_size); dpi 761 drivers/infiniband/hw/qedr/verbs.c params->dpi = (ctx) ? ctx->dpi : dev->dpi; dpi 1528 drivers/infiniband/hw/qedr/verbs.c params->dpi = pd->uctx ? pd->uctx->dpi : dev->dpi; dpi 356 drivers/net/ethernet/jme.c register struct dynpcc_info *dpi = &(jme->dpi); dpi 359 drivers/net/ethernet/jme.c dpi->cur = PCC_P1; dpi 360 drivers/net/ethernet/jme.c dpi->attempt = PCC_P1; dpi 361 drivers/net/ethernet/jme.c dpi->cnt = 0; dpi 1118 drivers/net/ethernet/jme.c jme_attempt_pcc(struct dynpcc_info *dpi, int atmp) dpi 1120 drivers/net/ethernet/jme.c if (likely(atmp == dpi->cur)) { dpi 1121 drivers/net/ethernet/jme.c dpi->cnt = 0; dpi 1125 drivers/net/ethernet/jme.c if (dpi->attempt == atmp) { dpi 1126 drivers/net/ethernet/jme.c ++(dpi->cnt); dpi 1128 drivers/net/ethernet/jme.c dpi->attempt = atmp; dpi 1129 drivers/net/ethernet/jme.c dpi->cnt = 0; dpi 1137 drivers/net/ethernet/jme.c register struct dynpcc_info *dpi = &(jme->dpi); dpi 1139 drivers/net/ethernet/jme.c if ((NET_STAT(jme).rx_bytes - dpi->last_bytes) > PCC_P3_THRESHOLD) dpi 1140 drivers/net/ethernet/jme.c jme_attempt_pcc(dpi, PCC_P3); dpi 1141 drivers/net/ethernet/jme.c else if ((NET_STAT(jme).rx_packets - dpi->last_pkts) > PCC_P2_THRESHOLD || dpi 1142 drivers/net/ethernet/jme.c dpi->intr_cnt > PCC_INTR_THRESHOLD) dpi 1143 drivers/net/ethernet/jme.c jme_attempt_pcc(dpi, PCC_P2); dpi 1145 drivers/net/ethernet/jme.c jme_attempt_pcc(dpi, PCC_P1); dpi 1147 drivers/net/ethernet/jme.c if (unlikely(dpi->attempt != dpi->cur && dpi->cnt > 5)) { dpi 1148 drivers/net/ethernet/jme.c if (dpi->attempt < dpi->cur) dpi 1150 drivers/net/ethernet/jme.c jme_set_rx_pcc(jme, dpi->attempt); dpi 1151 drivers/net/ethernet/jme.c dpi->cur = dpi->attempt; dpi 1152 drivers/net/ethernet/jme.c dpi->cnt = 0; dpi 1159 drivers/net/ethernet/jme.c struct dynpcc_info *dpi = &(jme->dpi); dpi 1160 drivers/net/ethernet/jme.c dpi->last_bytes = NET_STAT(jme).rx_bytes; dpi 1161 drivers/net/ethernet/jme.c dpi->last_pkts = NET_STAT(jme).rx_packets; dpi 1162 drivers/net/ethernet/jme.c dpi->intr_cnt = 0; dpi 1351 drivers/net/ethernet/jme.c struct dynpcc_info *dpi = &(jme->dpi); dpi 1354 drivers/net/ethernet/jme.c ++(dpi->intr_cnt); dpi 2432 drivers/net/ethernet/jme.c switch (jme->dpi.cur) { dpi 2456 drivers/net/ethernet/jme.c struct dynpcc_info *dpi = &(jme->dpi); dpi 2465 drivers/net/ethernet/jme.c dpi->cur = PCC_P1; dpi 2466 drivers/net/ethernet/jme.c dpi->attempt = PCC_P1; dpi 2467 drivers/net/ethernet/jme.c dpi->cnt = 0; dpi 3048 drivers/net/ethernet/jme.c jme->dpi.cur = PCC_P1; dpi 439 drivers/net/ethernet/jme.h struct dynpcc_info dpi; dpi 7144 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 dpi; dpi 7944 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 dpi; dpi 8001 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 dpi; dpi 9965 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 dpi; dpi 289 drivers/net/ethernet/qlogic/qed/qed_iwarp.c p_ramrod->dpi = cpu_to_le16(qp->dpi); dpi 796 drivers/net/ethernet/qlogic/qed/qed_rdma.c out_params->dpi = (u16)returned_id; dpi 802 drivers/net/ethernet/qlogic/qed/qed_rdma.c out_params->dpi * p_hwfn->dpi_size; dpi 806 drivers/net/ethernet/qlogic/qed/qed_rdma.c ((out_params->dpi) * p_hwfn->dpi_size); dpi 1063 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_ramrod->dpi = cpu_to_le16(params->dpi); dpi 1297 drivers/net/ethernet/qlogic/qed/qed_rdma.c qp->dpi = in_params->dpi; dpi 1888 drivers/net/ethernet/qlogic/qed/qed_rdma.c static void qed_rdma_remove_user(void *rdma_cxt, u16 dpi) dpi 1892 drivers/net/ethernet/qlogic/qed/qed_rdma.c DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "dpi = %08x\n", dpi); dpi 1895 drivers/net/ethernet/qlogic/qed/qed_rdma.c qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->dpi_map, dpi); dpi 131 drivers/net/ethernet/qlogic/qed/qed_rdma.h u16 dpi; dpi 351 drivers/net/ethernet/qlogic/qed/qed_roce.c p_ramrod->dpi = cpu_to_le16(qp->dpi); dpi 481 drivers/net/ethernet/qlogic/qed/qed_roce.c p_ramrod->dpi = cpu_to_le16(qp->dpi); dpi 39 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c r = in->ops.dpi->connect(in, dssdev); dpi 66 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->disconnect(in, &ddata->dssdev); dpi 81 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->set_timings(in, &ddata->timings); dpi 83 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 85 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c r = in->ops.dpi->enable(in); dpi 108 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->disable(in); dpi 131 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->set_timings(in, timings); dpi 150 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c return in->ops.dpi->check_timings(in, timings); dpi 227 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c dssdev->phy.dpi.data_lines = ddata->data_lines; dpi 45 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c r = in->ops.dpi->connect(in, dssdev); dpi 60 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->disconnect(in, dssdev); dpi 76 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 77 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->set_timings(in, &ddata->videomode); dpi 79 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c r = in->ops.dpi->enable(in); dpi 106 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->disable(in); dpi 120 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->set_timings(in, timings); dpi 137 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c return in->ops.dpi->check_timings(in, timings); dpi 272 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c dssdev->phy.dpi.data_lines = ddata->data_lines; dpi 126 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c r = in->ops.dpi->connect(in, dssdev); dpi 143 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->disconnect(in, dssdev); dpi 159 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 160 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->set_timings(in, &ddata->videomode); dpi 162 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c r = in->ops.dpi->enable(in); dpi 191 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->disable(in); dpi 205 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->set_timings(in, timings); dpi 222 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c return in->ops.dpi->check_timings(in, timings); dpi 303 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c dssdev->phy.dpi.data_lines = ddata->data_lines; dpi 125 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c r = in->ops.dpi->connect(in, dssdev); dpi 140 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->disconnect(in, dssdev); dpi 156 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 157 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->set_timings(in, &ddata->videomode); dpi 159 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c r = in->ops.dpi->enable(in); dpi 182 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->disable(in); dpi 196 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->set_timings(in, timings); dpi 213 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c return in->ops.dpi->check_timings(in, timings); dpi 67 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c r = in->ops.dpi->connect(in, dssdev); dpi 82 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->disconnect(in, dssdev); dpi 98 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 99 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->set_timings(in, &ddata->videomode); dpi 107 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c r = in->ops.dpi->enable(in); dpi 145 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->disable(in); dpi 162 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->set_timings(in, timings); dpi 179 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c return in->ops.dpi->check_timings(in, timings); dpi 287 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c dssdev->phy.dpi.data_lines = ddata->data_lines; dpi 167 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c r = in->ops.dpi->connect(in, dssdev); dpi 182 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->disconnect(in, dssdev); dpi 198 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 199 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->set_timings(in, &ddata->videomode); dpi 201 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c r = in->ops.dpi->enable(in); dpi 310 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->disable(in); dpi 324 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->set_timings(in, timings); dpi 341 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c return in->ops.dpi->check_timings(in, timings); dpi 413 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c dssdev->phy.dpi.data_lines = ddata->data_lines; dpi 345 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c r = in->ops.dpi->connect(in, dssdev); dpi 360 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->disconnect(in, dssdev); dpi 376 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->set_data_lines(in, ddata->data_lines); dpi 377 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->set_timings(in, &ddata->videomode); dpi 379 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c r = in->ops.dpi->enable(in); dpi 390 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->disable(in); dpi 408 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->disable(in); dpi 425 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->set_timings(in, timings); dpi 442 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c return in->ops.dpi->check_timings(in, timings); dpi 36 drivers/video/fbdev/omap2/omapfb/dss/display.c if (dssdev->phy.dpi.data_lines == 24) dpi 219 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static bool dpi_dsi_clk_calc(struct dpi_data *dpi, unsigned long pck, dpi 226 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ctx->pll = dpi->pll; dpi 271 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static int dpi_set_dsi_clk(struct dpi_data *dpi, enum omap_channel channel, dpi 279 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ok = dpi_dsi_clk_calc(dpi, pck_req, &ctx); dpi 283 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = dss_pll_set_config(dpi->pll, &ctx.dsi_cinfo); dpi 290 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.clock_info = ctx.dispc_cinfo; dpi 299 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static int dpi_set_dispc_clk(struct dpi_data *dpi, unsigned long pck_req, dpi 314 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.clock_info = ctx.dispc_cinfo; dpi 323 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static int dpi_set_mode(struct dpi_data *dpi) dpi 325 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 327 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_video_timings *t = &dpi->timings; dpi 333 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->pll) dpi 334 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = dpi_set_dsi_clk(dpi, mgr->id, t->pixelclock, &fck, dpi 337 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = dpi_set_dispc_clk(dpi, t->pixelclock, &fck, dpi 356 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static void dpi_config_lcd_manager(struct dpi_data *dpi) dpi 358 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 361 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.io_pad_mode = DSS_IO_PAD_MODE_BYPASS; dpi 363 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.stallmode = false; dpi 364 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.fifohandcheck = false; dpi 366 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.video_port_width = dpi->data_lines; dpi 368 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->mgr_config.lcden_sig_polarity = 0; dpi 370 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dss_mgr_set_lcd_config(mgr, &dpi->mgr_config); dpi 375 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 376 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 379 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_lock(&dpi->lock); dpi 381 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dss_has_feature(FEAT_DPI_USES_VDDS_DSI) && !dpi->vdds_dsi_reg) { dpi 394 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = regulator_enable(dpi->vdds_dsi_reg); dpi 407 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->pll) { dpi 408 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = dss_pll_enable(dpi->pll); dpi 413 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = dpi_set_mode(dpi); dpi 417 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi_config_lcd_manager(dpi); dpi 425 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_unlock(&dpi->lock); dpi 431 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->pll) dpi 432 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dss_pll_disable(dpi->pll); dpi 438 drivers/video/fbdev/omap2/omapfb/dss/dpi.c regulator_disable(dpi->vdds_dsi_reg); dpi 442 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_unlock(&dpi->lock); dpi 448 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 449 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_overlay_manager *mgr = dpi->output.manager; dpi 451 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_lock(&dpi->lock); dpi 455 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->pll) { dpi 457 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dss_pll_disable(dpi->pll); dpi 463 drivers/video/fbdev/omap2/omapfb/dss/dpi.c regulator_disable(dpi->vdds_dsi_reg); dpi 465 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_unlock(&dpi->lock); dpi 471 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 475 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_lock(&dpi->lock); dpi 477 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->timings = *timings; dpi 479 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_unlock(&dpi->lock); dpi 485 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 487 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_lock(&dpi->lock); dpi 489 drivers/video/fbdev/omap2/omapfb/dss/dpi.c *timings = dpi->timings; dpi 491 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_unlock(&dpi->lock); dpi 497 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 498 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_overlay_manager *mgr = dpi->output.manager; dpi 511 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->pll) { dpi 512 drivers/video/fbdev/omap2/omapfb/dss/dpi.c ok = dpi_dsi_clk_calc(dpi, timings->pixelclock, &ctx); dpi 537 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 539 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_lock(&dpi->lock); dpi 541 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->data_lines = data_lines; dpi 543 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_unlock(&dpi->lock); dpi 561 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static int dpi_init_regulator(struct dpi_data *dpi) dpi 568 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->vdds_dsi_reg) dpi 571 drivers/video/fbdev/omap2/omapfb/dss/dpi.c vdds_dsi = devm_regulator_get(&dpi->pdev->dev, "vdds_dsi"); dpi 578 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->vdds_dsi_reg = vdds_dsi; dpi 583 drivers/video/fbdev/omap2/omapfb/dss/dpi.c static void dpi_init_pll(struct dpi_data *dpi) dpi 587 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (dpi->pll) dpi 590 drivers/video/fbdev/omap2/omapfb/dss/dpi.c pll = dpi_get_pll(dpi->output.dispc_channel); dpi 596 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dss_ctrl_pll_set_control_mux(pll->id, dpi->output.dispc_channel); dpi 603 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->pll = pll; dpi 651 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); dpi 655 drivers/video/fbdev/omap2/omapfb/dss/dpi.c r = dpi_init_regulator(dpi); dpi 659 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi_init_pll(dpi); dpi 710 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_pdev(pdev); dpi 711 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 718 drivers/video/fbdev/omap2/omapfb/dss/dpi.c out->ops.dpi = &dpi_ops; dpi 726 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = dpi_get_data_from_pdev(pdev); dpi 727 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 735 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = port->data; dpi 736 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 762 drivers/video/fbdev/omap2/omapfb/dss/dpi.c out->ops.dpi = &dpi_ops; dpi 770 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = port->data; dpi 771 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct omap_dss_device *out = &dpi->output; dpi 779 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi; dpi 781 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi = devm_kzalloc(&pdev->dev, sizeof(*dpi), GFP_KERNEL); dpi 782 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (!dpi) dpi 785 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->pdev = pdev; dpi 787 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dev_set_drvdata(&pdev->dev, dpi); dpi 789 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_init(&dpi->lock); dpi 840 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi; dpi 845 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi = devm_kzalloc(&pdev->dev, sizeof(*dpi), GFP_KERNEL); dpi 846 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (!dpi) dpi 859 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->data_lines = datalines; dpi 863 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->pdev = pdev; dpi 864 drivers/video/fbdev/omap2/omapfb/dss/dpi.c port->data = dpi; dpi 866 drivers/video/fbdev/omap2/omapfb/dss/dpi.c mutex_init(&dpi->lock); dpi 870 drivers/video/fbdev/omap2/omapfb/dss/dpi.c dpi->port_initialized = true; dpi 882 drivers/video/fbdev/omap2/omapfb/dss/dpi.c struct dpi_data *dpi = port->data; dpi 884 drivers/video/fbdev/omap2/omapfb/dss/dpi.c if (!dpi->port_initialized) dpi 227 include/linux/qed/qed_rdma_if.h u16 dpi; dpi 279 include/linux/qed/qed_rdma_if.h u16 dpi; dpi 313 include/linux/qed/qed_rdma_if.h u16 dpi; dpi 602 include/linux/qed/qed_rdma_if.h void (*rdma_remove_user)(void *rdma_cxt, u16 dpi); dpi 272 include/uapi/linux/pkt_cls.h struct tc_rsvp_gpi dpi; dpi 74 include/uapi/rdma/bnxt_re-abi.h __u32 dpi; dpi 615 include/video/omapfb_dss.h } dpi; dpi 652 include/video/omapfb_dss.h const struct omapdss_dpi_ops *dpi; dpi 76 net/sched/cls_rsvp.h struct tc_rsvp_gpi dpi; dpi 174 net/sched/cls_rsvp.h !(s->dpi.mask & dpi 175 net/sched/cls_rsvp.h (*(u32 *)(xprt + s->dpi.offset) ^ s->dpi.key)) && dpi 589 net/sched/cls_rsvp.h memcmp(&pinfo->dpi, &s->dpi, sizeof(s->dpi)) == 0 && dpi 633 net/sched/cls_rsvp.h s->dpi = pinfo->dpi; dpi 640 net/sched/cls_rsvp.h if ((nsp->dpi.mask & s->dpi.mask) != s->dpi.mask) dpi 710 net/sched/cls_rsvp.h pinfo.dpi = s->dpi; dpi 230 tools/include/uapi/linux/pkt_cls.h struct tc_rsvp_gpi dpi;