Lines Matching refs:desc

83 					const struct regulator_desc *desc)  in of_get_regulation_constraints()  argument
186 if (desc && desc->of_map_mode) { in of_get_regulation_constraints()
187 mode = desc->of_map_mode(pval); in of_get_regulation_constraints()
201 if (desc && desc->of_map_mode) { in of_get_regulation_constraints()
210 mode = desc->of_map_mode(pval); in of_get_regulation_constraints()
276 if (desc && desc->of_map_mode) { in of_get_regulation_constraints()
277 mode = desc->of_map_mode(pval); in of_get_regulation_constraints()
337 const struct regulator_desc *desc) in of_get_regulator_init_data() argument
348 if (of_get_regulation_constraints(dev, node, &init_data, desc)) in of_get_regulator_init_data()
432 match->desc); in of_regulator_match()
452 const struct regulator_desc *desc) in regulator_of_get_init_node() argument
457 if (!dev->of_node || !desc->of_match) in regulator_of_get_init_node()
460 if (desc->regulators_node) { in regulator_of_get_init_node()
462 desc->regulators_node); in regulator_of_get_init_node()
466 if (!strcmp(desc->of_match, search->name)) in regulator_of_get_init_node()
472 desc->regulators_node); in regulator_of_get_init_node()
479 if (!desc->of_match_full_name) in regulator_of_get_init_node()
485 if (!strcmp(desc->of_match, name)) { in regulator_of_get_init_node()
501 const struct regulator_desc *desc, in regulator_of_get_init_data() argument
508 child = regulator_of_get_init_node(config->dev, desc); in regulator_of_get_init_data()
512 init_data = of_get_regulator_init_data(dev, child, desc); in regulator_of_get_init_data()
518 if (desc->of_parse_cb) { in regulator_of_get_init_data()
521 ret = desc->of_parse_cb(child, desc, config); in regulator_of_get_init_data()