1STRUCT REGULATOR_DES(9)          API reference         STRUCT REGULATOR_DES(9)
2
3
4

NAME

6       struct_regulator_desc - Regulator descriptor
7

SYNOPSIS

9       struct regulator_desc {
10         const char * name;
11         int id;
12         unsigned n_voltages;
13         struct regulator_ops * ops;
14         int irq;
15         enum regulator_type type;
16         struct module * owner;
17       };
18

MEMBERS

20       name
21           Identifying name for the regulator.
22
23       id
24           Numerical identifier for the regulator.
25
26       n_voltages
27           Number of selectors available for ops.list_voltage.
28
29       ops
30           Regulator operations table.
31
32       irq
33           Interrupt number for the regulator.
34
35       type
36           Indicates if the regulator is a voltage or current regulator.
37
38       owner
39           Module providing the regulator, used for refcounting.
40

DESCRIPTION

42       Each regulator registered with the core is described with a structure
43       of this type.
44

AUTHORS

46       Liam Girdwood <lrg@slimlogic.co.uk>
47           Author.
48
49       Mark Brown <broonie@opensource.wolfsonmicro.com>
50       Wolfson Microelectronics,
51
52
53           Author.
54
56Kernel Hackers Manual 2.6.       November 2011         STRUCT REGULATOR_DES(9)
Impressum