Path: blob/master/arch/arm/mach-msm/include/mach/vreg.h
17628 views
/* linux/include/asm-arm/arch-msm/vreg.h1*2* Copyright (C) 2008 Google, Inc.3* Author: Brian Swetland <[email protected]>4*5* This software is licensed under the terms of the GNU General Public6* License version 2, as published by the Free Software Foundation, and7* may be copied, distributed, and modified under those terms.8*9* This program is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.13*14*/1516#ifndef __ARCH_ARM_MACH_MSM_VREG_H17#define __ARCH_ARM_MACH_MSM_VREG_H1819struct vreg;2021struct vreg *vreg_get(struct device *dev, const char *id);22void vreg_put(struct vreg *vreg);2324int vreg_enable(struct vreg *vreg);25int vreg_disable(struct vreg *vreg);26int vreg_set_level(struct vreg *vreg, unsigned mv);2728#endif293031