Lines Matching refs:pipe_num

279 static int qe_epbds_reset(struct qe_udc *udc, int pipe_num)  in qe_epbds_reset()  argument
286 ep = &udc->eps[pipe_num]; in qe_epbds_reset()
311 static int qe_ep_reset(struct qe_udc *udc, int pipe_num) in qe_ep_reset() argument
316 ep = &udc->eps[pipe_num]; in qe_ep_reset()
317 tmpusep = in_be16(&udc->usb_regs->usb_usep[pipe_num]); in qe_ep_reset()
334 out_be16(&udc->usb_regs->usb_usep[pipe_num], tmpusep); in qe_ep_reset()
336 qe_epbds_reset(udc, pipe_num); in qe_ep_reset()
347 static int qe_ep_bd_init(struct qe_udc *udc, unsigned char pipe_num) in qe_ep_bd_init() argument
349 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_bd_init()
361 epparam = udc->ep_param[pipe_num]; in qe_ep_bd_init()
467 static int qe_ep_register_init(struct qe_udc *udc, unsigned char pipe_num) in qe_ep_register_init() argument
469 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_register_init()
475 epparam = udc->ep_param[pipe_num]; in qe_ep_register_init()
506 out_be16(&udc->usb_regs->usb_usep[pipe_num], usep); in qe_ep_register_init()
521 unsigned char pipe_num, in qe_ep_init() argument
524 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_init()
534 if (pipe_num != 0) { in qe_ep_init()
643 if (pipe_num == 0) { in qe_ep_init()
660 qe_ep_bd_init(udc, pipe_num); in qe_ep_init()
674 qe_ep_register_init(udc, pipe_num); in qe_ep_init()
2405 static int qe_ep_config(struct qe_udc *udc, unsigned char pipe_num) in qe_ep_config() argument
2407 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_config()
2410 strcpy(ep->name, ep_name[pipe_num]); in qe_ep_config()
2411 ep->ep.name = ep_name[pipe_num]; in qe_ep_config()
2413 if (pipe_num == 0) { in qe_ep_config()
2429 ep->epnum = (u8)pipe_num; in qe_ep_config()
2443 if (pipe_num != 0) in qe_ep_config()