Home
last modified time | relevance | path

Searched refs:errno (Results 1 - 25 of 200) sorted by relevance

12345678

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_errno.h74 #define LOS_ERRNO_OS_FATAL(moduleID, errno) \
75 (LOS_ERRTYPE_FATAL | LOS_ERRNO_OS_ID | ((UINT32)(moduleID) << 2) | (errno << 7))
81 #define LOS_ERRNO_OS_ERROR(moduleID, errno) \
82 (LOS_ERRTYPE_ERROR | LOS_ERRNO_OS_ID | ((UINT32)(moduleID) << 2) | (errno << 7))
88 #define LOS_ERRNO_OS_WARN(moduleID, errno) \
89 (LOS_ERRTYPE_WARN | LOS_ERRNO_OS_ID | ((UINT32)(moduleID) << 2) | (errno << 7))
95 #define LOS_ERRNO_OS_NORMAL(moduleID, errno) \
96 (LOS_ERRTYPE_NORMAL | LOS_ERRNO_OS_ID | ((UINT32)(moduleID) << 2) | (errno << 7))
133 #define LOS_ERRNO_OS_FATAL(moduleID, errno) \
134 (LOS_ERRTYPE_FATAL | LOS_ERRNO_OS_ID | ((UINT32)(moduleID) << 8) | (errno))
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dtime.c33 #include <errno.h>
100 errno = EINVAL; in nanosleep()
109 errno = EINVAL; in nanosleep()
123 errno = EPERM; in nanosleep()
133 errno = EINVAL; in timer_create()
138 errno = ENOTSUP; in timer_create()
145 errno = (ret == LOS_ERRNO_SWTMR_MAXSIZE) ? EAGAIN : EINVAL; in timer_create()
158 errno = EINVAL; in timer_delete()
163 errno = EINVAL; in timer_delete()
181 errno in timer_settime()
[all...]
H A Dfile.c32 #include <errno.h>
151 errno = EINVAL; in open()
156 errno = EINVAL; in open()
161 errno = ENOMEM; in open()
166 errno = ENOMEM; in open()
172 errno = EPERM; in open()
176 errno = ENOTDIR; in open()
184 errno = EPERM; in open()
187 errno = EISDIR; in open()
209 errno in close()
[all...]
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_drm_composition.cpp65 DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
77 DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
83 DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
98 DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
H A Dhdi_drm_layer.cpp41 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
53 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
61 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
69 DISPLAY_DEBUGLOG("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Dhdi_drm_composition.cpp66 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
76 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
81 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
96 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
H A Dhdi_drm_layer.cpp42 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
52 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
60 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
68 DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Dhdi_drm_composition.cpp66 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
76 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
81 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
96 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
H A Dhdi_drm_layer.cpp42 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
52 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
60 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
68 DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Dhdi_drm_composition.cpp66 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
76 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
81 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
96 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
H A Dhdi_drm_layer.cpp42 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
52 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
60 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
68 DISPLAY_LOGD("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_drm_composition.cpp66 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
76 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
81 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetCrtcProperty()
96 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set the fb planeid fialed errno : %{public}d", errno)); in SetSrcProperty()
[all...]
H A Dhdi_drm_layer.cpp41 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
51 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
59 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
67 DISPLAY_DEBUGLOG("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/
H A Dposix_help.c19 #include <errno.h>
70 } else if (errno == EAGAIN || errno == EWOULDBLOCK) { // no data now in FdReadMsg()
101 } else if (ret == 0 || (ret < 0 && (errno == EAGAIN || errno == EWOULDBLOCK))) { // no data now in FdWriteMsg()
108 SAMPLE_PRT("FdWriteMsg FAIL, err='%s'\n", strerror(errno)); in FdWriteMsg()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Derrno.h2 * @defgroup errno Errno
15 #include <bits/errno.h>
23 * @ingroup errno
36 * <ul><li>errno.h</li></ul>
42 * @ingroup errno
55 * <ul><li>errno.h</li></ul>
63 #define errno (*__errno_location()) macro
65 #define errno (*__errno()) macro
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A Dframebuffer_allocator.cpp52 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOPUT_VSCREENINFO failed errno : %d", errno)); in SetFdFormatAndVirtualRes()
61 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_FSCREENINFO failed errno : %d", errno)); in InitFb()
64 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_VSCREENINFO failed errno : %d", errno)); in InitFb()
67 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE(" failed to set fb format errno : %d", errno)); in InitFb()
71 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("FBIOGET_VSCREENINFO failed errno : %d", errno)); in InitFb()
[all...]
H A Ddrm_allocator.cpp34 DISPLAY_LOGE("can not open drm file : %{public}s errno: %{public}d ", FILE_PATH, errno)); in Init()
58 (ret != 0), DISPLAY_FAILURE, DISPLAY_LOGE("DRM_IOCTL_MODE_CREATE_DUMB failed errno %{public}d", errno)); in Allocate()
62 (ret != 0), DISPLAY_FAILURE, DISPLAY_LOGE("can not get fd from prime handle errno: %{public}d", errno)); in Allocate()
76 DISPLAY_LOGW("can not destroy dumb errno: %{public}d", errno); in Allocate()
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
H A Dhdi_drm_composition.cpp80 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set fb id fialed errno : %{public}d", errno)); in ApplyPlane()
86 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("set crtc id fialed errno : %{public}d", errno)); in ApplyPlane()
101 DISPLAY_LOGE("can not add the active prop errno %{public}d", errno)); in UpdateMode()
109 DISPLAY_LOGE("can not add the mode prop errno %{public}d", errno)); in UpdateMode()
114 DISPLAY_LOGE("can not add the crtc id prop %{public}d", errno)); in UpdateMode()
131 DISPLAY_LOGE("drm atomic alloc failed errno in Apply()
[all...]
H A Dhdi_drm_layer.cpp41 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not get handle errno %{public}d", errno)); in Init()
51 DISPLAY_CHK_RETURN_NOT_VALUE((ret != 0), DISPLAY_LOGE("can not add fb errno %{public}d", errno)); in Init()
59 DISPLAY_LOGE("can not free fdid %{public}d errno %{public}d", mFdId, errno); in ~DrmGemBuffer()
67 DISPLAY_LOGE("can not free gem handle %{public}d errno : %{public}d", mGemHandle, errno); in ~DrmGemBuffer()
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Dvpu.c23 #include <errno.h>
115 HDF_LOGE("set client type failed ret %d errno %d\n", ret, errno); in vpu_api_set_client_type()
166 HDF_LOGE("failed to open %s, errno = %d, error msg: %s\n", \ in VPUClientInit()
167 path, errno, strerror(errno)); in VPUClientInit()
249 HDF_LOGE("ioctl VPU_IOC_SET_REG failed ret %d errno %d %s\n", ret, errno, strerror(errno)); in VPUClientSendReg()
303 HDF_LOGE("ioctl VPU_IOC_GET_REG failed ret %d errno in VPUClientWaitResult()
[all...]
/device/soc/rockchip/common/sdk_linux/scripts/
H A Dclang-wrapper.py34 import errno namespace
91 result = e.errno
92 if result == errno.ENOENT:
/device/qemu/hardware/display/
H A Ddisplay_gralloc.c17 #include <errno.h>
138 if (errno != EEXIST) { in AllocShm()
139 HDF_LOGE("%s: fail to alloc the shared memory, errno = %d", __func__, errno); in AllocShm()
149 HDF_LOGE("%s: Fail to attach the shared memory, errno = %d", __func__, errno); in AllocShm()
151 HDF_LOGE("%s: Fail to free shmid, errno = %d", __func__, errno); in AllocShm()
204 printf("[Init] 1 [ERR] %d!\n", errno); in SendCmd()
276 DISPLAY_CHK_RETURN((priBuffer == NULL), DISPLAY_NULL_PTR, HDF_LOGE("%s: can not calloc errno in AllocMem()
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_SharedMemory.c30 #include <errno.h>
85 ret, strerror(errno)); in ion_ioctl()
86 return -errno; in ion_ioctl()
151 omx_err("mmap failed: %s\n", strerror(errno)); in ion_map()
152 return -errno; in ion_map()
206 } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); in drm_ioctl()
337 omx_err("mmap failed: %s\n", strerror(errno)); in drm_map()
338 return -errno; in drm_map()
401 omx_err("failed to get phy address: %s\n", strerror(errno)); in Rockchip_OSAL_SharedMemory_HandleToAddress()
[all...]
H A DRockchip_OSAL_Env.c20 #include <errno.h>
37 errno = 0; in Rockchip_OSAL_GetEnvU32()
39 if (errno || (prop == endptr)) { in Rockchip_OSAL_GetEnvU32()
40 errno = 0; in Rockchip_OSAL_GetEnvU32()
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A Dwayland_drm_auth_client.c17 #include <errno.h>
81 DISPLAY_CHK_RETURN((dsp == NULL), NULL, DISPLAY_LOGE("can not alloc memory errno : %{public}d", errno)); in InitWaylandClient()
83 DISPLAY_CHK_RETURN((dsp->display == NULL), NULL, DISPLAY_LOGE("display connect failed, errno: %{public}d", errno); in InitWaylandClient()

Completed in 10 milliseconds

12345678