/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * filecheck.h * * Online file check. * * Copyright (C) 2016 SuSE. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #ifndef FILECHECK_H #define FILECHECK_H #include #include /* File check errno */ enum { OCFS2_FILECHECK_ERR_SUCCESS = 0, /* Success */ OCFS2_FILECHECK_ERR_FAILED = 1000, /* Other failure */ OCFS2_FILECHECK_ERR_INPROGRESS, /* In progress */ OCFS2_FILECHECK_ERR_READONLY, /* Read only */ OCFS2_FILECHECK_ERR_INJBD, /* Buffer in jbd */ OCFS2_FILECHECK_ERR_INVALIDINO, /* Invalid ino */ OCFS2_FILECHECK_ERR_BLOCKECC, /* Block ecc */ OCFS2_FILECHECK_ERR_BLOCKNO, /* Block number */ OCFS2_FILECHECK_ERR_VALIDFLAG, /* Inode valid flag */ OCFS2_FILECHECK_ERR_GENERATION, /* Inode generation */ OCFS2_FILECHECK_ERR_UNSUPPORTED /* Unsupported */ }; #define OCFS2_FILECHECK_ERR_START OCFS2_FILECHECK_ERR_FAILED #define OCFS2_FILECHECK_ERR_END OCFS2_FILECHECK_ERR_UNSUPPORTED int ocfs2_filecheck_create_sysfs(struct super_block *sb); int ocfs2_filecheck_remove_sysfs(struct super_block *sb); #endif /* FILECHECK_H */ summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkat Reddy Talla <vreddytalla@nvidia.com>2016-11-17 23:24:35 +0530
committerMark Brown <broonie@kernel.org>2016-11-23 16:27:24 +0000
commit383d0fca7035a12f1201277d33e8fc87c9d60c9a (patch)
treebb12c78d91ab8d69ae18fbbf4033277481b277ad /tools/perf/bench/mem-memset-arch.h
parent9a40cb0cb8b55ecfdcd3cec1381bcc46ec488588 (diff)
regulator: max77620: add support to configure MPOK
Adding support to configure regulator POK mapping bit to control nRST_IO and GPIO1 POK function. In tegra based platform which uses MAX20024 pmic, when some of regulators are configured FPS_NONE(flexible power sequencer) causes PMIC GPIO1 to go low which lead to various other rails turning off, to avoid this MPOK bit of those regulators need to be set to 0 so that PMIC GPIO1 will not go low. Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/bench/mem-memset-arch.h')