treewide: capitalize 'USB'
Change-Id: I7650786ea50465a4c2d11de948fdb81f4e509772 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39100 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
dfd3f21174
commit
44f558ec26
@@ -291,7 +291,7 @@ static int ehci_set_async_schedule(ehci_t *ehcic, int enable)
|
||||
|
||||
/* Memory barrier to ensure that all memory accesses before we set the
|
||||
* async schedule are complete. It was observed especially in the case of
|
||||
* arm64, that netboot and usb stuff resulted in lots of errors possibly
|
||||
* arm64, that netboot and USB stuff resulted in lots of errors possibly
|
||||
* due to CPU reordering. Hence, enforcing strict CPU ordering.
|
||||
*/
|
||||
mb();
|
||||
|
@@ -634,14 +634,14 @@ set_address (hci_t *controller, usb_speed speed, int hubport, int hubaddr)
|
||||
|
||||
/*
|
||||
* Should be called by the hub drivers whenever a physical detach occurs
|
||||
* and can be called by usb class drivers if they are unsatisfied with a
|
||||
* and can be called by USB class drivers if they are unsatisfied with a
|
||||
* malfunctioning device.
|
||||
*/
|
||||
void
|
||||
usb_detach_device(hci_t *controller, int devno)
|
||||
{
|
||||
/* check if device exists, as we may have
|
||||
been called yet by the usb class driver */
|
||||
been called yet by the USB class driver */
|
||||
if (controller->devices[devno]) {
|
||||
controller->devices[devno]->destroy (controller->devices[devno]);
|
||||
|
||||
|
@@ -126,7 +126,7 @@ enum {
|
||||
* MSC commands can be
|
||||
* successful,
|
||||
* fail with proper response or
|
||||
* fail totally, which results in detaching of the usb device
|
||||
* fail totally, which results in detaching of the USB device
|
||||
* and immediate cleanup of the usbdev_t structure.
|
||||
* In the latter case the caller has to make sure, that he won't
|
||||
* use the device any more.
|
||||
@@ -703,14 +703,14 @@ usb_msc_poll (usbdev_t *dev)
|
||||
return;
|
||||
|
||||
if (!prev_ready && msc->ready) {
|
||||
usb_debug ("usb msc: not ready -> ready (lun %d)\n", msc->lun);
|
||||
usb_debug ("USB msc: not ready -> ready (lun %d)\n", msc->lun);
|
||||
usb_msc_create_disk (dev);
|
||||
} else if (prev_ready && !msc->ready) {
|
||||
usb_debug ("usb msc: ready -> not ready (lun %d)\n", msc->lun);
|
||||
usb_debug ("USB msc: ready -> not ready (lun %d)\n", msc->lun);
|
||||
usb_msc_remove_disk (dev);
|
||||
} else if (!prev_ready && !msc->ready) {
|
||||
u8 new_lun = (msc->lun + 1) % msc->num_luns;
|
||||
usb_debug("usb msc: not ready (lun %d) -> lun %d\n", msc->lun,
|
||||
usb_debug("USB msc: not ready (lun %d) -> lun %d\n", msc->lun,
|
||||
new_lun);
|
||||
msc->lun = new_lun;
|
||||
}
|
||||
|
Reference in New Issue
Block a user