products/Sources/formale Sprachen/C/LibreOffice/sc/qa/unit/data/xls/opencl/financial/   (Android Betriebssystem Version 17©)  Datei vom 5.10.2025 mit Größe 6 kB image not shown  

SSL phy-qcom-qmp-common.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
 */


#ifndef QCOM_PHY_QMP_COMMON_H_
#define QCOM_PHY_QMP_COMMON_H_

struct qmp_phy_init_tbl {
 unsigned int offset;
 unsigned int val;
 char *name;
 /*
  * mask of lanes for which this register is written
  * for cases when second lane needs different values
 */

 u8 lane_mask;
};

#define QMP_PHY_INIT_CFG(o, v)  \
 {    \
  .offset = o,  \
  .val = v,  \
  .name = #o,  \
  .lane_mask = 0xff, \
 }

#define QMP_PHY_INIT_CFG_LANE(o, v, l) \
 {    \
  .offset = o,  \
  .val = v,  \
  .name = #o,  \
  .lane_mask = l,  \
 }

static inline void qmp_configure_lane(struct device *dev, void __iomem *base,
          const struct qmp_phy_init_tbl tbl[],
          int num, u8 lane_mask)
{
 int i;
 const struct qmp_phy_init_tbl *t = tbl;

 if (!t)
  return;

 for (i = 0; i < num; i++, t++) {
  if (!(t->lane_mask & lane_mask))
   continue;

  dev_dbg(dev, "Writing Reg: %s Offset: 0x%04x Val: 0x%02x\n",
   t->name, t->offset, t->val);
  writel(t->val, base + t->offset);
 }
}

static inline void qmp_configure(struct device *dev, void __iomem *base,
     const struct qmp_phy_init_tbl tbl[], int num)
{
 qmp_configure_lane(dev, base, tbl, num, 0xff);
}

#endif

Messung V0.5 in Prozent
C=96 H=92 G=93

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*Bot Zugriff






Entwurf

Ziele

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Ergonomie der
Schnittstellen

Diese beiden folgenden Angebotsgruppen bietet das Unternehmen

Angebot

Hier finden Sie eine Liste der Produkte des Unternehmens