Lines Matching refs:usb_dev_state
61 struct usb_dev_state { struct
91 struct usb_dev_state *ps; argument
96 struct usb_dev_state *ps;
180 static int connected(struct usb_dev_state *ps) in connected()
188 struct usb_dev_state *ps = usbm->ps; in dec_usb_memory_use_count()
233 struct usb_dev_state *ps = file->private_data; in usbdev_mmap()
311 struct usb_dev_state *ps = file->private_data; in usbdev_read()
439 struct usb_dev_state *ps = as->ps; in async_newpending()
449 struct usb_dev_state *ps = as->ps; in async_removepending()
457 static struct async *async_getcompleted(struct usb_dev_state *ps) in async_getcompleted()
472 static struct async *async_getpending(struct usb_dev_state *ps, in async_getpending()
582 static void cancel_bulk_urbs(struct usb_dev_state *ps, unsigned bulk_addr) in cancel_bulk_urbs()
623 struct usb_dev_state *ps = as->ps; in async_completed()
660 static void destroy_async(struct usb_dev_state *ps, struct list_head *list) in destroy_async()
682 static void destroy_async_on_interface(struct usb_dev_state *ps, in destroy_async_on_interface()
697 static void destroy_all_async(struct usb_dev_state *ps) in destroy_all_async()
716 struct usb_dev_state *ps = usb_get_intfdata(intf); in driver_disconnect()
758 struct usb_dev_state *ps; in usbfs_notify_resume()
779 static int claimintf(struct usb_dev_state *ps, unsigned int ifnum) in claimintf()
812 static int releaseintf(struct usb_dev_state *ps, unsigned int ifnum) in releaseintf()
838 static int checkintf(struct usb_dev_state *ps, unsigned int ifnum) in checkintf()
878 static int check_ctrlrecip(struct usb_dev_state *ps, unsigned int requesttype, in check_ctrlrecip()
946 static int parse_usbdevfs_streams(struct usb_dev_state *ps, in parse_usbdevfs_streams()
1035 struct usb_dev_state *ps; in usbdev_open()
1039 ps = kzalloc(sizeof(struct usb_dev_state), GFP_KERNEL); in usbdev_open()
1091 struct usb_dev_state *ps = file->private_data; in usbdev_release()
1166 static int do_proc_control(struct usb_dev_state *ps, in do_proc_control()
1271 static int proc_control(struct usb_dev_state *ps, void __user *arg) in proc_control()
1280 static int do_proc_bulk(struct usb_dev_state *ps, in do_proc_bulk()
1370 static int proc_bulk(struct usb_dev_state *ps, void __user *arg) in proc_bulk()
1393 static int proc_resetep(struct usb_dev_state *ps, void __user *arg) in proc_resetep()
1411 static int proc_clearhalt(struct usb_dev_state *ps, void __user *arg) in proc_clearhalt()
1434 static int proc_getdriver(struct usb_dev_state *ps, void __user *arg) in proc_getdriver()
1453 static int proc_connectinfo(struct usb_dev_state *ps, void __user *arg) in proc_connectinfo()
1466 static int proc_conninfo_ex(struct usb_dev_state *ps, in proc_conninfo_ex()
1499 static int proc_resetdevice(struct usb_dev_state *ps) in proc_resetdevice()
1526 static int proc_setintf(struct usb_dev_state *ps, void __user *arg) in proc_setintf()
1543 static int proc_setconfig(struct usb_dev_state *ps, void __user *arg) in proc_setconfig()
1592 find_memory_area(struct usb_dev_state *ps, const struct usbdevfs_urb *uurb) in find_memory_area()
1616 static int proc_do_submiturb(struct usb_dev_state *ps, struct usbdevfs_urb *uurb, in proc_do_submiturb()
1989 static int proc_submiturb(struct usb_dev_state *ps, void __user *arg) in proc_submiturb()
2005 static int proc_unlinkurb(struct usb_dev_state *ps, void __user *arg) in proc_unlinkurb()
2078 static struct async *reap_as(struct usb_dev_state *ps) in reap_as()
2101 static int proc_reapurb(struct usb_dev_state *ps, void __user *arg) in proc_reapurb()
2118 static int proc_reapurbnonblock(struct usb_dev_state *ps, void __user *arg) in proc_reapurbnonblock()
2135 static int proc_control_compat(struct usb_dev_state *ps, in proc_control_compat()
2148 static int proc_bulk_compat(struct usb_dev_state *ps, in proc_bulk_compat()
2163 static int proc_disconnectsignal_compat(struct usb_dev_state *ps, void __user *arg) in proc_disconnectsignal_compat()
2195 static int proc_submiturb_compat(struct usb_dev_state *ps, void __user *arg) in proc_submiturb_compat()
2246 static int proc_reapurb_compat(struct usb_dev_state *ps, void __user *arg) in proc_reapurb_compat()
2263 static int proc_reapurbnonblock_compat(struct usb_dev_state *ps, void __user *arg) in proc_reapurbnonblock_compat()
2282 static int proc_disconnectsignal(struct usb_dev_state *ps, void __user *arg) in proc_disconnectsignal()
2293 static int proc_claiminterface(struct usb_dev_state *ps, void __user *arg) in proc_claiminterface()
2302 static int proc_releaseinterface(struct usb_dev_state *ps, void __user *arg) in proc_releaseinterface()
2316 static int proc_ioctl(struct usb_dev_state *ps, struct usbdevfs_ioctl *ctl) in proc_ioctl()
2394 static int proc_ioctl_default(struct usb_dev_state *ps, void __user *arg) in proc_ioctl_default()
2404 static int proc_ioctl_compat(struct usb_dev_state *ps, compat_uptr_t arg) in proc_ioctl_compat()
2418 static int proc_claim_port(struct usb_dev_state *ps, void __user *arg) in proc_claim_port()
2432 static int proc_release_port(struct usb_dev_state *ps, void __user *arg) in proc_release_port()
2441 static int proc_get_capabilities(struct usb_dev_state *ps, void __user *arg) in proc_get_capabilities()
2460 static int proc_disconnect_claim(struct usb_dev_state *ps, void __user *arg) in proc_disconnect_claim()
2495 static int proc_alloc_streams(struct usb_dev_state *ps, void __user *arg) in proc_alloc_streams()
2515 static int proc_free_streams(struct usb_dev_state *ps, void __user *arg) in proc_free_streams()
2534 static int proc_drop_privileges(struct usb_dev_state *ps, void __user *arg) in proc_drop_privileges()
2551 static int proc_forbid_suspend(struct usb_dev_state *ps) in proc_forbid_suspend()
2565 static int proc_allow_suspend(struct usb_dev_state *ps) in proc_allow_suspend()
2578 static int proc_wait_for_resume(struct usb_dev_state *ps) in proc_wait_for_resume()
2600 struct usb_dev_state *ps = file->private_data; in usbdev_do_ioctl()
2833 struct usb_dev_state *ps = file->private_data; in usbdev_poll()
2860 struct usb_dev_state *ps; in usbdev_remove()
2865 ps = list_entry(udev->filelist.next, struct usb_dev_state, list); in usbdev_remove()