hidp.h (bc95f3669f5e6f63cf0b84fe4922c3c6dd4aa775) | hidp.h (c500c9714011edab021591340042787722db9cf0) |
---|---|
1/* 2 HIDP implementation for Linux Bluetooth stack (BlueZ). 3 Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License version 2 as 7 published by the Free Software Foundation; 8 --- 137 unchanged lines hidden (view full) --- 146 struct input_dev *input; 147 148 struct hid_device *hid; 149 150 struct timer_list timer; 151 152 struct sk_buff_head ctrl_transmit; 153 struct sk_buff_head intr_transmit; | 1/* 2 HIDP implementation for Linux Bluetooth stack (BlueZ). 3 Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License version 2 as 7 published by the Free Software Foundation; 8 --- 137 unchanged lines hidden (view full) --- 146 struct input_dev *input; 147 148 struct hid_device *hid; 149 150 struct timer_list timer; 151 152 struct sk_buff_head ctrl_transmit; 153 struct sk_buff_head intr_transmit; |
154 155 struct hidp_connadd_req *req; |
|
154}; 155 156static inline void hidp_schedule(struct hidp_session *session) 157{ 158 struct sock *ctrl_sk = session->ctrl_sock->sk; 159 struct sock *intr_sk = session->intr_sock->sk; 160 161 wake_up_interruptible(ctrl_sk->sk_sleep); 162 wake_up_interruptible(intr_sk->sk_sleep); 163} 164 165/* HIDP init defines */ 166extern int __init hidp_init_sockets(void); 167extern void __exit hidp_cleanup_sockets(void); 168 169#endif /* __HIDP_H */ | 156}; 157 158static inline void hidp_schedule(struct hidp_session *session) 159{ 160 struct sock *ctrl_sk = session->ctrl_sock->sk; 161 struct sock *intr_sk = session->intr_sock->sk; 162 163 wake_up_interruptible(ctrl_sk->sk_sleep); 164 wake_up_interruptible(intr_sk->sk_sleep); 165} 166 167/* HIDP init defines */ 168extern int __init hidp_init_sockets(void); 169extern void __exit hidp_cleanup_sockets(void); 170 171#endif /* __HIDP_H */ |