Lines Matching refs:epnum
285 int bdc_ep_set_stall(struct bdc *bdc, int epnum) in bdc_ep_set_stall() argument
289 dev_dbg(bdc->dev, "%s epnum=%d\n", __func__, epnum); in bdc_ep_set_stall()
291 cmd_sc |= BDC_SUB_CMD_EP_STL | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; in bdc_ep_set_stall()
297 int bdc_ep_clear_stall(struct bdc *bdc, int epnum) in bdc_ep_clear_stall() argument
303 dev_dbg(bdc->dev, "%s: epnum=%d\n", __func__, epnum); in bdc_ep_clear_stall()
304 ep = bdc->bdc_ep_array[epnum]; in bdc_ep_clear_stall()
309 if (epnum != 1) { in bdc_ep_clear_stall()
312 ret = bdc_ep_set_stall(bdc, epnum); in bdc_ep_clear_stall()
318 if (epnum != 1) in bdc_ep_clear_stall()
322 cmd_sc |= BDC_SUB_CMD_EP_RST | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; in bdc_ep_clear_stall()
329 bdc_notify_xfr(bdc, epnum); in bdc_ep_clear_stall()
335 int bdc_stop_ep(struct bdc *bdc, int epnum) in bdc_stop_ep() argument
341 ep = bdc->bdc_ep_array[epnum]; in bdc_stop_ep()
354 | BDC_CMD_EPN(epnum) | BDC_CMD_EPO; in bdc_stop_ep()