Home
last modified time | relevance | path

Searched refs:hc_regs (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/usb/host/
Ddwc2.c285 clrsetbits_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
291 clrsetbits_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
294 ret = wait_for_bit_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
482 struct dwc2_hc_regs *hc_regs = &regs->hc_regs[hc_num]; in dwc_otg_hc_init() local
496 writel(hcchar, &hc_regs->hcchar); in dwc_otg_hc_init()
499 writel(0, &hc_regs->hcsplt); in dwc_otg_hc_init()
502 static void dwc_otg_hc_init_split(struct dwc2_hc_regs *hc_regs, in dwc_otg_hc_init_split() argument
512 writel(hcsplt, &hc_regs->hcsplt); in dwc_otg_hc_init_split()
805 int wait_for_chhltd(struct dwc2_hc_regs *hc_regs, uint32_t *sub, u8 *toggle) in wait_for_chhltd() argument
810 ret = wait_for_bit_le32(&hc_regs->hcint, DWC2_HCINT_CHHLTD, true, in wait_for_chhltd()
[all …]
Ddwc2.h62 struct dwc2_hc_regs hc_regs[16]; /* 0x500 */ member