Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dni_routes.c109 tables->valid_routes = dr; in ni_find_device_routes()
310 valid_routes->n_route_sets = 0; in ni_sort_device_routes()
311 while (valid_routes->routes[valid_routes->n_route_sets].dest != 0) in ni_sort_device_routes()
312 ++valid_routes->n_route_sets; in ni_sort_device_routes()
315 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes()
319 for (n = 0; n < valid_routes->n_route_sets; ++n) { in ni_sort_device_routes()
320 struct ni_route_set *rs = &valid_routes->routes[n]; in ni_sort_device_routes()
328 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
379 const struct ni_device_routes *valid_routes) in ni_find_route_set() argument
381 return bsearch(&destination, valid_routes->routes, in ni_find_route_set()
[all …]
H A Dni_routes.h66 const struct ni_device_routes *valid_routes; member
92 const struct ni_device_routes *valid_routes);
219 void ni_sort_device_routes(struct ni_device_routes *valid_routes);
/openbmc/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c176 private.routing_tables.valid_routes = &DR; in init_pci_fake()
221 devroutes = private.routing_tables.valid_routes; in test_ni_assign_device_routes()
255 devroutes = private.routing_tables.valid_routes; in test_ni_assign_device_routes()