Searched refs:mmap_gpio (Results 1 – 1 of 1) sorted by relevance
60 static uint8_t* mmap_gpio[4] = { NULL, NULL, NULL, NULL }; variable69 … *(volatile uint32_t*) (mmap_gpio[dev->pin / 32] + AM335X_SET) = (uint32_t)(1 << (dev->pin % 32)); in mraa_beaglebone_mmap_write()71 … *(volatile uint32_t*) (mmap_gpio[dev->pin / 32] + AM335X_CLR) = (uint32_t)(1 << (dev->pin % 32)); in mraa_beaglebone_mmap_write()79 if (mmap_gpio[0] == NULL) { in mraa_beaglebone_mmap_unsetup()83 munmap(mmap_gpio[0], AM335X_GPIO_SIZE); in mraa_beaglebone_mmap_unsetup()84 mmap_gpio[0] = NULL; in mraa_beaglebone_mmap_unsetup()85 munmap(mmap_gpio[1], AM335X_GPIO_SIZE); in mraa_beaglebone_mmap_unsetup()86 mmap_gpio[1] = NULL; in mraa_beaglebone_mmap_unsetup()87 munmap(mmap_gpio[2], AM335X_GPIO_SIZE); in mraa_beaglebone_mmap_unsetup()88 mmap_gpio[2] = NULL; in mraa_beaglebone_mmap_unsetup()[all …]