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

/linux-4.1.27/drivers/regulator/
H A Dmax1586.c166 struct of_regulator_match rmatch[ARRAY_SIZE(max1586_reg)] = { }; of_get_max1586_platform_data() local
182 for (i = 0; i < ARRAY_SIZE(rmatch); i++) of_get_max1586_platform_data()
183 rmatch[i].name = max1586_reg[i].name; of_get_max1586_platform_data()
185 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); of_get_max1586_platform_data()
207 sub->name = rmatch[i].of_node->name; of_get_max1586_platform_data()
208 sub->platform_data = rmatch[i].init_data; of_get_max1586_platform_data()
H A Dmax8660.c338 struct of_regulator_match rmatch[ARRAY_SIZE(max8660_reg)] = { }; max8660_pdata_from_dt() local
346 for (i = 0; i < ARRAY_SIZE(rmatch); i++) max8660_pdata_from_dt()
347 rmatch[i].name = max8660_reg[i].name; max8660_pdata_from_dt()
349 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); max8660_pdata_from_dt()
364 sub->name = rmatch[i].name; max8660_pdata_from_dt()
365 sub->platform_data = rmatch[i].init_data; max8660_pdata_from_dt()
366 of_node[i] = rmatch[i].of_node; max8660_pdata_from_dt()

Completed in 69 milliseconds