Searched refs:reg_status (Results 1 - 7 of 7) sorted by relevance

/freebsd-current/sys/dev/mmc/
H A Dmmc_fdt_helpers.c341 int reg_status; local
349 rv = regulator_status(helper->vmmc_supply, &reg_status);
350 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED)
354 rv = regulator_status(helper->vqmmc_supply, &reg_status);
355 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED)
363 rv = regulator_status(helper->vmmc_supply, &reg_status);
364 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED)
368 rv = regulator_status(helper->vqmmc_supply, &reg_status);
369 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED)
/freebsd-current/sys/dev/iicbus/controller/twsi/
H A Dtwsi.h69 bus_size_t reg_status; member in struct:twsi_softc
H A Da10_twsi.c117 sc->reg_status = TWI_STAT;
H A Dtwsi.c216 status = TWSI_READ(sc, sc->reg_status);
235 status = TWSI_READ(sc, sc->reg_status);
419 status = TWSI_READ(sc, sc->reg_status);
458 status = TWSI_READ(sc, sc->reg_status);
502 status = TWSI_READ(sc, sc->reg_status);
537 debugf(sc, "status=0x%x\n", TWSI_READ(sc, sc->reg_status));
539 debugf(sc, "status=0x%x\n", TWSI_READ(sc, sc->reg_status));
560 status = TWSI_READ(sc, sc->reg_status);
H A Dmv_twsi.c222 sc->reg_status = TWSI_STAT;
/freebsd-current/sys/dev/pwm/
H A Dpwm_backlight.c213 int reg_status; local
237 error = regulator_status(sc->power_supply, &reg_status);
243 if (reg_status != REGULATOR_STATUS_ENABLED)
246 if (reg_status == REGULATOR_STATUS_ENABLED)
/freebsd-current/sys/arm/allwinner/
H A Daw_mmc.c1300 int reg_status; local
1328 rv = regulator_status(sc->mmc_helper.vmmc_supply, &reg_status);
1329 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED)
1333 rv = regulator_status(sc->mmc_helper.vqmmc_supply, &reg_status);
1334 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED)
1348 rv = regulator_status(sc->mmc_helper.vmmc_supply, &reg_status);
1349 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED)
1353 rv = regulator_status(sc->mmc_helper.vqmmc_supply, &reg_status);
1354 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED)

Completed in 198 milliseconds