4 #define ENABLE_INTERRUPT 1
5 #define DISABLE_INTERRUPT 0
8 struct usb_device
*dev
;
9 usb_dev_handle
*handle
;
12 unsigned long card_type
;
13 pthread_mutex_t interrupt
;
16 int __attribute__ ((visibility ("hidden"))) xpcu_deviceinfo(struct xpcu_s
*xpcu
, struct usb_get_device_data
*ugdd
);
17 int __attribute__ ((visibility ("hidden"))) xpcu_transfer(struct xpcu_s
*xpcu
, struct usb_transfer
*ut
);
18 void __attribute__ ((visibility ("hidden"))) xpcu_set_interface(struct xpcu_s
*xpcu
, struct usb_set_interface
*usi
);
19 struct xpcu_s
__attribute__ ((visibility ("hidden"))) *xpcu_find(struct event
*e
);
20 void __attribute__ ((visibility ("hidden"))) xpcu_found(struct xpcu_s
*xpcu
, struct event
*e
);
21 void __attribute__ ((visibility ("hidden"))) xpcu_close(struct xpcu_s
*xpcu
, struct event
*e
);
22 void __attribute__ ((visibility ("hidden"))) xpcu_int_state(struct xpcu_s
*xpcu
, struct interrupt
*it
, int enable
);
23 void __attribute__ ((visibility ("hidden"))) xpcu_int_wait(struct xpcu_s
*xpcu
, struct interrupt
*it
);