sys/bus/u4b/usb_dev.c
/*------------------------------------------------------------------------*
 *	usb_loc_fill
 *
 * This is used to fill out a usb_cdev_privdata structure based on the
 * device's address as contained in usb_fs_privdata.
 *------------------------------------------------------------------------*/
usb_loc_fill
This is used to fill out a usb_cdev_privdata structure based on the
device's address as contained in usb_fs_privdata.
usb_loc_fill This is used to fill out a usb_cdev_privdata structure based on the device ' s address as contained in usb_fs_privdata .
static void
usb_loc_fill(struct usb_fs_privdata* pd, struct usb_cdev_privdata *cpd)
{
	cpd->bus_index = pd->bus_index;
	cpd->dev_index = pd->dev_index;
	cpd->ep_addr = pd->ep_addr;
	cpd->fifo_index = pd->fifo_index;
}
static void usb_loc_fill ( struct usb_fs_privdata * pd , struct usb_cdev_privdata * cpd ) { cpd -> bus_index = pd -> bus_index ; cpd -> dev_index = pd -> dev_index ; cpd -> ep_addr = pd -> ep_addr ; cpd -> fifo_index = pd -> fifo_index ; }
usb_loc_fill
 This is used to fill out a usb_cdev_privdata structure based on the
 device's address as contained in usb_fs_privdata.
usb_loc_fill This is used to fill out a usb_cdev_privdata structure based on the device ' s address as contained in usb_fs_privdata .