Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/linux/mfd/     Datei vom 24.10.2025 mit Größe 623 B image not shown  

Quelle  qnap-mcu.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Core definitions for QNAP MCU MFD driver.
 * Copyright (C) 2024 Heiko Stuebner <heiko@sntech.de>
 */


#ifndef _LINUX_QNAP_MCU_H_
#define _LINUX_QNAP_MCU_H_

#include <linux/types.h>

struct qnap_mcu;

struct qnap_mcu_variant {
 u32 baud_rate;
 int num_drives;
 int fan_pwm_min;
 int fan_pwm_max;
 bool usb_led;
};

int qnap_mcu_exec(struct qnap_mcu *mcu,
    const u8 *cmd_data, size_t cmd_data_size,
    u8 *reply_data, size_t reply_data_size);
int qnap_mcu_exec_with_ack(struct qnap_mcu *mcu,
      const u8 *cmd_data, size_t cmd_data_size);

#endif /* _LINUX_QNAP_MCU_H_ */

Messung
CHZG
1009910099

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland