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];
|
char name[4];
|
||||||
|
|
||||||
/* xhci registers base addr */
|
/* 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 */
|
/** Registers base */
|
||||||
void *base;
|
void *base;
|
||||||
|
void *base_addr;
|
||||||
/** Capability registers */
|
/** Capability registers */
|
||||||
void *cap;
|
void *cap;
|
||||||
|
void *cap_addr;
|
||||||
|
|
||||||
/** Operational registers */
|
/** Operational registers */
|
||||||
void *op;
|
void *op;
|
||||||
|
void *op_addr;
|
||||||
/** Runtime registers */
|
/** Runtime registers */
|
||||||
void *run;
|
void *run;
|
||||||
|
void *run_addr;
|
||||||
/** Doorbell registers */
|
/** Doorbell registers */
|
||||||
void *db;
|
void *db;
|
||||||
|
void *db_addr;
|
||||||
/** extended capability */
|
/** extended capability */
|
||||||
unsigned int xecp;
|
unsigned int xecp;
|
||||||
/** capability cache */
|
/** capability cache */
|
||||||
|
|
Loading…
Reference in New Issue