Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  pinctrl-paris.h

  Sprache: C
 

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2018 MediaTek Inc.
 *
 * Author: Sean Wang <sean.wang@mediatek.com>
 *    Zhiyong Tao <zhiyong.tao@mediatek.com>
 *    Hongzhou.Yang <hongzhou.yang@mediatek.com>
 */

#ifndef __PINCTRL_PARIS_H
#define __PINCTRL_PARIS_H

#include <linux/io.h>
#include <linux/init.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>
#include <linux/pinctrl/pinconf.h>
#include <linux/pinctrl/pinconf-generic.h>

#include "../core.h"
#include "../pinconf.h"
#include "../pinctrl-utils.h"
#include "../pinmux.h"
#include "mtk-eint.h"
#include "pinctrl-mtk-common-v2.h"

#define MTK_RANGE(_a)  { .range = (_a), .nranges = ARRAY_SIZE(_a), }

#define MTK_EINT_FUNCTION(_eintmux, _eintnum)    \
 {       \
  .eint_m = _eintmux,     \
  .eint_n = _eintnum,     \
 }

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

#define MTK_PIN(_number, _name, _eint, _drv_n, ...) { \
  .number = _number,   \
  .name = _name,    \
  .eint = _eint,    \
  .drv_n = _drv_n,   \
  .funcs = (struct mtk_func_desc[]){ \
   __VA_ARGS__, { } },    \
 }

#define MTK_EINT_PIN(_number, _instance, _index, _debounce) { \
  .number = _number,    \
  .instance = _instance,    \
  .index = _index,    \
  .debounce = _debounce,    \
 }

#define PINCTRL_PIN_GROUP(_name_, id)       \
 {          \
  .grp = PINCTRL_PINGROUP(_name_,id##_pins, ARRAY_SIZE(id##_pins)), \
  .data = id##_funcs,       \
 }

int mtk_paris_pinctrl_probe(struct platform_device *pdev);

ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
 unsigned int gpio, char *buf, unsigned int bufLen);

extern const struct dev_pm_ops mtk_paris_pinctrl_pm_ops;

#endif /* __PINCTRL_PARIS_H */

Messung V0.5 in Prozent
C=96 H=98 G=96

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-07) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik