Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  intel_hti.c

  Sprache: C
 

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2022 Intel Corporation
 */


#include <drm/drm_device.h>
#include <drm/drm_print.h>

#include "intel_de.h"
#include "intel_display.h"
#include "intel_hti.h"
#include "intel_hti_regs.h"

void intel_hti_init(struct intel_display *display)
{
 /*
 * If the platform has HTI, we need to find out whether it has reserved
 * any display resources before we create our display outputs.
 */

 if (DISPLAY_INFO(display)->has_hti)
  display->hti.state = intel_de_read(display, HDPORT_STATE);
}

bool intel_hti_uses_phy(struct intel_display *display, enum phy phy)
{
 if (drm_WARN_ON(display->drm, phy == PHY_NONE))
  return false;

 return display->hti.state & HDPORT_ENABLED &&
  display->hti.state & HDPORT_DDI_USED(phy);
}

u32 intel_hti_dpll_mask(struct intel_display *display)
{
 if (!(display->hti.state & HDPORT_ENABLED))
  return 0;

 /*
 * Note: This is subtle. The values must coincide with what's defined
 * for the platform.
 */

 return REG_FIELD_GET(HDPORT_DPLL_USED_MASK, display->hti.state);
}

Messung V0.5 in Prozent
C=97 H=95 G=95

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002