/drivers/usb/gadget/ |
D | f_midi.c | 72 struct usb_ep *in_ep, *out_ep; member 262 if (ep == midi->out_ep) { in f_midi_complete() 279 if (ep == midi->out_ep) in f_midi_complete() 343 err = f_midi_start_ep(midi, f, midi->out_ep); in f_midi_set_alt() 347 if (midi->out_ep->driver_data) in f_midi_set_alt() 348 usb_ep_disable(midi->out_ep); in f_midi_set_alt() 350 err = config_ep_by_speed(midi->gadget, f, midi->out_ep); in f_midi_set_alt() 353 midi->out_ep->name, err); in f_midi_set_alt() 357 err = usb_ep_enable(midi->out_ep); in f_midi_set_alt() 360 midi->out_ep->name, err); in f_midi_set_alt() [all …]
|
D | f_phonet.c | 49 struct usb_ep *in_ep, *out_ep; member 312 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit() 392 usb_ep_disable(fp->out_ep); in __pn_reset() 423 config_ep_by_speed(gadget, f, fp->out_ep)) { in pn_set_alt() 425 fp->out_ep->desc = NULL; in pn_set_alt() 429 usb_ep_enable(fp->out_ep); in pn_set_alt() 433 fp->out_ep->driver_data = fp; in pn_set_alt() 509 fp->out_ep = ep; in pn_bind() 532 req = usb_ep_alloc_request(fp->out_ep, GFP_KERNEL); in pn_bind() 547 fp->out_ep->name, fp->in_ep->name); in pn_bind() [all …]
|
D | f_loopback.c | 39 struct usb_ep *out_ep; member 198 loop->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_sink_desc); in loopback_bind() 199 if (!loop->out_ep) in loopback_bind() 201 loop->out_ep->driver_data = cdev; /* claim */ in loopback_bind() 224 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind() 243 if (ep == loop->out_ep) { in loopback_complete() 259 status = usb_ep_queue(loop->out_ep, req, GFP_ATOMIC); in loopback_complete() 289 disable_endpoints(cdev, loop->in_ep, loop->out_ep); in disable_loopback() 312 ep = loop->out_ep; in enable_loopback()
|
D | f_sourcesink.c | 53 struct usb_ep *out_ep; member 211 ss->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_sink_desc); in sourcesink_bind() 212 if (!ss->out_ep) in sourcesink_bind() 214 ss->out_ep->driver_data = cdev; /* claim */ in sourcesink_bind() 237 f->name, ss->in_ep->name, ss->out_ep->name); in sourcesink_bind() 276 usb_ep_set_halt(ss->out_ep); in check_read_data() 307 if (ep == ss->out_ep) { in source_sink_complete() 320 if (ep == ss->out_ep) in source_sink_complete() 353 ep = is_in ? ss->in_ep : ss->out_ep; in source_sink_start_ep() 383 disable_endpoints(cdev, ss->in_ep, ss->out_ep); in disable_source_sink() [all …]
|
D | printer.c | 81 struct usb_ep *in_ep, *out_ep; member 529 error = usb_ep_queue(dev->out_ep, req, GFP_ATOMIC); in setup_rx_reqs() 893 dev->out_ep->desc = ep_desc(dev->gadget, &hs_ep_out_desc, in set_printer_interface() 895 dev->out_ep->driver_data = dev; in set_printer_interface() 903 result = usb_ep_enable(dev->out_ep); in set_printer_interface() 913 (void) usb_ep_disable(dev->out_ep); in set_printer_interface() 915 dev->out_ep->desc = NULL; in set_printer_interface() 932 if (dev->out_ep->desc) in printer_reset_interface() 933 usb_ep_disable(dev->out_ep); in printer_reset_interface() 936 dev->out_ep->desc = NULL; in printer_reset_interface() [all …]
|
D | f_uac1.c | 258 struct usb_ep *out_ep; member 334 struct usb_ep *out_ep = audio->out_ep; in f_audio_complete() local 339 if (ep == out_ep) in f_audio_complete() 546 struct usb_ep *out_ep = audio->out_ep; in f_audio_set_alt() local 554 usb_ep_enable(out_ep); in f_audio_set_alt() 555 out_ep->driver_data = audio; in f_audio_set_alt() 565 req = usb_ep_alloc_request(out_ep, GFP_ATOMIC); in f_audio_set_alt() 574 err = usb_ep_queue(out_ep, in f_audio_set_alt() 579 out_ep->name, err); in f_audio_set_alt() 655 audio->out_ep = ep; in f_audio_bind() [all …]
|
D | u_ether.c | 209 out = dev->port_usb->out_ep; in rx_submit() 409 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests() 688 out = link->out_ep->desc; in eth_stop() 690 usb_ep_disable(link->out_ep); in eth_stop() 694 link->out_ep->desc = out; in eth_stop() 696 usb_ep_enable(link->out_ep); in eth_stop() 900 link->out_ep->driver_data = dev; in gether_connect() 901 result = usb_ep_enable(link->out_ep); in gether_connect() 904 link->out_ep->name, result); in gether_connect() 937 (void) usb_ep_disable(link->out_ep); in gether_connect() [all …]
|
D | f_subset.c | 270 config_ep_by_speed(cdev->gadget, f, geth->port.out_ep)) { in geth_set_alt() 272 geth->port.out_ep->desc = NULL; in geth_set_alt() 319 geth->port.out_ep = ep; in geth_bind() 363 geth->port.in_ep->name, geth->port.out_ep->name); in geth_bind() 373 if (geth->port.out_ep) in geth_bind() 374 geth->port.out_ep->driver_data = NULL; in geth_bind()
|
D | f_eem.c | 201 if (!eem->port.in_ep->desc || !eem->port.out_ep->desc) { in eem_set_alt() 206 eem->port.out_ep)) { in eem_set_alt() 208 eem->port.out_ep->desc = NULL; in eem_set_alt() 272 eem->port.out_ep = ep; in eem_bind() 313 eem->port.in_ep->name, eem->port.out_ep->name); in eem_bind() 322 if (eem->port.out_ep) in eem_bind() 323 eem->port.out_ep->driver_data = NULL; in eem_bind()
|
D | f_ecm.c | 563 !ecm->port.out_ep->desc) { in ecm_set_alt() 568 ecm->port.out_ep)) { in ecm_set_alt() 570 ecm->port.out_ep->desc = NULL; in ecm_set_alt() 720 ecm->port.out_ep = ep; in ecm_bind() 793 ecm->port.in_ep->name, ecm->port.out_ep->name, in ecm_bind() 811 if (ecm->port.out_ep) in ecm_bind() 812 ecm->port.out_ep->driver_data = NULL; in ecm_bind()
|
D | f_rndis.c | 565 if (!rndis->port.in_ep->desc || !rndis->port.out_ep->desc) { in rndis_set_alt() 570 rndis->port.out_ep)) { in rndis_set_alt() 572 rndis->port.out_ep->desc = NULL; in rndis_set_alt() 699 rndis->port.out_ep = ep; in rndis_bind() 786 rndis->port.in_ep->name, rndis->port.out_ep->name, in rndis_bind() 806 if (rndis->port.out_ep) in rndis_bind() 807 rndis->port.out_ep->driver_data = NULL; in rndis_bind()
|
D | f_uac2.c | 150 struct usb_ep *in_ep, *out_ep; member 279 ep = agdev->out_ep; in uac2_pcm_trigger() 980 agdev->out_ep = usb_ep_autoconfig(gadget, &fs_epout_desc); in afunc_bind() 981 if (!agdev->out_ep) in afunc_bind() 984 agdev->out_ep->driver_data = agdev; in afunc_bind() 1044 if (agdev->out_ep) in afunc_unbind() 1045 agdev->out_ep->driver_data = NULL; in afunc_unbind() 1078 ep = agdev->out_ep; in afunc_set_alt() 1162 free_ep(&uac2->c_prm, agdev->out_ep); in afunc_disable()
|
D | f_ncm.c | 815 !ncm->port.out_ep->desc) { in ncm_set_alt() 820 ncm->port.out_ep)) { in ncm_set_alt() 822 ncm->port.out_ep->desc = NULL; in ncm_set_alt() 1190 ncm->port.out_ep = ep; in ncm_bind() 1246 ncm->port.in_ep->name, ncm->port.out_ep->name, in ncm_bind() 1262 if (ncm->port.out_ep) in ncm_bind() 1263 ncm->port.out_ep->driver_data = NULL; in ncm_bind()
|
D | u_ether.h | 44 struct usb_ep *out_ep; member
|
/drivers/staging/ozwpan/ |
D | ozhcd.c | 111 struct oz_endpoint *out_ep[OZ_NB_ENDPOINTS]; member 454 ep = port->out_ep[ep_addr]; in oz_enqueue_ep_urb() 485 ep = port->out_ep[ep_addr]; in oz_dequeue_ep_urb() 515 ep = port->out_ep[ep_ix]; in oz_find_urb_by_id() 616 ozhcd->ports[i].out_ep[0] = ep; in oz_hcd_pd_arrived() 680 if (port->out_ep[0]) { in oz_hcd_pd_departed() 681 ep = port->out_ep[0]; in oz_hcd_pd_departed() 682 port->out_ep[0] = 0; in oz_hcd_pd_departed() 1121 ep = port->out_ep[0]; in oz_hcd_heartbeat() 1209 port->out_ep[ep_num] = ep; in oz_build_endpoints_for_interface() [all …]
|
/drivers/net/usb/ |
D | cdc_ncm.c | 108 struct usb_host_endpoint *out_ep; member 428 if (ctx->out_ep == NULL) in cdc_ncm_find_endpoints() 429 ctx->out_ep = e; in cdc_ncm_find_endpoints() 570 if ((ctx->in_ep == NULL) || (ctx->out_ep == NULL) || in cdc_ncm_bind() 589 ctx->out_ep->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in cdc_ncm_bind() 830 le16_to_cpu(ctx->out_ep->desc.wMaxPacketSize)) == 0)) || in cdc_ncm_fill_tx_frame() 832 le16_to_cpu(ctx->out_ep->desc.wMaxPacketSize)) == 0)) && in cdc_ncm_fill_tx_frame()
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fcc.c | 105 goto out_ep; in do_pd_setup() 118 out_ep: in do_pd_setup()
|