forked from xuos/xiuos
Adding more USB hardware information for RK3568
This commit is contained in:
parent
b0471990a3
commit
bf1947052b
|
@ -813,16 +813,27 @@ struct xhci_host {
|
|||
char name[4];
|
||||
|
||||
/* xhci registers base addr */
|
||||
/*
|
||||
* base, cap, op, run and db are pointed to their according physical address. However, the user-space driver can not access physical
|
||||
* address directly. So we add these data members: base_addr, cap_addr, op_addr, run_addr and ad_addr, and bind them to the according
|
||||
* physical address.
|
||||
*/
|
||||
/** Registers base */
|
||||
void *base;
|
||||
void *base_addr;
|
||||
/** Capability registers */
|
||||
void *cap;
|
||||
void *cap_addr;
|
||||
|
||||
/** Operational registers */
|
||||
void *op;
|
||||
void *op_addr;
|
||||
/** Runtime registers */
|
||||
void *run;
|
||||
void *run_addr;
|
||||
/** Doorbell registers */
|
||||
void *db;
|
||||
void *db_addr;
|
||||
/** extended capability */
|
||||
unsigned int xecp;
|
||||
/** capability cache */
|
||||
|
|
Loading…
Reference in New Issue