Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtsc_sync.c52 s64 curval; in tsc_verify_tsc_adjust() local
67 rdmsrl(MSR_IA32_TSC_ADJUST, curval); in tsc_verify_tsc_adjust()
68 if (adj->adjusted == curval) in tsc_verify_tsc_adjust()
76 smp_processor_id(), adj->adjusted, curval); in tsc_verify_tsc_adjust()
/kernel/linux/linux-5.10/kernel/futex/
Dcore.c707 static int cmpxchg_futex_value_locked(u32 *curval, u32 __user *uaddr, in cmpxchg_futex_value_locked() argument
713 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in cmpxchg_futex_value_locked()
1327 u32 curval; in lock_pi_update_atomic() local
1332 err = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic()
1337 return curval != uval ? -EAGAIN : 0; in lock_pi_update_atomic()
1497 u32 curval, newval; in wake_futex_pi() local
1529 ret = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); in wake_futex_pi()
1530 if (!ret && (curval != uval)) { in wake_futex_pi()
1537 if ((FUTEX_TID_MASK & curval) == uval) in wake_futex_pi()
1860 u32 curval; in futex_proxy_trylock_atomic() local
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprom.h91 const __be32 **curval, struct of_drc_info *data);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/scripts/
Dcheckpatch.pl3189 my $curval = $2;
3204 ($prevval cmp $curval) > 0) {