lom_softc
lom_refresh_alarm(struct lom_softc *sc, envsys_data_t *edata, uint32_t i)
lom_refresh_fan(struct lom_softc *sc, envsys_data_t *edata, uint32_t i)
lom_refresh_psu(struct lom_softc *sc, envsys_data_t *edata, uint32_t i)
lom_refresh_temp(struct lom_softc *sc, envsys_data_t *edata, uint32_t i)
lom1_write_hostname(struct lom_softc *sc)
lom2_write_hostname(struct lom_softc *sc)
struct lom_softc *sc = smw->smw_cookie;
struct lom_softc *sc = smw->smw_cookie;
struct lom_softc *sc = device_private(dev);
struct lom_softc *sc;
CFATTACH_DECL_NEW(lom, sizeof(struct lom_softc),
static int lom_read(struct lom_softc *, uint8_t, uint8_t *);
static int lom_write(struct lom_softc *, uint8_t, uint8_t);
static void lom_queue_cmd(struct lom_softc *, struct lom_cmd *);
static void lom_dequeue_cmd(struct lom_softc *, struct lom_cmd *);
static int lom1_read(struct lom_softc *, uint8_t, uint8_t *);
static int lom1_write(struct lom_softc *, uint8_t, uint8_t);
static int lom1_read_polled(struct lom_softc *, uint8_t, uint8_t *);
static int lom1_write_polled(struct lom_softc *, uint8_t, uint8_t);
static void lom1_queue_cmd(struct lom_softc *, struct lom_cmd *);
static void lom1_process_queue_locked(struct lom_softc *);
static int lom2_read(struct lom_softc *, uint8_t, uint8_t *);
static int lom2_write(struct lom_softc *, uint8_t, uint8_t);
static int lom2_read_polled(struct lom_softc *, uint8_t, uint8_t *);
static int lom2_write_polled(struct lom_softc *, uint8_t, uint8_t);
static void lom2_queue_cmd(struct lom_softc *, struct lom_cmd *);
static int lom_init_desc(struct lom_softc *);
static void lom_refresh_alarm(struct lom_softc *, envsys_data_t *, uint32_t);
static void lom_refresh_fan(struct lom_softc *, envsys_data_t *, uint32_t);
static void lom_refresh_psu(struct lom_softc *, envsys_data_t *, uint32_t);
static void lom_refresh_temp(struct lom_softc *, envsys_data_t *, uint32_t);
static void lom1_write_hostname(struct lom_softc *);
static void lom2_write_hostname(struct lom_softc *);
struct lom_softc *sc = device_private(self);
lom_read(struct lom_softc *sc, uint8_t reg, uint8_t *val)
lom_write(struct lom_softc *sc, uint8_t reg, uint8_t val)
lom_queue_cmd(struct lom_softc *sc, struct lom_cmd *lc)
lom_dequeue_cmd(struct lom_softc *sc, struct lom_cmd *lc)
lom1_read(struct lom_softc *sc, uint8_t reg, uint8_t *val)
lom1_write(struct lom_softc *sc, uint8_t reg, uint8_t val)
lom1_read_polled(struct lom_softc *sc, uint8_t reg, uint8_t *val)
lom1_write_polled(struct lom_softc *sc, uint8_t reg, uint8_t val)
lom1_queue_cmd(struct lom_softc *sc, struct lom_cmd *lc)
struct lom_softc *sc = arg;
lom1_process_queue_locked(struct lom_softc *sc)
lom2_read(struct lom_softc *sc, uint8_t reg, uint8_t *val)
lom2_read_polled(struct lom_softc *sc, uint8_t reg, uint8_t *val)
lom2_write(struct lom_softc *sc, uint8_t reg, uint8_t val)
lom2_write_polled(struct lom_softc *sc, uint8_t reg, uint8_t val)
lom2_queue_cmd(struct lom_softc *sc, struct lom_cmd *lc)
struct lom_softc *sc = arg;
lom_init_desc(struct lom_softc *sc)
struct lom_softc *sc = sme->sme_cookie;