FreeBSD kernel usb device Code
usb_endpoint Struct Reference

#include <usbdi.h>

Collaboration diagram for usb_endpoint:

Data Fields

struct usb_xfer_queue endpoint_q [USB_MAX_EP_STREAMS]
 
struct usb_endpoint_descriptoredesc
 
struct usb_endpoint_ss_comp_descriptorecomp
 
const struct usb_pipe_methodsmethods
 
uint16_t isoc_next
 
uint8_t toggle_next:1
 
uint8_t is_stalled:1
 
uint8_t is_synced:1
 
uint8_t unused:5
 
uint8_t iface_index
 
uint8_t refcount_alloc
 
uint8_t refcount_bw
 
uint8_t usb_smask
 
uint8_t usb_cmask
 
uint8_t usb_uframe
 
uint8_t ep_mode
 

Detailed Description

Definition at line 140 of file usbdi.h.

Field Documentation

◆ ecomp

◆ edesc

◆ endpoint_q

◆ ep_mode

uint8_t usb_endpoint::ep_mode

◆ iface_index

uint8_t usb_endpoint::iface_index

◆ is_stalled

uint8_t usb_endpoint::is_stalled

◆ is_synced

uint8_t usb_endpoint::is_synced

Definition at line 152 of file usbdi.h.

Referenced by usbd_callback_wrapper_sub(), and usbd_xfer_get_isochronous_start_frame().

◆ isoc_next

◆ methods

◆ refcount_alloc

uint8_t usb_endpoint::refcount_alloc

Definition at line 156 of file usbdi.h.

Referenced by usb_config_parse(), usbd_transfer_setup(), and usbd_transfer_unsetup().

◆ refcount_bw

uint8_t usb_endpoint::refcount_bw

Definition at line 157 of file usbdi.h.

Referenced by usb_hs_bandwidth_alloc(), and usb_hs_bandwidth_free().

◆ toggle_next

◆ unused

uint8_t usb_endpoint::unused

Definition at line 153 of file usbdi.h.

◆ usb_cmask

uint8_t usb_endpoint::usb_cmask

◆ usb_smask

uint8_t usb_endpoint::usb_smask

◆ usb_uframe

uint8_t usb_endpoint::usb_uframe

Definition at line 164 of file usbdi.h.

Referenced by usb_hs_bandwidth_alloc(), and usb_hs_bandwidth_free().


The documentation for this struct was generated from the following file: