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

Quelle  pinctrl-ma35.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2024 Nuvoton Technology Corp.
 *
 * Author: Shan-Chun Hung <schung@nuvoton.com>
 * *       Jacky Huang <ychuang3@nuvoton.com>
 */

#ifndef __PINCTRL_MA35_H
#define __PINCTRL_MA35_H

#include <linux/pinctrl/pinconf-generic.h>
#include <linux/pinctrl/pinmux.h>
#include <linux/platform_device.h>

struct ma35_mux_desc {
 const char *name;
 u32 muxval;
};

struct ma35_pin_data {
 u32 offset;
 u32 shift;
 struct ma35_mux_desc *muxes;
};

struct ma35_pinctrl_soc_info {
 const struct pinctrl_pin_desc *pins;
 unsigned int npins;
 int (*get_pin_num)(int offset, int shift);
};

#define MA35_PIN(num, n, o, s, ...) {   \
 .number = num,     \
 .name = #n,     \
 .drv_data = &(struct ma35_pin_data) {  \
  .offset = o,    \
  .shift = s,    \
  .muxes = (struct ma35_mux_desc[]) { \
    __VA_ARGS__, { } },  \
 },      \
}

#define MA35_MUX(_val, _name) {    \
 .name = _name,     \
 .muxval = _val,     \
}

int ma35_pinctrl_probe(struct platform_device *pdev, const struct ma35_pinctrl_soc_info *info);
int ma35_pinctrl_suspend(struct device *dev);
int ma35_pinctrl_resume(struct device *dev);

#endif /* __PINCTRL_MA35_H */

Messung V0.5
C=97 H=100 G=98

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