Lines Matching refs:ep_num
460 if (ep->ep_num == 1) { in setup_bd_list_xfr()
536 bdc_notify_xfr(bdc, ep->ep_num); in bdc_queue_xfr()
570 dev_dbg(bdc->dev, "%s() ep->ep_num=%d\n", __func__, ep->ep_num); in bdc_ep_disable()
572 ret = bdc_stop_ep(bdc, ep->ep_num); in bdc_ep_disable()
592 if (ep->ep_num == 1) in bdc_ep_disable()
623 if (ep->ep_num == 1) in bdc_ep_enable()
670 req->epnum = ep->ep_num; in ep0_queue()
728 req->epnum = ep->ep_num; in ep_queue()
769 ret = bdc_stop_ep(bdc, ep->ep_num); in ep_dequeue()
880 if (ep->ep_num == 1) in ep_set_halt()
883 ret = bdc_ep_set_stall(bdc, ep->ep_num); in ep_set_halt()
892 ret = bdc_ep_clear_stall(bdc, ep->ep_num); in ep_set_halt()
1055 dev_dbg(bdc->dev, "short xfr on %d\n", ep->ep_num); in handle_xsr_succ_status()
1654 u8 ep_num; in bdc_sr_xsf() local
1656 ep_num = (le32_to_cpu(sreport->offset[3])>>4) & 0x1f; in bdc_sr_xsf()
1657 ep = bdc->bdc_ep_array[ep_num]; in bdc_sr_xsf()
1679 if (ep_num == 1) in bdc_sr_xsf()
1686 if (ep_num != 1) { in bdc_sr_xsf()
1695 if (ep_num == 1) { in bdc_sr_xsf()
1839 req->epnum = ep->ep_num; in bdc_gadget_alloc_request()
1957 ep->ep_num = 1; in init_ep()
1958 bdc->bdc_ep_array[ep->ep_num] = ep; in init_ep()
1965 ep->ep_num = epnum * 2 - 1; in init_ep()
1967 ep->ep_num = epnum * 2 - 2; in init_ep()
1969 bdc->bdc_ep_array[ep->ep_num] = ep; in init_ep()
1982 ep, ep->usb_ep.name, epnum, ep->ep_num); in init_ep()