FreeBSD kernel usb device Code
usb_util.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t usb_make_str_desc (void *ptr, uint16_t max_len, const char *s)
 
void usb_printbcd (char *p, uint16_t p_len, uint16_t bcd)
 
void usb_trim_spaces (char *p)
 
int usb_check_request (struct usb_device *, struct usb_device_request *)
 

Function Documentation

◆ usb_check_request()

int usb_check_request ( struct usb_device ,
struct usb_device_request  
)

Referenced by usbhid_ioctl().

Here is the caller graph for this function:

◆ usb_make_str_desc()

◆ usb_printbcd()

void usb_printbcd ( char *  p,
uint16_t  p_len,
uint16_t  bcd 
)

Definition at line 159 of file usb_util.c.

◆ usb_trim_spaces()

void usb_trim_spaces ( char *  p)

Definition at line 173 of file usb_util.c.

Referenced by usb_set_device_strings().

Here is the caller graph for this function: