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


Quelle  intel_display_reg_defs.h   Sprache: C

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


#ifndef __INTEL_DISPLAY_REG_DEFS_H__
#define __INTEL_DISPLAY_REG_DEFS_H__

#include "i915_reg_defs.h"

#define DISPLAY_MMIO_BASE(dev_priv) (DISPLAY_INFO(dev_priv)->mmio_offset)

#define VLV_DISPLAY_BASE  0x180000

/*
 * Named helper wrappers around _PICK_EVEN() and _PICK_EVEN_2RANGES().
 */

#define _PIPE(pipe, a, b)  _PICK_EVEN(pipe, a, b)
#define _PLANE(plane, a, b)  _PICK_EVEN(plane, a, b)
#define _TRANS(tran, a, b)  _PICK_EVEN(tran, a, b)
#define _PORT(port, a, b)  _PICK_EVEN(port, a, b)
#define _PLL(pll, a, b)   _PICK_EVEN(pll, a, b)
#define _PHY(phy, a, b)   _PICK_EVEN(phy, a, b)

#define _MMIO_PIPE(pipe, a, b)  _MMIO(_PIPE(pipe, a, b))
#define _MMIO_PLANE(plane, a, b) _MMIO(_PLANE(plane, a, b))
#define _MMIO_TRANS(tran, a, b)  _MMIO(_TRANS(tran, a, b))
#define _MMIO_PORT(port, a, b)  _MMIO(_PORT(port, a, b))
#define _MMIO_PLL(pll, a, b)  _MMIO(_PLL(pll, a, b))
#define _MMIO_PHY(phy, a, b)  _MMIO(_PHY(phy, a, b))

#define _MMIO_BASE_PIPE3(base, pipe, a, b, c) _MMIO((base) + _PICK_EVEN_2RANGES(pipe, 1, a, a, b, c))
#define _MMIO_BASE_PORT3(base, pipe, a, b, c) _MMIO((base) + _PICK_EVEN_2RANGES(pipe, 1, a, a, b, c))

/*
 * Device info offset array based helpers for groups of registers with unevenly
 * spaced base offsets.
 */

#define _MMIO_PIPE2(display, pipe, reg)  _MMIO(DISPLAY_INFO(display)->pipe_offsets[(pipe)] - \
            DISPLAY_INFO(display)->pipe_offsets[PIPE_A] + \
            DISPLAY_MMIO_BASE(display) + (reg))
#define _MMIO_TRANS2(display, tran, reg) _MMIO(DISPLAY_INFO(display)->trans_offsets[(tran)] - \
            DISPLAY_INFO(display)->trans_offsets[TRANSCODER_A] + \
            DISPLAY_MMIO_BASE(display) + (reg))
#define _MMIO_CURSOR2(display, pipe, reg) _MMIO(DISPLAY_INFO(display)->cursor_offsets[(pipe)] - \
            DISPLAY_INFO(display)->cursor_offsets[PIPE_A] + \
            DISPLAY_MMIO_BASE(display) + (reg))

#endif /* __INTEL_DISPLAY_REG_DEFS_H__ */

Messung V0.5
C=96 H=93 G=94

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge