BEST PCIe driver
 All Data Structures Files Functions Variables Macros Pages
BEST_direct_tetramm.h
Go to the documentation of this file.
1 
9 #ifndef BEST_DIRECT_TETRAMM_H_
10 #define BEST_DIRECT_TETRAMM_H_
11 
13  char name[16];
14 
16  void* virt_addr;
17 
19  dev_t cdevno;
20 
22  struct cdev cdev;
23 };
24 
30 int tetramm_dev_create(struct tetramm_dev_struct* dev, struct class* best_class);
31 
36 void tetramm_dev_remove(struct tetramm_dev_struct* dev, struct class* best_class);
37 
38 #endif /* BEST_DIRECT_TETRAMM_H_ */
Definition: BEST_direct_tetramm.h:12
dev_t cdevno
character device number
Definition: BEST_direct_tetramm.h:19
void * virt_addr
virual address of mSGDMA descriptor mem
Definition: BEST_direct_tetramm.h:16
void tetramm_dev_remove(struct tetramm_dev_struct *dev, struct class *best_class)
Removes TetrAmm char device.
Definition: BEST_direct_tetramm.c:223
struct cdev cdev
character device
Definition: BEST_direct_tetramm.h:22
int tetramm_dev_create(struct tetramm_dev_struct *dev, struct class *best_class)
Creates new TetrAmm char device.
Definition: BEST_direct_tetramm.c:179