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

Quelle  mmc-mxcmmc.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASMARM_ARCH_MMC_H
#define ASMARM_ARCH_MMC_H

#include <linux/interrupt.h>
#include <linux/mmc/host.h>

struct device;

/* board specific SDHC data, optional.
 * If not present, a writable card with 3,3V is assumed.
 */

struct imxmmc_platform_data {
 /* Return values for the get_ro callback should be:
 *   0 for a read/write card
 *   1 for a read-only card
 *   -ENOSYS when not supported (equal to NULL callback)
 *   or a negative errno value when something bad happened
 */

 int (*get_ro)(struct device *);

 /* board specific hook to (de)initialize the SD slot.
 * The board code can call 'handler' on a card detection
 * change giving data as argument.
 */

 int (*init)(struct device *dev, irq_handler_t handler, void *data);
 void (*exit)(struct device *dev, void *data);

 /* available voltages. If not given, assume
 * MMC_VDD_32_33 | MMC_VDD_33_34
 */

 unsigned int ocr_avail;

 /* adjust slot voltage */
 void (*setpower)(struct device *, unsigned int vdd);

 /* enable card detect using DAT3 */
 int dat3_card_detect;
};

#endif

Messung V0.5
C=93 H=98 G=95

¤ 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.