Home
last modified time | relevance | path

Searched refs:hcchar (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dhcd.c443 u32 hcchar; in dwc2_dump_channel_info() local
452 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_dump_channel_info()
459 hcchar, hcsplt); in dwc2_dump_channel_info()
690 u32 hcchar; in dwc2_hc_init() local
708 hcchar = chan->dev_addr << HCCHAR_DEVADDR_SHIFT & HCCHAR_DEVADDR_MASK; in dwc2_hc_init()
709 hcchar |= chan->ep_num << HCCHAR_EPNUM_SHIFT & HCCHAR_EPNUM_MASK; in dwc2_hc_init()
711 hcchar |= HCCHAR_EPDIR; in dwc2_hc_init()
713 hcchar |= HCCHAR_LSPDDEV; in dwc2_hc_init()
714 hcchar |= chan->ep_type << HCCHAR_EPTYPE_SHIFT & HCCHAR_EPTYPE_MASK; in dwc2_hc_init()
715 hcchar |= chan->max_packet << HCCHAR_MPS_SHIFT & HCCHAR_MPS_MASK; in dwc2_hc_init()
[all …]
H A Dhcd_intr.c1559 u32 hcchar; in dwc2_hc_ahberr_intr() local
1572 hcchar = dwc2_readl(hsotg, HCCHAR(chnum)); in dwc2_hc_ahberr_intr()
1578 dev_err(hsotg->dev, " hcchar 0x%08x, hcsplt 0x%08x\n", hcchar, hcsplt); in dwc2_hc_ahberr_intr()
1778 u32 hcchar; in dwc2_halt_status_ok() local
1788 hcchar = dwc2_readl(hsotg, HCCHAR(chnum)); in dwc2_halt_status_ok()
1797 chnum, hcchar, hctsiz); in dwc2_halt_status_ok()
1815 hcchar = dwc2_readl(hsotg, HCCHAR(chnum)); in dwc2_halt_status_ok()
1816 if (hcchar & HCCHAR_CHDIS) { in dwc2_halt_status_ok()
1819 __func__, hcchar); in dwc2_halt_status_ok()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Ddwc2.c291 clrsetbits_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
297 clrsetbits_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
300 ret = wait_for_bit_le32(&regs->hc_regs[i].hcchar, in dwc_otg_core_host_init()
489 uint32_t hcchar = (dev_addr << DWC2_HCCHAR_DEVADDR_OFFSET) | in dwc_otg_hc_init() local
496 hcchar |= DWC2_HCCHAR_LSPDDEV; in dwc_otg_hc_init()
502 writel(hcchar, &hc_regs->hcchar); in dwc_otg_hc_init()
883 clrsetbits_le32(&hc_regs->hcchar, DWC2_HCCHAR_MULTICNT_MASK | in transfer_chunk()
H A Ddwc2.h11 u32 hcchar; /* 0x00 */ member
/OK3568_Linux_fs/kernel/drivers/staging/octeon-usb/
H A Docteon-hcd.c1294 union cvmx_usbcx_hccharx hcchar; in cvmx_usb_fill_tx_fifo() local
1300 hcchar.u32 = cvmx_usb_read_csr32(usb, in cvmx_usb_fill_tx_fifo()
1302 if (hcchar.s.epdir != CVMX_USB_DIRECTION_OUT) in cvmx_usb_fill_tx_fifo()
1320 if ((hcchar.s.eptype == CVMX_USB_TRANSFER_INTERRUPT) || in cvmx_usb_fill_tx_fifo()
1321 (hcchar.s.eptype == CVMX_USB_TRANSFER_ISOCHRONOUS)) in cvmx_usb_fill_tx_fifo()