}
/**
- * @INTERNAL
* Read a USB 32bit CSR. It performs the necessary address swizzle
* for 32bit CSRs and logs the value in a readable format if
* debugging is on.
/**
- * @INTERNAL
* Write a USB 32bit CSR. It performs the necessary address
* swizzle for 32bit CSRs and logs the value in a readable format
* if debugging is on.
/**
- * @INTERNAL
* Read a USB 64bit CSR. It logs the value in a readable format if
* debugging is on.
*
/**
- * @INTERNAL
* Write a USB 64bit CSR. It logs the value in a readable format
* if debugging is on.
*
}
/**
- * @INTERNAL
* Return non zero if this pipe connects to a non HIGH speed
* device through a high speed hub.
*
/**
- * @INTERNAL
* Trivial utility function to return the correct PID for a pipe
*
* @param pipe pipe to check
/**
- * @INTERNAL
* Allocate a usb transaction for use
*
* @param usb USB device state populated by
/**
- * @INTERNAL
* Free a usb transaction
*
* @param usb USB device state populated by
/**
- * @INTERNAL
* Add a pipe to the tail of a list
* @param list List to add pipe to
* @param pipe Pipe to add
/**
- * @INTERNAL
* Remove a pipe from a list
* @param list List to remove pipe from
* @param pipe Pipe to remove
/**
- * @INTERNAL
* Convert a USB transaction into a handle
*
* @param usb USB device state populated by
/**
- * @INTERNAL
* Convert a USB pipe into a handle
*
* @param usb USB device state populated by
/**
- * @INTERNAL
* Poll the RX FIFOs and remove data as needed. This function is only used
* in non DMA mode. It is very important that this function be called quickly
* enough to prevent FIFO overflow.
/**
- * @INTERNAL
* Fill the TX FIFO with an outgoing packet
*
* @param usb USB device state populated by
}
/**
- * @INTERNAL
* Perform channel specific setup for Control transactions. All
* the generic stuff will already have been done in
* __cvmx_usb_start_channel()
/**
- * @INTERNAL
* Start a channel to perform the pipe's head transaction
*
* @param usb USB device state populated by
/**
- * @INTERNAL
* Find a pipe that is ready to be scheduled to hardware.
* @param usb USB device state populated by
* cvmx_usb_initialize().
/**
- * @INTERNAL
* Called whenever a pipe might need to be scheduled to the
* hardware.
*
/**
- * @INTERNAL
* Call a user's callback for a specific reason.
*
* @param usb USB device state populated by
/**
- * @INTERNAL
* Signal the completion of a transaction and free it. The
* transaction will be removed from the pipe transaction list.
*
/**
- * @INTERNAL
* Submit a usb transaction to a pipe. Called for all types
* of transactions.
*
/**
- * @INTERNAL
* Poll a channel for status
*
* @param usb USB device