STRUCT REGULATOR_DES

Section: API reference (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

struct_regulator_desc - Regulator descriptor  

SYNOPSIS

struct regulator_desc {
  const char * name;
  int id;
  unsigned n_voltages;
  struct regulator_ops * ops;
  int irq;
  enum regulator_type type;
  struct module * owner;
};  
 

MEMBERS

name

Identifying name for the regulator.

id

Numerical identifier for the regulator.

n_voltages

Number of selectors available for ops.list_voltage.

ops

Regulator operations table.

irq

Interrupt number for the regulator.

type

Indicates if the regulator is a voltage or current regulator.

owner

Module providing the regulator, used for refcounting.
 

DESCRIPTION

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

AUTHORS

Liam Girdwood <lrg@slimlogic.co.uk>

Author.

Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
      
     

Author.
 

COPYRIGHT