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 …]
331 struct regulator_config rconfig = { }; in lp8755_regulator_init() local333 rconfig.regmap = pchip->regmap; in lp8755_regulator_init()334 rconfig.dev = pchip->dev; in lp8755_regulator_init()335 rconfig.driver_data = pchip; in lp8755_regulator_init()339 rconfig.init_data = pdata->buck_data[buck_num]; in lp8755_regulator_init()340 rconfig.of_node = pchip->dev->of_node; in lp8755_regulator_init()343 &lp8755_regulators[buck_num], &rconfig); in lp8755_regulator_init()