Searched refs:hctsiz (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd_intr.c | 412 u32 hctsiz, count, length; in dwc2_get_actual_xfer_length() local 414 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_get_actual_xfer_length() 418 count = (hctsiz & TSIZ_XFERSIZE_MASK) >> in dwc2_get_actual_xfer_length() 438 count = (hctsiz & TSIZ_PKTCNT_MASK) >> TSIZ_PKTCNT_SHIFT; in dwc2_get_actual_xfer_length() 465 u32 hctsiz; in dwc2_update_urb_state() local 491 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_update_urb_state() 496 (hctsiz & TSIZ_XFERSIZE_MASK) >> TSIZ_XFERSIZE_SHIFT); in dwc2_update_urb_state() 514 u32 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_hcd_save_data_toggle() local 515 u32 pid = (hctsiz & TSIZ_SC_MC_PID_MASK) >> TSIZ_SC_MC_PID_SHIFT; in dwc2_hcd_save_data_toggle() 888 u32 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_complete_periodic_xfer() local [all …]
|
H A D | hcd.c | 410 u32 hctsiz; in dwc2_dump_channel_info() local 419 hctsiz = dwc2_readl(hsotg, HCTSIZ(chan->hc_num)); in dwc2_dump_channel_info() 426 hctsiz, hc_dma); in dwc2_dump_channel_info() 1143 u32 hctsiz; in dwc2_hc_do_ping() local 1149 hctsiz = TSIZ_DOPNG; in dwc2_hc_do_ping() 1150 hctsiz |= 1 << TSIZ_PKTCNT_SHIFT; in dwc2_hc_do_ping() 1151 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping() 1198 u32 hctsiz = 0; in dwc2_hc_start_transfer() local 1217 hctsiz |= TSIZ_DOPNG; in dwc2_hc_start_transfer() 1236 hctsiz |= chan->xfer_len << TSIZ_XFERSIZE_SHIFT & in dwc2_hc_start_transfer() [all …]
|
H A D | core.h | 752 u32 hctsiz[MAX_EPS_CHANNELS]; member
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 228 uint32_t hctsiz = s->hreg1[index + 4]; in dwc2_handle_packet() local 238 pid = get_field(hctsiz, TSIZ_SC_MC_PID); in dwc2_handle_packet() 239 pcnt = get_field(hctsiz, TSIZ_PKTCNT); in dwc2_handle_packet() 240 len = get_field(hctsiz, TSIZ_XFERSIZE); in dwc2_handle_packet() 347 set_field(&hctsiz, pcnt, TSIZ_PKTCNT); in dwc2_handle_packet() 349 set_field(&hctsiz, len, TSIZ_XFERSIZE); in dwc2_handle_packet() 350 s->hreg1[index + 4] = hctsiz; in dwc2_handle_packet() 616 uint32_t hctsiz; in dwc2_enable_chan() local 623 hctsiz = s->hreg1[index + 4]; in dwc2_enable_chan() 628 pid = get_field(hctsiz, TSIZ_SC_MC_PID); in dwc2_enable_chan() [all …]
|
H A D | hcd-dwc2.h | 140 #define hctsiz(_ch) hreg1[((_ch) << 3) + 4] /* 510, 530, ... */ macro
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.c | 811 uint32_t hcint, hctsiz; in wait_for_chhltd() local 819 hctsiz = readl(&hc_regs->hctsiz); in wait_for_chhltd() 820 *sub = (hctsiz & DWC2_HCTSIZ_XFERSIZE_MASK) >> in wait_for_chhltd() 822 *toggle = (hctsiz & DWC2_HCTSIZ_PID_MASK) >> DWC2_HCTSIZ_PID_OFFSET; in wait_for_chhltd() 857 &hc_regs->hctsiz); in transfer_chunk()
|
H A D | dwc2.h | 14 u32 hctsiz; /* 0x10 */ member
|