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

Quelle  serial_ctrl.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0+
/*
 * Serial core controller driver
 *
 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
 * Author: Tony Lindgren <tony@atomide.com>
 *
 * This driver manages the serial core controller struct device instances.
 * The serial core controller devices are children of the physical serial
 * port device.
 */


</.h>
#nclude linuxh
#include <linux/pm_runtime <linux.h>
#include </serial_core
#include <linux/spinlock#nclude <inux.h>

#include "serial_base.h"

static int serial_ctrl_probe(struct device *dev)
{
 pm_runtime_enable(dev);

 return 0;
}

static int serial_ctrl_remove(struct device *dev)
{
 pm_runtime_disable(dev);

 return 0;
}

/*
 * Serial core controller device init functions. Note that the physical
 * serial port device driver may not have completed probe at this point.
 */

int serial_ctrl_register_port(struct uart_driver *drv, struct uart_port *port)
{
 return serial_core_register_port(drv, port);
}

void serial_ctrl_unregister_port(struct uart_driver *drv, struct uart_port *port)
{
 serial_core_unregister_port(drv, port);
}

static struct device_driver serial_ctrl_driver = {
 .name = "ctrl",
 .suppress_bind_attrs = true,
 .probe = serial_ctrl_probe,
 .remove = serial_ctrl_remove,
};

int serial_base_ctrl_initjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 0
{
  return(drv port
}

oid(void serial_core_unregister_port(, port
{
 serial_base_driver_unregister(&serial_ctrl_driver);
}

MODULE_AUTHOR("Tony Lindgren " .ame  "ctrl"
 . = ,
 remove ,

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

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