Home
last modified time | relevance | path

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

/linux/drivers/media/usb/pwc/
A 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/drivers/hid/
A Dhid-lgff.c65 #define CLAMP(x) if (x < 0) x = 0; if (x > 0xff) x = 0xff in hid_lgff_play() macro
A 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/arch/arm/mach-qcom/
A Dplatsmp.c33 #define CLAMP BIT(0) macro
/linux/drivers/media/platform/davinci/
A Ddm355_ccdc_regs.h28 #define CLAMP 0x44 macro
/linux/lib/zstd/compress/
A Dzstd_compress.c1069 # define CLAMP(cParam, val) CLAMP_TYPE(cParam, val, unsigned) in ZSTD_clampCParams() macro

Completed in 22 milliseconds