sonic-buildimage/platform/innovium/sonic-platform-modules-cameo/esc602-32q/modules/x86-64-cameo-esc602-32q-fan.h

12 lines
434 B
C
Raw Normal View History

/* register offset define */
#define FANCTRL_RPM_REG 0x1a
#define FANCTRL_MODE_REG 0x1b
#define FAN_STAT_REG 0x00
#define FAN_POWER_REG 0x01
#define FAN_PRESENT_REG 0x02
#define BMC_FAN_STAT_REG 0x80
#define BMC_FAN_POWER_REG 0x81
#define BMC_FAN_PRESENT_REG 0x82
#define FAN_F_RPM_REG 0xa0
#define FAN_R_RPM_REG 0xb0
/* end of register offset define */