2 * @file cdcm-driver-gen-pci.c
4 * @brief PCI-specific operations
6 * @author Copyright (C) 2009 CERN. Yury GEORGIEVSKIY <ygeorgie@cern.ch>
8 * @date Created on 14/08/2009
10 * @section license_sec License
11 * Released under the GPL
13 #include "list_extra.h" /* for extra handy list operations */
15 #include "cdcmLynxAPI.h"
18 #include "dg/ModuleHeader.h" /* for DevInfo_t */
20 int dg_get_dev_info(unsigned long arg
)
23 int dg_get_mod_am(void)
26 int dg_cdv_install(char *name
, struct file_operations
*fops
)
29 int dg_cdv_uninstall(struct file
*filp
, unsigned long arg
)
32 ssize_t
dg_fop_read(struct file
*filp
, char __user
*buf
, size_t size
,
36 ssize_t
dg_fop_write(struct file
*filp
, const char __user
*buf
,
37 size_t size
, loff_t
*off
)
40 unsigned int dg_fop_poll(struct file
* filp
, poll_table
* wait
)
43 long dg_fop_ioctl(struct file
* filp
, poll_table
* wait
)
46 int dg_fop_mmap(struct file
*filp
, struct vm_area_struct
*vma
)
49 int dg_fop_open(struct inode
*inode
, struct file
*filp
)
52 int dg_fop_release(struct inode
*inode
, struct file
*filp
)