/linux-6.1.9/drivers/usb/gadget/function/ |
D | f_loopback.c | 31 struct usb_ep *in_ep; member 187 loop->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_loop_source_desc); in loopback_bind() 188 if (!loop->in_ep) { in loopback_bind() 217 f->name, loop->in_ep->name, loop->out_ep->name); in loopback_bind() 252 ep = loop->in_ep; in loopback_complete() 288 usb_ep_free_request(ep == loop->in_ep ? in loopback_complete() 289 loop->out_ep : loop->in_ep, in loopback_complete() 301 disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL); in disable_loopback() 326 in_req = usb_ep_alloc_request(loop->in_ep, GFP_ATOMIC); in alloc_requests() 355 usb_ep_free_request(loop->in_ep, in_req); in alloc_requests() [all …]
|
D | f_phonet.c | 48 struct usb_ep *in_ep, *out_ep; member 246 if (unlikely(usb_ep_queue(fp->in_ep, req, GFP_ATOMIC))) in pn_net_xmit() 390 usb_ep_disable(fp->in_ep); in __pn_reset() 416 if (fp->in_ep->enabled) in pn_set_alt() 422 if (config_ep_by_speed(gadget, f, fp->in_ep) || in pn_set_alt() 424 fp->in_ep->desc = NULL; in pn_set_alt() 430 usb_ep_enable(fp->in_ep); in pn_set_alt() 434 fp->in_ep->driver_data = fp; in pn_set_alt() 532 fp->in_ep = ep; in pn_bind() 557 fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL); in pn_bind() [all …]
|
D | f_printer.c | 69 struct usb_ep *in_ep, *out_ep; member 638 req->zero = ((len % dev->in_ep->maxpacket) == 0); in printer_write() 667 value = usb_ep_queue(dev->in_ep, req, GFP_ATOMIC); in printer_write() 811 dev->in_ep->desc = ep_desc(dev->gadget, &fs_ep_in_desc, &hs_ep_in_desc, in set_printer_interface() 813 dev->in_ep->driver_data = dev; in set_printer_interface() 819 result = usb_ep_enable(dev->in_ep); in set_printer_interface() 821 DBG(dev, "enable %s --> %d\n", dev->in_ep->name, result); in set_printer_interface() 834 (void) usb_ep_disable(dev->in_ep); in set_printer_interface() 836 dev->in_ep->desc = NULL; in set_printer_interface() 853 if (dev->in_ep->desc) in printer_reset_interface() [all …]
|
D | f_eem.c | 201 if (!eem->port.in_ep->desc || !eem->port.out_ep->desc) { in eem_set_alt() 204 eem->port.in_ep) || in eem_set_alt() 207 eem->port.in_ep->desc = NULL; in eem_set_alt() 237 if (eem->port.in_ep->enabled) in eem_disable() 292 eem->port.in_ep = ep; in eem_bind() 317 eem->port.in_ep->name, eem->port.out_ep->name); in eem_bind() 344 struct usb_ep *in = port->in_ep; in eem_wrap() 453 ep = port->in_ep; in eem_unwrap() 482 if (usb_ep_queue(port->in_ep, req, GFP_ATOMIC)) in eem_unwrap()
|
D | f_hid.c | 78 struct usb_ep *in_ep; member 483 free_ep_req(hidg->in_ep, req); in f_hidg_write() 499 if (!hidg->in_ep->enabled) { in f_hidg_write() 505 status = usb_ep_queue(hidg->in_ep, req, GFP_ATOMIC); in f_hidg_write() 777 usb_ep_disable(hidg->in_ep); in hidg_disable() 793 free_ep_req(hidg->in_ep, hidg->req); in hidg_disable() 811 if (hidg->in_ep != NULL) { in hidg_set_alt() 813 usb_ep_disable(hidg->in_ep); in hidg_set_alt() 816 hidg->in_ep); in hidg_set_alt() 821 status = usb_ep_enable(hidg->in_ep); in hidg_set_alt() [all …]
|
D | u_ether.c | 391 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests() 487 in = dev->port_usb->in_ep; in eth_start_xmit() 675 in = link->in_ep->desc; in eth_stop() 677 usb_ep_disable(link->in_ep); in eth_stop() 681 link->in_ep->desc = in; in eth_stop() 683 usb_ep_enable(link->in_ep); in eth_stop() 1094 link->in_ep->driver_data = dev; in gether_connect() 1095 result = usb_ep_enable(link->in_ep); in gether_connect() 1098 link->in_ep->name, result); in gether_connect() 1142 (void) usb_ep_disable(link->in_ep); in gether_connect() [all …]
|
D | f_subset.c | 261 if (geth->port.in_ep->enabled) { in geth_set_alt() 267 if (config_ep_by_speed(cdev->gadget, f, geth->port.in_ep) || in geth_set_alt() 269 geth->port.in_ep->desc = NULL; in geth_set_alt() 341 geth->port.in_ep = ep; in geth_bind() 373 geth->port.in_ep->name, geth->port.out_ep->name); in geth_bind()
|
D | f_ecm.c | 557 if (ecm->port.in_ep->enabled) { in ecm_set_alt() 562 if (!ecm->port.in_ep->desc || in ecm_set_alt() 566 ecm->port.in_ep) || in ecm_set_alt() 569 ecm->port.in_ep->desc = NULL; in ecm_set_alt() 617 return ecm->port.in_ep->enabled ? 1 : 0; in ecm_get_alt() 627 if (ecm->port.in_ep->enabled) { in ecm_disable() 630 ecm->port.in_ep->desc = NULL; in ecm_disable() 751 ecm->port.in_ep = ep; in ecm_bind() 809 ecm->port.in_ep->name, ecm->port.out_ep->name, in ecm_bind()
|
D | f_midi.c | 82 struct usb_ep *in_ep, *out_ep; member 281 } else if (ep == midi->in_ep) { in f_midi_complete() 373 err = f_midi_start_ep(midi, f, midi->in_ep); in f_midi_set_alt() 384 midi_alloc_ep_req(midi->in_ep, midi->buflen); in f_midi_set_alt() 429 usb_ep_disable(midi->in_ep); in f_midi_disable() 434 free_ep_req(midi->in_ep, req); in f_midi_disable() 661 midi->in_ep->name, err); in f_midi_do_transmit() 675 struct usb_ep *ep = midi->in_ep; in f_midi_transmit() 910 midi->in_ep = usb_ep_autoconfig(cdev->gadget, &bulk_in_desc); in f_midi_bind() 911 if (!midi->in_ep) in f_midi_bind()
|
D | f_sourcesink.c | 37 struct usb_ep *in_ep; member 332 ss->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_source_desc); in sourcesink_bind() 333 if (!ss->in_ep) { in sourcesink_bind() 442 f->name, ss->in_ep->name, ss->out_ep->name, in sourcesink_bind() 604 ep = is_in ? ss->in_ep : ss->out_ep; in source_sink_start_ep() 641 disable_endpoints(cdev, ss->in_ep, ss->out_ep, ss->iso_in_ep, in disable_source_sink() 655 ep = ss->in_ep; in enable_source_sink() 667 ep = ss->in_ep; in enable_source_sink()
|
D | f_rndis.c | 560 if (rndis->port.in_ep->enabled) { in rndis_set_alt() 565 if (!rndis->port.in_ep->desc || !rndis->port.out_ep->desc) { in rndis_set_alt() 568 rndis->port.in_ep) || in rndis_set_alt() 571 rndis->port.in_ep->desc = NULL; in rndis_set_alt() 750 rndis->port.in_ep = ep; in rndis_bind() 817 rndis->port.in_ep->name, rndis->port.out_ep->name, in rndis_bind()
|
D | f_ncm.c | 887 if (ncm->port.in_ep->enabled) { in ncm_set_alt() 901 if (!ncm->port.in_ep->desc || in ncm_set_alt() 905 ncm->port.in_ep) || in ncm_set_alt() 908 ncm->port.in_ep->desc = NULL; in ncm_set_alt() 949 return ncm->port.in_ep->enabled ? 1 : 0; in ncm_get_alt() 1352 if (ncm->port.in_ep->enabled) { in ncm_disable() 1491 ncm->port.in_ep = ep; in ncm_bind() 1550 ncm->port.in_ep->name, ncm->port.out_ep->name, in ncm_bind()
|
D | u_audio.h | 64 struct usb_ep *in_ep; member
|
D | u_ether.h | 59 struct usb_ep *in_ep; member
|
/linux-6.1.9/drivers/usb/misc/ |
D | chaoskey.c | 76 char in_ep; member 112 int in_ep; in chaoskey_probe() local 127 in_ep = usb_endpoint_num(epd); in chaoskey_probe() 163 usb_rcvbulkpipe(udev, in_ep), in chaoskey_probe() 180 dev->in_ep = in_ep; in chaoskey_probe()
|
/linux-6.1.9/drivers/media/usb/siano/ |
D | smsusb.c | 58 unsigned char in_ep; member 165 usb_rcvbulkpipe(dev->udev, dev->in_ep), in smsusb_submit_urb() 409 dev->in_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() 596 usb_clear_halt(udev, usb_rcvbulkpipe(udev, dev->in_ep)); in smsusb_resume()
|
/linux-6.1.9/drivers/gpu/drm/bridge/ |
D | parade-ps8640.c | 581 struct device_node *in_ep, *dsi_node; in ps8640_bridge_get_dsi_resources() local 590 in_ep = of_graph_get_endpoint_by_regs(dev->of_node, 0, -1); in ps8640_bridge_get_dsi_resources() 591 if (!in_ep) in ps8640_bridge_get_dsi_resources() 594 dsi_node = of_graph_get_remote_port_parent(in_ep); in ps8640_bridge_get_dsi_resources() 595 of_node_put(in_ep); in ps8640_bridge_get_dsi_resources()
|
/linux-6.1.9/sound/usb/ |
D | midi.h | 12 int8_t in_ep; member
|
D | midi.c | 1287 pipe = usb_rcvintpipe(umidi->dev, ep_info->in_ep); in snd_usbmidi_in_endpoint_create() 1289 pipe = usb_rcvbulkpipe(umidi->dev, ep_info->in_ep); in snd_usbmidi_in_endpoint_create() 1311 ep_info->in_ep); in snd_usbmidi_in_endpoint_create() 1995 if (endpoints[epidx].in_ep) { in snd_usbmidi_get_ms_info() 2002 endpoints[epidx].in_ep = usb_endpoint_num(ep); in snd_usbmidi_get_ms_info() 2112 if (endpoint[0].out_ep || endpoint[0].in_ep) in snd_usbmidi_detect_endpoints() 2135 endpoint[in_eps].in_ep = usb_endpoint_num(epd); in snd_usbmidi_detect_endpoints() 2156 if (endpoints[i].in_ep) in snd_usbmidi_detect_per_port_endpoints() 2305 ep_info.in_ep = get_endpoint(hostif, 0)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman()
|
/linux-6.1.9/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 123 .in_ep = 0x06, in usx2y_create_usbmidi() 136 .in_ep = 0x06, in usx2y_create_usbmidi()
|
D | us122l.c | 45 .in_ep = 3, in us122l_create_usbmidi() 67 .in_ep = 3, in us144_create_usbmidi()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | usb.c | 299 int i, in_ep = 0, out_ep = 0; in mt76u_set_endpoints() local 305 in_ep < __MT_EP_IN_MAX) { in mt76u_set_endpoints() 306 usb->in_ep[in_ep] = usb_endpoint_num(ep_desc); in mt76u_set_endpoints() 307 in_ep++; in mt76u_set_endpoints() 315 if (in_ep != __MT_EP_IN_MAX || out_ep != __MT_EP_OUT_MAX) in mt76u_set_endpoints() 429 pipe = usb_rcvbulkpipe(udev, dev->usb.in_ep[index]); in mt76u_fill_bulk_urb()
|
/linux-6.1.9/drivers/char/xillybus/ |
D | xillyusb.c | 178 struct xillyusb_endpoint *in_ep; member 543 if (xdev->in_ep) in cleanup_dev() 544 endpoint_dealloc(xdev->in_ep); in cleanup_dev() 638 flush_work(&chan->xdev->in_ep->workitem); in safely_assign_in_fifo() 1905 xdev->in_ep = endpoint_alloc(xdev, IN_EP_NUM | USB_DIR_IN, in xillyusb_setup_base_eps() 1907 if (!xdev->in_ep) in xillyusb_setup_base_eps() 1910 try_queue_bulk_in(xdev->in_ep); in xillyusb_setup_base_eps() 2158 endpoint_quiesce(xdev->in_ep); in xillyusb_probe() 2223 endpoint_quiesce(xdev->in_ep); in xillyusb_disconnect()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | usb.h | 115 u32 in_ep; /* Bulk IN endpoint number */ member
|
D | usb.c | 302 rtlusb->in_ep = rtlpriv->cfg->usb_interface_cfg->in_ep_num; in _rtl_usb_init_rx() 308 rtlusb->rx_max_size, rtlusb->rx_urb_num, rtlusb->in_ep); in _rtl_usb_init_rx() 412 usb_rcvbulkpipe(rtlusb->udev, rtlusb->in_ep), in _rtl_prep_rx_urb() 626 _rtl_install_trx_info(rtlusb, skb, rtlusb->in_ep); in _rtl_rx_completed()
|