summaryrefslogtreecommitdiffstats
path: root/bcm4329/src/dhd/sys/dhd.h
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2009-08-17 15:22:07 -0700
committerDmitry Shmidt <dimitrysh@google.com>2009-08-17 15:23:52 -0700
commit2b0606a05477a91a9cc0ef39cb531efe788e2e97 (patch)
tree0281a041441607ca591c94f69033c70b59ef798f /bcm4329/src/dhd/sys/dhd.h
parent4d92e4c7da35860a39214c8fdb794ce0243dfabb (diff)
downloadhardware_replicant_wlan-2b0606a05477a91a9cc0ef39cb531efe788e2e97.tar.gz
hardware_replicant_wlan-2b0606a05477a91a9cc0ef39cb531efe788e2e97.tar.bz2
hardware_replicant_wlan-2b0606a05477a91a9cc0ef39cb531efe788e2e97.zip
Initial HW porting, adding wakelocks and wakeup interrupt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'bcm4329/src/dhd/sys/dhd.h')
-rw-r--r--bcm4329/src/dhd/sys/dhd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bcm4329/src/dhd/sys/dhd.h b/bcm4329/src/dhd/sys/dhd.h
index 179aba7..8f15106 100644
--- a/bcm4329/src/dhd/sys/dhd.h
+++ b/bcm4329/src/dhd/sys/dhd.h
@@ -204,6 +204,12 @@ extern void dhd_os_sdlock_sndup_rxq(dhd_pub_t * pub);
extern void dhd_os_sdunlock_sndup_rxq(dhd_pub_t * pub);
extern void dhd_os_sdtxlock(dhd_pub_t * pub);
extern void dhd_os_sdtxunlock(dhd_pub_t * pub);
+extern void dhd_os_set_irq(unsigned int irq, dhd_pub_t *pub);
+extern void dhd_os_enable_irq(dhd_pub_t *pub);
+extern void dhd_os_disable_irq(dhd_pub_t *pub);
+extern int dhd_os_wake_lock(dhd_pub_t *pub);
+extern int dhd_os_wake_unlock(dhd_pub_t *pub);
+extern int dhd_os_wake_lock_timeout(dhd_pub_t *pub);
int setScheduler(struct task_struct *p, int policy, struct sched_param *param);