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

Quelle  ufshcd-pltfrm.h   Sprache: C

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


#ifndef UFSHCD_PLTFRM_H_
#define UFSHCD_PLTFRM_H_

#include <ufs/ufshcd.h>

#define UFS_PWM_MODE 1
#define UFS_HS_MODE  2

struct ufs_host_params {
 u32 pwm_rx_gear;        /* pwm rx gear to work in */
 u32 pwm_tx_gear;        /* pwm tx gear to work in */
 u32 hs_rx_gear;         /* hs rx gear to work in */
 u32 hs_tx_gear;         /* hs tx gear to work in */
 u32 rx_lanes;           /* number of rx lanes */
 u32 tx_lanes;           /* number of tx lanes */
 u32 rx_pwr_pwm;         /* rx pwm working pwr */
 u32 tx_pwr_pwm;         /* tx pwm working pwr */
 u32 rx_pwr_hs;          /* rx hs working pwr */
 u32 tx_pwr_hs;          /* tx hs working pwr */
 u32 hs_rate;            /* rate A/B to work in HS */
 u32 desired_working_mode;
};

int ufshcd_negotiate_pwr_params(const struct ufs_host_params *host_params,
    const struct ufs_pa_layer_attr *dev_max,
    struct ufs_pa_layer_attr *agreed_pwr);
void ufshcd_init_host_params(struct ufs_host_params *host_params);
int ufshcd_pltfrm_init(struct platform_device *pdev,
         const struct ufs_hba_variant_ops *vops);
void ufshcd_pltfrm_remove(struct platform_device *pdev);
int ufshcd_populate_vreg(struct device *dev, const char *name,
    struct ufs_vreg **out_vreg, bool skip_current);

#endif /* UFSHCD_PLTFRM_H_ */

Messung V0.5
C=65 H=100 G=84

¤ Dauer der Verarbeitung: 0.3 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.