Lines Matching refs:intf

213  * @intf: the interface whose current altsetting should be searched
221 const struct usb_interface *intf, unsigned int ep_addr)
226 n = intf->cur_altsetting->desc.bNumEndpoints;
227 ep = intf->cur_altsetting->endpoint;
238 * @intf: the interface whose current altsetting should be searched
247 const struct usb_interface *intf, const u8 *ep_addrs)
252 ep = usb_find_endpoint(intf, *ep_addrs);
263 * @intf: the interface whose current altsetting should be searched
273 const struct usb_interface *intf, const u8 *ep_addrs)
278 ep = usb_find_endpoint(intf, *ep_addrs);
320 printk(KERN_DEBUG "Did not find alt setting %u for intf %u, "
367 * @intf: the interface containing the altsetting in question
378 * Don't call this function unless you are bound to the intf interface
381 * Return: A pointer to the entry of the altsetting array of @intf that
385 const struct usb_interface *intf,
390 for (i = 0; i < intf->num_altsetting; i++) {
391 if (intf->altsetting[i].desc.bAlternateSetting == altnum)
392 return &intf->altsetting[i];
406 struct usb_interface *intf;
413 intf = to_usb_interface(dev);
414 return intf->minor == arg->minor;
786 * @intf: the interface being referenced
800 struct usb_interface *usb_get_intf(struct usb_interface *intf)
802 if (intf)
803 get_device(&intf->dev);
804 return intf;
810 * @intf: interface that's been decremented
816 void usb_put_intf(struct usb_interface *intf)
818 if (intf)
819 put_device(&intf->dev);
825 * @intf: the usb interface
837 struct device *usb_intf_get_dma_device(struct usb_interface *intf)
839 struct usb_device *udev = interface_to_usbdev(intf);