Searched refs:voltages (Results 1 - 3 of 3) sorted by relevance
/freebsd-12-stable/sys/arm/amlogic/aml8726/ |
H A D | aml8726_mmc.c | 74 int voltages[2]; member in struct:aml8726_mmc_softc 555 char *voltages; local 637 len = OF_getprop_alloc(node, "mmc-voltages", 638 (void **)&voltages); 641 device_printf(dev, "missing mmc-voltages attribute in FDT\n"); 645 sc->voltages[0] = 0; 646 sc->voltages[1] = 0; 648 voltage = voltages; 653 sc->voltages[nvoltages] = MMC_OCR_LOW_VOLTAGE; 655 sc->voltages[nvoltage [all...] |
H A D | aml8726_sdxc-m8.c | 122 int voltages[2]; member in struct:aml8726_sdxc_softc 701 char *voltages; local 798 len = OF_getprop_alloc(node, "mmc-voltages", 799 (void **)&voltages); 802 device_printf(dev, "missing mmc-voltages attribute in FDT\n"); 806 sc->voltages[0] = 0; 807 sc->voltages[1] = 0; 809 voltage = voltages; 814 sc->voltages[nvoltages] = MMC_OCR_LOW_VOLTAGE; 816 sc->voltages[nvoltage [all...] |
/freebsd-12-stable/sys/arm/ti/twl/ |
H A D | twl_vreg.c | 36 * This driver covers the voltages regulators (LDO), allows for enabling & 166 const uint16_t *voltages; member in struct:twl_regulator 170 #define TWL_REGULATOR_ADJUSTABLE(name, subdev, reg, voltages) \ 171 { name, subdev, reg, 0, voltages, (sizeof(voltages)/sizeof(voltages[0])) } 222 const uint16_t *supp_voltages; /* pointer to an array of possible voltages */ 223 uint32_t num_supp_voltages; /* the number of supplied voltages */ 291 * actual supported voltages for the given regulator. If a match is found 311 /* Loop over the support voltages an 824 twl_vreg_add_regulator(struct twl_vreg_softc *sc, const char *name, uint8_t nsub, uint8_t regbase, uint16_t fixed_voltage, const uint16_t *voltages, uint32_t num_voltages) argument [all...] |
Completed in 143 milliseconds