Lines Matching refs:ep_cfg

469 		struct udc_ep_config *ep_cfg;  in xfer_work_handler()  local
474 ep_cfg = udc_get_ep_cfg(ev->dev, ev->ep); in xfer_work_handler()
475 if (unlikely(ep_cfg == NULL)) { in xfer_work_handler()
493 err = usbfsotg_ep_clear_halt(ev->dev, ep_cfg); in xfer_work_handler()
505 if (usbfsotg_xfer_next(ev->dev, ep_cfg) == 0) { in xfer_work_handler()
529 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_IN); in set_control_in_pid_data1() local
532 ep_cfg->stat.data1 = true; in set_control_in_pid_data1()
543 struct udc_ep_config *ep_cfg; in isr_handle_xfer_done() local
549 ep_cfg = udc_get_ep_cfg(dev, ep); in isr_handle_xfer_done()
550 bd = usbfsotg_get_ebd(dev, ep_cfg, false); in isr_handle_xfer_done()
551 bd_op = usbfsotg_get_ebd(dev, ep_cfg, true); in isr_handle_xfer_done()
561 ep_cfg->stat.odd = !odd; in isr_handle_xfer_done()
562 ep_cfg->stat.data1 = true; in isr_handle_xfer_done()
568 udc_buf_put(ep_cfg, priv->out_buf[odd]); in isr_handle_xfer_done()
579 ep_cfg->stat.odd = !odd; in isr_handle_xfer_done()
580 ep_cfg->stat.data1 = !data1; in isr_handle_xfer_done()
587 buf = udc_buf_peek(dev, ep_cfg->addr); in isr_handle_xfer_done()
597 if (net_buf_tailroom(buf) >= udc_mps_ep_size(ep_cfg) && in isr_handle_xfer_done()
598 len == udc_mps_ep_size(ep_cfg)) { in isr_handle_xfer_done()
602 usbfsotg_xfer_continue(dev, ep_cfg, buf); in isr_handle_xfer_done()
606 udc_buf_put(ep_cfg, buf); in isr_handle_xfer_done()
614 ep_cfg->stat.odd = !odd; in isr_handle_xfer_done()
615 ep_cfg->stat.data1 = !data1; in isr_handle_xfer_done()
617 buf = udc_buf_peek(dev, ep_cfg->addr); in isr_handle_xfer_done()
626 usbfsotg_xfer_continue(dev, ep_cfg, buf); in isr_handle_xfer_done()
629 usbfsotg_xfer_continue(dev, ep_cfg, buf); in isr_handle_xfer_done()
666 struct udc_ep_config *ep_cfg; in usbfsotg_isr_handler() local
670 ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in usbfsotg_isr_handler()
671 if (ep_cfg->stat.halted) { in usbfsotg_isr_handler()
680 ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_IN); in usbfsotg_isr_handler()
681 if (ep_cfg->stat.halted) { in usbfsotg_isr_handler()