lm_softc
struct lm_softc *sc = device_private(self);
lm_pnpbios_readreg(struct lm_softc *sc, int reg)
lm_pnpbios_writereg(struct lm_softc *sc, int reg, int val)
uint8_t lm_pnpbios_readreg(struct lm_softc *, int);
void lm_pnpbios_writereg(struct lm_softc *, int, int);
CFATTACH_DECL_NEW(lm_pnpbios, sizeof(struct lm_softc),
lm_i2c_readreg(struct lm_softc *lmsc, int reg)
lm_i2c_writereg(struct lm_softc *lmsc, int reg, uint8_t val)
uint8_t lm_i2c_readreg(struct lm_softc *, int);
void lm_i2c_writereg(struct lm_softc *, int, uint8_t);
struct lm_softc sc_lmsc;
static void wb_refresh_fanrpm(struct lm_softc *, int);
static void wb_w83792d_refresh_fanrpm(struct lm_softc *, int);
static void wb_nct6776f_refresh_fanrpm(struct lm_softc *, int);
static void as_refresh_temp(struct lm_softc *, int);
int (*chip_match)(struct lm_softc *);
int (*chip_attach)(struct lm_softc *);
lm_generic_banksel(struct lm_softc *lmsc, uint8_t bank)
lm_match(struct lm_softc *lmsc)
nslm_match(struct lm_softc *sc)
lm_attach(struct lm_softc *lmsc)
lm_detach(struct lm_softc *lmsc)
struct lm_softc *lmsc = arg;
nslm_attach(struct lm_softc *sc)
def_match(struct lm_softc *sc)
def_attach(struct lm_softc *sc)
wb_temp_diode_type(struct lm_softc *sc, int diode_type)
wb_lookup(struct lm_softc *sc, const struct wb_product *products, uint16_t id)
wb_read_vendorid(struct lm_softc *sc)
wb_read_chipid(struct lm_softc *sc)
wb_match(struct lm_softc *sc)
wb_attach(struct lm_softc *sc)
lm_setup_sensors(struct lm_softc *sc, const struct lm_sensor *sensors)
lm_refresh_sensor_data(struct lm_softc *sc)
lm_refresh_volt(struct lm_softc *sc, int n)
lm_refresh_temp(struct lm_softc *sc, int n)
lm_refresh_fanrpm(struct lm_softc *sc, int n)
wb_refresh_sensor_data(struct lm_softc *sc)
wb_w83637hf_refresh_vcore(struct lm_softc *sc, int n)
wb_refresh_nvolt(struct lm_softc *sc, int n)
wb_w83627ehf_refresh_nvolt(struct lm_softc *sc, int n)
wb_refresh_temp(struct lm_softc *sc, int n)
wb_refresh_fanrpm(struct lm_softc *sc, int n)
wb_nct6776f_refresh_fanrpm(struct lm_softc *sc, int n)
wb_w83792d_refresh_fanrpm(struct lm_softc *sc, int n)
as_refresh_temp(struct lm_softc *sc, int n)
static const struct wb_product *wb_lookup(struct lm_softc *,
static int wb_match(struct lm_softc *);
static int wb_attach(struct lm_softc *);
static int nslm_match(struct lm_softc *);
static int nslm_attach(struct lm_softc *);
static int def_match(struct lm_softc *);
static int def_attach(struct lm_softc *);
static void wb_temp_diode_type(struct lm_softc *, int);
static uint16_t wb_read_vendorid(struct lm_softc *);
static void lm_generic_banksel(struct lm_softc *, uint8_t);
static void lm_setup_sensors(struct lm_softc *, const struct lm_sensor *);
static void lm_refresh_sensor_data(struct lm_softc *);
static void lm_refresh_volt(struct lm_softc *, int);
static void lm_refresh_temp(struct lm_softc *, int);
static void lm_refresh_fanrpm(struct lm_softc *, int);
static void wb_refresh_sensor_data(struct lm_softc *);
static void wb_w83637hf_refresh_vcore(struct lm_softc *, int);
static void wb_refresh_nvolt(struct lm_softc *, int);
static void wb_w83627ehf_refresh_nvolt(struct lm_softc *, int);
static void wb_refresh_temp(struct lm_softc *, int);
void (*refresh_sensor_data)(struct lm_softc *);
uint8_t (*lm_readreg)(struct lm_softc *, int);
void (*lm_writereg)(struct lm_softc *, int, uint8_t);
void (*refresh)(struct lm_softc *, int);
void (*extattach)(struct lm_softc *);
int lm_match(struct lm_softc *);
void lm_attach(struct lm_softc *);
void lm_detach(struct lm_softc *);
lm_isa_readreg(struct lm_softc *lmsc, int reg)
lm_isa_writereg(struct lm_softc *lmsc, int reg, uint8_t val)
static uint8_t lm_isa_readreg(struct lm_softc *, int);
static void lm_isa_writereg(struct lm_softc *, int, uint8_t);
struct lm_softc lmsc;
struct lm_softc lmsc;