Home
last modified time | relevance | path

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

/drivers/comedi/drivers/
Dni_routes.c158 for (j = 0; j < R->n_src; ++j) { in ni_count_valid_routes()
212 for (j = 0; j < R->n_src; ++j) { in ni_get_valid_routes()
323 rs->n_src = 0; in ni_sort_device_routes()
324 while (rs->src[rs->n_src]) in ni_sort_device_routes()
325 ++rs->n_src; in ni_sort_device_routes()
328 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
396 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
Dni_routes.h40 int n_src; member
/drivers/comedi/drivers/tests/
Dni_routes_test.c204 for (j = 0; j < devroutes->routes[i].n_src; ++j) { in route_set_sources_in_order()
230 unittest(devroutes->routes->n_src == 1, in test_ni_assign_device_routes()
236 unittest(devroutes->routes[10].n_src == 10, in test_ni_assign_device_routes()