Linux 内核Voltage/Current Regulator 即调压限流框架

regulator 即校准器或者调节器
对应结构体为校准器或者调节器描述符
/*
 * struct regulator
 *
 * One for each consumer device.
 */
struct regulator {
 struct device *dev;
 struct list_head list;
 unsigned int always_on:1;
 unsigned int bypass:1;
 int uA_load;
 int min_uV;
 int max_uV;
 char *supply_name;
 struct device_attribute dev_attr;
 struct regulator_dev *rdev;
 struct dentry *debugfs;
};
 
 
 
 
 
 
 

你可能感兴趣的:(Linux,Kernel,设备驱动)