Searched refs:rconfig (Results 1 – 2 of 2) sorted by relevance
372 static int twl4030_configure_resource(struct twl4030_resconfig *rconfig) in twl4030_configure_resource() argument380 if (rconfig->resource > TOTAL_RESOURCES) { in twl4030_configure_resource()382 rconfig->resource); in twl4030_configure_resource()386 rconfig_addr = res_config_addrs[rconfig->resource]; in twl4030_configure_resource()393 rconfig->resource); in twl4030_configure_resource()397 if (rconfig->devgroup != TWL4030_RESCONFIG_UNDEF) { in twl4030_configure_resource()399 grp |= rconfig->devgroup << DEV_GRP_SHIFT; in twl4030_configure_resource()413 rconfig->resource); in twl4030_configure_resource()417 if (rconfig->type != TWL4030_RESCONFIG_UNDEF) { in twl4030_configure_resource()419 type |= rconfig->type << TYPE_SHIFT; in twl4030_configure_resource()[all …]
248 struct regulator_config rconfig = { }; in lp8755_regulator_init() local250 rconfig.regmap = pchip->regmap; in lp8755_regulator_init()251 rconfig.dev = pchip->dev; in lp8755_regulator_init()252 rconfig.driver_data = pchip; in lp8755_regulator_init()256 rconfig.init_data = pdata->buck_data[buck_num]; in lp8755_regulator_init()257 rconfig.of_node = pchip->dev->of_node; in lp8755_regulator_init()260 &lp8755_regulators[buck_num], &rconfig); in lp8755_regulator_init()