Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c288 clrsetbits_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
294 clrsetbits_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
297 ret = wait_for_bit_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
485 struct dwc2_hc_regs *hc_regs = &regs->hc_regs[hc_num]; in dwc_otg_hc_init() local
499 writel(hcchar, &hc_regs->hcchar); in dwc_otg_hc_init()
502 writel(0, &hc_regs->hcsplt); in dwc_otg_hc_init()
505 static void dwc_otg_hc_init_split(struct dwc2_hc_regs *hc_regs, in dwc_otg_hc_init_split() argument
515 writel(hcsplt, &hc_regs->hcsplt); in dwc_otg_hc_init_split()
808 int wait_for_chhltd(struct dwc2_hc_regs *hc_regs, uint32_t *sub, u8 *toggle) in wait_for_chhltd() argument
813 ret = wait_for_bit_le32(&hc_regs->hcint, DWC2_HCINT_CHHLTD, true, in wait_for_chhltd()
[all …]
H A Ddwc2.h62 struct dwc2_hc_regs hc_regs[16]; /* 0x500 */ member