| /OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/ |
| H A D | isppreview.c | 149 preview_config_luma_enhancement(struct isp_prev_device *prev, in preview_config_luma_enhancement() argument 152 struct isp_device *isp = to_isp_device(prev); in preview_config_luma_enhancement() 168 preview_enable_luma_enhancement(struct isp_prev_device *prev, bool enable) in preview_enable_luma_enhancement() argument 170 struct isp_device *isp = to_isp_device(prev); in preview_enable_luma_enhancement() 183 static void preview_enable_invalaw(struct isp_prev_device *prev, bool enable) in preview_enable_invalaw() argument 185 struct isp_device *isp = to_isp_device(prev); in preview_enable_invalaw() 198 static void preview_config_hmed(struct isp_prev_device *prev, in preview_config_hmed() argument 201 struct isp_device *isp = to_isp_device(prev); in preview_config_hmed() 213 static void preview_enable_hmed(struct isp_prev_device *prev, bool enable) in preview_enable_hmed() argument 215 struct isp_device *isp = to_isp_device(prev); in preview_enable_hmed() [all …]
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_offscreen.c | 46 ExaOffscreenArea *prev = 0, *area; in ExaOffscreenValidate() local 53 if (prev) in ExaOffscreenValidate() 54 assert(prev->base_offset + prev->size == area->base_offset); in ExaOffscreenValidate() 55 prev = area; in ExaOffscreenValidate() 57 assert(prev->base_offset + prev->size == pExaScr->info->memorySize); in ExaOffscreenValidate() 254 new_area->prev = area->prev; in exaOffscreenAlloc() 255 if (area->prev->next) in exaOffscreenAlloc() 256 area->prev->next = new_area; in exaOffscreenAlloc() 259 area->prev = new_area; in exaOffscreenAlloc() 396 area->next->prev = area; in ExaOffscreenMerge() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/ |
| H A D | dma-fence-chain.c | 23 struct dma_fence *prev; in dma_fence_chain_get_prev() local 26 prev = dma_fence_get_rcu_safe(&chain->prev); in dma_fence_chain_get_prev() 28 return prev; in dma_fence_chain_get_prev() 42 struct dma_fence *prev, *replacement, *tmp; in dma_fence_chain_walk() local 50 while ((prev = dma_fence_chain_get_prev(chain))) { in dma_fence_chain_walk() 52 prev_chain = to_dma_fence_chain(prev); in dma_fence_chain_walk() 59 if (!dma_fence_is_signaled(prev)) in dma_fence_chain_walk() 65 tmp = cmpxchg((struct dma_fence __force **)&chain->prev, in dma_fence_chain_walk() 66 prev, replacement); in dma_fence_chain_walk() 67 if (tmp == prev) in dma_fence_chain_walk() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | list_debug.c | 20 bool __list_add_valid(struct list_head *new, struct list_head *prev, in __list_add_valid() argument 23 if (CHECK_DATA_CORRUPTION(prev == NULL, in __list_add_valid() 27 CHECK_DATA_CORRUPTION(next->prev != prev, in __list_add_valid() 29 prev, next->prev, next) || in __list_add_valid() 30 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid() 32 next, prev->next, prev) || in __list_add_valid() 33 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid() 35 new, prev, next)) in __list_add_valid() 44 struct list_head *prev, *next; in __list_del_entry_valid() local 46 prev = entry->prev; in __list_del_entry_valid() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/src/ |
| H A D | kinfo.c | 33 KdCardInfo *ci, **prev; in KdCardInfoAdd() local 38 for (prev = &kdCardInfo; *prev; prev = &(*prev)->next); in KdCardInfoAdd() 39 *prev = ci; in KdCardInfoAdd() 62 KdCardInfo **prev; in KdCardInfoDispose() local 64 for (prev = &kdCardInfo; *prev; prev = &(*prev)->next) in KdCardInfoDispose() 65 if (*prev == ci) { in KdCardInfoDispose() 66 *prev = ci->next; in KdCardInfoDispose() 75 KdScreenInfo *si, **prev; in KdScreenInfoAdd() local 81 for (prev = &ci->screenList, n = 0; *prev; prev = &(*prev)->next, n++); in KdScreenInfoAdd() 82 *prev = si; in KdScreenInfoAdd() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | cmpxchg.h | 19 unsigned int prev, prev_mask, tmp, bitoff, off; \ 33 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 37 return prev >> bitoff; \ 44 unsigned int prev, prev_mask, tmp, bitoff, off; \ 66 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 70 return prev >> bitoff; \ 88 unsigned long prev; in __xchg_u32_local() local 94 : "=&r" (prev), "+m" (*(volatile unsigned int *)p) in __xchg_u32_local() 98 return prev; in __xchg_u32_local() 104 unsigned long prev; in __xchg_u32_relaxed() local [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | list.h | 36 list->prev = list; in INIT_LIST_HEAD() 41 struct list_head *prev, 46 struct list_head *prev, in __list_add_valid() argument 64 struct list_head *prev, in __list_add() argument 67 if (!__list_add_valid(new, prev, next)) in __list_add() 70 next->prev = new; in __list_add() 72 new->prev = prev; in __list_add() 73 WRITE_ONCE(prev->next, new); in __list_add() 100 __list_add(new, head->prev, head); in list_add_tail() 110 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/common/ |
| H A D | list.h | 37 struct list_head *next, *prev; member 48 list->prev = list; in INIT_LIST_HEAD() 58 struct list_head *prev, in __list_add() argument 61 next->prev = n; in __list_add() 63 n->prev = prev; in __list_add() 64 prev->next = n; in __list_add() 92 __list_add(n, head->prev, head); in list_add_tail() 103 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 105 next->prev = prev; in __list_del() 106 prev->next = next; in __list_del() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/ |
| H A D | libdrm_lists.h | 36 struct _drmMMListHead *prev; member 42 (__item)->prev = (__item); \ 48 (__item)->prev = (__list); \ 50 (__list)->next->prev = (__item); \ 57 (__item)->prev = (__list)->prev; \ 58 (__list)->prev->next = (__item); \ 59 (__list)->prev = (__item); \ 64 (__item)->prev->next = (__item)->next; \ 65 (__item)->next->prev = (__item)->prev; \ 70 (__item)->prev->next = (__item)->next; \ [all …]
|
| H A D | util_double_list.h | 43 struct list_head *prev; member 49 item->prev = item; in list_inithead() 55 item->prev = list; in list_add() 57 list->next->prev = item; in list_add() 64 item->prev = list->prev; in list_addtail() 65 list->prev->next = item; in list_addtail() 66 list->prev = item; in list_addtail() 71 to->prev = from->prev; in list_replace() 73 from->next->prev = to; in list_replace() 74 from->prev->next = to; in list_replace() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/ |
| H A D | mali_osk_list.h | 26 MALI_STATIC_INLINE void __mali_osk_list_add(_mali_osk_list_t *new_entry, _mali_osk_list_t *prev, _m… in __mali_osk_list_add() argument 28 next->prev = new_entry; in __mali_osk_list_add() 30 new_entry->prev = prev; in __mali_osk_list_add() 31 prev->next = new_entry; in __mali_osk_list_add() 34 MALI_STATIC_INLINE void __mali_osk_list_del(_mali_osk_list_t *prev, _mali_osk_list_t *next) in __mali_osk_list_del() argument 36 next->prev = prev; in __mali_osk_list_del() 37 prev->next = next; in __mali_osk_list_del() 74 list->prev = list; in _mali_osk_list_init() 109 __mali_osk_list_add(new_entry, list->prev, list); in _mali_osk_list_addtail() 122 __mali_osk_list_del(list->prev, list->next); in _mali_osk_list_del() [all …]
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | list.h | 23 struct list_head *next, *prev; member 34 list->prev = list; in INIT_LIST_HEAD() 44 struct list_head *prev, in __list_add() argument 47 next->prev = new; in __list_add() 49 new->prev = prev; in __list_add() 50 prev->next = new; in __list_add() 76 __list_add(new, head->prev, head); in list_add_tail() 86 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 88 next->prev = prev; in __list_del() 89 prev->next = next; in __list_del() [all …]
|
| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | list.h | 28 list->prev = list; in INIT_LIST_HEAD() 39 struct list_head *prev, in __list_add() argument 42 next->prev = new; in __list_add() 44 new->prev = prev; in __list_add() 45 prev->next = new; in __list_add() 49 struct list_head *prev, 77 __list_add(new, head->prev, head); in list_add_tail() 87 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 89 next->prev = prev; in __list_del() 90 WRITE_ONCE(prev->next, next); in __list_del() [all …]
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | cmpxchg-local.h | 18 unsigned long flags, prev; in __cmpxchg_local_generic() local 28 case 1: prev = *(u8 *)ptr; in __cmpxchg_local_generic() 29 if (prev == old) in __cmpxchg_local_generic() 32 case 2: prev = *(u16 *)ptr; in __cmpxchg_local_generic() 33 if (prev == old) in __cmpxchg_local_generic() 36 case 4: prev = *(u32 *)ptr; in __cmpxchg_local_generic() 37 if (prev == old) in __cmpxchg_local_generic() 40 case 8: prev = *(u64 *)ptr; in __cmpxchg_local_generic() 41 if (prev == old) in __cmpxchg_local_generic() 48 return prev; in __cmpxchg_local_generic() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | switch_to.h | 32 extern asmlinkage struct task_struct *resume(struct task_struct *prev, 52 #define __mips_mt_fpaff_switch_to(prev) \ argument 54 struct thread_info *__prev_ti = task_thread_info(prev); \ 58 (!(KSTK_STATUS(prev) & ST0_CU1))) { \ 60 prev->cpus_mask = prev->thread.user_cpus_allowed; \ 66 #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) argument 109 #define switch_to(prev, next, last) \ argument 111 __mips_mt_fpaff_switch_to(prev); \ 112 lose_fpu_inatomic(1, prev); \ 116 __save_dsp(prev); \ [all …]
|
| /OK3568_Linux_fs/kernel/kernel/locking/ |
| H A D | osq_lock.c | 44 struct optimistic_spin_node *prev) in osq_wait_next() argument 55 old = prev ? prev->cpu : OSQ_UNLOCKED_VAL; in osq_wait_next() 93 struct optimistic_spin_node *prev, *next; in osq_lock() local 111 prev = decode_cpu(old); in osq_lock() 112 node->prev = prev; in osq_lock() 126 WRITE_ONCE(prev->next, node); in osq_lock() 144 vcpu_is_preempted(node_cpu(node->prev)))) in osq_lock() 161 if (data_race(prev->next) == node && in osq_lock() 162 cmpxchg(&prev->next, node, NULL) == node) in osq_lock() 179 prev = READ_ONCE(node->prev); in osq_lock() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/include/ |
| H A D | rk_list.h | 10 struct list_head *next, *prev; member 87 list->prev = list; in INIT_LIST_HEAD() 98 struct list_head *prev, in __list_add() argument 100 next->prev = new; in __list_add() 102 new->prev = prev; in __list_add() 103 prev->next = new; in __list_add() 107 struct list_head *prev, 135 __list_add(new, head->prev, head); in list_add_tail() 145 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 147 next->prev = prev; in __list_del() [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | list.h | 30 struct list_head *next, *prev; member 80 list->prev = list; in INIT_LIST_HEAD() 91 struct list_head *prev, in __list_add() argument 94 next->prev = new; in __list_add() 96 new->prev = prev; in __list_add() 97 prev->next = new; in __list_add() 101 struct list_head *prev, 129 __list_add(new, head->prev, head); in list_add_tail() 139 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 141 next->prev = prev; in __list_del() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | list.h | 111 struct list_head *next, *prev; member 130 list->next = list->prev = list; in INIT_LIST_HEAD() 135 struct list_head *prev, struct list_head *next) in __list_add() argument 137 next->prev = entry; in __list_add() 139 entry->prev = prev; in __list_add() 140 prev->next = entry; in __list_add() 182 __list_add(entry, head->prev, head); in list_add_tail() 186 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 188 next->prev = prev; in __list_del() 189 prev->next = next; in __list_del() [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | extent_map.c | 150 struct rb_node *prev = NULL; in __tree_search() local 157 prev = n; in __tree_search() 169 orig_prev = prev; in __tree_search() 170 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search() 171 prev = rb_next(prev); in __tree_search() 172 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search() 174 *prev_ret = prev; in __tree_search() 175 prev = orig_prev; in __tree_search() 179 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search() 180 while (prev && offset < prev_entry->start) { in __tree_search() [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/ |
| H A D | cpupower-completion.sh | 10 local prev="${COMP_WORDS[COMP_CWORD-1]}" 12 case "$prev" in 20 local prev="${COMP_WORDS[COMP_CWORD-1]}" 22 case "$prev" in 38 local prev="${COMP_WORDS[COMP_CWORD-1]}" 40 case "$prev" in 48 local prev="${COMP_WORDS[COMP_CWORD-1]}" 50 case "$prev" in 58 local prev="${COMP_WORDS[COMP_CWORD-1]}" 60 case "$prev" in [all …]
|
| /OK3568_Linux_fs/kernel/tools/usb/usbip/libsrc/ |
| H A D | list.h | 20 struct list_head *next, *prev; member 31 list->prev = list; in INIT_LIST_HEAD() 41 struct list_head *prev, in __list_add() argument 44 next->prev = new; in __list_add() 46 new->prev = prev; in __list_add() 47 prev->next = new; in __list_add() 70 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 72 next->prev = prev; in __list_del() 73 prev->next = next; in __list_del() 88 __list_del(entry->prev, entry->next); in __list_del_entry() [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/include/asm/ |
| H A D | switch_to.h | 37 #define __switch_to(prev,next,last) do { \ argument 38 if (IA64_HAS_EXTRA_STATE(prev)) \ 39 ia64_save_extra(prev); \ 53 # define switch_to(prev,next,last) do { \ argument 54 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \ 55 ia64_psr(task_pt_regs(prev))->mfh = 0; \ 56 (prev)->thread.flags |= IA64_THREAD_FPH_VALID; \ 57 __ia64_save_fpu((prev)->thread.fph); \ 59 __switch_to(prev, next, last); \ 68 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/input/ |
| H A D | ChkNotMaskEv.c | 73 register _XQEvent *prev, *qelt; in XCheckNotMaskEvent() local 78 prev = NULL; in XCheckNotMaskEvent() 80 for (qelt = prev ? prev->next : dpy->head; in XCheckNotMaskEvent() 81 qelt; prev = qelt, qelt = qelt->next) { in XCheckNotMaskEvent() 85 _XDeq(dpy, prev, qelt); in XCheckNotMaskEvent() 90 if (prev) in XCheckNotMaskEvent() 91 qe_serial = prev->qserial_num; in XCheckNotMaskEvent() 100 if (prev && prev->qserial_num != qe_serial) in XCheckNotMaskEvent() 102 prev = NULL; in XCheckNotMaskEvent()
|
| /OK3568_Linux_fs/kernel/fs/jffs2/ |
| H A D | nodelist.c | 28 struct jffs2_full_dirent **prev = list; in jffs2_add_fd_to_list() local 32 while ((*prev) && (*prev)->nhash <= new->nhash) { in jffs2_add_fd_to_list() 33 if ((*prev)->nhash == new->nhash && !strcmp((*prev)->name, new->name)) { in jffs2_add_fd_to_list() 35 if (new->version < (*prev)->version) { in jffs2_add_fd_to_list() 37 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 42 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 43 new->next = (*prev)->next; in jffs2_add_fd_to_list() 46 if ((*prev)->raw) in jffs2_add_fd_to_list() 47 jffs2_mark_node_obsolete(c, ((*prev)->raw)); in jffs2_add_fd_to_list() 48 jffs2_free_full_dirent(*prev); in jffs2_add_fd_to_list() [all …]
|