Searched refs:voltage_ranges (Results 1 – 1 of 1) sorted by relevance
453 u32 *voltage_ranges; in mmc_of_parse_voltage() local472 voltage_ranges = kcalloc(2 * num_ranges, sizeof(*voltage_ranges), GFP_KERNEL); in mmc_of_parse_voltage()473 if (!voltage_ranges) in mmc_of_parse_voltage()476 ret = device_property_read_u32_array(dev, prop, voltage_ranges, 2 * num_ranges); in mmc_of_parse_voltage()478 kfree(voltage_ranges); in mmc_of_parse_voltage()486 ocr_mask = mmc_vddrange_to_ocrmask(voltage_ranges[j + 0], in mmc_of_parse_voltage()487 voltage_ranges[j + 1]); in mmc_of_parse_voltage()490 kfree(voltage_ranges); in mmc_of_parse_voltage()496 kfree(voltage_ranges); in mmc_of_parse_voltage()