Searched refs:CLAMP (Results 1 – 8 of 8) sorted by relevance
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | ntp_peer.c | 63 #define MATCH_ASSOC(x, y) (AM[CLAMP((x), 0, AM_MODES)][CLAMP((y), 0, AM_MODES)]) 975 peer->maxpoll = CLAMP(peer->maxpoll, NTP_MINPOLL, NTP_MAXPOLL); in newpeer() 976 peer->minpoll = CLAMP(peer->minpoll, NTP_MINPOLL, peer->maxpoll); in newpeer()
|
| /netbsd/src/external/gpl3/gdb/dist/sim/bfin/ |
| D | bfin-sim.h | 369 #undef CLAMP 370 #define CLAMP(a, b, c) min (max (a, b), c) macro
|
| D | dv-bfin_uart.c | 366 nr_bytes = CLAMP (ret, 0, nr_bytes); in bfin_uart_write_buffer()
|
| D | bfin-sim.c | 872 shift = CLAMP (shift, -nbits, nbits); in rot40() 894 shift = CLAMP (shift, -nbits, nbits); in rot32() 4435 STORE (DREG (dst0), (CLAMP (tmp0, 0, 255) << ( 0 + (8 * HL))) | in decode_dsp32alu_0() 4436 (CLAMP (tmp1, 0, 255) << (16 + (8 * HL)))); in decode_dsp32alu_0()
|
| D | ChangeLog-2021 | 396 (CLAMP): Change MIN to min and MAX to max.
|
| /netbsd/src/external/bsd/ntp/dist/include/ |
| D | ntp.h | 720 #define CLAMP(val, minval, maxval) \ macro
|
| /netbsd/src/sys/kern/ |
| D | tty.c | 2626 #define CLAMP(x, h, l) ((x) > h ? h : ((x) < l) ? l : (x)) in ttsetwater() macro 2629 tp->t_lowat = x = CLAMP(cps / 2, TTMAXLOWAT, TTMINLOWAT); in ttsetwater() 2631 x = CLAMP(x, TTMAXHIWAT, TTMINHIWAT); in ttsetwater() 2633 #undef CLAMP in ttsetwater()
|
| /netbsd/src/external/gpl3/binutils/dist/ |
| D | ChangeLog.git | 57620 aarch64: Add the SME2 CLAMP instructions
|