Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/src/linux-headers-6.14.0-1012-aws/include/linux/mfd/ |
Upload File : |
/* 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_ 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_ */