Searched refs:agpioOutputen (Results 1 – 2 of 2) sorted by relevance
47 static mraa_gpio_context agpioOutputen[MRAA_INTEL_GALILEO_GEN_2_PINCOUNT]; variable58 if (!agpioOutputen[pin]) { in mraa_intel_galileo_gen2_dir_pre()59 agpioOutputen[pin] = mraa_gpio_init_raw(plat->pins[pin].gpio.output_enable); in mraa_intel_galileo_gen2_dir_pre()60 if (agpioOutputen[pin] == NULL) { in mraa_intel_galileo_gen2_dir_pre()63 if (mraa_gpio_dir(agpioOutputen[pin], MRAA_GPIO_OUT) != MRAA_SUCCESS) { in mraa_intel_galileo_gen2_dir_pre()72 if (mraa_gpio_write(agpioOutputen[pin], output_val) != MRAA_SUCCESS) { in mraa_intel_galileo_gen2_dir_pre()85 if (agpioOutputen[pin]) { in mraa_intel_galileo_gen2_gpio_close_pre()86 mraa_gpio_close(agpioOutputen[pin]); in mraa_intel_galileo_gen2_gpio_close_pre()87 agpioOutputen[pin] = NULL; in mraa_intel_galileo_gen2_gpio_close_pre()
66 static mraa_gpio_context agpioOutputen[sizeof(outputen) / sizeof(outputen[0])]; variable155 if (!agpioOutputen[pin]) { in mraa_intel_edison_gpio_dir_pre()156 agpioOutputen[pin] = mraa_gpio_init_raw(outputen[pin]); in mraa_intel_edison_gpio_dir_pre()157 if (agpioOutputen[pin] == NULL) { in mraa_intel_edison_gpio_dir_pre()160 if (mraa_gpio_dir(agpioOutputen[pin], MRAA_GPIO_OUT) != MRAA_SUCCESS) { in mraa_intel_edison_gpio_dir_pre()168 if (mraa_gpio_write(agpioOutputen[pin], output_val) != MRAA_SUCCESS) { in mraa_intel_edison_gpio_dir_pre()209 if (agpioOutputen[pin]) { in mraa_intel_edison_gpio_close_pre()210 mraa_gpio_close(agpioOutputen[pin]); in mraa_intel_edison_gpio_close_pre()211 agpioOutputen[pin] = NULL; in mraa_intel_edison_gpio_close_pre()