Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mmc/core/
Dhost.c452 u32 *voltage_ranges; in mmc_of_parse_voltage() local
471 voltage_ranges = kcalloc(2 * num_ranges, sizeof(*voltage_ranges), GFP_KERNEL); in mmc_of_parse_voltage()
472 if (!voltage_ranges) in mmc_of_parse_voltage()
475 ret = device_property_read_u32_array(dev, prop, voltage_ranges, 2 * num_ranges); in mmc_of_parse_voltage()
477 kfree(voltage_ranges); in mmc_of_parse_voltage()
485 ocr_mask = mmc_vddrange_to_ocrmask(voltage_ranges[j + 0], in mmc_of_parse_voltage()
486 voltage_ranges[j + 1]); in mmc_of_parse_voltage()
489 kfree(voltage_ranges); in mmc_of_parse_voltage()
495 kfree(voltage_ranges); in mmc_of_parse_voltage()