Searched refs:rconfig (Results 1 – 2 of 2) sorted by relevance
370 static int twl4030_configure_resource(struct twl4030_resconfig *rconfig) in twl4030_configure_resource() argument378 if (rconfig->resource > TOTAL_RESOURCES) { in twl4030_configure_resource()380 rconfig->resource); in twl4030_configure_resource()384 rconfig_addr = res_config_addrs[rconfig->resource]; in twl4030_configure_resource()391 rconfig->resource); in twl4030_configure_resource()395 if (rconfig->devgroup != TWL4030_RESCONFIG_UNDEF) { in twl4030_configure_resource()397 grp |= rconfig->devgroup << DEV_GRP_SHIFT; in twl4030_configure_resource()411 rconfig->resource); in twl4030_configure_resource()415 if (rconfig->type != TWL4030_RESCONFIG_UNDEF) { in twl4030_configure_resource()417 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()