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

/linux-4.1.27/drivers/mfd/
H A Dtwl4030-power.c370 static int twl4030_configure_resource(struct twl4030_resconfig *rconfig) twl4030_configure_resource() argument
378 if (rconfig->resource > TOTAL_RESOURCES) { twl4030_configure_resource()
380 rconfig->resource); twl4030_configure_resource()
384 rconfig_addr = res_config_addrs[rconfig->resource]; twl4030_configure_resource()
391 rconfig->resource); twl4030_configure_resource()
395 if (rconfig->devgroup != TWL4030_RESCONFIG_UNDEF) { twl4030_configure_resource()
397 grp |= rconfig->devgroup << DEV_GRP_SHIFT; twl4030_configure_resource()
411 rconfig->resource); twl4030_configure_resource()
415 if (rconfig->type != TWL4030_RESCONFIG_UNDEF) { twl4030_configure_resource()
417 type |= rconfig->type << TYPE_SHIFT; twl4030_configure_resource()
420 if (rconfig->type2 != TWL4030_RESCONFIG_UNDEF) { twl4030_configure_resource()
422 type |= rconfig->type2 << TYPE2_SHIFT; twl4030_configure_resource()
437 rconfig->resource); twl4030_configure_resource()
441 if (rconfig->remap_off != TWL4030_RESCONFIG_UNDEF) { twl4030_configure_resource()
443 remap |= rconfig->remap_off << OFF_STATE_SHIFT; twl4030_configure_resource()
446 if (rconfig->remap_sleep != TWL4030_RESCONFIG_UNDEF) { twl4030_configure_resource()
448 remap |= rconfig->remap_sleep << SLEEP_STATE_SHIFT; twl4030_configure_resource()
/linux-4.1.27/drivers/regulator/
H A Dlp8755.c331 struct regulator_config rconfig = { }; lp8755_regulator_init() local
333 rconfig.regmap = pchip->regmap; lp8755_regulator_init()
334 rconfig.dev = pchip->dev; lp8755_regulator_init()
335 rconfig.driver_data = pchip; lp8755_regulator_init()
339 rconfig.init_data = pdata->buck_data[buck_num]; lp8755_regulator_init()
340 rconfig.of_node = pchip->dev->of_node; lp8755_regulator_init()
343 &lp8755_regulators[buck_num], &rconfig); lp8755_regulator_init()

Completed in 262 milliseconds