Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libmraa/src/
Dmraa.c50 mraa_iio_info_t* plat_iio = NULL; variable
186 if (plat_iio != NULL) { in mraa_deinit()
187 free(plat_iio); in mraa_deinit()
220 plat_iio = (mraa_iio_info_t*) calloc(1, sizeof(mraa_iio_info_t)); in mraa_iio_detect()
221 plat_iio->iio_device_count = num_iio_devices; in mraa_iio_detect()
231 plat_iio->iio_device_count = num_iio_devices; in mraa_iio_detect()
232 plat_iio->iio_devices = calloc(num_iio_devices, sizeof(struct _iio)); in mraa_iio_detect()
235 device = &plat_iio->iio_devices[i]; in mraa_iio_detect()
804 return plat_iio->iio_device_count; in mraa_get_iio_device_count()
811 for (i; i < plat_iio->iio_device_count; i++) { in mraa_find_iio_device()
/hardware/bsp/intel/peripheral/libmraa/src/iio/
Diio.c45 if (plat_iio->iio_device_count == 0 || device >= plat_iio->iio_device_count) { in mraa_iio_init()
49 mraa_iio_get_channel_data(&plat_iio->iio_devices[device]); in mraa_iio_init()
50 mraa_iio_get_event_data(&plat_iio->iio_devices[device]); in mraa_iio_init()
52 return &plat_iio->iio_devices[device]; in mraa_iio_init()
192 if (plat_iio == NULL) { in mraa_iio_get_device_num_by_name()
202 for (i = 0; i < plat_iio->iio_device_count; i++) { in mraa_iio_get_device_num_by_name()
204 device = &plat_iio->iio_devices[i]; in mraa_iio_get_device_num_by_name()
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal.h39 extern mraa_iio_info_t* plat_iio;