| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * internal.h -- Voltage/Current Regulator framework internal code |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright 2008 SlimLogic Ltd. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Author: Liam Girdwood <lrg@slimlogic.co.uk> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 10 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 11 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 12 | | - * option) any later version. |
|---|
| 13 | | - * |
|---|
| 14 | 9 | */ |
|---|
| 15 | 10 | |
|---|
| 16 | 11 | #ifndef __REGULATOR_INTERNAL_H |
|---|
| .. | .. |
|---|
| 41 | 36 | struct list_head list; |
|---|
| 42 | 37 | unsigned int always_on:1; |
|---|
| 43 | 38 | unsigned int bypass:1; |
|---|
| 39 | + unsigned int device_link:1; |
|---|
| 44 | 40 | int uA_load; |
|---|
| 41 | + unsigned int enable_count; |
|---|
| 42 | + unsigned int deferred_disables; |
|---|
| 45 | 43 | struct regulator_voltage voltage[REGULATOR_STATES_NUM]; |
|---|
| 46 | 44 | const char *supply_name; |
|---|
| 47 | 45 | struct device_attribute dev_attr; |
|---|