Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 25 of 31) sorted by relevance

12

/OK3568_Linux_fs/kernel/arch/microblaze/kernel/
H A Dmodule.c28 unsigned long int old_value; in apply_relocate_add() local
53 old_value = *location; in apply_relocate_add()
54 *location = value + old_value; in apply_relocate_add()
57 old_value, value); in apply_relocate_add()
66 old_value = ((location[0] & 0x0000FFFF) << 16) | in apply_relocate_add()
68 value += old_value; in apply_relocate_add()
76 old_value, value); in apply_relocate_add()
82 old_value = (location[0] & 0xFFFF) << 16 | in apply_relocate_add()
84 value -= old_value; in apply_relocate_add()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dhashmap.c156 const void **old_key, void **old_value) in hashmap__insert() argument
164 if (old_value) in hashmap__insert()
165 *old_value = NULL; in hashmap__insert()
172 if (old_value) in hashmap__insert()
173 *old_value = entry->value; in hashmap__insert()
221 const void **old_key, void **old_value) in hashmap__delete() argument
232 if (old_value) in hashmap__delete()
233 *old_value = entry->value; in hashmap__delete()
H A Dhashmap.h114 const void **old_key, void **old_value);
124 const void **old_key, void **old_value) in hashmap__set() argument
127 old_key, old_value); in hashmap__set()
132 const void **old_key, void **old_value) in hashmap__update() argument
135 old_key, old_value); in hashmap__update()
145 const void **old_key, void **old_value);
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dhashmap.c156 const void **old_key, void **old_value) in hashmap__insert() argument
164 if (old_value) in hashmap__insert()
165 *old_value = NULL; in hashmap__insert()
172 if (old_value) in hashmap__insert()
173 *old_value = entry->value; in hashmap__insert()
221 const void **old_key, void **old_value) in hashmap__delete() argument
232 if (old_value) in hashmap__delete()
233 *old_value = entry->value; in hashmap__delete()
H A Dhashmap.h114 const void **old_key, void **old_value);
124 const void **old_key, void **old_value) in hashmap__set() argument
127 old_key, old_value); in hashmap__set()
132 const void **old_key, void **old_value) in hashmap__update() argument
135 old_key, old_value); in hashmap__update()
145 const void **old_key, void **old_value);
/OK3568_Linux_fs/kernel/drivers/xen/xen-pciback/
H A Dconf_space_capability.c118 u16 old_value; in pm_ctrl_write() local
121 err = pci_read_config_word(dev, offset, &old_value); in pm_ctrl_write()
128 if ((old_value & PM_OK_BITS) != new_value) { in pm_ctrl_write()
129 new_value = (old_value & ~PM_OK_BITS) | new_value; in pm_ctrl_write()
220 u16 old_value; in msi_msix_flags_write() local
227 err = pci_read_config_word(dev, offset, &old_value); in msi_msix_flags_write()
231 if (new_value == old_value) in msi_msix_flags_write()
235 (new_value ^ old_value) & ~field_config->allowed_bits) in msi_msix_flags_write()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0013-adb-Support-riscv64.patch115 +int android_atomic_cas(int32_t old_value, int32_t new_value,
118 + return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value;
122 +int android_atomic_acquire_cas(int32_t old_value, int32_t new_value,
125 + int status = android_atomic_cas(old_value, new_value, ptr);
131 +int android_atomic_release_cas(int32_t old_value, int32_t new_value,
135 + return android_atomic_cas(old_value, new_value, ptr);
/OK3568_Linux_fs/kernel/sound/drivers/opl4/
H A Dopl4_mixer.c39 u8 value, old_value; in snd_opl4_ctl_put() local
44 old_value = snd_opl4_read(opl4, reg); in snd_opl4_ctl_put()
47 return value != old_value; in snd_opl4_ctl_put()
/OK3568_Linux_fs/kernel/fs/xfs/scrub/
H A Dfscounters.c259 const int64_t old_value, in xchk_fscount_within_range() argument
267 old_value); in xchk_fscount_within_range()
277 min_value = min(old_value, curr_value); in xchk_fscount_within_range()
278 max_value = max(old_value, curr_value); in xchk_fscount_within_range()
H A Dtrace.h633 int64_t old_value),
634 TP_ARGS(mp, expected, curr_value, old_value),
639 __field(int64_t, old_value)
645 __entry->old_value = old_value;
651 __entry->old_value)
/OK3568_Linux_fs/u-boot/drivers/ddr/marvell/a38x/
H A Dxor.c145 u32 old_value; in mv_xor_ctrl_set() local
148 old_value = reg_read(XOR_CONFIG_REG(XOR_UNIT(chan), XOR_CHAN(chan))) & in mv_xor_ctrl_set()
151 xor_ctrl |= old_value; in mv_xor_ctrl_set()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-of-esdhc.c235 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() argument
253 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() argument
266 return old_value; in esdhc_writew_fixup()
272 ret = old_value & (~(0xffff << shift)); in esdhc_writew_fixup()
287 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() argument
299 return old_value; in esdhc_writeb_fixup()
310 return old_value; in esdhc_writeb_fixup()
314 ret = (old_value & (~(SDHCI_CTRL_DMA_MASK << 5))) | dma_bits; in esdhc_writeb_fixup()
316 (old_value & SDHCI_CTRL_DMA_MASK); in esdhc_writeb_fixup()
324 ret = (old_value & (~(0xff << shift))) | (value << shift); in esdhc_writeb_fixup()
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/m5602/
H A Dm5602_ov7660.c453 u8 old_value, ctrl_value; in ov7660_dump_registers() local
456 m5602_read_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
466 m5602_write_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
H A Dm5602_po1030.c608 u8 old_value, ctrl_value; in po1030_dump_registers() local
611 m5602_read_sensor(sd, address, &old_value, 1); in po1030_dump_registers()
621 m5602_write_sensor(sd, address, &old_value, 1); in po1030_dump_registers()
H A Dm5602_s5k4aa.c740 u8 old_value, ctrl_value, test_value = 0xff; in s5k4aa_dump_registers() local
742 m5602_read_sensor(sd, address, &old_value, 1); in s5k4aa_dump_registers()
754 m5602_write_sensor(sd, address, &old_value, 1); in s5k4aa_dump_registers()
H A Dm5602_ov9650.c769 u8 old_value, ctrl_value; in ov9650_dump_registers() local
772 m5602_read_sensor(sd, address, &old_value, 1); in ov9650_dump_registers()
782 m5602_write_sensor(sd, address, &old_value, 1); in ov9650_dump_registers()
/OK3568_Linux_fs/kernel/drivers/md/persistent-data/
H A Ddm-array.c805 void *old_value; in array_set_value() local
822 old_value = element_at(info, ab, entry); in array_set_value()
824 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value()
825 vt->dec(vt->context, old_value); in array_set_value()
830 memcpy(old_value, value, info->value_type.size); in array_set_value()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4/include/mapbox/
H A Dvariant.hpp220 …VARIANT_INLINE static void move(const std::size_t old_type_index, void* old_value, void* new_value) in move()
224 new (new_value) T(std::move(*reinterpret_cast<T*>(old_value))); in move()
228 variant_helper<Types...>::move(old_type_index, old_value, new_value); in move()
232 …VARIANT_INLINE static void copy(const std::size_t old_type_index, const void* old_value, void* new… in copy()
236 new (new_value) T(*reinterpret_cast<const T*>(old_value)); in copy()
240 variant_helper<Types...>::copy(old_type_index, old_value, new_value); in copy()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c4040 bool old_value, new_value; in i40e_print_input_set() local
4043 old_value = !!(old & I40E_L3_SRC_MASK); in i40e_print_input_set()
4045 if (old_value != new_value) in i40e_print_input_set()
4047 old_value ? "ON" : "OFF", in i40e_print_input_set()
4050 old_value = !!(old & I40E_L3_DST_MASK); in i40e_print_input_set()
4052 if (old_value != new_value) in i40e_print_input_set()
4054 old_value ? "ON" : "OFF", in i40e_print_input_set()
4057 old_value = !!(old & I40E_L4_SRC_MASK); in i40e_print_input_set()
4059 if (old_value != new_value) in i40e_print_input_set()
4061 old_value ? "ON" : "OFF", in i40e_print_input_set()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wan/
H A Dwanxl.c498 u32 old_value = readl(card->plx + PLX_CONTROL) & ~PLX_CTL_RESET; in wanxl_reset() local
501 writel(old_value | PLX_CTL_RESET, card->plx + PLX_CONTROL); in wanxl_reset()
504 writel(old_value, card->plx + PLX_CONTROL); in wanxl_reset()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_inode.c2110 xfs_agino_t old_value; in xfs_iunlink_update_bucket() local
2115 old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_update_bucket()
2117 old_value, new_agino); in xfs_iunlink_update_bucket()
2124 if (old_value == new_agino) { in xfs_iunlink_update_bucket()
2177 xfs_agino_t old_value; in xfs_iunlink_update_inode() local
2187 old_value = be32_to_cpu(dip->di_next_unlinked); in xfs_iunlink_update_inode()
2188 if (!xfs_verify_agino_or_null(mp, agno, old_value)) { in xfs_iunlink_update_inode()
2200 *old_next_agino = old_value; in xfs_iunlink_update_inode()
2201 if (old_value == next_agino) { in xfs_iunlink_update_inode()
/OK3568_Linux_fs/kernel/sound/usb/
H A Dmixer_quirks.c335 int old_value = kcontrol->private_value >> 8; in snd_audigy2nx_led_put() local
340 if (value == old_value) in snd_audigy2nx_led_put()
2328 int old_value, pv, val; in snd_bbfpro_ctl_put() local
2336 old_value = (pv >> SND_BBFPRO_CTL_VAL_SHIFT) & SND_BBFPRO_CTL_VAL_MASK; in snd_bbfpro_ctl_put()
2351 if (val == old_value) in snd_bbfpro_ctl_put()
2428 u32 new_val, old_value, uvalue; in snd_bbfpro_vol_put() local
2434 old_value = kcontrol->private_value >> SND_BBFPRO_MIXER_VAL_SHIFT; in snd_bbfpro_vol_put()
2439 if (uvalue == old_value) in snd_bbfpro_vol_put()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dusb-uclass.c30 int old_value = asynch_allowed; in usb_disable_asynch() local
33 return old_value; in usb_disable_asynch()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Ddevinet.c2372 int old_value = *(int *)ctl->data; in devinet_conf_proc() local
2388 if ((new_value == 0) && (old_value != 0)) in devinet_conf_proc()
2392 new_value != old_value) in devinet_conf_proc()
2396 new_value != old_value) { in devinet_conf_proc()
2403 new_value != old_value) { in devinet_conf_proc()
2410 new_value != old_value) { in devinet_conf_proc()
/OK3568_Linux_fs/kernel/drivers/ps3/
H A Dps3-lpm.c366 u64 old_value; in ps3_write_pm07_control() local
375 &old_value); in ps3_write_pm07_control()

12