Lines Matching refs:intf
103 * @intf: the interface containing the altsetting in question
115 * Don't call this function unless you are bound to the intf interface
118 struct usb_host_interface *usb_altnum_to_altsetting(const struct usb_interface *intf,
123 for (i = 0; i < intf->num_altsetting; i++) {
124 if (intf->altsetting[i].desc.bAlternateSetting == altnum)
125 return &intf->altsetting[i];
138 struct usb_interface *intf;
144 intf = to_usb_interface(dev);
145 if (intf->minor != -1 && intf->minor == arg->minor) {
146 arg->interface = intf;
360 * @intf: the interface being referenced
371 struct usb_interface *usb_get_intf(struct usb_interface *intf)
373 if (intf)
374 get_device(&intf->dev);
375 return intf;
380 * @intf: interface that's been decremented
386 void usb_put_intf(struct usb_interface *intf)
388 if (intf)
389 put_device(&intf->dev);