Publish curated LumaOps source from c85ee9ef8f1454f5c305398902afbb9e6738de40
Managed validation / full (push) Failing after 8s
Managed validation / full (push) Failing after 8s
This commit is contained in:
1 parent
91f8b3e3c1
commit
def7920856
2271 files changed
+501225
-501178
No files matched your search
@@ -1,33 +1,33 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| SPD5118Accessor_Linux.h |
|
||||
| |
|
||||
| DDR5 SPD accessor implementation using spd5118 driver |
|
||||
| on Linux |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "SPDAccessor.h"
|
||||
|
||||
class SPD5118Accessor : public DDR5Accessor
|
||||
{
|
||||
public:
|
||||
SPD5118Accessor(i2c_smbus_interface *bus, uint8_t address);
|
||||
virtual ~SPD5118Accessor();
|
||||
|
||||
static bool isAvailable(i2c_smbus_interface *bus, uint8_t address);
|
||||
|
||||
virtual SPDAccessor *copy();
|
||||
virtual uint8_t at(uint16_t addr);
|
||||
|
||||
private:
|
||||
static const char *SPD_SPD5118_PATH;
|
||||
|
||||
uint8_t dump[2048];
|
||||
bool valid;
|
||||
|
||||
void readEEPROM();
|
||||
};
|
||||
/*---------------------------------------------------------*\
|
||||
| SPD5118Accessor_Linux.h |
|
||||
| |
|
||||
| DDR5 SPD accessor implementation using spd5118 driver |
|
||||
| on Linux |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "SPDAccessor.h"
|
||||
|
||||
class SPD5118Accessor : public DDR5Accessor
|
||||
{
|
||||
public:
|
||||
SPD5118Accessor(i2c_smbus_interface *bus, uint8_t address);
|
||||
virtual ~SPD5118Accessor();
|
||||
|
||||
static bool isAvailable(i2c_smbus_interface *bus, uint8_t address);
|
||||
|
||||
virtual SPDAccessor *copy();
|
||||
virtual uint8_t at(uint16_t addr);
|
||||
|
||||
private:
|
||||
static const char *SPD_SPD5118_PATH;
|
||||
|
||||
uint8_t dump[2048];
|
||||
bool valid;
|
||||
|
||||
void readEEPROM();
|
||||
};
|
||||
Reference in new issue
Block a user