/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to driver/sysfs.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-27 00:28:57 UTC
  • Revision ID: csa@suren.me-20150427002857-82fk6r3e8rfgy4wr
First stand-alone ipecamera implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _PCIDRIVER_SYSFS_H
2
 
#define _PCIDRIVER_SYSFS_H
3
 
int pcidriver_sysfs_initialize_kmem(pcidriver_privdata_t *privdata, int id, struct class_device_attribute *sysfs_attr);
4
 
int pcidriver_sysfs_initialize_umem(pcidriver_privdata_t *privdata, int id, struct class_device_attribute *sysfs_attr);
5
 
void pcidriver_sysfs_remove(pcidriver_privdata_t *privdata, struct class_device_attribute *sysfs_attr);
6
 
 
7
 
#ifdef ENABLE_IRQ
8
 
SYSFS_GET_FUNCTION(pcidriver_show_irq_count);
9
 
SYSFS_GET_FUNCTION(pcidriver_show_irq_queues);
10
 
#endif
11
 
 
12
 
/* prototypes for sysfs operations */
13
 
SYSFS_GET_FUNCTION(pcidriver_show_mmap_mode);
14
 
SYSFS_SET_FUNCTION(pcidriver_store_mmap_mode);
15
 
SYSFS_GET_FUNCTION(pcidriver_show_mmap_area);
16
 
SYSFS_SET_FUNCTION(pcidriver_store_mmap_area);
17
 
SYSFS_GET_FUNCTION(pcidriver_show_kmem_count);
18
 
SYSFS_GET_FUNCTION(pcidriver_show_kbuffers);
19
 
SYSFS_SET_FUNCTION(pcidriver_store_kmem_alloc);
20
 
SYSFS_SET_FUNCTION(pcidriver_store_kmem_free);
21
 
SYSFS_GET_FUNCTION(pcidriver_show_umappings);
22
 
SYSFS_SET_FUNCTION(pcidriver_store_umem_unmap);
23
 
#endif