Lines Matching refs:descriptor

164             pDevId->idVendor != pUdev->descriptor.idVendor)  in ms_usb_match_id()
168 pDevId->idProduct != pUdev->descriptor.idProduct) in ms_usb_match_id()
172 (pDevId->bcdDevice_lo >= pUdev->descriptor.bcdDevice)) in ms_usb_match_id()
176 (pDevId->bcdDevice_hi <= pUdev->descriptor.bcdDevice)) in ms_usb_match_id()
180 (pDevId->bDeviceClass != pUdev->descriptor.bDeviceClass)) in ms_usb_match_id()
184 (pDevId->bDeviceSubClass!= pUdev->descriptor.bDeviceSubClass)) in ms_usb_match_id()
188 (pDevId->bDeviceProtocol != pUdev->descriptor.bDeviceProtocol)) in ms_usb_match_id()
341 if (pusbdev->descriptor.bDeviceClass) in ms_usb_get_connected_dev_state()
343 *pDevClass = pusbdev->descriptor.bDeviceClass; in ms_usb_get_connected_dev_state()
660 s32Err = ms_usb_get_descriptor(pUdev, USB_DT_DEVICE, 0, &pUdev->descriptor, 8); in ms_usb_new_device()
674 pUdev->pEpMaxPacketIn [0] = pUdev->descriptor.bMaxPacketSize0; in ms_usb_new_device()
675 pUdev->pEpMaxPacketOut[0] = pUdev->descriptor.bMaxPacketSize0; in ms_usb_new_device()
676 u8MaxPacketSize = pUdev->descriptor.bMaxPacketSize0; in ms_usb_new_device()
680 if (s32Err < (signed)sizeof(pUdev->descriptor)) in ms_usb_new_device()
688 …g_printf("usb new device VID = %4x, PID = %4x\n", pUdev->descriptor.idVendor, pUdev->descriptor.id… in ms_usb_new_device()
696 if (ms_usb_test_proc_vid(pUdev->descriptor.idVendor, pUdev->descriptor.idProduct) == 1) in ms_usb_new_device()
709 if (pUdev->descriptor.bNumConfigurations != 1) in ms_usb_new_device()
713 pUdev->descriptor.bNumConfigurations); in ms_usb_new_device()
716 if (pUdev->descriptor.iManufacturer) in ms_usb_new_device()
720 … retv = ms_usb_string(pUdev, pUdev->descriptor.iManufacturer, usb_manufacturer_string_buf, 64); in ms_usb_new_device()
729 …ms_usbhost_msg("USB device manufacturer string (index %d) = %s\n", pUdev->descriptor.iManufacturer… in ms_usb_new_device()
730 if (pUdev->descriptor.iProduct) in ms_usb_new_device()
734 retv = ms_usb_string(pUdev, pUdev->descriptor.iProduct, usb_product_string_buf, 64); in ms_usb_new_device()
743 …ms_usbhost_msg("USB device product string (index %d) = %s\n", pUdev->descriptor.iProduct, pUdev->p… in ms_usb_new_device()
744 if (pUdev->descriptor.iSerialNumber) in ms_usb_new_device()
748 … retv = ms_usb_string(pUdev, pUdev->descriptor.iSerialNumber, usb_serialnumber_string_buf, 64); in ms_usb_new_device()
757 …ms_usbhost_msg("USB device serial number string (index %d) = %s\n", pUdev->descriptor.iSerialNumbe… in ms_usb_new_device()
774 if (ms_usb_test_proc_vid(pUdev->descriptor.idVendor, pUdev->descriptor.idProduct) == 2) in ms_usb_new_device()