Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/regulator/
Dmax1586.c153 struct of_regulator_match rmatch[ARRAY_SIZE(max1586_reg)] = { }; in of_get_max1586_platform_data() local
169 for (i = 0; i < ARRAY_SIZE(rmatch); i++) in of_get_max1586_platform_data()
170 rmatch[i].name = max1586_reg[i].name; in of_get_max1586_platform_data()
172 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in of_get_max1586_platform_data()
196 sub->name = rmatch[i].of_node->name; in of_get_max1586_platform_data()
197 sub->platform_data = rmatch[i].init_data; in of_get_max1586_platform_data()
Dmax8660.c325 struct of_regulator_match rmatch[ARRAY_SIZE(max8660_reg)] = { }; in max8660_pdata_from_dt() local
333 for (i = 0; i < ARRAY_SIZE(rmatch); i++) in max8660_pdata_from_dt()
334 rmatch[i].name = max8660_reg[i].name; in max8660_pdata_from_dt()
336 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in max8660_pdata_from_dt()
353 sub->name = rmatch[i].name; in max8660_pdata_from_dt()
354 sub->platform_data = rmatch[i].init_data; in max8660_pdata_from_dt()
355 of_node[i] = rmatch[i].of_node; in max8660_pdata_from_dt()