Searched refs:clamp_t (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/sys/dev/ena/ |
H A D | ena.h | 489 #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 D | kernel.h | 463 #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 D | bnxt_hwrm.c | 1724 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 D | bnxt.h | 237 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) macro
|
Completed in 133 milliseconds