Lines Matching refs:epnum
294 int bdc_ep_set_stall(struct bdc *bdc, int epnum) in bdc_ep_set_stall() argument
298 dev_dbg(bdc->dev, "%s epnum=%d\n", __func__, epnum); in bdc_ep_set_stall()
300 cmd_sc |= BDC_SUB_CMD_EP_STL | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; in bdc_ep_set_stall()
306 int bdc_ep_clear_stall(struct bdc *bdc, int epnum) in bdc_ep_clear_stall() argument
312 dev_dbg(bdc->dev, "%s: epnum=%d\n", __func__, epnum); in bdc_ep_clear_stall()
313 ep = bdc->bdc_ep_array[epnum]; in bdc_ep_clear_stall()
318 if (epnum != 1) { in bdc_ep_clear_stall()
321 ret = bdc_ep_set_stall(bdc, epnum); in bdc_ep_clear_stall()
327 if (epnum != 1) in bdc_ep_clear_stall()
331 cmd_sc |= BDC_SUB_CMD_EP_RST | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; in bdc_ep_clear_stall()
338 bdc_notify_xfr(bdc, epnum); in bdc_ep_clear_stall()
344 int bdc_stop_ep(struct bdc *bdc, int epnum) in bdc_stop_ep() argument
350 ep = bdc->bdc_ep_array[epnum]; in bdc_stop_ep()
363 | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; in bdc_stop_ep()