Lines Matching refs:hc_num

452 	hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num));  in dwc2_dump_channel_info()
453 hcsplt = dwc2_readl(hsotg, HCSPLT(chan->hc_num)); in dwc2_dump_channel_info()
454 hctsiz = dwc2_readl(hsotg, HCTSIZ(chan->hc_num)); in dwc2_dump_channel_info()
455 hc_dma = dwc2_readl(hsotg, HCDMA(chan->hc_num)); in dwc2_dump_channel_info()
603 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
640 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
662 intmsk |= 1 << chan->hc_num; in dwc2_hc_enable_ints()
688 u8 hc_num = chan->hc_num; in dwc2_hc_init() local
699 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
716 dwc2_writel(hsotg, hcchar, HCCHAR(hc_num)); in dwc2_hc_init()
719 hc_num, hcchar); in dwc2_hc_init()
722 __func__, hc_num); in dwc2_hc_init()
742 hc_num, in dwc2_hc_init()
770 dwc2_writel(hsotg, hcsplt, HCSPLT(hc_num)); in dwc2_hc_init()
840 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
847 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
856 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
880 __func__, chan->hc_num); in dwc2_hc_halt()
884 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
928 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_halt()
944 chan->hc_num); in dwc2_hc_halt()
977 dwc2_writel(hsotg, 0, HCINTMSK(chan->hc_num)); in dwc2_hc_cleanup()
980 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
1151 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1157 dwc2_writel(hsotg, data, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1182 chan->hc_num); in dwc2_hc_do_ping()
1186 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_do_ping()
1188 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1191 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_do_ping()
1351 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer()
1354 hctsiz, chan->hc_num); in dwc2_hc_start_transfer()
1357 chan->hc_num); in dwc2_hc_start_transfer()
1379 dwc2_writel(hsotg, (u32)dma_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer()
1383 (unsigned long)dma_addr, chan->hc_num); in dwc2_hc_start_transfer()
1388 u32 hcsplt = dwc2_readl(hsotg, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1391 dwc2_writel(hsotg, hcsplt, HCSPLT(chan->hc_num)); in dwc2_hc_start_transfer()
1394 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1402 __func__, chan->hc_num, hcchar); in dwc2_hc_start_transfer()
1413 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer()
1416 chan->hc_num); in dwc2_hc_start_transfer()
1465 chan->hc_num); in dwc2_hc_start_transfer_ddma()
1471 dwc2_writel(hsotg, hctsiz, HCTSIZ(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1476 dwc2_writel(hsotg, chan->desc_list_addr, HCDMA(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1480 &chan->desc_list_addr, chan->hc_num); in dwc2_hc_start_transfer_ddma()
1482 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1490 __func__, chan->hc_num, hcchar); in dwc2_hc_start_transfer_ddma()
1501 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_start_transfer_ddma()
1504 chan->hc_num); in dwc2_hc_start_transfer_ddma()
1535 chan->hc_num); in dwc2_hc_continue_transfer()
1558 u32 hcchar = dwc2_readl(hsotg, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1566 dwc2_writel(hsotg, hcchar, HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
1577 HCCHAR(chan->hc_num)); in dwc2_hc_continue_transfer()
5128 channel->hc_num = i; in dwc2_hcd_init()