Lines Matching refs:usb_dev
35 struct usb_device *usb_dev; in wusb_disconnect_store() local
44 usb_dev = to_usb_device(dev); in wusb_disconnect_store()
45 wusbhc = wusbhc_get_by_usb_dev(usb_dev); in wusb_disconnect_store()
50 port_idx = wusb_port_no_to_idx(usb_dev->portnum); in wusb_disconnect_store()
79 struct usb_device *usb_dev; in wusb_ck_store() local
99 usb_dev = to_usb_device(dev); in wusb_ck_store()
100 wusbhc = wusbhc_get_by_usb_dev(usb_dev); in wusb_ck_store()
103 result = wusb_dev_4way_handshake(wusbhc, usb_dev->wusb_dev, &ck); in wusb_ck_store()
122 int wusb_dev_sysfs_add(struct wusbhc *wusbhc, struct usb_device *usb_dev, in wusb_dev_sysfs_add() argument
125 int result = sysfs_create_group(&usb_dev->dev.kobj, in wusb_dev_sysfs_add()
127 struct device *dev = &usb_dev->dev; in wusb_dev_sysfs_add()
136 struct usb_device *usb_dev = wusb_dev->usb_dev; in wusb_dev_sysfs_rm() local
137 if (usb_dev) in wusb_dev_sysfs_rm()
138 sysfs_remove_group(&usb_dev->dev.kobj, &wusb_dev_attr_group); in wusb_dev_sysfs_rm()