Lines Matching refs:rc
23 int rc; in axp_set_dcdc2() local
29 while ((rc = pmic_bus_read(AXP152_DCDC2_VOLTAGE, ¤t)) == 0 && in axp_set_dcdc2()
35 rc = pmic_bus_write(AXP152_DCDC2_VOLTAGE, current); in axp_set_dcdc2()
36 if (rc) in axp_set_dcdc2()
39 return rc; in axp_set_dcdc2()
66 int rc; in axp_init() local
68 rc = pmic_bus_init(); in axp_init()
69 if (rc) in axp_init()
70 return rc; in axp_init()
72 rc = pmic_bus_read(AXP152_CHIP_VERSION, &ver); in axp_init()
73 if (rc) in axp_init()
74 return rc; in axp_init()