struct regulator_desc — Static regulator descriptor
struct regulator_desc { const char * name; const char * supply_name; int id; unsigned n_voltages; struct regulator_ops * ops; int irq; enum regulator_type type; struct module * owner; unsigned int min_uV; unsigned int uV_step; unsigned int vsel_reg; unsigned int vsel_mask; unsigned int enable_reg; unsigned int enable_mask; };
Identifying name for the regulator.
Identifying the regulator supply
Numerical identifier for the regulator.
Number of selectors available for ops.list_voltage
.
Regulator operations table.
Interrupt number for the regulator.
Indicates if the regulator is a voltage or current regulator.
Module providing the regulator, used for refcounting.
Voltage given by the lowest selector (if linear mapping)
Voltage increase with each selector (if linear mapping)
Register for selector when using regulator_regmap_X_voltage_
Mask for register bitfield used for selector
Register for control when using regmap enable/disable ops
Mask for control when using regmap enable/disable ops