Lines Matching refs:iface
317 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_show() local
318 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_chid_show()
330 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_store() local
331 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_chid_store()
364 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_show() local
365 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_name_show()
375 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_store() local
376 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_name_store()
391 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_show() local
392 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_band_groups_show()
402 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_store() local
403 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_host_band_groups_store()
430 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_cdid_show() local
431 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_cdid_show()
443 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_cdid_store() local
444 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_cdid_store()
473 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_device_band_groups_show() local
474 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_device_band_groups_show()
487 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_device_name_show() local
488 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_device_name_show()
551 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_ck_store() local
552 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_wusb_ck_store()
594 static int cbaf_probe(struct usb_interface *iface, in cbaf_probe() argument
598 struct device *dev = &iface->dev; in cbaf_probe()
609 cbaf->usb_dev = usb_get_dev(interface_to_usbdev(iface)); in cbaf_probe()
610 cbaf->usb_iface = usb_get_intf(iface); in cbaf_probe()
623 usb_set_intfdata(iface, cbaf); in cbaf_probe()
628 usb_put_intf(iface); in cbaf_probe()
637 static void cbaf_disconnect(struct usb_interface *iface) in cbaf_disconnect() argument
639 struct cbaf *cbaf = usb_get_intfdata(iface); in cbaf_disconnect()
640 struct device *dev = &iface->dev; in cbaf_disconnect()
642 usb_set_intfdata(iface, NULL); in cbaf_disconnect()
643 usb_put_intf(iface); in cbaf_disconnect()