Lines Matching defs:wahc
92 struct wahc;
116 struct wahc *wa;
124 struct wahc {
165 extern int wa_create(struct wahc *wa, struct usb_interface *iface);
166 extern void __wa_destroy(struct wahc *wa);
167 void wa_reset_all(struct wahc *wa);
181 extern int wa_nep_create(struct wahc *, struct usb_interface *);
182 extern void wa_nep_destroy(struct wahc *);
184 static inline int wa_nep_arm(struct wahc *wa, gfp_t gfp_mask)
192 static inline void wa_nep_disarm(struct wahc *wa)
199 static inline void wa_rpipe_init(struct wahc *wa)
205 static inline void wa_init(struct wahc *wa)
230 extern int rpipe_get_by_ep(struct wahc *, struct usb_host_endpoint *,
237 extern void rpipe_ep_disable(struct wahc *, struct usb_host_endpoint *);
238 extern int wa_rpipes_create(struct wahc *);
239 extern void wa_rpipes_destroy(struct wahc *);
256 extern int wa_urb_enqueue(struct wahc *, struct usb_host_endpoint *,
258 extern int wa_urb_dequeue(struct wahc *, struct urb *);
259 extern void wa_handle_notif_xfer(struct wahc *, struct wa_notif_hdr *);
262 static inline struct wahc *wa_get(struct wahc *wa)
268 static inline void wa_put(struct wahc *wa)
274 static inline int __wa_feature(struct wahc *wa, unsigned op, u16 feature)
285 static inline int __wa_set_feature(struct wahc *wa, u16 feature)
291 static inline int __wa_clear_feature(struct wahc *wa, u16 feature)
307 s32 __wa_get_status(struct wahc *wa)
323 static inline s32 __wa_wait_status(struct wahc *wa, u32 mask, u32 value)
342 static inline int __wa_stop(struct wahc *wa)