Searched refs:reg_status (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/sys/dev/mmc/ |
H A D | mmc_fdt_helpers.c | 341 int reg_status; local 349 rv = regulator_status(helper->vmmc_supply, ®_status); 350 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED) 354 rv = regulator_status(helper->vqmmc_supply, ®_status); 355 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED) 363 rv = regulator_status(helper->vmmc_supply, ®_status); 364 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED) 368 rv = regulator_status(helper->vqmmc_supply, ®_status); 369 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED)
|
/freebsd-current/sys/dev/iicbus/controller/twsi/ |
H A D | twsi.h | 69 bus_size_t reg_status; member in struct:twsi_softc
|
H A D | a10_twsi.c | 117 sc->reg_status = TWI_STAT;
|
H A D | twsi.c | 216 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 D | mv_twsi.c | 222 sc->reg_status = TWSI_STAT;
|
/freebsd-current/sys/dev/pwm/ |
H A D | pwm_backlight.c | 213 int reg_status; local 237 error = regulator_status(sc->power_supply, ®_status); 243 if (reg_status != REGULATOR_STATUS_ENABLED) 246 if (reg_status == REGULATOR_STATUS_ENABLED)
|
/freebsd-current/sys/arm/allwinner/ |
H A D | aw_mmc.c | 1300 int reg_status; local 1328 rv = regulator_status(sc->mmc_helper.vmmc_supply, ®_status); 1329 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED) 1333 rv = regulator_status(sc->mmc_helper.vqmmc_supply, ®_status); 1334 if (rv == 0 && reg_status == REGULATOR_STATUS_ENABLED) 1348 rv = regulator_status(sc->mmc_helper.vmmc_supply, ®_status); 1349 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED) 1353 rv = regulator_status(sc->mmc_helper.vqmmc_supply, ®_status); 1354 if (rv == 0 && reg_status != REGULATOR_STATUS_ENABLED)
|
Completed in 198 milliseconds