/linux/drivers/usb/gadget/function/ |
A D | f_loopback.c | 32 struct usb_ep *out_ep; member 196 if (!loop->out_ep) in loopback_bind() 217 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind() 243 if (ep == loop->out_ep) { in loopback_complete() 260 ep = loop->out_ep; in loopback_complete() 289 loop->out_ep : loop->in_ep, in loopback_complete() 330 out_req = lb_alloc_ep_req(loop->out_ep, loop->buflen); in alloc_requests() 345 loop->out_ep->name, result); in alloc_requests() 353 free_ep_req(loop->out_ep, out_req); in alloc_requests() 388 result = enable_endpoint(cdev, loop, loop->out_ep); in enable_loopback() [all …]
|
A D | f_phonet.c | 48 struct usb_ep *in_ep, *out_ep; member 308 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit() 389 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() 527 fp->out_ep = ep; in pn_bind() 563 fp->out_ep->name, fp->in_ep->name); in pn_bind() 568 usb_ep_free_request(fp->out_ep, fp->out_reqv[i]); in pn_bind() [all …]
|
A D | f_printer.c | 69 struct usb_ep *in_ep, *out_ep; member 817 dev->out_ep->driver_data = dev; in set_printer_interface() 837 dev->out_ep->desc = NULL; in set_printer_interface() 856 if (dev->out_ep->desc) in printer_reset_interface() 857 usb_ep_disable(dev->out_ep); in printer_reset_interface() 861 dev->out_ep->desc = NULL; in printer_reset_interface() 894 if (usb_ep_disable(dev->out_ep)) in printer_soft_reset() 928 if (usb_ep_enable(dev->out_ep)) in printer_soft_reset() 1068 struct usb_ep *out_ep = NULL; in printer_func_bind() local 1093 if (!out_ep) in printer_func_bind() [all …]
|
A D | f_hid.c | 79 struct usb_ep *out_ep; member 337 free_ep_req(hidg->out_ep, req); in f_hidg_intout_read() 771 if (hidg->out_ep) { in hidg_disable() 772 usb_ep_disable(hidg->out_ep); in hidg_disable() 829 usb_ep_disable(hidg->out_ep); in hidg_set_alt() 832 hidg->out_ep); in hidg_set_alt() 858 hidg->out_ep->name, status); in hidg_set_alt() 878 if (hidg->out_ep) in hidg_set_alt() 879 usb_ep_disable(hidg->out_ep); in hidg_set_alt() 931 hidg->out_ep = NULL; in hidg_bind() [all …]
|
A D | f_uac1_legacy.c | 281 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 606 err = config_ep_by_speed(cdev->gadget, f, out_ep); in f_audio_set_alt() 610 usb_ep_enable(out_ep); in f_audio_set_alt() 620 req = usb_ep_alloc_request(out_ep, GFP_ATOMIC); in f_audio_set_alt() 629 err = usb_ep_queue(out_ep, in f_audio_set_alt() 634 out_ep->name, err); in f_audio_set_alt() 754 audio->out_ep = ep; in f_audio_bind() [all …]
|
A D | u_ether.c | 189 out = dev->port_usb->out_ep; in rx_submit() 677 out = link->out_ep->desc; in eth_stop() 679 usb_ep_disable(link->out_ep); in eth_stop() 683 link->out_ep->desc = out; in eth_stop() 685 usb_ep_enable(link->out_ep); in eth_stop() 1095 link->out_ep->driver_data = dev; in gether_connect() 1096 result = usb_ep_enable(link->out_ep); in gether_connect() 1099 link->out_ep->name, result); in gether_connect() 1133 (void) usb_ep_disable(link->out_ep); in gether_connect() 1188 usb_ep_disable(link->out_ep); in gether_disconnect() [all …]
|
A D | f_sourcesink.c | 38 struct usb_ep *out_ep; member 340 ss->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_sink_desc); in sourcesink_bind() 341 if (!ss->out_ep) in sourcesink_bind() 442 f->name, ss->in_ep->name, ss->out_ep->name, in sourcesink_bind() 496 usb_ep_set_halt(ss->out_ep); in check_read_data() 537 if (ep == ss->out_ep) { in source_sink_complete() 550 if (ep == ss->out_ep) in source_sink_complete() 603 ep = is_in ? ss->in_ep : ss->out_ep; in source_sink_start_ep() 640 disable_endpoints(cdev, ss->in_ep, ss->out_ep, ss->iso_in_ep, in disable_source_sink() 672 ep = ss->out_ep; in enable_source_sink() [all …]
|
A D | f_midi.c | 82 struct usb_ep *in_ep, *out_ep; member 278 if (ep == midi->out_ep) { in f_midi_complete() 296 if (ep == midi->out_ep) { in f_midi_complete() 377 err = f_midi_start_ep(midi, f, midi->out_ep); in f_midi_set_alt() 398 midi_alloc_ep_req(midi->out_ep, midi->buflen); in f_midi_set_alt() 404 err = usb_ep_queue(midi->out_ep, req, GFP_ATOMIC); in f_midi_set_alt() 407 midi->out_ep->name, err); in f_midi_set_alt() 409 free_ep_req(midi->out_ep, req); in f_midi_set_alt() 430 usb_ep_disable(midi->out_ep); in f_midi_disable() 914 midi->out_ep = usb_ep_autoconfig(cdev->gadget, &bulk_out_desc); in f_midi_bind() [all …]
|
A D | f_subset.c | 268 config_ep_by_speed(cdev->gadget, f, geth->port.out_ep)) { in geth_set_alt() 270 geth->port.out_ep->desc = NULL; in geth_set_alt() 346 geth->port.out_ep = ep; in geth_bind() 373 geth->port.in_ep->name, geth->port.out_ep->name); in geth_bind()
|
A 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() 297 eem->port.out_ep = ep; in eem_bind() 317 eem->port.in_ep->name, eem->port.out_ep->name); in eem_bind()
|
A 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() 631 ecm->port.out_ep->desc = NULL; in ecm_disable() 756 ecm->port.out_ep = ep; in ecm_bind() 809 ecm->port.in_ep->name, ecm->port.out_ep->name, in ecm_bind()
|
A 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() 755 rndis->port.out_ep = ep; in rndis_bind() 817 rndis->port.in_ep->name, rndis->port.out_ep->name, in rndis_bind()
|
A D | u_audio.h | 63 struct usb_ep *out_ep; member
|
A D | u_ether.h | 60 struct usb_ep *out_ep; member
|
A D | u_audio.c | 96 struct usb_ep *out_ep, in u_audio_set_fback_frequency() argument 135 ep_desc = out_ep->desc; in u_audio_set_fback_frequency() 302 u_audio_set_fback_frequency(audio_dev->gadget->speed, audio_dev->out_ep, in u_audio_iso_fback_complete() 504 ep = audio_dev->out_ep; in u_audio_start_capture() 578 free_ep(&uac->c_prm, audio_dev->out_ep); in u_audio_stop_capture()
|
A D | f_ncm.c | 904 !ncm->port.out_ep->desc) { in ncm_set_alt() 909 ncm->port.out_ep)) { in ncm_set_alt() 911 ncm->port.out_ep->desc = NULL; in ncm_set_alt() 1498 ncm->port.out_ep = ep; in ncm_bind() 1552 ncm->port.in_ep->name, ncm->port.out_ep->name, in ncm_bind()
|
/linux/drivers/char/xillybus/ |
A D | xillyusb.c | 591 if (chan->out_ep) in wakeup_all() 1292 if (!out_ep) { in xillyusb_open() 1348 if (out_ep) in xillyusb_open() 1349 chan->out_ep = out_ep; in xillyusb_open() 1389 if (out_ep) { in xillyusb_open() 1391 chan->out_ep = NULL; in xillyusb_open() 1396 if (out_ep) in xillyusb_open() 1842 if (chan->out_ep) in xillyusb_poll() 1871 if (chan->out_ep && in xillyusb_poll() 1872 (READ_ONCE(chan->out_ep->fifo.fill) != chan->out_ep->fifo.size)) in xillyusb_poll() [all …]
|
/linux/drivers/media/usb/siano/ |
A D | smsusb.c | 59 unsigned char out_ep; member 412 dev->out_ep = desc->bEndpointAddress; in smsusb_init_device() 416 pr_debug("in_ep = %02x, out_ep = %02x\n", dev->in_ep, dev->out_ep); in smsusb_init_device() 417 if (!dev->in_ep || !dev->out_ep || align < 0) { /* Missing endpoints? */ in smsusb_init_device() 597 usb_clear_halt(udev, usb_sndbulkpipe(udev, dev->out_ep)); in smsusb_resume()
|
/linux/sound/usb/usx2y/ |
A D | usX2Yhwdep.c | 122 .out_ep = 0x06, in usx2y_create_usbmidi() 135 .out_ep = 0x06, in usx2y_create_usbmidi()
|
A D | us122l.c | 44 .out_ep = 4, in us122l_create_usbmidi() 66 .out_ep = 4, in us144_create_usbmidi()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | usb.c | 352 int i, in_ep = 0, out_ep = 0; in mt76u_set_endpoints() local 362 out_ep < __MT_EP_OUT_MAX) { in mt76u_set_endpoints() 363 usb->out_ep[out_ep] = usb_endpoint_num(ep_desc); in mt76u_set_endpoints() 364 out_ep++; in mt76u_set_endpoints() 368 if (in_ep != __MT_EP_IN_MAX || out_ep != __MT_EP_OUT_MAX) in mt76u_set_endpoints() 484 pipe = usb_sndbulkpipe(udev, dev->usb.out_ep[index]); in mt76u_fill_bulk_urb()
|
/linux/sound/usb/ |
A D | midi.h | 10 int8_t out_ep; /* ep number, 0 autodetect */ member
|
A D | midi.c | 1372 pipe = usb_sndintpipe(umidi->dev, ep_info->out_ep); in snd_usbmidi_out_endpoint_create() 1374 pipe = usb_sndbulkpipe(umidi->dev, ep_info->out_ep); in snd_usbmidi_out_endpoint_create() 1421 ep_info->out_ep); in snd_usbmidi_out_endpoint_create() 1967 if (endpoints[epidx].out_ep) { in snd_usbmidi_get_ms_info() 1974 endpoints[epidx].out_ep = usb_endpoint_num(ep); in snd_usbmidi_get_ms_info() 2110 if (endpoint[0].out_ep || endpoint[0].in_ep) in snd_usbmidi_detect_endpoints() 2126 endpoint[out_eps].out_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints() 2152 if (endpoints[i].out_ep) in snd_usbmidi_detect_per_port_endpoints() 2294 ep_info.out_ep = get_endpoint(hostif, 2)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman() 2313 ep_info.out_ep = get_endpoint(hostif, 4)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman()
|
/linux/drivers/net/ethernet/freescale/fs_enet/ |
A D | mac-fcc.c | 106 goto out_ep; in do_pd_setup() 119 out_ep: in do_pd_setup()
|
/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
A D | rtl8xxxu_core.c | 2628 usb_sndbulkpipe(priv->udev, priv->out_ep[vop]); in rtl8xxxu_init_queue_priority() 2630 usb_sndbulkpipe(priv->udev, priv->out_ep[vip]); in rtl8xxxu_init_queue_priority() 2632 usb_sndbulkpipe(priv->udev, priv->out_ep[bep]); in rtl8xxxu_init_queue_priority() 2634 usb_sndbulkpipe(priv->udev, priv->out_ep[bkp]); in rtl8xxxu_init_queue_priority() 2636 usb_sndbulkpipe(priv->udev, priv->out_ep[0]); in rtl8xxxu_init_queue_priority() 2638 usb_sndbulkpipe(priv->udev, priv->out_ep[mgp]); in rtl8xxxu_init_queue_priority() 2640 usb_sndbulkpipe(priv->udev, priv->out_ep[hip]); in rtl8xxxu_init_queue_priority() 2642 usb_sndbulkpipe(priv->udev, priv->out_ep[0]); in rtl8xxxu_init_queue_priority() 6545 priv->out_ep[j++] = num; in rtl8xxxu_parse_usb()
|