Home
last modified time | relevance | path

Searched refs:curval (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/char/
Dpc8736x_gpio.c172 int port, bit, curval; in pc8736x_gpio_set() local
177 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
181 curval, bit, (curval & ~(1 << bit)), val, (val << bit)); in pc8736x_gpio_set()
183 val = (curval & ~(1 << bit)) | (val << bit); in pc8736x_gpio_set()
186 " %2x -> %2x\n", minor, port, bit, curval, val); in pc8736x_gpio_set()
190 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
193 dev_dbg(&pdev->dev, "wrote %x, read: %x\n", curval, val); in pc8736x_gpio_set()
/linux-6.6.21/kernel/futex/
Dpi.c477 u32 curval; in lock_pi_update_atomic() local
482 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic()
487 return curval != uval ? -EAGAIN : 0; in lock_pi_update_atomic()
619 u32 curval, newval; in wake_futex_pi() local
650 ret = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in wake_futex_pi()
651 if (!ret && (curval != uval)) { in wake_futex_pi()
658 if ((FUTEX_TID_MASK & curval) == uval) in wake_futex_pi()
688 u32 uval, curval, newval, newtid; in __fixup_pi_state_owner() local
772 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in __fixup_pi_state_owner()
776 if (curval == uval) in __fixup_pi_state_owner()
[all …]
Drequeue.c273 u32 curval; in futex_proxy_trylock_atomic() local
276 if (futex_get_value_locked(&curval, pifutex)) in futex_proxy_trylock_atomic()
450 u32 curval; in futex_requeue() local
452 ret = futex_get_value_locked(&curval, uaddr1); in futex_requeue()
458 ret = get_user(curval, uaddr1); in futex_requeue()
467 if (curval != *cmpval) { in futex_requeue()
Dfutex.h150 extern int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval);
Dcore.c450 int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval) in futex_cmpxchg_value_locked() argument
455 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in futex_cmpxchg_value_locked()
/linux-6.6.21/drivers/net/wireless/ath/ath5k/
Drfkill.c58 u32 curval; in ath5k_rfkill_set_intr() local
61 curval = ath5k_hw_get_gpio(ah, ah->rf_kill.gpio); in ath5k_rfkill_set_intr()
63 !!curval : !curval); in ath5k_rfkill_set_intr()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dof_helpers.c45 int of_read_drc_info_cell(struct property **prop, const __be32 **curval, in of_read_drc_info_cell() argument
48 const char *p = (char *)(*curval); in of_read_drc_info_cell()
91 (*curval) = (void *)(++p2); in of_read_drc_info_cell()
/linux-6.6.21/arch/x86/kernel/
Dtsc_sync.c53 s64 curval; in tsc_verify_tsc_adjust() local
68 rdmsrl(MSR_IA32_TSC_ADJUST, curval); in tsc_verify_tsc_adjust()
69 if (adj->adjusted == curval) in tsc_verify_tsc_adjust()
77 smp_processor_id(), adj->adjusted, curval); in tsc_verify_tsc_adjust()
/linux-6.6.21/sound/usb/
Dmixer_s1810c.c419 u32 curval = 0; in snd_s1810c_switch_set() local
424 ret = snd_s1810c_get_switch_state(mixer, kctl, &curval); in snd_s1810c_switch_set()
437 if (curval == newval) in snd_s1810c_switch_set()
/linux-6.6.21/arch/powerpc/include/asm/
Dprom.h86 const __be32 **curval, struct of_drc_info *data);
/linux-6.6.21/drivers/staging/media/imx/
Dimx-media-fim.c91 static void reset_fim(struct imx_media_fim *fim, bool curval) in reset_fim() argument
101 if (curval) { in reset_fim()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dpsb_intel_lvds.c535 uint64_t curval; in psb_intel_lvds_set_property() local
553 &curval)) in psb_intel_lvds_set_property()
556 if (curval == value) in psb_intel_lvds_set_property()
/linux-6.6.21/drivers/net/ethernet/apple/
Dbmac.c812 crc416(unsigned int curval, unsigned short nxtval) in crc416() argument
814 unsigned int counter, cur = curval, next = nxtval; in crc416()
/linux-6.6.21/scripts/
Dcheckpatch.pl3665 my $curval = $2;
3680 ($prevval cmp $curval) > 0) {