Searched refs:pIntf (Results 1 – 4 of 4) sorted by relevance
176 struct usb_interface *pIntf = get_usb_interface(dev); in ms_usb_release_intf() local179 if (pIntf->altsetting) in ms_usb_release_intf()181 for (ii = 0; ii < pIntf->num_altsetting; ii++) in ms_usb_release_intf()183 struct usb_host_interface *pAltset = &pIntf->altsetting[ii]; in ms_usb_release_intf()188 kfree(pIntf->altsetting); in ms_usb_release_intf()191 kfree(pIntf); in ms_usb_release_intf()206 struct usb_interface *pIntf, in ms_usb_parse_interface() argument215 pIntf->act_altsetting = 0; in ms_usb_parse_interface()216 pIntf->num_altsetting = 0; in ms_usb_parse_interface()217 pIntf->max_altsetting = USB_ALTSETTING_ALLOC; //Use 4 interface altsettings each time in ms_usb_parse_interface()[all …]
470 void ms_usb_disable_interface(struct usb_device *pDev, struct usb_interface *pIntf) in ms_usb_disable_interface() argument473 struct usb_host_interface *hintf = &pIntf->altsetting[pIntf->act_altsetting]; in ms_usb_disable_interface()557 struct usb_interface *pIntf) in ms_usb_enable_interface() argument560 &pIntf->altsetting[pIntf->act_altsetting]; in ms_usb_enable_interface()578 struct usb_interface *pIntf; in ms_usb_set_interface() local582 pIntf = ms_usb_ifnum_to_if(pDev, interface); in ms_usb_set_interface()583 if (!pIntf) in ms_usb_set_interface()589 if (alternate < 0 || alternate >= pIntf->num_altsetting) in ms_usb_set_interface()594 pIntf->altsetting[alternate] in ms_usb_set_interface()598 if (ret == -EPIPE && pIntf->num_altsetting == 1) in ms_usb_set_interface()[all …]
494 static int ms_hub_probe(struct usb_interface *pIntf, const struct usb_device_id *id) in ms_hub_probe() argument502 pHIdesc = pIntf->altsetting + pIntf->act_altsetting; in ms_hub_probe()503 pUdev = interface_to_usbdev(pIntf); in ms_hub_probe()548 pHub->intf = pIntf; in ms_hub_probe()555 ms_usb_set_intfdata (pIntf, pHub); in ms_hub_probe()560 ms_hub_disconnect (pIntf); in ms_hub_probe()
89 struct usb_interface *pIntf);94 struct usb_interface *pIntf);