Lines Matching defs:dest
48 #define RVi(table, src, dest) ((table)[(dest) * NI_NUM_NAMES + (src)])
160 const int dest = R->dest;
163 if (RVi(rv, B(src), B(dest)))
166 else if (channel_is_rtsi(dest) &&
214 const int dest = R->dest;
218 if (RVi(rv, B(src), B(dest)))
221 else if (channel_is_rtsi(dest) &&
233 pair_data[2 * n_valid + 1] = dest;
262 * @dest: Destination to test.
264 bool ni_is_cmd_dest(int dest)
269 if (NI_CMD_DESTS[i] == dest)
281 if (a->dest < b->dest)
283 else if (a->dest > b->dest)
311 while (valid_routes->routes[valid_routes->n_route_sets].dest != 0)
349 if (*key < elt->dest)
351 else if (*key > elt->dest)
408 * @dest: global-identifier for route destination
413 s8 ni_lookup_route_register(int src, int dest,
423 dest = B(dest);
424 if (src < 0 || src >= NI_NUM_NAMES || dest < 0 || dest >= NI_NUM_NAMES)
426 regval = RVi(tables->route_values, src, dest);
436 * (src-->dest) to the value used at the appropriate
439 * @dest: global-identifier for route destination
464 s8 ni_route_to_register(const int src, const int dest,
468 ni_find_route_set(dest, tables->valid_routes);
484 regval = RVi(rv, B(src), B(dest));
490 if (!regval && channel_is_rtsi(dest)) {
508 * route (src-->dest) of the specified routing register
519 int ni_find_route_source(const u8 src_sel_reg_value, int dest,
527 dest = B(dest); /* subtract NI names offset */
529 if (dest < 0 || dest >= NI_NUM_NAMES)
532 if (RVi(tables->route_values, src, dest) ==