Home
last modified time | relevance | path

Searched refs:platform_detected (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/arm/
Draspberry_pi.c65 static int platform_detected = 0; variable
100 if (platform_detected == PLATFORM_RASPBERRY_PI_B_REV_1) { in mraa_raspberry_pi_i2c_init_pre()
187 if (platform_detected == PLATFORM_RASPBERRY_PI2_B_REV_1) { in mraa_raspberry_pi_mmap_setup()
226 platform_detected = PLATFORM_RASPBERRY_PI_B_REV_1; in mraa_raspberry_pi()
231 platform_detected = PLATFORM_RASPBERRY_PI_B_REV_2; in mraa_raspberry_pi()
235 platform_detected = PLATFORM_RASPBERRY_PI_A_REV_2; in mraa_raspberry_pi()
239 platform_detected = PLATFORM_RASPBERRY_PI_B_PLUS_REV_1; in mraa_raspberry_pi()
243 platform_detected = PLATFORM_RASPBERRY_PI_COMPUTE_MODULE_REV_1; in mraa_raspberry_pi()
247 platform_detected = PLATFORM_RASPBERRY_PI_A_PLUS_REV_1; in mraa_raspberry_pi()
251 platform_detected = PLATFORM_RASPBERRY_PI2_B_REV_1; in mraa_raspberry_pi()
[all …]
Dbanana.c53 static int platform_detected = 0; variable
207 platform_detected = 0; in mraa_banana()
219 platform_detected = PLATFORM_BANANA_PRO; in mraa_banana()
225 platform_detected = PLATFORM_BANANA_PI; in mraa_banana()
238 platform_detected = PLATFORM_BANANA_PRO; in mraa_banana()
242 platform_detected = PLATFORM_BANANA_PI; in mraa_banana()
256 if (platform_detected == 0) { in mraa_banana()
340 if (platform_detected == PLATFORM_BANANA_PRO) { in mraa_banana()
349 if (platform_detected == PLATFORM_BANANA_PRO) { in mraa_banana()
361 if (platform_detected == PLATFORM_BANANA_PRO) { in mraa_banana()
[all …]