Home
last modified time | relevance | path

Searched refs:_TERM_N (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Dcomedi.h1009 #define _TERM_N(base, n, x) ((base) + ((x) & ((n) - 1))) macro
1014 #define NI_PFI(x) _TERM_N(NI_NAMES_BASE, 64, x)
1016 #define TRIGGER_LINE(x) _TERM_N(NI_PFI(-1) + 1, 8, x)
1018 #define NI_RTSI_BRD(x) _TERM_N(TRIGGER_LINE(-1) + 1, 4, x)
1023 #define NI_CtrSource(x) _TERM_N(NI_COUNTER_NAMES_BASE, NI_MAX_COUNTERS, x)
1026 #define NI_CtrGate(x) _TERM_N(NI_GATES_NAMES_BASE, NI_MAX_COUNTERS, x)
1027 #define NI_CtrAux(x) _TERM_N(NI_CtrGate(-1) + 1, NI_MAX_COUNTERS, x)
1028 #define NI_CtrA(x) _TERM_N(NI_CtrAux(-1) + 1, NI_MAX_COUNTERS, x)
1029 #define NI_CtrB(x) _TERM_N(NI_CtrA(-1) + 1, NI_MAX_COUNTERS, x)
1030 #define NI_CtrZ(x) _TERM_N(NI_CtrB(-1) + 1, NI_MAX_COUNTERS, x)
[all …]