| PX4 Firmware
    PX4 Autopilot Software http://px4.io | 
#include <inttypes.h>#include <string.h>Go to the source code of this file.
| Classes | |
| struct | cdev::file_operations | 
| struct | cdev::file_t | 
| Namespaces | |
| cdev | |
| Macros | |
| #define | ATOMIC_ENTER lock() | 
| #define | ATOMIC_LEAVE unlock() | 
| Typedefs | |
| using | cdev::mode_t = uint32_t | 
| Functions | |
| __EXPORT int | register_driver (const char *name, const cdev::px4_file_operations_t *fops, cdev::mode_t mode, void *data) | 
| __EXPORT int | unregister_driver (const char *path) | 
| #define ATOMIC_ENTER lock() | 
Definition at line 7 of file cdev_platform.hpp.
| #define ATOMIC_LEAVE unlock() | 
Definition at line 8 of file cdev_platform.hpp.
| __EXPORT int register_driver | ( | const char * | name, | 
| const cdev::px4_file_operations_t * | fops, | ||
| cdev::mode_t | mode, | ||
| void * | data | ||
| ) | 
Definition at line 100 of file cdev_platform.cpp.
References devmutex, and name.
Referenced by cdev::VFile::createFile(), cdev::file_t::file_t(), cdev::CDev::init(), MK::init(), PX4IO::init(), and cdev::CDev::register_class_devname().
| __EXPORT int unregister_driver | ( | const char * | path | ) | 
Definition at line 127 of file cdev_platform.cpp.
References devmutex.
Referenced by cdev::file_t::file_t(), PX4IO::task_main(), cdev::CDev::unregister_class_devname(), cdev::CDev::unregister_driver_and_memory(), cdev::CDev::~CDev(), and MK::~MK().