Home
last modified time | relevance | path

Searched refs:lock_val (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/arch/parisc/include/asm/
Dspinlock.h10 static inline void arch_spin_val_check(int lock_val) in arch_spin_val_check() argument
15 : : "r" (lock_val), "r" (__ARCH_SPIN_LOCK_UNLOCKED_VAL), in arch_spin_val_check()
22 int lock_val; in arch_spin_is_locked() local
25 lock_val = READ_ONCE(*a); in arch_spin_is_locked()
26 arch_spin_val_check(lock_val); in arch_spin_is_locked()
27 return (lock_val == 0); in arch_spin_is_locked()
62 int lock_val; in arch_spin_trylock() local
65 lock_val = __ldcw(a); in arch_spin_trylock()
66 arch_spin_val_check(lock_val); in arch_spin_trylock()
67 return lock_val != 0; in arch_spin_trylock()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/
Ddce_hwseq.c51 uint32_t lock_val = lock ? 1 : 0; in dce_pipe_control_lock() local
66 dcp_grph = lock_val; in dce_pipe_control_lock()
67 scl = lock_val; in dce_pipe_control_lock()
68 blnd = lock_val; in dce_pipe_control_lock()
69 update_lock_mode = lock_val; in dce_pipe_control_lock()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dpci_vsc.c68 u32 lock_val; in mlx5_vsc_gw_lock() local
79 ret = vsc_read(dev, VSC_SEMAPHORE_OFFSET, &lock_val); in mlx5_vsc_gw_lock()
83 if (lock_val) { in mlx5_vsc_gw_lock()
100 ret = vsc_read(dev, VSC_SEMAPHORE_OFFSET, &lock_val); in mlx5_vsc_gw_lock()
105 } while (counter != lock_val); in mlx5_vsc_gw_lock()
/Linux-v6.6/drivers/accessibility/speakup/
Dgenmap.c52 int value, shift_state, i, spk_val = 0, lock_val = 0; in main() local
128 lock_val = this->value; in main()
136 if (kp[i] != spk_val && kp[i] != lock_val) in main()
/Linux-v6.6/drivers/pinctrl/ti/
Dpinctrl-ti-iodelay.c60 u32 lock_val; member
783 .lock_val = 1,