mcp980x_softc
CFATTACH_DECL_NEW(mcp980x, sizeof (struct mcp980x_softc),
struct mcp980x_softc *sc = device_private(self);
mcp980x_reg_read_2(struct mcp980x_softc *sc, uint8_t reg)
mcp980x_reg_read_1(struct mcp980x_softc *sc, uint8_t reg)
mcp980x_reg_write_2(struct mcp980x_softc *sc, uint8_t reg, uint16_t val)
mcp980x_reg_write_1(struct mcp980x_softc *sc, uint8_t reg, uint8_t val)
mcp980x_templimit_get(struct mcp980x_softc *sc)
mcp980x_templimit_set(struct mcp980x_softc *sc, int8_t val)
mcp980x_hysteresis_get(struct mcp980x_softc *sc)
mcp980x_hysteresis_set(struct mcp980x_softc *sc, int8_t val)
mcp980x_s8b_get(struct mcp980x_softc *sc, uint8_t reg)
mcp980x_s8b_set(struct mcp980x_softc *sc, uint8_t reg, int8_t val)
mcp980x_resolution_get(struct mcp980x_softc *sc)
mcp980x_resolution_set(struct mcp980x_softc *sc, uint8_t res)
mcp980x_temperature(struct mcp980x_softc *sc)
mcp980x_envsys_register(struct mcp980x_softc *sc)
struct mcp980x_softc *sc = sme->sme_cookie;
mcp980x_setup_sysctl(struct mcp980x_softc *sc)
struct mcp980x_softc *sc = node.sysctl_data;
struct mcp980x_softc *sc = node.sysctl_data;
struct mcp980x_softc *sc = node.sysctl_data;
static uint8_t mcp980x_reg_read_1(struct mcp980x_softc *, uint8_t);
static uint16_t mcp980x_reg_read_2(struct mcp980x_softc *, uint8_t);
static void mcp980x_reg_write_1(struct mcp980x_softc *, uint8_t, uint8_t);
static uint8_t mcp980x_resolution_get(struct mcp980x_softc *);
static void mcp980x_resolution_set(struct mcp980x_softc *, uint8_t);
static int8_t mcp980x_hysteresis_get(struct mcp980x_softc *);
static void mcp980x_hysteresis_set(struct mcp980x_softc *, int8_t);
static int8_t mcp980x_templimit_get(struct mcp980x_softc *);
static void mcp980x_templimit_set(struct mcp980x_softc *, int8_t);
static int8_t mcp980x_s8b_get(struct mcp980x_softc *, uint8_t);
static void mcp980x_s8b_set(struct mcp980x_softc *, uint8_t, int8_t);
static uint32_t mcp980x_temperature(struct mcp980x_softc *);
static void mcp980x_envsys_register(struct mcp980x_softc *);
static void mcp980x_setup_sysctl(struct mcp980x_softc *);