Searched refs:hctsiz (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/dwc2/
H A Dhcd_intr.c409 u32 hctsiz, count, length; dwc2_get_actual_xfer_length() local
411 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_get_actual_xfer_length()
415 count = (hctsiz & TSIZ_XFERSIZE_MASK) >> dwc2_get_actual_xfer_length()
427 * Must use the hctsiz.pktcnt field to determine how much data dwc2_get_actual_xfer_length()
432 * hctsiz.xfersize field because that reflects the number of dwc2_get_actual_xfer_length()
435 count = (hctsiz & TSIZ_PKTCNT_MASK) >> TSIZ_PKTCNT_SHIFT; dwc2_get_actual_xfer_length()
456 u32 hctsiz; dwc2_update_urb_state() local
494 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_update_urb_state()
498 dev_vdbg(hsotg->dev, " hctsiz.xfersize %d\n", dwc2_update_urb_state()
499 (hctsiz & TSIZ_XFERSIZE_MASK) >> TSIZ_XFERSIZE_SHIFT); dwc2_update_urb_state()
517 u32 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_hcd_save_data_toggle() local
518 u32 pid = (hctsiz & TSIZ_SC_MC_PID_MASK) >> TSIZ_SC_MC_PID_SHIFT; dwc2_hcd_save_data_toggle()
909 u32 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_complete_periodic_xfer() local
913 if (!chan->ep_is_in || (hctsiz & TSIZ_PKTCNT_MASK) == 0) dwc2_complete_periodic_xfer()
1165 u32 hctsiz; dwc2_update_urb_state_abn() local
1187 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_update_urb_state_abn()
1192 dev_vdbg(hsotg->dev, " hctsiz.pktcnt %d\n", dwc2_update_urb_state_abn()
1193 (hctsiz & TSIZ_PKTCNT_MASK) >> TSIZ_PKTCNT_SHIFT); dwc2_update_urb_state_abn()
1497 u32 hctsiz; dwc2_hc_ahberr_intr() local
1510 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_hc_ahberr_intr()
1515 dev_err(hsotg->dev, " hctsiz 0x%08x, hc_dma 0x%08x\n", hctsiz, hc_dma); dwc2_hc_ahberr_intr()
1715 u32 hctsiz; dwc2_halt_status_ok() local
1725 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chnum)); dwc2_halt_status_ok()
1732 "channel %d, hcchar 0x%08x, hctsiz 0x%08x,\n", dwc2_halt_status_ok()
1733 chnum, hcchar, hctsiz); dwc2_halt_status_ok()
H A Dcore.c1708 u32 hctsiz = 0; dwc2_hc_start_transfer() local
1724 hctsiz |= TSIZ_DOPNG; dwc2_hc_start_transfer()
1744 hctsiz |= chan->xfer_len << TSIZ_XFERSIZE_SHIFT & dwc2_hc_start_transfer()
1806 hctsiz |= chan->xfer_len << TSIZ_XFERSIZE_SHIFT & dwc2_hc_start_transfer()
1811 hctsiz |= num_packets << TSIZ_PKTCNT_SHIFT & TSIZ_PKTCNT_MASK; dwc2_hc_start_transfer()
1812 hctsiz |= chan->data_pid_start << TSIZ_SC_MC_PID_SHIFT & dwc2_hc_start_transfer()
1814 dwc2_writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_hc_start_transfer()
1817 hctsiz, chan->hc_num); dwc2_hc_start_transfer()
1822 (hctsiz & TSIZ_XFERSIZE_MASK) >> dwc2_hc_start_transfer()
1825 (hctsiz & TSIZ_PKTCNT_MASK) >> dwc2_hc_start_transfer()
1828 (hctsiz & TSIZ_SC_MC_PID_MASK) >> dwc2_hc_start_transfer()
1909 u32 hctsiz = 0; dwc2_hc_start_transfer_ddma() local
1912 hctsiz |= TSIZ_DOPNG; dwc2_hc_start_transfer_ddma()
1918 hctsiz |= chan->data_pid_start << TSIZ_SC_MC_PID_SHIFT & dwc2_hc_start_transfer_ddma()
1922 hctsiz |= (chan->ntd - 1) << TSIZ_NTD_SHIFT & TSIZ_NTD_MASK; dwc2_hc_start_transfer_ddma()
1925 hctsiz |= chan->schinfo << TSIZ_SCHINFO_SHIFT & TSIZ_SCHINFO_MASK; dwc2_hc_start_transfer_ddma()
1935 dwc2_writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_hc_start_transfer_ddma()
2068 u32 hctsiz; dwc2_hc_do_ping() local
2075 hctsiz = TSIZ_DOPNG; dwc2_hc_do_ping()
2076 hctsiz |= 1 << TSIZ_PKTCNT_SHIFT; dwc2_hc_do_ping()
2077 dwc2_writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_hc_do_ping()
H A Dhcd.c76 u32 hctsiz; dwc2_dump_channel_info() local
85 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_dump_channel_info()
91 dev_dbg(hsotg->dev, " hctsiz 0x%08x, hc_dma 0x%08x\n", dwc2_dump_channel_info()
92 hctsiz, hc_dma); dwc2_dump_channel_info()
1982 u32 hfnum, hcchar, hctsiz, hcint, hcintmsk; dwc2_hcd_dump_state() local
1986 hctsiz = dwc2_readl(hsotg->regs + HCTSIZ(i)); dwc2_hcd_dump_state()
1991 dev_dbg(hsotg->dev, " hctsiz: 0x%08x\n", hctsiz); dwc2_hcd_dump_state()

Completed in 115 milliseconds