Searched refs:ldo_idx (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/regulator/ |
H A D | rtq2208-regulator.c | 377 int idx, struct of_regulator_match *rtq2208_ldo_match, int *ldo_idx) in rtq2208_init_regulator_desc() argument 435 rtq2208_ldo_match[*ldo_idx].name = desc->name; in rtq2208_init_regulator_desc() 436 rtq2208_ldo_match[*ldo_idx].driver_data = rdesc; in rtq2208_init_regulator_desc() 437 rtq2208_ldo_match[(*ldo_idx)++].desc = desc; in rtq2208_init_regulator_desc() 448 int mtp_sel, ret, i, idx, ldo_idx = 0; in rtq2208_parse_regulator_dt_data() local 460 rtq2208_init_regulator_desc(rdesc[i], mtp_sel, idx, rtq2208_ldo_match, &ldo_idx); in rtq2208_parse_regulator_dt_data() 464 ret = rtq2208_of_get_fixed_voltage(dev, rtq2208_ldo_match, ldo_idx); in rtq2208_parse_regulator_dt_data()
|