Searched refs:lm78_read_value (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/hwmon/ |
D | lm78.c | 136 static int lm78_read_value(struct lm78_data *data, u8 reg); 387 reg = lm78_read_value(data, LM78_REG_VID_FANDIV); in fan_div_store() 533 if (lm78_read_value(isa, LM78_REG_I2C_ADDR) != client->addr) in lm78_alias_detect() 535 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe)) in lm78_alias_detect() 543 if (lm78_read_value(isa, i) != in lm78_alias_detect() 547 if (lm78_read_value(isa, LM78_REG_CONFIG) != in lm78_alias_detect() 551 if (lm78_read_value(isa, i) != in lm78_alias_detect() 677 static int lm78_read_value(struct lm78_data *data, u8 reg) in lm78_read_value() function 716 config = lm78_read_value(data, LM78_REG_CONFIG); in lm78_init_device() 723 data->fan_min[i] = lm78_read_value(data, in lm78_init_device() [all …]
|