Lines Matching defs:interface
48 struct usb_interface *interface;
481 static int pn533_usb_probe(struct usb_interface *interface,
500 phy = devm_kzalloc(&interface->dev, sizeof(*phy), GFP_KERNEL);
508 phy->udev = usb_get_dev(interface_to_usbdev(interface));
509 phy->interface = interface;
511 iface_desc = interface->cur_altsetting;
523 nfc_err(&interface->dev,
563 nfc_err(&interface->dev,
570 nfc_err(&interface->dev, "Unknown device type %lu\n",
591 usb_set_intfdata(interface, phy);
592 rc = pn53x_register_nfc(priv, protocols, &interface->dev);
615 static void pn533_usb_disconnect(struct usb_interface *interface)
617 struct pn533_usb_phy *phy = usb_get_intfdata(interface);
625 usb_set_intfdata(interface, NULL);
637 nfc_info(&interface->dev, "NXP PN533 NFC device disconnected\n");