11 const unsigned int fan)
54 fan,
config->smart.tempsrc));
58 config->smart.table[i].temp);
60 (
config->smart.table[i].target * mul) / div);
63 config->smart.critical_temp);
81 switch (
config->on_pecierror) {
@ CB_SUCCESS
Call completed successfully.
static int nct7802y_update(struct device *const dev, const u8 reg, const u8 clear_mask, const u8 set_mask)
#define TEMPx_TO_FANy_MAP(temp, fan)
#define FAN_CTRL_TEMPx_SRCy(temp, src)
#define CLOSE_LOOP_FAN_RPM_CTRL
#define CLOSE_LOOP_FANx_HIGH_RPM(fan)
#define CLOSE_LOOP_FAN_PECI_ERR_MASK
#define FAN_DUTY_ON_PECI_ERROR
#define TABLEx_TARGET_POINTy(fan, pt)
#define FAN_CTRL_TEMP_SRC(temp)
#define CLOSE_LOOP_FAN_PECI_ERR_MAX
static int nct7802y_write(struct device *const dev, const u8 reg, const u8 value)
#define CLOSE_LOOP_FAN_PECI_ERR_CURR
#define CLOSE_LOOP_FAN_PECI_ERR_VALUE
#define TABLEx_TEMP_POINTy(fan, pt)
static int nct7802y_select_bank(struct device *const dev, const u8 bank)
#define CLOSE_LOOP_FANx_EN(fan)
#define TEMP_TO_FAN_MAP(temp)
#define TEMPx_TO_FAN_MAP_MASK(temp)
#define FAN_CTRL_TEMPx_SRC_MASK(temp)
static void init_fan(struct device *const dev, const struct nct7802y_fan_config *const config, const unsigned int fan)
void nct7802y_init_fan(struct device *const dev)
DEVTREE_CONST void * chip_info