Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 95) sorted by relevance

1234

/rk3399_rockchip-uboot/arch/nios2/include/asm/bitops/
H A Datomic.h131 unsigned long old; in test_and_set_bit() local
135 old = *p; in test_and_set_bit()
136 *p = old | mask; in test_and_set_bit()
139 return (old & mask) != 0; in test_and_set_bit()
155 unsigned long old; in test_and_clear_bit() local
159 old = *p; in test_and_clear_bit()
160 *p = old & ~mask; in test_and_clear_bit()
163 return (old & mask) != 0; in test_and_clear_bit()
178 unsigned long old; in test_and_change_bit() local
182 old = *p; in test_and_change_bit()
[all …]
H A Dnon-atomic.h61 unsigned long old = *p; in __test_and_set_bit() local
63 *p = old | mask; in __test_and_set_bit()
64 return (old & mask) != 0; in __test_and_set_bit()
80 unsigned long old = *p; in __test_and_clear_bit() local
82 *p = old & ~mask; in __test_and_clear_bit()
83 return (old & mask) != 0; in __test_and_clear_bit()
92 unsigned long old = *p; in __test_and_change_bit() local
94 *p = old ^ mask; in __test_and_change_bit()
95 return (old & mask) != 0; in __test_and_change_bit()
/rk3399_rockchip-uboot/tools/libfdt/
H A Dfdt_rw.c5 int fdt_remove_unused_strings(const void *old, void *new) in fdt_remove_unused_strings() argument
9 int size = fdt_totalsize(old); in fdt_remove_unused_strings()
16 memcpy(new, old, size); in fdt_remove_unused_strings()
21 tag = fdt_next_tag(old, offset, &next_offset); in fdt_remove_unused_strings()
24 old_prop = fdt_get_property_by_offset(old, offset, NULL); in fdt_remove_unused_strings()
27 str = fdt_string(old, fdt32_to_cpu(old_prop->nameoff)); in fdt_remove_unused_strings()
/rk3399_rockchip-uboot/arch/sandbox/include/asm/
H A Dbitops.h55 unsigned long old = *p; in __test_and_set_bit() local
57 *p = old | mask; in __test_and_set_bit()
58 return (old & mask) != 0; in __test_and_set_bit()
77 unsigned long old = *p; in __test_and_clear_bit() local
79 *p = old & ~mask; in __test_and_clear_bit()
80 return (old & mask) != 0; in __test_and_clear_bit()
101 unsigned long old = *p; in __test_and_change_bit() local
103 *p = old ^ mask; in __test_and_change_bit()
104 return (old & mask) != 0; in __test_and_change_bit()
/rk3399_rockchip-uboot/arch/powerpc/include/asm/
H A Dbitops.h33 unsigned long old; in set_bit() local
43 : "=&r" (old), "=m" (*p) in set_bit()
50 unsigned long old; in clear_bit() local
60 : "=&r" (old), "=m" (*p) in clear_bit()
67 unsigned long old; in change_bit() local
77 : "=&r" (old), "=m" (*p) in change_bit()
84 unsigned int old, t; in test_and_set_bit() local
94 : "=&r" (old), "=&r" (t), "=m" (*p) in test_and_set_bit()
98 return (old & mask) != 0; in test_and_set_bit()
103 unsigned int old, t; in test_and_clear_bit() local
[all …]
/rk3399_rockchip-uboot/arch/arm/include/asm/
H A Dbitops.h46 unsigned long old = *p; in __test_and_set_bit() local
48 *p = old | mask; in __test_and_set_bit()
49 return (old & mask) != 0; in __test_and_set_bit()
68 unsigned long old = *p; in __test_and_clear_bit() local
70 *p = old & ~mask; in __test_and_clear_bit()
71 return (old & mask) != 0; in __test_and_clear_bit()
92 unsigned long old = *p; in __test_and_change_bit() local
94 *p = old ^ mask; in __test_and_change_bit()
95 return (old & mask) != 0; in __test_and_change_bit()
/rk3399_rockchip-uboot/include/linux/
H A Drbtree_augmented.h28 void (*copy)(struct rb_node *old, struct rb_node *new);
29 void (*rotate)(struct rb_node *old, struct rb_node *new);
33 void (*augment_rotate)(struct rb_node *old, struct rb_node *new));
58 rbstruct *old = rb_entry(rb_old, rbstruct, rbfield); \
60 new->rbaugmented = old->rbaugmented; \
65 rbstruct *old = rb_entry(rb_old, rbstruct, rbfield); \
67 new->rbaugmented = old->rbaugmented; \
68 old->rbaugmented = rbcompute(old); \
99 __rb_change_child(struct rb_node *old, struct rb_node *new, in __rb_change_child() argument
103 if (parent->rb_left == old) in __rb_change_child()
[all …]
H A Dlist.h112 static inline void list_replace(struct list_head *old, in list_replace() argument
115 new->next = old->next; in list_replace()
117 new->prev = old->prev; in list_replace()
121 static inline void list_replace_init(struct list_head *old, in list_replace_init() argument
124 list_replace(old, new); in list_replace_init()
125 INIT_LIST_HEAD(old); in list_replace_init()
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c129 uint32_t old, new, incr; in __udelay() local
132 old = readl(MXS_HW_DIGCTL_MICROSECONDS); in __udelay()
138 if (new < old) { in __udelay()
139 incr = 0xffffffff - old; in __udelay()
142 incr = new - old; in __udelay()
154 old = new; in __udelay()
/rk3399_rockchip-uboot/scripts/
H A Ddiffconfig105 old = []
108 old.append(config)
109 old.sort()
110 for config in old:
/rk3399_rockchip-uboot/arch/arm/mach-rmobile/
H A Dtimer.c23 u32 old = readl(&global_timer->cnt_h); in get_cpu_global_timer() local
27 if (old == high) in get_cpu_global_timer()
30 old = high; in get_cpu_global_timer()
/rk3399_rockchip-uboot/lib/
H A Drbtree.c54 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument
57 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents()
58 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents()
59 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents()
60 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
65 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument
194 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument
356 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument
370 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument
371 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument
[all …]
/rk3399_rockchip-uboot/drivers/timer/
H A Dsti-timer.c27 u32 old = readl(&global_timer->cnt_h); in sti_timer_get_count() local
32 if (old == high) in sti_timer_get_count()
35 old = high; in sti_timer_get_count()
/rk3399_rockchip-uboot/arch/sh/include/asm/
H A Dsystem.h220 static inline unsigned long __cmpxchg_u32(volatile int * m, unsigned long old, in __cmpxchg_u32() argument
228 if (retval == old) in __cmpxchg_u32()
240 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg() argument
245 return __cmpxchg_u32(ptr, old, new); in __cmpxchg()
248 return old; in __cmpxchg()
/rk3399_rockchip-uboot/common/
H A Dusb_kbd.c118 uint8_t old[USB_KBD_BOOT_REPORT_SIZE]; member
293 uint8_t *old; in usb_kbd_service_key() local
296 new = data->old; in usb_kbd_service_key()
297 old = data->new; in usb_kbd_service_key()
300 old = data->old; in usb_kbd_service_key()
303 if ((old[i] > 3) && in usb_kbd_service_key()
304 (memscan(new + 2, old[i], USB_KBD_BOOT_REPORT_SIZE - 2) == in usb_kbd_service_key()
306 res |= usb_kbd_translate(data, old[i], data->new[0], up); in usb_kbd_service_key()
331 if ((data->new[2] > 3) && (data->old[2] == data->new[2])) in usb_kbd_irq_worker()
337 memcpy(data->old, data->new, USB_KBD_BOOT_REPORT_SIZE); in usb_kbd_irq_worker()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dsetexpr.c84 const char *old,/* old (replaced) string */ in substitute() argument
89 char *p = memstr(string, *slen, old, olen); in substitute()
178 const char *old; in regex_sub() local
211 old = caps[0].ptr; in regex_sub()
272 old, olen, in regex_sub()
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dfit_misc.c189 char *old, *new; in board_fit_image_post_process() local
196 old = env_get("bootargs"); in board_fit_image_post_process()
197 if (!old) in board_fit_image_post_process()
200 len = strlen(old) + (*src_len) + 2; in board_fit_image_post_process()
203 strcpy(new, old); in board_fit_image_post_process()
/rk3399_rockchip-uboot/scripts/dtc/libfdt/
H A Dfdt_rw.c407 static void _fdt_packblocks(const char *old, char *new, in _fdt_packblocks() argument
416 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in _fdt_packblocks()
419 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in _fdt_packblocks()
423 memmove(new + strings_off, old + fdt_off_dt_strings(old), in _fdt_packblocks()
424 fdt_size_dt_strings(old)); in _fdt_packblocks()
426 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in _fdt_packblocks()
/rk3399_rockchip-uboot/drivers/net/
H A Dmacb.h292 #define MACB_BFINS(name, value, old) \ argument
293 (((old) & ~(((1 << MACB_##name##_SIZE) - 1) \
305 #define GEM_BFINS(name, value, old) \ argument
306 (((old) & ~(((1 << GEM_##name##_SIZE) - 1) \
/rk3399_rockchip-uboot/include/asm-generic/
H A Datomic-long.h135 #define atomic_long_cmpxchg(l, old, new) \ argument
136 (atomic64_cmpxchg((atomic64_t *)(l), (old), (new)))
254 #define atomic_long_cmpxchg(l, old, new) \ argument
255 (atomic_cmpxchg((atomic_t *)(l), (old), (new)))
/rk3399_rockchip-uboot/tools/
H A Dfdt_host.h29 int fdt_remove_unused_strings(const void *old, void *new);
/rk3399_rockchip-uboot/doc/driver-model/
H A Dserial-howto.txt23 - Implement each of the driver methods, perhaps by calling your old methods
24 - You may need to adjust the function parameters so that the old and new
33 - (if no boards remain that don't use driver model) remove the old code
H A Di2c-howto.txt35 - Implement each of the driver methods, perhaps by calling your old methods
36 - You may need to adjust the function parameters so that the old and new
45 - (if no boards remain that don't use driver model) remove the old code
/rk3399_rockchip-uboot/drivers/sound/
H A Dmax98095.c96 unsigned char old, new; in max98095_update_bits() local
98 if (max98095_i2c_read(reg, &old) != 0) in max98095_update_bits()
100 new = (old & ~mask) | (value & mask); in max98095_update_bits()
101 change = (old != new) ? 1 : 0; in max98095_update_bits()
/rk3399_rockchip-uboot/include/
H A Datmel_mci.h213 #define MMCI_BFINS(name,value,old) \ argument
214 (((old) & ~(((1 << MMCI_##name##_SIZE) - 1) \

1234