Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/arch/x86/kernel/
Dtsc_sync.c51 s64 curval; in tsc_verify_tsc_adjust() local
66 rdmsrl(MSR_IA32_TSC_ADJUST, curval); in tsc_verify_tsc_adjust()
67 if (adj->adjusted == curval) in tsc_verify_tsc_adjust()
75 smp_processor_id(), adj->adjusted, curval); in tsc_verify_tsc_adjust()
/Linux-v5.15/kernel/
Dfutex.c763 static int cmpxchg_futex_value_locked(u32 *curval, u32 __user *uaddr, in cmpxchg_futex_value_locked() argument
769 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in cmpxchg_futex_value_locked()
1367 u32 curval; in lock_pi_update_atomic() local
1372 err = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic()
1377 return curval != uval ? -EAGAIN : 0; in lock_pi_update_atomic()
1559 u32 curval, newval; in wake_futex_pi() local
1590 ret = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); in wake_futex_pi()
1591 if (!ret && (curval != uval)) { in wake_futex_pi()
1598 if ((FUTEX_TID_MASK & curval) == uval) in wake_futex_pi()
2036 u32 curval; in futex_proxy_trylock_atomic() local
[all …]
/Linux-v5.15/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-v5.15/arch/powerpc/include/asm/
Dprom.h91 const __be32 **curval, struct of_drc_info *data);
/Linux-v5.15/drivers/gpu/drm/gma500/
Dpsb_intel_lvds.c547 uint64_t curval; in psb_intel_lvds_set_property() local
565 &curval)) in psb_intel_lvds_set_property()
568 if (curval == value) in psb_intel_lvds_set_property()
/Linux-v5.15/drivers/staging/media/imx/
Dimx-media-fim.c88 static void reset_fim(struct imx_media_fim *fim, bool curval) in reset_fim() argument
98 if (curval) { in reset_fim()
/Linux-v5.15/drivers/net/ethernet/apple/
Dbmac.c816 crc416(unsigned int curval, unsigned short nxtval) in crc416() argument
818 unsigned int counter, cur = curval, next = nxtval; in crc416()
/Linux-v5.15/scripts/
Dcheckpatch.pl3517 my $curval = $2;
3532 ($prevval cmp $curval) > 0) {