Lines Matching refs:power_devs
330 static struct mfd_cell power_devs[] = { variable
916 power_devs[0].platform_data = pdata->power; in device_power_init()
917 power_devs[0].pdata_size = sizeof(struct pm860x_power_pdata); in device_power_init()
918 power_devs[0].num_resources = ARRAY_SIZE(battery_resources); in device_power_init()
919 power_devs[0].resources = &battery_resources[0], in device_power_init()
920 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], 1, in device_power_init()
925 power_devs[1].platform_data = pdata->power; in device_power_init()
926 power_devs[1].pdata_size = sizeof(struct pm860x_power_pdata); in device_power_init()
927 power_devs[1].num_resources = ARRAY_SIZE(charger_resources); in device_power_init()
928 power_devs[1].resources = &charger_resources[0], in device_power_init()
929 ret = mfd_add_devices(chip->dev, 0, &power_devs[1], 1, in device_power_init()
934 power_devs[2].platform_data = &preg_init_data; in device_power_init()
935 power_devs[2].pdata_size = sizeof(struct regulator_init_data); in device_power_init()
936 ret = mfd_add_devices(chip->dev, 0, &power_devs[2], 1, in device_power_init()
946 power_devs[3].platform_data = pdata->chg_desc; in device_power_init()
947 power_devs[3].pdata_size = sizeof(*pdata->chg_desc); in device_power_init()
948 ret = mfd_add_devices(chip->dev, 0, &power_devs[3], 1, in device_power_init()