Lines Matching refs:ep_num
462 if (ep->ep_num == 1) { in setup_bd_list_xfr()
538 bdc_notify_xfr(bdc, ep->ep_num); in bdc_queue_xfr()
572 dev_dbg(bdc->dev, "%s() ep->ep_num=%d\n", __func__, ep->ep_num); in bdc_ep_disable()
574 ret = bdc_stop_ep(bdc, ep->ep_num); in bdc_ep_disable()
594 if (ep->ep_num == 1) in bdc_ep_disable()
625 if (ep->ep_num == 1) in bdc_ep_enable()
672 req->epnum = ep->ep_num; in ep0_queue()
730 req->epnum = ep->ep_num; in ep_queue()
771 ret = bdc_stop_ep(bdc, ep->ep_num); in ep_dequeue()
882 if (ep->ep_num == 1) in ep_set_halt()
885 ret = bdc_ep_set_stall(bdc, ep->ep_num); in ep_set_halt()
894 ret = bdc_ep_clear_stall(bdc, ep->ep_num); in ep_set_halt()
1057 dev_dbg(bdc->dev, "short xfr on %d\n", ep->ep_num); in handle_xsr_succ_status()
1656 u8 ep_num; in bdc_sr_xsf() local
1658 ep_num = (le32_to_cpu(sreport->offset[3])>>4) & 0x1f; in bdc_sr_xsf()
1659 ep = bdc->bdc_ep_array[ep_num]; in bdc_sr_xsf()
1681 if (ep_num == 1) in bdc_sr_xsf()
1688 if (ep_num != 1) { in bdc_sr_xsf()
1697 if (ep_num == 1) { in bdc_sr_xsf()
1841 req->epnum = ep->ep_num; in bdc_gadget_alloc_request()
1964 ep->ep_num = 1; in init_ep()
1965 bdc->bdc_ep_array[ep->ep_num] = ep; in init_ep()
1973 ep->ep_num = epnum * 2 - 1; in init_ep()
1975 ep->ep_num = epnum * 2 - 2; in init_ep()
1977 bdc->bdc_ep_array[ep->ep_num] = ep; in init_ep()
1993 ep, ep->usb_ep.name, epnum, ep->ep_num); in init_ep()