Searched refs:if_desc (Results 1 – 1 of 1) sorted by relevance
64 …_get_interface_desc(const void *in_buf, const uint8_t if_num, struct usb_interface_desc **if_desc);65 static inline int xhci_get_endpoint_desc(const struct usb_interface_desc *if_desc, const uint8_t ep…1467 …i_get_interface_desc(const void *in_buf, const uint8_t if_num, struct usb_interface_desc **if_desc) in xhci_get_interface_desc() argument1469 if (unlikely(if_desc == NULL || in_buf == NULL)) in xhci_get_interface_desc()1489 *if_desc = ptr; in xhci_get_interface_desc()1506 static inline int xhci_get_endpoint_desc(const struct usb_interface_desc *if_desc, const uint8_t ep… in xhci_get_endpoint_desc() argument1509 if (unlikely(if_desc == NULL || ep_desc == NULL)) in xhci_get_endpoint_desc()1511 BUG_ON(ep_num >= if_desc->num_endpoints); in xhci_get_endpoint_desc()1513 …*ep_desc = (struct usb_endpoint_desc *)((uint64_t)(if_desc + 1) + ep_num * sizeof(struct usb_endpo… in xhci_get_endpoint_desc()1697 static int xhci_hid_set_idle(const int id, const int port_id, struct usb_interface_desc *if_desc) in xhci_hid_set_idle() argument[all …]