/u-boot/arch/nios2/include/asm/bitops/ |
A D | non-atomic.h | 65 unsigned long old = *p; in __test_and_set_bit() local 67 *p = old | mask; in __test_and_set_bit() 68 return (old & mask) != 0; in __test_and_set_bit() 84 unsigned long old = *p; in __test_and_clear_bit() local 86 *p = old & ~mask; in __test_and_clear_bit() 87 return (old & mask) != 0; in __test_and_clear_bit() 96 unsigned long old = *p; in __test_and_change_bit() local 98 *p = old ^ mask; in __test_and_change_bit() 99 return (old & mask) != 0; in __test_and_change_bit()
|
A D | atomic.h | 131 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 …]
|
/u-boot/tools/libfdt/ |
A D | fdt_rw.c | 5 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() 17 memcpy(new, old, size); in fdt_remove_unused_strings() 22 tag = fdt_next_tag(old, offset, &next_offset); in fdt_remove_unused_strings() 25 old_prop = fdt_get_property_by_offset(old, offset, NULL); in fdt_remove_unused_strings() 28 str = fdt_string(old, fdt32_to_cpu(old_prop->nameoff)); in fdt_remove_unused_strings()
|
/u-boot/doc/sphinx/ |
A D | parse-headers.pl | 178 my ($type, $old, $new, $reftype); 182 $old = $2; 197 $new = "$reftype:`$old <$new>`"; 200 $ioctls{$old} = $new if (exists($ioctls{$old})); 204 $defines{$old} = $new if (exists($defines{$old})); 208 $enum_symbols{$old} = $new if (exists($enum_symbols{$old})); 212 $typedefs{$old} = $new if (exists($typedefs{$old})); 216 $enums{$old} = $new if (exists($enums{$old})); 220 $structs{$old} = $new if (exists($structs{$old}));
|
/u-boot/arch/sandbox/include/asm/ |
A D | bitops.h | 55 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()
|
/u-boot/arch/powerpc/include/asm/ |
A D | bitops.h | 33 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 98 return (old & mask) != 0; in test_and_set_bit() 103 unsigned int old, t; in test_and_clear_bit() local 117 return (old & mask) != 0; in test_and_clear_bit() [all …]
|
/u-boot/arch/arm/include/asm/ |
A D | bitops.h | 54 unsigned long old = *p; in __test_and_set_bit() local 56 *p = old | mask; in __test_and_set_bit() 57 return (old & mask) != 0; in __test_and_set_bit() 76 unsigned long old = *p; in __test_and_clear_bit() local 78 *p = old & ~mask; in __test_and_clear_bit() 79 return (old & mask) != 0; in __test_and_clear_bit() 100 unsigned long old = *p; in __test_and_change_bit() local 102 *p = old ^ mask; in __test_and_change_bit() 103 return (old & mask) != 0; in __test_and_change_bit()
|
/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
A D | timer.c | 127 uint32_t old, new, incr; in __udelay() local 130 old = readl(MXS_HW_DIGCTL_MICROSECONDS); in __udelay() 136 if (new < old) { in __udelay() 137 incr = 0xffffffff - old; in __udelay() 140 incr = new - old; in __udelay() 152 old = new; in __udelay()
|
/u-boot/include/linux/ |
A D | rbtree_augmented.h | 27 void (*copy)(struct rb_node *old, struct rb_node *new); 28 void (*rotate)(struct rb_node *old, struct rb_node *new); 32 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)); 57 rbstruct *old = rb_entry(rb_old, rbstruct, rbfield); \ 59 new->rbaugmented = old->rbaugmented; \ 64 rbstruct *old = rb_entry(rb_old, rbstruct, rbfield); \ 66 new->rbaugmented = old->rbaugmented; \ 67 old->rbaugmented = rbcompute(old); \ 98 __rb_change_child(struct rb_node *old, struct rb_node *new, in __rb_change_child() argument 102 if (parent->rb_left == old) in __rb_change_child() [all …]
|
/u-boot/drivers/sound/ |
A D | maxim_codec.c | 73 unsigned char old, new; in maxim_bic_or() local 75 if (maxim_i2c_read(priv, reg, &old) != 0) in maxim_bic_or() 77 new = (old & ~mask) | (value & mask); in maxim_bic_or() 78 change = (old != new) ? 1 : 0; in maxim_bic_or()
|
A D | rt5677.c | 98 uint old, new_value; in rt5677_bic_or() local 101 old = rt5677_i2c_read(priv, reg); in rt5677_bic_or() 102 if (old < 0) in rt5677_bic_or() 103 return old; in rt5677_bic_or() 105 new_value = (old & ~bic) | (set & bic); in rt5677_bic_or() 107 if (old != new_value) { in rt5677_bic_or()
|
/u-boot/arch/arm/mach-rmobile/ |
A D | timer.c | 25 u32 old = readl(&global_timer->cnt_h); in get_cpu_global_timer() local 29 if (old == high) in get_cpu_global_timer() 32 old = high; in get_cpu_global_timer()
|
/u-boot/arch/sh/include/asm/ |
A D | system.h | 197 static inline unsigned long __cmpxchg_u32(volatile int * m, unsigned long old, in __cmpxchg_u32() argument 205 if (retval == old) in __cmpxchg_u32() 217 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg() argument 222 return __cmpxchg_u32(ptr, old, new); in __cmpxchg() 225 return old; in __cmpxchg()
|
/u-boot/drivers/timer/ |
A D | sti-timer.c | 26 u32 old = readl(&global_timer->cnt_h); in sti_timer_get_count() local 31 if (old == high) in sti_timer_get_count() 34 old = high; in sti_timer_get_count()
|
/u-boot/lib/ |
A D | rbtree.c | 53 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument 56 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() 57 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents() 58 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents() 59 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 64 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument 193 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument 355 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument 369 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument 370 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument [all …]
|
/u-boot/arch/arm/include/asm/xen/ |
A D | system.h | 16 #define synch_cmpxchg(ptr, old, new) \ argument 17 ({ __typeof__(*ptr) stored = old; \ 18 …__atomic_compare_exchange_n(ptr, &stored, new, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? new : old;…
|
/u-boot/common/ |
A D | usb_kbd.c | 113 uint8_t old[USB_KBD_BOOT_REPORT_SIZE]; member 288 uint8_t *old; in usb_kbd_service_key() local 291 new = data->old; in usb_kbd_service_key() 292 old = data->new; in usb_kbd_service_key() 295 old = data->old; in usb_kbd_service_key() 298 if ((old[i] > 3) && in usb_kbd_service_key() 299 (memscan(new + 2, old[i], USB_KBD_BOOT_REPORT_SIZE - 2) == in usb_kbd_service_key() 301 res |= usb_kbd_translate(data, old[i], data->new[0], up); in usb_kbd_service_key() 326 if ((data->new[2] > 3) && (data->old[2] == data->new[2])) in usb_kbd_irq_worker() 332 memcpy(data->old, data->new, USB_KBD_BOOT_REPORT_SIZE); in usb_kbd_irq_worker() [all …]
|
/u-boot/scripts/dtc/libfdt/ |
A D | fdt_rw.c | 394 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument 403 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in fdt_packblocks_() 406 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_() 410 memmove(new + strings_off, old + fdt_off_dt_strings(old), in fdt_packblocks_() 411 fdt_size_dt_strings(old)); in fdt_packblocks_() 413 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in fdt_packblocks_()
|
/u-boot/tools/ |
A D | fdt_host.h | 28 int fdt_remove_unused_strings(const void *old, void *new);
|
/u-boot/include/asm-generic/ |
A D | atomic-long.h | 135 #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)))
|
/u-boot/drivers/gpio/ |
A D | sifive-gpio.c | 42 u32 old = readl(ptr); in sifive_update_gpio_reg() local 45 writel(old | bit, ptr); in sifive_update_gpio_reg() 47 writel(old & ~bit, ptr); in sifive_update_gpio_reg()
|
/u-boot/cmd/ |
A D | setexpr.c | 143 const char *old, int olen, const char *new, int nlen) in substitute() argument 145 char *p = memstr(string, *slen, old, olen); in substitute() 195 const char *old; in setexpr_regex_sub() local 226 old = caps[0].ptr; in setexpr_regex_sub() 288 old, olen, nbuf, nlen); in setexpr_regex_sub()
|
/u-boot/doc/driver-model/ |
A D | serial-howto.rst | 25 - Implement each of the driver methods, perhaps by calling your old methods 26 - You may need to adjust the function parameters so that the old and new 35 - (if no boards remain that don't use driver model) remove the old code
|
/u-boot/drivers/pci/ |
A D | pci_sh7751.c | 115 u32 addr, reg, old; in sh7751_pci_write_config() local 124 old = p4_in(SH7751_PCIPDR); in sh7751_pci_write_config() 125 reg = pci_conv_size_to_32(old, value, offset, size); in sh7751_pci_write_config()
|
/u-boot/include/ |
A D | virtio_ring.h | 150 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument 159 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
|