mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-30 20:01:09 -04:00
Update ENE SMBus controller files to new standardized header comment
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface.h |
|
||||
| |
|
||||
| Definitions and types for ENE interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include <string>
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface.h |
|
||||
| |
|
||||
| ENE SMBus interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
typedef unsigned short ene_register;
|
||||
typedef unsigned char ene_dev_id;
|
||||
typedef unsigned int ene_interface_type;
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_ROGArion.cpp |
|
||||
| |
|
||||
| Code for ENE ASUS ROG Arion interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 9/17/2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_ROGArion.cpp |
|
||||
| |
|
||||
| ENE SMBus interface for ASUS ROG Arion |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 17 Sep 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "ENESMBusInterface_ROGArion.h"
|
||||
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_ROGArion.h |
|
||||
| |
|
||||
| Definitions and types for ENE ASUS ROG |
|
||||
| Arion interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 9/17/2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_ROGArion.h |
|
||||
| |
|
||||
| ENE SMBus interface for ASUS ROG Arion |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 17 Sep 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G.cpp |
|
||||
| |
|
||||
| Code for ENE XPG Spectrix S40G NVMe |
|
||||
| interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G_Linux.cpp |
|
||||
| |
|
||||
| ENE SMBus interface for XPG Spectrix S40G (Linux) |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "ENESMBusInterface_SpectrixS40G_Linux.h"
|
||||
#include <sys/ioctl.h>
|
||||
#include <cstring>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <sys/ioctl.h>
|
||||
#include "ENESMBusInterface_SpectrixS40G_Linux.h"
|
||||
|
||||
/*---------------------------------------------------------------------*\
|
||||
| Functions for submitting NVME admin passthrough command taken from |
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G.h |
|
||||
| |
|
||||
| Definitions and types for ENE XPG |
|
||||
| Spectrix S40G NVMe interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "ENESMBusInterface.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G_Linux.h |
|
||||
| |
|
||||
| ENE SMBus interface for XPG Spectrix S40G (Linux) |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ENESMBusInterface.h"
|
||||
|
||||
class ENESMBusInterface_SpectrixS40G : public ENESMBusInterface
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -1,18 +1,19 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G_Windows |
|
||||
| |
|
||||
| Code for ENE XPG Spectrix S40G NVMe |
|
||||
| interface |
|
||||
| Windows implementation |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "ENESMBusInterface_SpectrixS40G_Windows.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G_Windows.cpp |
|
||||
| |
|
||||
| ENE SMBus interface for XPG Spectrix S40G (Windows) |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <fileapi.h>
|
||||
#include <winioctl.h>
|
||||
#include <nvme.h>
|
||||
#include <winioctl.h>
|
||||
|
||||
#include "ENESMBusInterface_SpectrixS40G_Windows.h"
|
||||
|
||||
ENESMBusInterface_SpectrixS40G::ENESMBusInterface_SpectrixS40G(HANDLE fd, wchar_t* path)
|
||||
{
|
||||
|
||||
@@ -1,18 +1,19 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G_Windows.h |
|
||||
| |
|
||||
| Definitions and types for ENE XPG |
|
||||
| Spectrix S40G NVMe interface |
|
||||
| Windows implementation |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "ENESMBusInterface.h"
|
||||
#include <windows.h>
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_SpectrixS40G_Windows.h |
|
||||
| |
|
||||
| ENE SMBus interface for XPG Spectrix S40G (Windows) |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include "ENESMBusInterface.h"
|
||||
|
||||
class ENESMBusInterface_SpectrixS40G : public ENESMBusInterface
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_i2c_smbus.cpp |
|
||||
| |
|
||||
| Code for ENE I2C/SMBus interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_i2c_smbus.cpp |
|
||||
| |
|
||||
| ENE SMBus interface for I2C/SMBus |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "ENESMBusInterface_i2c_smbus.h"
|
||||
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
/*-----------------------------------------*\
|
||||
| ENESMBusInterface_i2c_smbus.h |
|
||||
| |
|
||||
| Definitions and types for ENE I2C/SMBus |
|
||||
| interface |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 11/21/2021 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| ENESMBusInterface_i2c_smbus.h |
|
||||
| |
|
||||
| ENE SMBus interface for I2C/SMBus |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 21 Nov 2021 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ENESMBusInterface.h"
|
||||
#include "i2c_smbus.h"
|
||||
|
||||
#pragma once
|
||||
|
||||
class ENESMBusInterface_i2c_smbus : public ENESMBusInterface
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user