sys/bus/u4b/usb_busdma.c
/*------------------------------------------------------------------------*
 *	usb_pc_free_mem - free DMA memory
 *
 * This function is NULL safe.
 *------------------------------------------------------------------------*/
free DMA memory
This function is NULL safe.
free DMA memory This function is NULL safe .
void
usb_pc_free_mem(struct usb_page_cache *pc)
{
	if (pc && pc->buffer) {
		bus_dmamap_unload(pc->tag, pc->map);
		bus_dmamem_free(pc->tag, pc->buffer, pc->map);
		pc->buffer = NULL;
	}
}
void usb_pc_free_mem ( struct usb_page_cache * pc ) { if ( pc && pc -> buffer ) { bus_dmamap_unload ( pc -> tag , pc -> map ) ; bus_dmamem_free ( pc -> tag , pc -> buffer , pc -> map ) ; pc -> buffer = NULL ; } }
usb_pc_free_mem - free DMA memory
 This function is NULL safe.
usb_pc_free_mem - free DMA memory This function is NULL safe .