Lines Matching refs:intf

41 	struct usb_interface *intf;  in xusbatm_find_intf()  local
45 …if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting)… in xusbatm_find_intf()
48 return intf; in xusbatm_find_intf()
53 struct usb_interface *intf, int altsetting, int claim) in xusbatm_capture_intf() argument
55 int ifnum = intf->altsetting->desc.bInterfaceNumber; in xusbatm_capture_intf()
58 if (claim && (ret = usb_driver_claim_interface(&xusbatm_usb_driver, intf, usbatm))) { in xusbatm_capture_intf()
70 static void xusbatm_release_intf(struct usb_device *usb_dev, struct usb_interface *intf, int claime… in xusbatm_release_intf() argument
73 usb_set_intfdata(intf, NULL); in xusbatm_release_intf()
74 usb_driver_release_interface(&xusbatm_usb_driver, intf); in xusbatm_release_intf()
79 struct usb_interface *intf, const struct usb_device_id *id) in xusbatm_bind() argument
81 struct usb_device *usb_dev = interface_to_usbdev(intf); in xusbatm_bind()
105 if ((rx_intf != intf) && (tx_intf != intf)) in xusbatm_bind()
118 ret = xusbatm_capture_intf(usbatm, usb_dev, rx_intf, rx_alt, rx_intf != intf); in xusbatm_bind()
122 …f != rx_intf) && (ret = xusbatm_capture_intf(usbatm, usb_dev, tx_intf, tx_alt, tx_intf != intf))) { in xusbatm_bind()
123 xusbatm_release_intf(usb_dev, rx_intf, rx_intf != intf); in xusbatm_bind()
131 struct usb_interface *intf) in xusbatm_unbind() argument
133 struct usb_device *usb_dev = interface_to_usbdev(intf); in xusbatm_unbind()
160 static int xusbatm_usb_probe(struct usb_interface *intf, in xusbatm_usb_probe() argument
163 return usbatm_usb_probe(intf, id, in xusbatm_usb_probe()