Searched refs:nb_devices (Results 1 – 15 of 15) sorted by relevance
/external/libiio/src/ |
D | context.c | 70 if (ctx->nb_devices) { in iio_context_create_xml() 71 devices_len = malloc(ctx->nb_devices * sizeof(*devices_len)); in iio_context_create_xml() 77 devices = calloc(ctx->nb_devices, sizeof(*devices)); in iio_context_create_xml() 81 for (i = 0; i < ctx->nb_devices; i++) { in iio_context_create_xml() 113 for (i = 0; i < ctx->nb_devices; i++) { in iio_context_create_xml() 125 for (i = 0; i < ctx->nb_devices; i++) in iio_context_create_xml() 165 for (i = 0; i < ctx->nb_devices; i++) in iio_context_destroy() 167 if (ctx->nb_devices) in iio_context_destroy() 178 return ctx->nb_devices; in iio_context_get_devices_count() 184 if (index >= ctx->nb_devices) in iio_context_get_device() [all …]
|
D | xml.c | 386 devs = realloc(ctx->devices, (1 + ctx->nb_devices) * in iio_create_xml_context_helper() 394 devs[ctx->nb_devices++] = dev; in iio_create_xml_context_helper() 405 for (i = 0; i < ctx->nb_devices; i++) in iio_create_xml_context_helper() 407 if (ctx->nb_devices) in iio_create_xml_context_helper()
|
D | local.c | 158 for (i = 0; i < ctx->nb_devices; i++) { in local_shutdown() 1087 nb = dev->ctx->nb_devices; in local_get_trigger() 1373 (ctx->nb_devices + 1) * sizeof(struct iio_device *)); in add_device_to_context() 1377 devices[ctx->nb_devices++] = dev; in add_device_to_context() 1907 for (i = 0; i < ctx->nb_devices; i++) { in init_scan_elements() 2008 qsort(ctx->devices, ctx->nb_devices, sizeof(struct iio_device *), in local_create_context()
|
D | iiod-client.c | 211 unsigned int i, nb_devices = iio_context_get_devices_count(ctx); in iiod_client_get_trigger() local 240 for (i = 0; i < nb_devices; i++) { in iiod_client_get_trigger()
|
D | usb.c | 408 for (i = 0; i < ctx->nb_devices; i++) in usb_shutdown() 420 for (i = 0; i < ctx->nb_devices; i++) { in usb_shutdown() 952 for (i = 0; i < ctx->nb_devices; i++) { in usb_create_context()
|
D | iio-private.h | 163 unsigned int nb_devices; member
|
D | network.c | 1214 for (i = 0; i < ctx->nb_devices; i++) { in network_shutdown() 1565 for (i = 0; i < ctx->nb_devices; i++) { in network_create_context()
|
/external/libiio/src/examples/ |
D | iio-monitor.c | 284 unsigned int i, nb_devices; in show_main_screen() local 295 nb_devices = iio_context_get_devices_count(ctx); in show_main_screen() 296 dev_names = malloc(nb_devices * sizeof(char *)); in show_main_screen() 298 for (i = 0; i < nb_devices; i++) { in show_main_screen() 311 dev_names, nb_devices, FALSE, in show_main_screen() 326 for (i = 0; i < nb_devices; i++) in show_main_screen()
|
/external/libiio/src/tests/ |
D | iio_adi_xflow_check.c | 85 unsigned int i, nb_devices = iio_context_get_devices_count(ctx); in get_device() local 88 for (i = 0; i < nb_devices; i++) { in get_device() 98 if (i < nb_devices) in get_device()
|
D | iio_info.c | 292 unsigned int nb_devices = iio_context_get_devices_count(ctx); in main() local 293 printf("IIO context has %u devices:\n", nb_devices); in main() 295 for (i = 0; i < nb_devices; i++) { in main()
|
D | iio_attr.c | 576 unsigned int nb_devices = iio_context_get_devices_count(ctx); in main() local 579 printf("IIO context has %u devices:\n", nb_devices); in main() 581 for (i = 0; i < nb_devices; i++) { in main()
|
/external/libiio/src/bindings/csharp/ |
D | Context.cs | 142 uint nb_devices = iio_context_get_devices_count(ctx); in Context() 145 for (uint i = 0; i < nb_devices; i++) in Context()
|
/external/libiio/src/bindings/matlab/ |
D | libiio_if.m | 174 nb_devices = calllib(obj.libname, 'iio_context_get_devices_count', obj.iio_ctx); variable 177 if(nb_devices == 0) 181 … msg_log = [msg_log sprintf('%s: Found %d devices in the system\n', class(obj), nb_devices)]; 185 for i = 0 : nb_devices - 1
|
D | libiio_if_daq2.m | 174 nb_devices = calllib(obj.libname, 'iio_context_get_devices_count', obj.iio_ctx); variable 177 if(nb_devices == 0) 181 … msg_log = [msg_log sprintf('%s: Found %d devices in the system\n', class(obj), nb_devices)]; 185 for i = 0 : nb_devices - 1
|
/external/libiio/src/iiod/ |
D | ops.c | 1412 for (i = 0; i < ctx->nb_devices; i++) in interpreter()
|