Lines Matching refs:intf
149 #define interface_to_usbdev(intf) \
150 container_of(intf->dev.parent, struct usb_device, dev)
152 static inline void *usb_get_intfdata (struct usb_interface *intf)
154 return dev_get_drvdata (&intf->dev);
157 static inline void usb_set_intfdata (struct usb_interface *intf, void *data)
159 dev_set_drvdata(&intf->dev, data);
162 struct usb_interface *usb_get_intf(struct usb_interface *intf);
163 void usb_put_intf(struct usb_interface *intf);
429 struct usb_interface *intf, unsigned int altnum);
592 int (*probe) (struct usb_interface *intf,
595 void (*disconnect) (struct usb_interface *intf);
597 int (*ioctl) (struct usb_interface *intf, unsigned int code,
600 int (*suspend) (struct usb_interface *intf, pm_message_t message);
601 int (*resume) (struct usb_interface *intf);
603 void (*pre_reset) (struct usb_interface *intf);
604 void (*post_reset) (struct usb_interface *intf);
643 extern int usb_register_dev(struct usb_interface *intf,
645 extern void usb_deregister_dev(struct usb_interface *intf,