Searched refs:clamp_t (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/sys/dev/ena/
H A Dena.h489 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) macro
490 #define clamp_val(val, lo, hi) clamp_t(__typeof(val), val, lo, hi)
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h463 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) macro
465 #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi)
/freebsd-11-stable/sys/dev/bnxt/
H A Dbnxt_hwrm.c1724 max_buf = clamp_t(uint16_t, max_buf, 1, 63);
1725 max_buf_irq = clamp_t(uint16_t, softc->rx_coal_frames_irq, 1, 63);
1744 max_buf = clamp_t(uint16_t, softc->tx_coal_frames, 1, 63);
1745 max_buf_irq = clamp_t(uint16_t, softc->tx_coal_frames_irq, 1, 63);
H A Dbnxt.h237 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) macro

Completed in 133 milliseconds