original_val      524 drivers/power/supply/sbs-battery.c 	int ret, original_val;
original_val      526 drivers/power/supply/sbs-battery.c 	original_val = sbs_read_word_data(client, BATTERY_MODE_OFFSET);
original_val      527 drivers/power/supply/sbs-battery.c 	if (original_val < 0)
original_val      528 drivers/power/supply/sbs-battery.c 		return original_val;
original_val      530 drivers/power/supply/sbs-battery.c 	if ((original_val & BATTERY_MODE_MASK) == mode)
original_val      534 drivers/power/supply/sbs-battery.c 		ret = original_val & ~BATTERY_MODE_MASK;
original_val      536 drivers/power/supply/sbs-battery.c 		ret = original_val | BATTERY_MODE_MASK;
original_val      544 drivers/power/supply/sbs-battery.c 	return original_val & BATTERY_MODE_MASK;