Home
last modified time | relevance | path

Searched refs:out_ep (Results 1 – 19 of 19) sorted by relevance

/drivers/usb/gadget/function/
Df_loopback.c36 struct usb_ep *out_ep; member
199 loop->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_sink_desc); in loopback_bind()
200 if (!loop->out_ep) in loopback_bind()
221 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind()
247 if (ep == loop->out_ep) { in loopback_complete()
264 ep = loop->out_ep; in loopback_complete()
293 loop->out_ep : loop->in_ep, in loopback_complete()
305 disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL); in disable_loopback()
336 out_req = lb_alloc_ep_req(loop->out_ep, 0); in alloc_requests()
348 result = usb_ep_queue(loop->out_ep, out_req, GFP_ATOMIC); in alloc_requests()
[all …]
Df_printer.c72 struct usb_ep *in_ep, *out_ep; member
412 error = usb_ep_queue(dev->out_ep, req, GFP_ATOMIC); in setup_rx_reqs()
778 dev->out_ep->desc = ep_desc(dev->gadget, &fs_ep_out_desc, in set_printer_interface()
780 dev->out_ep->driver_data = dev; in set_printer_interface()
788 result = usb_ep_enable(dev->out_ep); in set_printer_interface()
798 (void) usb_ep_disable(dev->out_ep); in set_printer_interface()
800 dev->out_ep->desc = NULL; in set_printer_interface()
819 if (dev->out_ep->desc) in printer_reset_interface()
820 usb_ep_disable(dev->out_ep); in printer_reset_interface()
824 dev->out_ep->desc = NULL; in printer_reset_interface()
[all …]
Df_phonet.c51 struct usb_ep *in_ep, *out_ep; member
314 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit()
394 usb_ep_disable(fp->out_ep); in __pn_reset()
428 config_ep_by_speed(gadget, f, fp->out_ep)) { in pn_set_alt()
430 fp->out_ep->desc = NULL; in pn_set_alt()
434 usb_ep_enable(fp->out_ep); in pn_set_alt()
438 fp->out_ep->driver_data = fp; in pn_set_alt()
532 fp->out_ep = ep; in pn_bind()
553 req = usb_ep_alloc_request(fp->out_ep, GFP_KERNEL); in pn_bind()
568 fp->out_ep->name, fp->in_ep->name); in pn_bind()
[all …]
Df_hid.c68 struct usb_ep *out_ep; member
251 ret = usb_ep_queue(hidg->out_ep, req, GFP_KERNEL); in f_hidg_read()
253 free_ep_req(hidg->out_ep, req); in f_hidg_read()
508 usb_ep_disable(hidg->out_ep); in hidg_disable()
512 free_ep_req(hidg->out_ep, list->req); in hidg_disable()
546 if (hidg->out_ep != NULL) { in hidg_set_alt()
548 usb_ep_disable(hidg->out_ep); in hidg_set_alt()
551 hidg->out_ep); in hidg_set_alt()
556 status = usb_ep_enable(hidg->out_ep); in hidg_set_alt()
561 hidg->out_ep->driver_data = hidg; in hidg_set_alt()
[all …]
Df_midi.c75 struct usb_ep *in_ep, *out_ep; member
249 if (ep == midi->out_ep) { in f_midi_complete()
266 if (ep == midi->out_ep) in f_midi_complete()
333 err = f_midi_start_ep(midi, f, midi->out_ep); in f_midi_set_alt()
337 usb_ep_disable(midi->out_ep); in f_midi_set_alt()
339 err = config_ep_by_speed(midi->gadget, f, midi->out_ep); in f_midi_set_alt()
342 midi->out_ep->name, err); in f_midi_set_alt()
346 err = usb_ep_enable(midi->out_ep); in f_midi_set_alt()
349 midi->out_ep->name, err); in f_midi_set_alt()
353 midi->out_ep->driver_data = midi; in f_midi_set_alt()
[all …]
Df_uac1.c281 struct usb_ep *out_ep; member
365 struct usb_ep *out_ep = audio->out_ep; in f_audio_complete() local
370 if (ep == out_ep) in f_audio_complete()
578 struct usb_ep *out_ep = audio->out_ep; in f_audio_set_alt() local
593 err = config_ep_by_speed(cdev->gadget, f, out_ep); in f_audio_set_alt()
597 usb_ep_enable(out_ep); in f_audio_set_alt()
607 req = usb_ep_alloc_request(out_ep, GFP_ATOMIC); in f_audio_set_alt()
616 err = usb_ep_queue(out_ep, in f_audio_set_alt()
621 out_ep->name, err); in f_audio_set_alt()
720 audio->out_ep = ep; in f_audio_bind()
[all …]
Df_sourcesink.c49 struct usb_ep *out_ep; member
351 ss->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_sink_desc); in sourcesink_bind()
352 if (!ss->out_ep) in sourcesink_bind()
452 f->name, ss->in_ep->name, ss->out_ep->name, in sourcesink_bind()
479 int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize); in check_read_data()
506 usb_ep_set_halt(ss->out_ep); in check_read_data()
547 if (ep == ss->out_ep) { in source_sink_complete()
560 if (ep == ss->out_ep) in source_sink_complete()
613 ep = is_in ? ss->in_ep : ss->out_ep; in source_sink_start_ep()
649 disable_endpoints(cdev, ss->in_ep, ss->out_ep, ss->iso_in_ep, in disable_source_sink()
[all …]
Du_ether.c217 out = dev->port_usb->out_ep; in rx_submit()
401 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
847 out = link->out_ep->desc; in eth_stop()
849 usb_ep_disable(link->out_ep); in eth_stop()
853 link->out_ep->desc = out; in eth_stop()
855 usb_ep_enable(link->out_ep); in eth_stop()
1217 link->out_ep->driver_data = dev; in gether_connect()
1218 result = usb_ep_enable(link->out_ep); in gether_connect()
1221 link->out_ep->name, result); in gether_connect()
1259 (void) usb_ep_disable(link->out_ep); in gether_connect()
[all …]
Df_subset.c272 config_ep_by_speed(cdev->gadget, f, geth->port.out_ep)) { in geth_set_alt()
274 geth->port.out_ep->desc = NULL; in geth_set_alt()
350 geth->port.out_ep = ep; in geth_bind()
377 geth->port.in_ep->name, geth->port.out_ep->name); in geth_bind()
Df_eem.c206 if (!eem->port.in_ep->desc || !eem->port.out_ep->desc) { in eem_set_alt()
211 eem->port.out_ep)) { in eem_set_alt()
213 eem->port.out_ep->desc = NULL; in eem_set_alt()
302 eem->port.out_ep = ep; in eem_bind()
324 eem->port.in_ep->name, eem->port.out_ep->name); in eem_bind()
Df_ecm.c567 !ecm->port.out_ep->desc) { in ecm_set_alt()
572 ecm->port.out_ep)) { in ecm_set_alt()
574 ecm->port.out_ep->desc = NULL; in ecm_set_alt()
635 ecm->port.out_ep->desc = NULL; in ecm_disable()
758 ecm->port.out_ep = ep; in ecm_bind()
811 ecm->port.in_ep->name, ecm->port.out_ep->name, in ecm_bind()
Df_rndis.c593 if (!rndis->port.in_ep->desc || !rndis->port.out_ep->desc) { in rndis_set_alt()
598 rndis->port.out_ep)) { in rndis_set_alt()
600 rndis->port.out_ep->desc = NULL; in rndis_set_alt()
779 rndis->port.out_ep = ep; in rndis_bind()
842 rndis->port.in_ep->name, rndis->port.out_ep->name, in rndis_bind()
Du_ether.h64 struct usb_ep *out_ep; member
Df_ncm.c841 !ncm->port.out_ep->desc) { in ncm_set_alt()
846 ncm->port.out_ep)) { in ncm_set_alt()
848 ncm->port.out_ep->desc = NULL; in ncm_set_alt()
1409 ncm->port.out_ep = ep; in ncm_bind()
1458 ncm->port.in_ep->name, ncm->port.out_ep->name, in ncm_bind()
Df_uac2.c126 struct usb_ep *in_ep, *out_ep; member
1087 agdev->out_ep = usb_ep_autoconfig(gadget, &fs_epout_desc); in afunc_bind()
1088 if (!agdev->out_ep) { in afunc_bind()
1196 ep = agdev->out_ep; in afunc_set_alt()
1300 free_ep(&uac2->c_prm, agdev->out_ep); in afunc_disable()
/drivers/media/usb/siano/
Dsmsusb.c66 unsigned char out_ep; member
414 dev->out_ep = desc->bEndpointAddress; in smsusb_init_device()
418 pr_debug("in_ep = %02x, out_ep = %02x\n", dev->in_ep, dev->out_ep); in smsusb_init_device()
419 if (!dev->in_ep || !dev->out_ep || align < 0) { /* Missing endpoints? */ in smsusb_init_device()
598 usb_clear_halt(udev, usb_sndbulkpipe(udev, dev->out_ep)); in smsusb_resume()
/drivers/net/ethernet/freescale/fs_enet/
Dmac-fcc.c106 goto out_ep; in do_pd_setup()
119 out_ep: in do_pd_setup()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c2725 usb_sndbulkpipe(priv->udev, priv->out_ep[vop]); in rtl8xxxu_init_queue_priority()
2727 usb_sndbulkpipe(priv->udev, priv->out_ep[vip]); in rtl8xxxu_init_queue_priority()
2729 usb_sndbulkpipe(priv->udev, priv->out_ep[bep]); in rtl8xxxu_init_queue_priority()
2731 usb_sndbulkpipe(priv->udev, priv->out_ep[bkp]); in rtl8xxxu_init_queue_priority()
2733 usb_sndbulkpipe(priv->udev, priv->out_ep[0]); in rtl8xxxu_init_queue_priority()
2735 usb_sndbulkpipe(priv->udev, priv->out_ep[mgp]); in rtl8xxxu_init_queue_priority()
2737 usb_sndbulkpipe(priv->udev, priv->out_ep[hip]); in rtl8xxxu_init_queue_priority()
2739 usb_sndbulkpipe(priv->udev, priv->out_ep[0]); in rtl8xxxu_init_queue_priority()
5623 priv->out_ep[j++] = num; in rtl8xxxu_parse_usb()
Drtl8xxxu.h617 u8 out_ep[RTL8XXXU_OUT_ENDPOINTS]; member