FreeBSD kernel usb device Code
|
#include <sys/stdint.h>
#include <sys/stddef.h>
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/types.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/bus.h>
#include <sys/module.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/condvar.h>
#include <sys/sysctl.h>
#include <sys/sx.h>
#include <sys/unistd.h>
#include <sys/callout.h>
#include <sys/malloc.h>
#include <sys/priv.h>
#include <sys/limits.h>
#include <sys/endian.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
Go to the source code of this file.
Functions | |
const struct usb_device_id * | usbd_lookup_id_by_info (const struct usb_device_id *id, usb_size_t sizeof_id, const struct usbd_lookup_info *info) |
int | usbd_lookup_id_by_uaa (const struct usb_device_id *id, usb_size_t sizeof_id, struct usb_attach_arg *uaa) |
const struct usb_device_id * usbd_lookup_id_by_info | ( | const struct usb_device_id * | id, |
usb_size_t | sizeof_id, | ||
const struct usbd_lookup_info * | info | ||
) |
Definition at line 72 of file usb_lookup.c.
References usbd_lookup_info::bcdDevice, usbd_lookup_info::bDeviceClass, usbd_lookup_info::bDeviceProtocol, usbd_lookup_info::bDeviceSubClass, usbd_lookup_info::bInterfaceClass, usbd_lookup_info::bInterfaceProtocol, usbd_lookup_info::bInterfaceSubClass, id, usbd_lookup_info::idProduct, and usbd_lookup_info::idVendor.
Referenced by uftdi_probe(), and usbd_lookup_id_by_uaa().
int usbd_lookup_id_by_uaa | ( | const struct usb_device_id * | id, |
usb_size_t | sizeof_id, | ||
struct usb_attach_arg * | uaa | ||
) |
Definition at line 143 of file usb_lookup.c.
References usb_attach_arg::driver_info, usb_attach_arg::info, and usbd_lookup_id_by_info().
Referenced by aue_probe(), axe_probe(), axge_probe(), cdce_probe(), cdce_test_autoinst(), cdceem_probe(), cp2112_probe(), cue_probe(), ipheth_probe(), kue_probe(), mos_probe(), muge_probe(), rsu_match(), rue_probe(), rum_match(), run_autoinst(), run_match(), smsc_probe(), u3g_probe(), u3g_test_autoinst(), uark_probe(), uath_match(), ubsa_probe(), uchcom_probe(), ucycom_probe(), udav_probe(), udbp_probe(), udl_probe(), uep_probe(), ufoma_probe(), ugensa_probe(), ugold_probe(), uhid_probe(), uhid_snes_probe(), uhso_probe(), uhso_test_autoinst(), uipaq_probe(), uled_probe(), ulpt_probe(), umcs7840_probe(), umct_probe(), umodem_probe(), umoscom_probe(), upgt_match(), uplcom_probe(), ural_match(), ure_probe(), urio_probe(), urndis_probe(), urtw_match(), usbhid_probe(), usie_autoinst(), usie_probe(), uslcom_probe(), uvisor_probe(), uvscom_probe(), wsp_probe(), and zyd_match().