Searched refs:LIMITVALUE (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/sound/synth/emux/ |
D | emux_synth.c | 37 #define LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (… macro 591 LIMITVALUE(vp->ftarget, 0, 255); in setup_voice() 667 LIMITVALUE(pan, 0, 255); in calc_pan() 763 LIMITVALUE(expression_vol, 0, 127); in calc_volume() 770 LIMITVALUE(vol, 0, 127); in calc_volume() 777 LIMITVALUE(main_vol, 0, 127); in calc_volume() 786 LIMITVALUE(master_vol, 0, 127); in calc_volume() 797 LIMITVALUE(vol, 0, 255); in calc_volume() 863 LIMITVALUE(offset, 0, 0xffff); in calc_pitch()
|
/Linux-v4.19/sound/isa/sb/ |
D | emu8000_callback.c | 58 #define LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (… macro 394 LIMITVALUE(pitch, -128, 127); in set_fmmod() 419 LIMITVALUE(pitch, -128, 127); in set_fm2frq2()
|
/Linux-v4.19/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 57 #define LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (… macro 519 LIMITVALUE(pitch, -128, 127); in set_fmmod() 537 LIMITVALUE(pitch, -128, 127); in set_fm2frq2()
|