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

/linux-4.1.27/drivers/regulator/
H A Ds2mps11.c40 unsigned int rdev_num; member in struct:s2mps11_info
56 /* Array of size rdev_num with GPIO-s for external sleep control */
720 of_regulator_match(&pdev->dev, reg_np, rdata, s2mps11->rdev_num); s2mps11_pmic_dt_parse()
979 s2mps11->rdev_num = ARRAY_SIZE(s2mps11_regulators); s2mps11_pmic_probe()
981 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe()
984 s2mps11->rdev_num = ARRAY_SIZE(s2mps13_regulators); s2mps11_pmic_probe()
986 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe()
989 s2mps11->rdev_num = ARRAY_SIZE(s2mps14_regulators); s2mps11_pmic_probe()
991 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe()
994 s2mps11->rdev_num = ARRAY_SIZE(s2mpu02_regulators); s2mps11_pmic_probe()
996 BUILD_BUG_ON(S2MPS_REGULATOR_MAX < s2mps11->rdev_num); s2mps11_pmic_probe()
1005 sizeof(*s2mps11->ext_control_gpio) * s2mps11->rdev_num, s2mps11_pmic_probe()
1013 for (i = 0; i < s2mps11->rdev_num; i++) s2mps11_pmic_probe()
1027 rdata = kzalloc(sizeof(*rdata) * s2mps11->rdev_num, GFP_KERNEL); s2mps11_pmic_probe()
1031 for (i = 0; i < s2mps11->rdev_num; i++) s2mps11_pmic_probe()
1046 for (i = 0; i < s2mps11->rdev_num; i++) { s2mps11_pmic_probe()

Completed in 42 milliseconds