Home
last modified time | relevance | path

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

/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_c_to_py.c42 for (unsigned int dest = NI_NAMES_BASE; in family_write()
43 dest < (NI_NAMES_BASE + NI_NUM_NAMES); in family_write()
45 unsigned int src = NI_NAMES_BASE; in family_write()
47 for (; src < (NI_NAMES_BASE + NI_NUM_NAMES) && in family_write()
51 if (src >= (NI_NAMES_BASE + NI_NUM_NAMES)) in family_write()
55 for (src = NI_NAMES_BASE; src < (NI_NAMES_BASE + NI_NUM_NAMES); in family_write()
85 return (sig >= NI_NAMES_BASE) && (sig < (NI_NAMES_BASE + NI_NUM_NAMES)); in is_valid_ni_sig()
H A Dni_names.py46 comedi_h.NI_COUNTER_NAMES_MAX < v < (comedi_h.NI_NAMES_BASE + comedi_h.NI_NUM_NAMES)
/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c27 #define O(x) ((x) + NI_NAMES_BASE)
28 #define B(x) ((x) - NI_NAMES_BASE)
185 int last = NI_NAMES_BASE - 1; in route_set_dests_in_order()
202 int last = NI_NAMES_BASE - 1; in route_set_sources_in_order()
/linux/drivers/comedi/drivers/ni_routing/
H A Dni_route_values.h36 #define B(x) ((x) - NI_NAMES_BASE)
/linux/include/uapi/linux/
H A Dcomedi.h1007 #define NI_NAMES_BASE 0x8000u macro
1014 #define NI_PFI(x) _TERM_N(NI_NAMES_BASE, 64, x)
1101 NI_NUM_NAMES = _NI_NAMES_MAX_PLUS_1 - NI_NAMES_BASE,
/linux/drivers/comedi/drivers/
H A Dni_routes.h269 if (src < NI_NAMES_BASE) { in ni_get_reg_value_roffs()
H A Dni_tiocmd.c137 if (reg >= NI_NAMES_BASE) { in ni_tio_input_cmd()
179 if (CR_CHAN(gate_source) >= NI_NAMES_BASE) { in ni_tio_cmd_setup()
H A Dni_routes.c534 return src + NI_NAMES_BASE; in ni_find_route_source()