Home
last modified time | relevance | path

Searched refs:if_desc (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c64 …_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…
1465 …i_get_interface_desc(const void *in_buf, const uint8_t if_num, struct usb_interface_desc **if_desc) in xhci_get_interface_desc() argument
1467 if (unlikely(if_desc == NULL || in_buf == NULL)) in xhci_get_interface_desc()
1487 *if_desc = ptr; in xhci_get_interface_desc()
1504 static inline int xhci_get_endpoint_desc(const struct usb_interface_desc *if_desc, const uint8_t ep… in xhci_get_endpoint_desc() argument
1507 if (unlikely(if_desc == NULL || ep_desc == NULL)) in xhci_get_endpoint_desc()
1509 BUG_ON(ep_num >= if_desc->num_endpoints); in xhci_get_endpoint_desc()
1511 …*ep_desc = (struct usb_endpoint_desc *)((uint64_t)(if_desc + 1) + ep_num * sizeof(struct usb_endpo… in xhci_get_endpoint_desc()
1695 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 …]