Searched refs:hc_num (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/usb/dwc2/ |
H A D | core.c | 844 writel(hcintmsk, hsotg->regs + HCINTMSK(chan->hc_num)); dwc2_hc_enable_slave_ints() 881 writel(hcintmsk, hsotg->regs + HCINTMSK(chan->hc_num)); dwc2_hc_enable_dma_ints() 903 intmsk |= 1 << chan->hc_num; dwc2_hc_enable_ints() 929 u8 hc_num = chan->hc_num; dwc2_hc_init() local 940 writel(hcintmsk, hsotg->regs + HCINT(hc_num)); dwc2_hc_init() 957 writel(hcchar, hsotg->regs + HCCHAR(hc_num)); dwc2_hc_init() 960 hc_num, hcchar); dwc2_hc_init() 963 __func__, hc_num); dwc2_hc_init() 983 hc_num, dwc2_hc_init() 1011 writel(hcsplt, hsotg->regs + HCSPLT(hc_num)); dwc2_hc_init() 1063 writel(hcintmsk, hsotg->regs + HCINTMSK(chan->hc_num)); dwc2_hc_halt() 1070 writel(~hcintmsk, hsotg->regs + HCINT(chan->hc_num)); dwc2_hc_halt() 1079 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_halt() 1103 __func__, chan->hc_num); dwc2_hc_halt() 1107 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_halt() 1151 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_halt() 1167 chan->hc_num); dwc2_hc_halt() 1198 writel(0, hsotg->regs + HCINTMSK(chan->hc_num)); dwc2_hc_cleanup() 1201 writel(hcintmsk, hsotg->regs + HCINT(chan->hc_num)); dwc2_hc_cleanup() 1274 data_fifo = (u32 __iomem *)(hsotg->regs + HCFIFO(chan->hc_num)); dwc2_hc_write_packet() 1446 writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_hc_start_transfer() 1449 hctsiz, chan->hc_num); dwc2_hc_start_transfer() 1452 chan->hc_num); dwc2_hc_start_transfer() 1474 writel((u32)dma_addr, hsotg->regs + HCDMA(chan->hc_num)); dwc2_hc_start_transfer() 1477 (unsigned long)dma_addr, chan->hc_num); dwc2_hc_start_transfer() 1482 u32 hcsplt = readl(hsotg->regs + HCSPLT(chan->hc_num)); dwc2_hc_start_transfer() 1485 writel(hcsplt, hsotg->regs + HCSPLT(chan->hc_num)); dwc2_hc_start_transfer() 1488 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_start_transfer() 1497 __func__, chan->hc_num, hcchar); dwc2_hc_start_transfer() 1508 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_start_transfer() 1511 chan->hc_num); dwc2_hc_start_transfer() 1561 chan->hc_num); dwc2_hc_start_transfer_ddma() 1567 writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_hc_start_transfer_ddma() 1573 writel(hc_dma, hsotg->regs + HCDMA(chan->hc_num)); dwc2_hc_start_transfer_ddma() 1576 hc_dma, chan->hc_num); dwc2_hc_start_transfer_ddma() 1578 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_start_transfer_ddma() 1586 __func__, chan->hc_num, hcchar); dwc2_hc_start_transfer_ddma() 1597 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_start_transfer_ddma() 1600 chan->hc_num); dwc2_hc_start_transfer_ddma() 1631 chan->hc_num); dwc2_hc_continue_transfer() 1654 u32 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_continue_transfer() 1662 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_continue_transfer() 1673 HCCHAR(chan->hc_num)); dwc2_hc_continue_transfer() 1704 chan->hc_num); dwc2_hc_do_ping() 1709 writel(hctsiz, hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_hc_do_ping() 1711 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_do_ping() 1714 writel(hcchar, hsotg->regs + HCCHAR(chan->hc_num)); dwc2_hc_do_ping()
|
H A D | hcd_ddma.c | 246 hsotg->frame_list[j] |= 1 << chan->hc_num; dwc2_update_frame_list() 248 hsotg->frame_list[j] &= ~(1 << chan->hc_num); dwc2_update_frame_list() 980 chan->hc_num); dwc2_update_non_isoc_urb_state_ddma()
|
H A D | hcd.h | 54 * @hc_num: Host channel number, used for register address lookup 116 u8 hc_num; member in struct:dwc2_host_chan
|
H A D | hcd.c | 83 hcchar = readl(hsotg->regs + HCCHAR(chan->hc_num)); dwc2_dump_channel_info() 84 hcsplt = readl(hsotg->regs + HCSPLT(chan->hc_num)); dwc2_dump_channel_info() 85 hctsiz = readl(hsotg->regs + HCTSIZ(chan->hc_num)); dwc2_dump_channel_info() 86 hc_dma = readl(hsotg->regs + HCDMA(chan->hc_num)); dwc2_dump_channel_info() 2907 channel->hc_num = i; dwc2_hcd_init()
|
H A D | hcd_intr.c | 688 __func__, chan->hc_num, halt_status); dwc2_release_channel() 757 haintmsk &= ~(1 << chan->hc_num); dwc2_release_channel()
|
Completed in 159 milliseconds