Lines Matching refs:interface
48 struct usb_interface *interface;
477 static int pn533_usb_probe(struct usb_interface *interface,
496 phy = devm_kzalloc(&interface->dev, sizeof(*phy), GFP_KERNEL);
504 phy->udev = usb_get_dev(interface_to_usbdev(interface));
505 phy->interface = interface;
507 iface_desc = interface->cur_altsetting;
519 nfc_err(&interface->dev,
559 nfc_err(&interface->dev,
566 nfc_err(&interface->dev, "Unknown device type %lu\n",
587 usb_set_intfdata(interface, phy);
588 rc = pn53x_register_nfc(priv, protocols, &interface->dev);
611 static void pn533_usb_disconnect(struct usb_interface *interface)
613 struct pn533_usb_phy *phy = usb_get_intfdata(interface);
621 usb_set_intfdata(interface, NULL);
633 nfc_info(&interface->dev, "NXP PN533 NFC device disconnected\n");