Lines Matching refs:ep_num
156 int ep_num; member
212 int ep_num; member
239 unsigned int ep_num; member
448 (bep->ep_num << USBD_STALL_EPNUM_SHIFT); in bcm63xx_set_stall()
499 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep() argument
503 bcm63xx_ep_dma_select(udc, ep_num); in bcm63xx_fifo_reset_ep()
534 if (cfg->ep_num < 0) in bcm63xx_ep_init()
537 bcm63xx_ep_dma_select(udc, cfg->ep_num); in bcm63xx_ep_init()
560 int idx = cfg->ep_num; in bcm63xx_ep_setup()
709 bcm63xx_fifo_reset_ep(udc, max(0, iudma->ep_num)); in iudma_reset_channel()
719 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel()
720 bcm63xx_fifo_reset_ep(udc, iudma->ep_num); in iudma_reset_channel()
765 iudma->ep_num = cfg->ep_num; in iudma_init_channel()
768 if (iudma->ep_num >= 0) { in iudma_init_channel()
769 bep = &udc->bep[iudma->ep_num]; in iudma_init_channel()
778 if (iudma->ep_num <= 0) in iudma_init_channel()
957 bep->ep_num = i; in bcm63xx_init_udc_hw()
1057 clear_bit(bep->ep_num, &udc->wedgemap); in bcm63xx_ep_enable()
1278 set_bit(bep->ep_num, &udc->wedgemap); in bcm63xx_udc_set_wedge()
2189 max_t(int, iudma_defaults[ch_idx].ep_num, 0)); in bcm63xx_iudma_dbg_show()