Searched refs:uii (Results 1 – 3 of 3) sorted by relevance
80 static status_t get_interface_properties(usb_interface_info *uii, uint32 *pproperties);83 static status_t setup_endpoints(usb_interface_info *uii, usb_device_info *udi);99 status_t get_interface_properties(usb_interface_info *uii, uint32 *pproperties)102 if(uii->descr->interface_class == USB_DEV_CLASS_MASS){104 switch(uii->descr->interface_subclass){113 uii->descr->interface_subclass);117 switch(uii->descr->interface_protocol){123 uii->descr->interface_protocol);233 status_t setup_endpoints(usb_interface_info *uii, usb_device_info *udi)241 for(; ep < uii->endpoint_count; ep++){[all …]
314 usb_interface_info *uii = uci->interface[0].active; in add_device() local317 for(i=0; i < uii->endpoint_count; i++){ in add_device()318 if(uii->endpoint[i].descr->attributes == USB_EP_ATTR_ISOCHRONOUS){ in add_device()319 if((uii->endpoint[i].descr->endpoint_address & USB_EP_ADDR_DIR_IN) == USB_EP_ADDR_DIR_IN){ in add_device()320 data_epi = &uii->endpoint[i]; in add_device()324 if(uii->endpoint[i].descr->attributes == USB_EP_ATTR_CONTROL){ in add_device()325 control_epi = &uii->endpoint[i]; in add_device()
269 setup_endpoints(const usb_interface_info *uii, pegasus_dev *dev) in setup_endpoints() argument273 for(; ep < uii->endpoint_count; ep++){ in setup_endpoints()274 usb_endpoint_descriptor *ed = uii->endpoint[ep].descr; in setup_endpoints()276 ed->endpoint_address, uii->endpoint[ep].handle); in setup_endpoints()289 dev->pipe_in = uii->endpoint[epts[0]].handle; in setup_endpoints()290 dev->pipe_out = uii->endpoint[epts[1]].handle; in setup_endpoints()291 dev->pipe_intr = uii->endpoint[epts[2]].handle; in setup_endpoints()