Searched refs:mmap_read (Results 1 – 6 of 6) sorted by relevance
160 if (dev->mmap_write == NULL && dev->mmap_read == NULL) { in mraa_raspberry_pi_mmap_setup()165 dev->mmap_read = NULL; in mraa_raspberry_pi_mmap_setup()173 if (dev->mmap_write != NULL && dev->mmap_read != NULL) { in mraa_raspberry_pi_mmap_setup()202 dev->mmap_read = &mraa_raspberry_pi_mmap_read; in mraa_raspberry_pi_mmap_setup()
156 if (dev->mmap_write == NULL && dev->mmap_read == NULL) { in mraa_banana_mmap_setup()161 dev->mmap_read = NULL; in mraa_banana_mmap_setup()169 if (dev->mmap_write != NULL && dev->mmap_read != NULL) { in mraa_banana_mmap_setup()193 dev->mmap_read = &mraa_banana_mmap_read; in mraa_banana_mmap_setup()
116 if (dev->mmap_write == NULL && dev->mmap_read == NULL) { in mraa_beaglebone_mmap_setup()121 dev->mmap_read = NULL; in mraa_beaglebone_mmap_setup()129 if (dev->mmap_write != NULL && dev->mmap_read != NULL) { in mraa_beaglebone_mmap_setup()177 dev->mmap_read = &mraa_beaglebone_mmap_read; in mraa_beaglebone_mmap_setup()
61 int (*mmap_read) (mraa_gpio_context dev); member
666 if (dev->mmap_read != NULL) in mraa_gpio_read()667 return dev->mmap_read(dev); in mraa_gpio_read()
686 if (dev->mmap_write == NULL && dev->mmap_read == NULL) { in mraa_intel_edison_mmap_setup()691 dev->mmap_read = NULL; in mraa_intel_edison_mmap_setup()699 if (dev->mmap_write != NULL && dev->mmap_read != NULL) { in mraa_intel_edison_mmap_setup()730 dev->mmap_read = &mraa_intel_edison_mmap_read; in mraa_intel_edison_mmap_setup()