Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/gpu/drm/xe/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  xe_gt_sriov_pf_helpers.h   Sprache: C

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


#ifndef _XE_GT_SRIOV_PF_HELPERS_H_
#define _XE_GT_SRIOV_PF_HELPERS_H_

#include "xe_gt_types.h"
#include "xe_sriov_pf_helpers.h"

/**
 * xe_gt_sriov_pf_assert_vfid() - warn if &id is not a supported VF number when debugging.
 * @gt: the PF &xe_gt to assert on
 * @vfid: the VF number to assert
 *
 * Assert that > belongs to the Physical Function (PF) device and provided &vfid
 * is within a range of supported VF numbers (up to maximum number of VFs that
 * driver can support, including VF0 that represents the PF itself).
 *
 * Note: Effective only on debug builds. See `Xe Asserts`_ for more information.
 */

#define xe_gt_sriov_pf_assert_vfid(gt, vfid) xe_sriov_pf_assert_vfid(gt_to_xe(gt), (vfid))

static inline int xe_gt_sriov_pf_get_totalvfs(struct xe_gt *gt)
{
 return xe_sriov_pf_get_totalvfs(gt_to_xe(gt));
}

static inline struct mutex *xe_gt_sriov_pf_master_mutex(struct xe_gt *gt)
{
 return xe_sriov_pf_master_mutex(gt_to_xe(gt));
}

#endif

Messung V0.5
C=91 H=97 G=93

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© 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.