Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  pinctrl-sun55i-a523.c

  Sprache: C
 

// SPDX-License-Identifier: GPL-2.0
/*
 * Allwinner A523 SoC pinctrl driver.
 *
 * Copyright (C) 2023 Arm Ltd.
 */


#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pinctrl/pinctrl.h>

#include "pinctrl-sunxi.h"

static const u8 a523_nr_bank_pins[SUNXI_PINCTRL_MAX_BANKS] =
/*   PA  PB  PC  PD  PE  PF  PG  PH  PI  PJ  PK */
 {  015172416,  71520172824 };

static const unsigned int a523_irq_bank_map[] = { 0123456789 };

static const u8 a523_irq_bank_muxes[SUNXI_PINCTRL_MAX_BANKS] =
/*   PA  PB  PC  PD  PE  PF  PG  PH  PI  PJ  PK */
 {  014141414141414141414};

static struct sunxi_pinctrl_desc a523_pinctrl_data = {
 .irq_banks = ARRAY_SIZE(a523_irq_bank_map),
 .irq_bank_map = a523_irq_bank_map,
 .irq_read_needs_mux = true,
 .io_bias_cfg_variant = BIAS_VOLTAGE_PIO_POW_MODE_SEL,
};

static int a523_pinctrl_probe(struct platform_device *pdev)
{
 return sunxi_pinctrl_dt_table_init(pdev, a523_nr_bank_pins,
        a523_irq_bank_muxes,
        &a523_pinctrl_data,
        SUNXI_PINCTRL_NEW_REG_LAYOUT |
        SUNXI_PINCTRL_ELEVEN_BANKS);
}

static const struct of_device_id a523_pinctrl_match[] = {
 { .compatible = "allwinner,sun55i-a523-pinctrl", },
 {}
};

static struct platform_driver a523_pinctrl_driver = {
 .probe = a523_pinctrl_probe,
 .driver = {
  .name  = "sun55i-a523-pinctrl",
  .of_match_table = a523_pinctrl_match,
 },
};
builtin_platform_driver(a523_pinctrl_driver);

Messung V0.5 in Prozent
C=95 H=95 G=94

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

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=655579