| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | ipaq.c | 37 { USB_DEVICE(0x0104, 0x00BE) }, /* Socket USB Sync */ 38 { USB_DEVICE(0x03F0, 0x1016) }, /* HP USB Sync */ 39 { USB_DEVICE(0x03F0, 0x1116) }, /* HP USB Sync 1611 */ 40 { USB_DEVICE(0x03F0, 0x1216) }, /* HP USB Sync 1612 */ 41 { USB_DEVICE(0x03F0, 0x2016) }, /* HP USB Sync 1620 */ 42 { USB_DEVICE(0x03F0, 0x2116) }, /* HP USB Sync 1621 */ 43 { USB_DEVICE(0x03F0, 0x2216) }, /* HP USB Sync 1622 */ 44 { USB_DEVICE(0x03F0, 0x3016) }, /* HP USB Sync 1630 */ 45 { USB_DEVICE(0x03F0, 0x3116) }, /* HP USB Sync 1631 */ 46 { USB_DEVICE(0x03F0, 0x3216) }, /* HP USB Sync 1632 */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_sync.h | 14 * Mali interface for Linux sync objects. 26 #include <linux/sync.h> 28 #include <sync.h> 41 * Create a sync timeline. 43 * @param name Name of the sync timeline. 44 * @return The new sync timeline if successful, NULL if not. 49 * Creates a file descriptor representing the sync fence. Will release sync fence if allocation of 52 * @param sync_fence Sync fence. 53 * @return File descriptor representing sync fence if successful, or -1 if not. 58 * Merges two sync fences. Both input sync fences will be released. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_sync.c | 43 * amdgpu_sync_create - zero init sync object 45 * @sync: sync object to initialize 47 * Just clear the sync object for now. 49 void amdgpu_sync_create(struct amdgpu_sync *sync) in amdgpu_sync_create() argument 51 hash_init(sync->fences); in amdgpu_sync_create() 52 sync->last_vm_update = NULL; in amdgpu_sync_create() 125 * @sync: sync object to add the fence to 131 static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_add_later() argument 135 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later() 146 * amdgpu_sync_fence - remember to sync to this fence [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/algo_camgroup_handlers/ |
| H A D | RkAiqCamGroupAwbHandle.cpp | 31 sendSignal(mCurWbV21Attr.sync.sync_mode); in updateConfig() 37 sendSignal(mCurWbOpModeAttr.sync.sync_mode); in updateConfig() 43 sendSignal(mCurWbMwbAttr.sync.sync_mode); in updateConfig() 49 sendSignal(mCurWbAwbWbGainAdjustAttr.sync.sync_mode); in updateConfig() 55 sendSignal(mCurWbAwbWbGainOffsetAttr.sync.sync_mode); in updateConfig() 61 sendSignal(mCurWbAwbMultiWindowAttr.sync.sync_mode); in updateConfig() 68 sendSignal(mCurWbV32Attr.sync.sync_mode); in updateConfig() 74 sendSignal(mCurWbV32AwbMultiWindowAttr.sync.sync_mode); in updateConfig() 98 waitSignal(att.sync.sync_mode); in setWbV21Attrib() 112 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getWbV21Attrib() [all …]
|
| H A D | RkAiqCamGroupAeHandle.cpp | 32 sendSignal(mCurExpSwAttrV2.sync.sync_mode); in updateConfig() 39 sendSignal(mCurLinExpAttrV2.sync.sync_mode); in updateConfig() 46 sendSignal(mCurHdrExpAttrV2.sync.sync_mode); in updateConfig() 53 sendSignal(mCurLinAeRouteAttr.sync.sync_mode); in updateConfig() 59 sendSignal(mCurHdrAeRouteAttr.sync.sync_mode); in updateConfig() 66 sendSignal(mCurAecSyncTestAttr.sync.sync_mode); in updateConfig() 81 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setExpSwAttr() 86 if (ExpSwAttrV2.sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && \ in setExpSwAttr() 89 else if (ExpSwAttrV2.sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && \ in setExpSwAttr() 97 waitSignal(ExpSwAttrV2.sync.sync_mode); in setExpSwAttr() [all …]
|
| H A D | RkAiqCamGroupAmergeHandle.cpp | 32 sendSignal(mCurAttV10.sync.sync_mode); in updateConfig() 38 sendSignal(mCurAttV11.sync.sync_mode); in updateConfig() 44 sendSignal(mCurAttV12.sync.sync_mode); in updateConfig() 61 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setAttribV10() 66 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && in setAttribV10() 69 else if (att->sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && in setAttribV10() 77 waitSignal(att->sync.sync_mode); in setAttribV10() 91 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttribV10() 94 att->sync.done = true; in getAttribV10() 99 att->sync.done = false; in getAttribV10() [all …]
|
| H A D | RkAiqCamGroupAcacHandle.cpp | 32 sendSignal(mCurAttV03.sync.sync_mode); in updateConfig() 39 sendSignal(mCurAttV10.sync.sync_mode); in updateConfig() 46 sendSignal(mCurAttV11.sync.sync_mode); in updateConfig() 61 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setAttribV03() 66 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && memcmp(&mNewAttV03, att, sizeof(*att))) in setAttribV03() 68 else if (att->sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && in setAttribV03() 76 waitSignal(att->sync.sync_mode); in setAttribV03() 90 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttribV03() 93 att->sync.done = true; in getAttribV03() 98 att->sync.done = false; in getAttribV03() [all …]
|
| H A D | RkAiqCamGroupAdebayerHandle.cpp | 32 sendSignal(mCurAtt.sync.sync_mode); in updateConfig() 37 sendSignal(mCurAttV2.sync.sync_mode); in updateConfig() 43 sendSignal(mCurAttV2Lite.sync.sync_mode); in updateConfig() 62 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setAttrib() 67 if (att.sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && \ in setAttrib() 70 else if (att.sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && \ in setAttrib() 78 waitSignal(att.sync.sync_mode); in setAttrib() 92 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttrib() 95 att->sync.done = true; in getAttrib() 100 att->sync.done = false; in getAttrib() [all …]
|
| H A D | RkAiqCamGroupAdrcHandle.cpp | 32 sendSignal(mCurAttV10.sync.sync_mode); in updateConfig() 38 sendSignal(mCurAttV11.sync.sync_mode); in updateConfig() 44 sendSignal(mCurAttV12.sync.sync_mode); in updateConfig() 50 sendSignal(mCurAttV12Lite.sync.sync_mode); in updateConfig() 75 waitSignal(att->sync.sync_mode); in setAttribV10() 89 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttribV10() 92 att->sync.done = true; in getAttribV10() 97 att->sync.done = false; in getAttribV10() 100 att->sync.sync_mode = mNewAttV10.sync.sync_mode; in getAttribV10() 101 att->sync.done = true; in getAttribV10() [all …]
|
| H A D | RkAiqCamGroupAsharpV33Handle.cpp | 34 sendSignal(mCurAtt.sync.sync_mode); in updateConfig() 42 sendSignal(mCurAttLite.sync.sync_mode); in updateConfig() 50 sendSignal(mCurStrength.sync.sync_mode); in updateConfig() 67 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setAttrib() 72 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && \ in setAttrib() 75 else if (att->sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && \ in setAttrib() 83 waitSignal(att->sync.sync_mode); in setAttrib() 98 if(att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttrib() 101 att->sync.done = true; in getAttrib() 106 att->sync.done = false; in getAttrib() [all …]
|
| H A D | RkAiqCamGroupAgammaHandle.cpp | 32 sendSignal(mCurAttV10.sync.sync_mode); in updateConfig() 38 sendSignal(mCurAttV11.sync.sync_mode); in updateConfig() 55 // check if there is different between att & mCurAttV10(sync)/mNewAttV10(async) in setAttribV10() 60 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && in setAttribV10() 63 else if (att->sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && in setAttribV10() 71 waitSignal(att->sync.sync_mode); in setAttribV10() 85 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttribV10() 88 att->sync.done = true; in getAttribV10() 93 att->sync.done = false; in getAttribV10() 96 att->sync.sync_mode = mNewAttV10.sync.sync_mode; in getAttribV10() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 101 static int check_syncmap_free(struct i915_syncmap **sync) in check_syncmap_free() argument 103 i915_syncmap_free(sync); in check_syncmap_free() 104 if (*sync) { in check_syncmap_free() 105 pr_err("sync not cleared after free\n"); in check_syncmap_free() 112 static int dump_syncmap(struct i915_syncmap *sync, int err) in dump_syncmap() argument 117 return check_syncmap_free(&sync); in dump_syncmap() 123 if (i915_syncmap_print_to_buf(sync, buf, PAGE_SIZE)) in dump_syncmap() 129 i915_syncmap_free(&sync); in dump_syncmap() 135 struct i915_syncmap *sync = (void *)~0ul; in igt_syncmap_init() local 142 i915_syncmap_init(&sync); in igt_syncmap_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_sync.c | 35 * radeon_sync_create - zero init sync object 37 * @sync: sync object to initialize 39 * Just clear the sync object for now. 41 void radeon_sync_create(struct radeon_sync *sync) in radeon_sync_create() argument 46 sync->semaphores[i] = NULL; in radeon_sync_create() 49 sync->sync_to[i] = NULL; in radeon_sync_create() 51 sync->last_vm_update = NULL; in radeon_sync_create() 55 * radeon_sync_fence - use the semaphore to sync to a fence 57 * @sync: sync object to add fence to 58 * @fence: fence to sync to [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/ |
| H A D | cache.S | 45 sync 52 sync 58 sync 60 sync 81 sync 88 sync 91 sync 96 sync 106 3: sync 110 3: sync [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/ptrace/ |
| H A D | child.h | 3 * Helper functions to sync execution between parent and child processes. 29 #define CHILD_FAIL_IF(x, sync) \ argument 34 (sync)->child_gave_up = true; \ 35 prod_parent(sync); \ 40 #define PARENT_FAIL_IF(x, sync) \ argument 45 (sync)->parent_gave_up = true; \ 46 prod_child(sync); \ 51 #define PARENT_SKIP_IF_UNSUPPORTED(x, sync) \ argument 54 (sync)->parent_gave_up = true; \ 55 prod_child(sync); \ [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | im2d_single.h | 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 57 * When 'sync == 0', the fence_fd used to identify the current job state 61 …ga_buffer_t dst, double fx = 0, double fy = 0, int interpolation = 0, int sync = 1, int *release_f… 72 * @param sync 73 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | im2d_single.h | 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 57 * When 'sync == 0', the fence_fd used to identify the current job state 61 …ga_buffer_t dst, double fx = 0, double fy = 0, int interpolation = 0, int sync = 1, int *release_f… 72 * @param sync 73 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | im2d_single.h | 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 57 * When 'sync == 0', the fence_fd used to identify the current job state 61 …ga_buffer_t dst, double fx = 0, double fy = 0, int interpolation = 0, int sync = 1, int *release_f… 72 * @param sync 73 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/ |
| H A D | im2d_single.h | 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 57 * When 'sync == 0', the fence_fd used to identify the current job state 61 …ga_buffer_t dst, double fx = 0, double fy = 0, int interpolation = 0, int sync = 1, int *release_f… 72 * @param sync 73 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/algo_handlers/ |
| H A D | RkAiqAwbV32Handle.cpp | 35 sendSignal(mCurWbV32Attr.sync.sync_mode); in updateConfig() 41 sendSignal(mCurWbOpModeAttr.sync.sync_mode); in updateConfig() 47 sendSignal(mCurWbMwbAttr.sync.sync_mode); in updateConfig() 53 sendSignal(mCurWbAwbWbGainOffsetAttr.sync.sync_mode); in updateConfig() 59 sendSignal(mCurWbV32AwbMultiWindowAttr.sync.sync_mode); in updateConfig() 65 sendSignal(mCurWriteAwbInputAttr.sync.sync_mode); in updateConfig() 71 sendSignal(mCurFFWbgainAttr.sync.sync_mode); in updateConfig() 88 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setWbV32AwbMultiWindowAttrib() 93 if (att.sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && \ in setWbV32AwbMultiWindowAttrib() 96 else if (att.sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && \ in setWbV32AwbMultiWindowAttrib() [all …]
|
| H A D | RkAiqAdrcHandle.cpp | 70 sendSignal(mCurAttV10.sync.sync_mode); in updateConfig() 76 sendSignal(mCurAttV11.sync.sync_mode); in updateConfig() 82 sendSignal(mCurAttV12.sync.sync_mode); in updateConfig() 88 sendSignal(mCurAttV12Lite.sync.sync_mode); in updateConfig() 109 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setAttribV10() 114 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && in setAttribV10() 117 else if (att->sync.sync_mode != RK_AIQ_UAPI_MODE_ASYNC && in setAttribV10() 125 waitSignal(att->sync.sync_mode); in setAttribV10() 141 att->sync.done = true; in getAttribV10() 144 if (att->sync.sync_mode == RK_AIQ_UAPI_MODE_SYNC) { in getAttribV10() [all …]
|
| H A D | RkAiqAeHandle.cpp | 95 sendSignal(mCurExpSwAttrV2.sync.sync_mode); in updateConfig() 103 sendSignal(mCurLinExpAttrV2.sync.sync_mode); in updateConfig() 111 sendSignal(mCurHdrExpAttrV2.sync.sync_mode); in updateConfig() 119 sendSignal(mCurLinAeRouteAttr.sync.sync_mode); in updateConfig() 126 sendSignal(mCurHdrAeRouteAttr.sync.sync_mode); in updateConfig() 133 sendSignal(mCurIrisAttr.sync.sync_mode); in updateConfig() 140 sendSignal(mCurAecSyncTestAttr.sync.sync_mode); in updateConfig() 147 sendSignal(mCurExpWinAttr.sync.sync_mode); in updateConfig() 222 // check if there is different between att & mCurAtt(sync)/mNewAtt(async) in setExpSwAttr() 227 if (ExpSwAttrV2.sync.sync_mode == RK_AIQ_UAPI_MODE_ASYNC && \ in setExpSwAttr() [all …]
|
| /OK3568_Linux_fs/kernel/arch/parisc/kernel/ |
| H A D | perf_asm.S | 46 sync ; follow ERS 163 sync 199 sync 211 sync 223 sync 307 sync 331 sync 343 sync 391 sync 403 sync [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/ |
| H A D | sample_ae_module.cpp | 51 printf("\t X) AE: test sync mode.\n"); in sample_ae_usage() 183 static int sample_set_exp_manual(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync) in sample_set_exp_manual() argument 189 expSwAttr.sync.sync_mode = sync; in sample_set_exp_manual() 190 expSwAttr.sync.done = false; in sample_set_exp_manual() 211 static int sample_set_exp_manual_test(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync) in sample_set_exp_manual_test() argument 217 expSwAttr.sync.sync_mode = sync; in sample_set_exp_manual_test() 218 expSwAttr.sync.done = false; in sample_set_exp_manual_test() 239 static int sample_set_exp_auto(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync) in sample_set_exp_auto() argument 245 expSwAttr.sync.sync_mode = sync; in sample_set_exp_auto() 246 expSwAttr.sync.done = false; in sample_set_exp_auto() [all …]
|
| H A D | sample_amerge_module.cpp | 23 printf("\t 0) AMERGE: test rk_aiq_user_api2_amerge_v10_SetAttrib stManual Sync.\n"); in sample_amerge_usage() 28 "Sync.\n"); in sample_amerge_usage() 34 "Sync.\n"); in sample_amerge_usage() 41 "Sync.\n"); in sample_amerge_usage() 47 "EnableEachChn off Sync.\n"); in sample_amerge_usage() 53 "EnableEachChn on Sync.\n"); in sample_amerge_usage() 60 "Sync.\n"); in sample_amerge_usage() 66 "Sync.\n"); in sample_amerge_usage() 117 "Sync\n\n"); in sample_amerge_module() 118 attr_v10.sync.sync_mode = RK_AIQ_UAPI_MODE_DEFAULT; in sample_amerge_module() [all …]
|