Lines Matching defs:rdev
1331 static int smb347_usb_vbus_get_current_limit(struct regulator_dev *rdev)
1333 struct smb347_charger *smb = rdev_get_drvdata(rdev);
1369 static int smb347_usb_vbus_set_current_limit(struct regulator_dev *rdev,
1372 struct smb347_charger *smb = rdev_get_drvdata(rdev);
1385 static int smb347_usb_vbus_regulator_enable(struct regulator_dev *rdev)
1387 struct smb347_charger *smb = rdev_get_drvdata(rdev);
1396 if (device_property_read_bool(&rdev->dev, "summit,needs-inok-toggle")) {
1414 ret = smb347_usb_vbus_get_current_limit(rdev);
1447 static int smb347_usb_vbus_regulator_disable(struct regulator_dev *rdev)
1449 struct smb347_charger *smb = rdev_get_drvdata(rdev);
1464 if (device_property_read_bool(&rdev->dev, "summit,needs-inok-toggle")) {