Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/comedi/drivers/
Dni_routes.c109 tables->valid_routes = dr; in ni_find_device_routes()
154 for (i = 0; i < tables->valid_routes->n_route_sets; ++i) { in ni_count_valid_routes()
155 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
208 for (i = 0; i < tables->valid_routes->n_route_sets; ++i) { in ni_get_valid_routes()
209 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_get_valid_routes()
305 void ni_sort_device_routes(struct ni_device_routes *valid_routes) in ni_sort_device_routes() argument
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()
[all …]
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);
/linux-6.1.9/drivers/comedi/drivers/tests/
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()