Home
last modified time | relevance | path

Searched refs:voltage_ranges (Results 1 – 2 of 2) sorted by relevance

/drivers/mmc/host/
Dof_mmc_spi.c74 const __be32 *voltage_ranges; in mmc_spi_get_pdata() local
85 voltage_ranges = of_get_property(np, "voltage-ranges", &num_ranges); in mmc_spi_get_pdata()
86 num_ranges = num_ranges / sizeof(*voltage_ranges) / 2; in mmc_spi_get_pdata()
87 if (!voltage_ranges || !num_ranges) { in mmc_spi_get_pdata()
96 mask = mmc_vddrange_to_ocrmask(be32_to_cpu(voltage_ranges[j]), in mmc_spi_get_pdata()
97 be32_to_cpu(voltage_ranges[j + 1])); in mmc_spi_get_pdata()
/drivers/mmc/core/
Dcore.c1140 const u32 *voltage_ranges; in mmc_of_parse_voltage() local
1143 voltage_ranges = of_get_property(np, "voltage-ranges", &num_ranges); in mmc_of_parse_voltage()
1144 num_ranges = num_ranges / sizeof(*voltage_ranges) / 2; in mmc_of_parse_voltage()
1145 if (!voltage_ranges) { in mmc_of_parse_voltage()
1159 be32_to_cpu(voltage_ranges[j]), in mmc_of_parse_voltage()
1160 be32_to_cpu(voltage_ranges[j + 1])); in mmc_of_parse_voltage()