staticunsignedintvreg_get_mode(struct regulator_dev *rdev){structvreg*vreg=rdev_get_drvdata(rdev);returnvreg->mode; } 开发者ID:AnDr0id,项目名称:SGH-I747,代码行数:6,代码来源:rpm-regulator.c 示例2: saw_get_voltage ▲点赞 5▼ staticintsaw_get_voltage(struct regulator_dev *rdev){struct...
staticintcygnus_get_function_groups(struct pinctrl_dev *pctrl_dev,unsignedselector,constchar*const**groups,unsigned*constnum_groups){structcygnus_pinctrl*pinctrl=pinctrl_dev_get_drvdata(pctrl_dev);*groups = pinctrl->functions[selector].groups; *num_groups = pinctrl->functions[selector].num_groups...