Lines Matching refs:axp20x_softc
188 struct axp20x_softc {
205 static int axp20x_read(struct axp20x_softc *, uint8_t, uint8_t *, size_t);
206 static int axp20x_write(struct axp20x_softc *, uint8_t, uint8_t *, size_t);
208 static void axp20x_fdt_attach(struct axp20x_softc *);
210 CFATTACH_DECL_NEW(axp20x, sizeof(struct axp20x_softc),
235 struct axp20x_softc *sc = device_private(self);
420 axp20x_sensors_refresh_volt(struct axp20x_softc *sc, int reg,
437 axp20x_sensors_refresh_amp(struct axp20x_softc *sc, int reg,
456 struct axp20x_softc *sc = sme->sme_cookie;
560 axp20x_read(struct axp20x_softc *sc, uint8_t reg, uint8_t *val, size_t len)
576 axp20x_write(struct axp20x_softc *sc, uint8_t reg, uint8_t *val, size_t len)
593 struct axp20x_softc *sc = device_private(dev);
639 struct axp20x_softc *sc = device_private(dev);
664 struct axp20x_softc * const sc = device_private(dev);
803 axp20x_fdt_attach(struct axp20x_softc *sc)