Lines Matching refs:usb_intf
792 int rt2x00usb_probe(struct usb_interface *usb_intf, in rt2x00usb_probe() argument
795 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in rt2x00usb_probe()
810 usb_set_intfdata(usb_intf, hw); in rt2x00usb_probe()
813 rt2x00dev->dev = &usb_intf->dev; in rt2x00usb_probe()
855 usb_set_intfdata(usb_intf, NULL); in rt2x00usb_probe()
861 void rt2x00usb_disconnect(struct usb_interface *usb_intf) in rt2x00usb_disconnect() argument
863 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); in rt2x00usb_disconnect()
876 usb_set_intfdata(usb_intf, NULL); in rt2x00usb_disconnect()
877 usb_put_dev(interface_to_usbdev(usb_intf)); in rt2x00usb_disconnect()
882 int rt2x00usb_suspend(struct usb_interface *usb_intf, pm_message_t state) in rt2x00usb_suspend() argument
884 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); in rt2x00usb_suspend()
891 int rt2x00usb_resume(struct usb_interface *usb_intf) in rt2x00usb_resume() argument
893 struct ieee80211_hw *hw = usb_get_intfdata(usb_intf); in rt2x00usb_resume()