Home
last modified time | relevance | path

Searched defs:CLAMP (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/media/usb/pwc/
Dpwc-dec23.c278 #define CLAMP(x) (pwc_crop_table[MAX_OUTER_CROP_VALUE+(x)]) macro
280 #define CLAMP(x) ((x)>255?255:((x)<0?0:x)) macro
/linux-6.1.9/drivers/hid/
Dhid-lgff.c65 #define CLAMP(x) if (x < 0) x = 0; if (x > 0xff) x = 0xff in hid_lgff_play() macro
Dhid-lg4ff.c428 #define CLAMP(x) do { if (x < 0) x = 0; else if (x > 0xff) x = 0xff; } while (0) in lg4ff_play() macro
/linux-6.1.9/arch/arm/mach-qcom/
Dplatsmp.c33 #define CLAMP BIT(0) macro
/linux-6.1.9/drivers/staging/media/deprecated/vpfe_capture/
Ddm355_ccdc_regs.h28 #define CLAMP 0x44 macro
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c1069 # define CLAMP(cParam, val) CLAMP_TYPE(cParam, val, unsigned) in ZSTD_clampCParams() macro