Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/comedi/drivers/
Dni_routes.c154 for (i = 0; i < tables->valid_routes->n_route_sets; ++i) { in ni_count_valid_routes()
208 for (i = 0; i < tables->valid_routes->n_route_sets; ++i) { in ni_get_valid_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()
382 valid_routes->n_route_sets, sizeof(struct ni_route_set), in ni_find_route_set()
Dni_routes.h52 int n_route_sets; member
/linux-6.6.21/drivers/comedi/drivers/tests/
Dni_routes_test.c187 for (i = 0; i < devroutes->n_route_sets; ++i) { in route_set_dests_in_order()
200 for (i = 0; i < devroutes->n_route_sets; ++i) { in route_set_sources_in_order()
226 unittest(devroutes->n_route_sets == 37, in test_ni_assign_device_routes()
291 unittest(ni_find_route_set(DR.routes[DR.n_route_sets - 1].dest, &DR) == in test_ni_find_route_set()
292 &DR.routes[DR.n_route_sets - 1], in test_ni_find_route_set()