Home
last modified time | relevance | path

Searched refs:uval (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v5.15/drivers/net/dsa/xrs700x/
Dxrs700x_mdio.c29 u16 uval; in xrs700x_mdio_reg_read() local
32 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); in xrs700x_mdio_reg_read()
34 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_read()
40 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_READ); in xrs700x_mdio_reg_read()
42 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_read()
64 u16 uval; in xrs700x_mdio_reg_write() local
73 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); in xrs700x_mdio_reg_write()
75 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_write()
81 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_WRITE); in xrs700x_mdio_reg_write()
83 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_write()
/Linux-v5.15/lib/
Dpacking.c89 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, in packing() argument
114 if (op == PACK && value_width < 64 && (*uval >= (1ull << value_width))) in packing()
123 *uval = 0; in packing()
190 *uval &= ~proj_mask; in packing()
191 *uval |= pval; in packing()
196 pval = (*uval) & proj_mask; in packing()
/Linux-v5.15/kernel/
Dfutex.c764 u32 uval, u32 newval) in cmpxchg_futex_value_locked() argument
769 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in cmpxchg_futex_value_locked()
1061 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, in attach_to_pi_state() argument
1065 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state()
1104 if (uval != uval2) in attach_to_pi_state()
1110 if (uval & FUTEX_OWNER_DIED) { in attach_to_pi_state()
1210 static int handle_exit_race(u32 __user *uaddr, u32 uval, in handle_exit_race() argument
1255 if (uval2 != uval) in handle_exit_race()
1300 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, in attach_to_pi_owner() argument
1304 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner()
[all …]
/Linux-v5.15/sound/firewire/bebob/
Dbebob_maudio.c368 struct snd_ctl_elem_value *uval) in special_clk_ctl_get() argument
372 uval->value.enumerated.item[0] = params->clk_src; in special_clk_ctl_get()
376 struct snd_ctl_elem_value *uval) in special_clk_ctl_put() argument
382 id = uval->value.enumerated.item[0]; in special_clk_ctl_put()
420 struct snd_ctl_elem_value *uval) in special_sync_ctl_get() argument
428 uval->value.integer.value[0] = synced; in special_sync_ctl_get()
452 struct snd_ctl_elem_value *uval) in special_dig_in_iface_ctl_get() argument
476 uval->value.enumerated.item[0] = val; in special_dig_in_iface_ctl_get()
482 struct snd_ctl_elem_value *uval) in special_dig_in_iface_ctl_set() argument
489 id = uval->value.enumerated.item[0]; in special_dig_in_iface_ctl_set()
[all …]
/Linux-v5.15/arch/arm/include/asm/
Dfutex.h46 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
75 *uval = val; in futex_atomic_cmpxchg_inatomic()
100 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
124 *uval = val; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/include/asm-generic/
Dfutex.h93 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
109 *uval = val; in futex_atomic_cmpxchg_inatomic()
123 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
/Linux-v5.15/arch/arc/kernel/
Dprocess.c49 u32 uval; in SYSCALL_DEFINE3() local
70 ret = __get_user(uval, uaddr); in SYSCALL_DEFINE3()
74 if (uval != expected) in SYSCALL_DEFINE3()
85 return uval; in SYSCALL_DEFINE3()
/Linux-v5.15/tools/perf/util/
Dstat-display.c409 struct evsel *counter, double uval, in printout() argument
495 abs_printout(config, id, nr, counter, uval); in printout()
507 perf_stat__print_shadow_stats(config, counter, uval, in printout()
675 double uval; in print_counter_aggrdata() local
697 uval = val * counter->scale; in print_counter_aggrdata()
702 printout(config, id, nr, counter, uval, in print_counter_aggrdata()
755 double uval; in sort_aggr_thread() local
771 uval = val * counter->scale; in sort_aggr_thread()
777 if (uval == 0.0 && target__has_per_thread(_target)) in sort_aggr_thread()
783 buf[i].uval = uval; in sort_aggr_thread()
[all …]
/Linux-v5.15/arch/xtensa/include/asm/
Dfutex.h113 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
153 : [addr] "r" (uaddr), [oldval] "r" (oldval), [uval] "r" (uval), in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/sh/include/asm/
Dfutex-llsc.h5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, in atomic_futex_op_cmpxchg_inatomic() argument
35 :"+r" (err), "=&r" (*uval) in atomic_futex_op_cmpxchg_inatomic()
Dfutex-cas.h5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, in atomic_futex_op_cmpxchg_inatomic() argument
31 *uval = newval; in atomic_futex_op_cmpxchg_inatomic()
Dfutex-irq.h5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, in atomic_futex_op_cmpxchg_inatomic() argument
21 *uval = prev; in atomic_futex_op_cmpxchg_inatomic()
Dfutex.h20 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/sound/core/
Dvmaster.c316 struct snd_ctl_elem_value *uval; in sync_followers() local
318 uval = kmalloc(sizeof(*uval), GFP_KERNEL); in sync_followers()
319 if (!uval) in sync_followers()
323 uval->id = follower->follower.id; in sync_followers()
324 follower_get_val(follower, uval); in sync_followers()
326 follower_put_val(follower, uval); in sync_followers()
328 kfree(uval); in sync_followers()
/Linux-v5.15/arch/openrisc/include/asm/
Dfutex.h68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
98 *uval = prev; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/sparc/include/asm/
Dfutex_64.h68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
90 *uval = newval; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/hexagon/include/asm/
Dfutex.h73 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, in futex_atomic_cmpxchg_inatomic() argument
102 *uval = prev; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/microblaze/include/asm/
Dfutex.h67 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
93 *uval = prev; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/nds32/include/asm/
Dfutex.h37 futex_atomic_cmpxchg_inatomic(u32 * uval, u32 __user * uaddr, in futex_atomic_cmpxchg_inatomic() argument
60 *uval = val; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/s390/include/asm/
Dfutex.h61 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
75 *uval = oldval; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/alpha/include/asm/
Dfutex.h64 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
90 *uval = prev; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/powerpc/include/asm/
Dfutex.h66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
95 *uval = prev; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/csky/include/asm/
Dfutex.h83 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
116 *uval = val; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/ia64/include/asm/
Dfutex.h85 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument
104 *uval = prev; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.15/arch/arc/include/asm/
Dfutex.h121 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 expval, in futex_atomic_cmpxchg_inatomic() argument
165 *uval = existval; in futex_atomic_cmpxchg_inatomic()

12