Home
last modified time | relevance | path

Searched refs:v_ (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/hid/bpf/progs/
Dhid_report_helpers.h36 #define i4(v_) (((__u8)(v_) & 0xf) + must_be((v_) >= -0x8 && (v_) <= 0x7, "not a i4")) argument
37 #define i8(v_) ((__u8)(v_) + must_be((v_) >= -0x80 && (v_) <= 0xff, "not a i8/u8")) argument
38 #define i16(v_) ((__u16)(v_) + must_be((v_) >= -0x8000 && (v_) <= 0xffff, "not a i16/u16")) argument
39 #define i32(v_) ((__u32)(v_) + must_be((v_) >= -0x80000000L && (v_) <= 0xffffffffL, \ argument
43 #define LE16(v_) i16(v_) & 0xff, ((v_) >> 8) & 0xff argument
44 #define LE32(v_) i32(v_) & 0xff, ((v_) >> 8) & 0xff, ((v_) >> 16) & 0xff, ((v_) >> 24) & 0xff argument
/linux-6.12.1/include/linux/
Dminmax.h122 __clamp_once(val, lo, hi, __UNIQUE_ID(v_), __UNIQUE_ID(l_), __UNIQUE_ID(h_))
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h9487 #define MLXSW_REG_MTMP_TEMP_TO_MC(val) ({ typeof(val) v_ = (val); \
9488 ((v_) >= 0) ? ((v_) * 125) : \
9489 ((s16)((GENMASK(15, 0) + (v_) + 1) \