Lines Matching refs:ep_num
456 if (ep->ep_num == 1) { in setup_bd_list_xfr()
532 bdc_notify_xfr(bdc, ep->ep_num); in bdc_queue_xfr()
566 dev_dbg(bdc->dev, "%s() ep->ep_num=%d\n", __func__, ep->ep_num); in bdc_ep_disable()
568 ret = bdc_stop_ep(bdc, ep->ep_num); in bdc_ep_disable()
588 if (ep->ep_num == 1) in bdc_ep_disable()
618 if (ep->ep_num == 1) in bdc_ep_enable()
665 req->epnum = ep->ep_num; in ep0_queue()
721 req->epnum = ep->ep_num; in ep_queue()
763 ret = bdc_stop_ep(bdc, ep->ep_num); in ep_dequeue()
876 if (ep->ep_num == 1) in ep_set_halt()
879 ret = bdc_ep_set_stall(bdc, ep->ep_num); in ep_set_halt()
888 ret = bdc_ep_clear_stall(bdc, ep->ep_num); in ep_set_halt()
1051 dev_dbg(bdc->dev, "short xfr on %d\n", ep->ep_num); in handle_xsr_succ_status()
1648 u8 ep_num; in bdc_sr_xsf() local
1650 ep_num = (le32_to_cpu(sreport->offset[3])>>4) & 0x1f; in bdc_sr_xsf()
1651 ep = bdc->bdc_ep_array[ep_num]; in bdc_sr_xsf()
1673 if (ep_num == 1) in bdc_sr_xsf()
1680 if (ep_num != 1) { in bdc_sr_xsf()
1689 if (ep_num == 1) { in bdc_sr_xsf()
1838 req->epnum = ep->ep_num; in bdc_gadget_alloc_request()
1963 ep->ep_num = 1; in init_ep()
1964 bdc->bdc_ep_array[ep->ep_num] = ep; in init_ep()
1972 ep->ep_num = epnum * 2 - 1; in init_ep()
1974 ep->ep_num = epnum * 2 - 2; in init_ep()
1976 bdc->bdc_ep_array[ep->ep_num] = ep; in init_ep()
1992 ep, ep->usb_ep.name, epnum, ep->ep_num); in init_ep()