Files
android_kernel_samsung_sm86…/qcom/opensource/synx-kernel/msm/synx/synx_err.h
David Wronek 51ff30338b Add 'qcom/opensource/synx-kernel/' from commit '2657c18a7869feec83f4383bf72623b8d6a2ef18'
git-subtree-dir: qcom/opensource/synx-kernel
git-subtree-mainline: fe7b3b613f
git-subtree-split: 2657c18a78
Change-Id:
repo: https://git.codelinaro.org/clo/la/platform/vendor/opensource/synx-kernel
tag: LA.VENDOR.14.3.0.r1-17300-lanai.QSSI15.0
2024-10-06 16:45:32 +02:00

28 řádky
617 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __SYNX_ERR_H__
#define __SYNX_ERR_H__
#include <linux/err.h>
/**
* Error codes returned from framework
*
* Return codes are mapped to platform specific
* return values.
*/
#define SYNX_SUCCESS 0
#define SYNX_NOMEM ENOMEM
#define SYNX_NOSUPPORT EOPNOTSUPP
#define SYNX_NOPERM EPERM
#define SYNX_TIMEOUT ETIMEDOUT
#define SYNX_ALREADY EALREADY
#define SYNX_NOENT ENOENT
#define SYNX_INVALID EINVAL
#define SYNX_BUSY EBUSY
#endif /* __SYNX_ERR_H__ */