m1n1/src/usb.h
Hector Martin de6979fc7b Revert "usb: Add usb_idx_from_address() to find a dev by its MMIO addr"
This is no longer needed, so put things back the way they were.

This reverts commit e689ceb263.

Signed-off-by: Hector Martin <marcan@marcan.st>
2021-11-23 23:36:14 +09:00

18 lines
333 B
C

/* SPDX-License-Identifier: MIT */
#ifndef USB_H
#define USB_H
#include "iodev.h"
#include "types.h"
#include "usb_dwc3.h"
dwc3_dev_t *usb_bringup(u32 idx);
void usb_init(void);
void usb_hpm_restore_irqs(bool force);
void usb_iodev_init(void);
void usb_iodev_shutdown(void);
void usb_iodev_vuart_setup(iodev_id_t iodev);
#endif