Lines Matching defs:usblp
131 struct usblp { struct
132 struct usb_device *dev; /* USB device */
133 struct mutex wmut;
134 struct mutex mut;
135 spinlock_t lock; /* locks rcomplete, wcomplete */
136 char *readbuf; /* read transfer_buffer */
137 char *statusbuf; /* status transfer_buffer */
138 struct usb_anchor urbs;
139 wait_queue_head_t rwait, wwait;
140 int readcount; /* Counter for reads */
141 int ifnum; /* Interface number */
142 struct usb_interface *intf; /* The interface */
168 static void usblp_dump(struct usblp *usblp) in usblp_dump()
250 static int usblp_ctrl_msg(struct usblp *usblp, int request, int type, int dir, int recip, int value… in usblp_ctrl_msg()
270 #define usblp_read_status(usblp, status)\ argument
272 #define usblp_get_id(usblp, config, id, maxlen)\ argument
274 #define usblp_reset(usblp)\ argument
277 static int usblp_hp_channel_change_request(struct usblp *usblp, int channel, u8 *new_channel) in usblp_hp_channel_change_request()
310 struct usblp *usblp = urb->context; in usblp_bulk_read() local
334 struct usblp *usblp = urb->context; in usblp_bulk_write() local
363 static int usblp_check_status(struct usblp *usblp, int err) in usblp_check_status()
394 static int handle_bidir(struct usblp *usblp) in handle_bidir()
410 struct usblp *usblp; in usblp_open() local
458 static void usblp_cleanup(struct usblp *usblp) in usblp_cleanup()
469 static void usblp_unlink_urbs(struct usblp *usblp) in usblp_unlink_urbs()
476 struct usblp *usblp = file->private_data; in usblp_release() local
497 struct usblp *usblp = file->private_data; in usblp_poll() local
521 struct usblp *usblp = file->private_data; in usblp_ioctl() local
719 static struct urb *usblp_new_writeurb(struct usblp *usblp, int transfer_length) in usblp_new_writeurb()
744 struct usblp *usblp = file->private_data; in usblp_write() local
843 struct usblp *usblp = file->private_data; in usblp_read() local
900 static int usblp_wwait(struct usblp *usblp, int nonblock) in usblp_wwait()
938 static int usblp_wtest(struct usblp *usblp, int nonblock) in usblp_wtest()
964 static int usblp_rwait_and_lock(struct usblp *usblp, int nonblock) in usblp_rwait_and_lock()
990 static int usblp_rtest(struct usblp *usblp, int nonblock) in usblp_rtest()
1012 static int usblp_submit_read(struct usblp *usblp) in usblp_submit_read()
1108 struct usblp *usblp = usb_get_intfdata(intf); in ieee1284_id_show() local
1129 struct usblp *usblp; in usblp_probe() local
1262 static int usblp_select_alts(struct usblp *usblp) in usblp_select_alts()
1333 static int usblp_set_protocol(struct usblp *usblp, int protocol) in usblp_set_protocol()
1363 static int usblp_cache_device_id_string(struct usblp *usblp) in usblp_cache_device_id_string()
1394 struct usblp *usblp = usb_get_intfdata(intf); in usblp_disconnect() local
1422 struct usblp *usblp = usb_get_intfdata(intf); in usblp_suspend() local
1436 struct usblp *usblp = usb_get_intfdata(intf); in usblp_resume() local