/Linux-v5.15/drivers/usb/gadget/function/ |
D | f_tcm.c | 84 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); in bot_enqueue_sense_code() 123 ep = fu->ep_in; in bot_send_bad_status() 130 if (cmd->data_len > fu->ep_in->maxpacket) { in bot_send_bad_status() 168 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); in bot_send_status() 235 ret = usb_ep_queue(fu->ep_in, fu->bot_req_in, GFP_ATOMIC); in bot_send_read_response() 309 fu->bot_req_in = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs() 321 fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs() 347 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_prepare_reqs() 355 usb_ep_free_request(fu->ep_in, fu->bot_req_in); in bot_prepare_reqs() 367 usb_ep_disable(fu->ep_in); in bot_cleanup_old_alt() [all …]
|
D | tcm.h | 121 struct usb_ep *ep_in; member
|
/Linux-v5.15/drivers/media/rc/ |
D | ir_toy.c | 365 struct usb_endpoint_descriptor *ep_in = NULL; in irtoy_probe() local 376 if (!ep_in && usb_endpoint_is_bulk_in(ep) && in irtoy_probe() 378 ep_in = ep; in irtoy_probe() 385 if (!ep_in || !ep_out) { in irtoy_probe() 410 pipe = usb_rcvbulkpipe(usbdev, ep_in->bEndpointAddress); in irtoy_probe()
|
D | mceusb.c | 1670 struct usb_endpoint_descriptor *ep_in = NULL; in mceusb_dev_probe() local 1698 if (ep_in == NULL) { in mceusb_dev_probe() 1700 ep_in = ep; in mceusb_dev_probe() 1703 ep_in = ep; in mceusb_dev_probe() 1704 ep_in->bInterval = 1; in mceusb_dev_probe() 1720 if (!ep_in || !ep_out) { in mceusb_dev_probe() 1725 if (usb_endpoint_xfer_int(ep_in)) in mceusb_dev_probe() 1726 pipe = usb_rcvintpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe() 1728 pipe = usb_rcvbulkpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe() 1784 if (usb_endpoint_xfer_int(ep_in)) in mceusb_dev_probe() [all …]
|
/Linux-v5.15/drivers/i2c/busses/ |
D | i2c-diolan-u2c.c | 80 int ep_in, ep_out; /* Endpoints */ member 115 dev->ep_in), in diolan_usb_transfer() 207 usb_rcvbulkpipe(dev->usb_dev, dev->ep_in), in diolan_flush_input() 454 dev->ep_in = hostif->endpoint[1].desc.bEndpointAddress; in diolan_u2c_probe()
|
/Linux-v5.15/drivers/net/wireless/marvell/libertas_tf/ |
D | if_usb.h | 48 uint8_t ep_in; member
|
D | if_usb.c | 179 cardp->ep_in = usb_endpoint_num(endpoint); in if_usb_probe() 182 cardp->ep_in); in if_usb_probe() 429 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
|
/Linux-v5.15/drivers/net/wireless/marvell/libertas/ |
D | if_usb.h | 53 uint8_t ep_in; member
|
D | if_usb.c | 228 cardp->ep_in = usb_endpoint_num(endpoint); in if_usb_probe() 230 lbs_deb_usbd(&udev->dev, "in_endpoint = %d\n", cardp->ep_in); in if_usb_probe() 459 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
|
/Linux-v5.15/drivers/usb/musb/ |
D | musb_gadget_ep0.c | 99 ep = &musb->endpoints[epnum].ep_in; in service_tx_status_request() 177 musb_g_giveback(&musb->endpoints[0].ep_in, req, 0); in musb_g_ep0_giveback() 253 musb_ep = &ep->ep_in; in service_zero_data_request() 413 musb_ep = &ep->ep_in; in service_zero_data_request()
|
D | musb_core.h | 237 struct musb_ep ep_in; /* TX */ member 243 return next_request(&hw_ep->ep_in); in next_in_request()
|
D | musb_gadget.c | 412 struct musb_ep *musb_ep = &musb->endpoints[epnum].ep_in; in musb_g_tx() 531 musb_ep = &hw_ep->ep_in; in rxstate() 799 musb_ep = &hw_ep->ep_in; in musb_g_rx() 1751 init_peripheral_ep(musb, &hw_ep->ep_in, epnum, 0); in musb_g_init_endpoints() 1755 init_peripheral_ep(musb, &hw_ep->ep_in, in musb_g_init_endpoints()
|
D | musb_cppi41.c | 261 type = hw_ep->ep_in.type; in cppi41_dma_callback() 565 if (cppi41_channel->hw_ep->ep_in.type != USB_ENDPOINT_XFER_BULK) in cppi41_is_compatible()
|
/Linux-v5.15/drivers/usb/early/ |
D | xhci-dbc.c | 221 struct xdbc_ep_context *ep_in, *ep_out; in xdbc_mem_init() local 322 ep_in = (struct xdbc_ep_context *)&ctx->in; in xdbc_mem_init() 324 ep_in->ep_info1 = 0; in xdbc_mem_init() 325 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init() 326 ep_in->deq = cpu_to_le64(xdbc.in_seg.dma | xdbc.in_ring.cycle_state); in xdbc_mem_init()
|
/Linux-v5.15/drivers/mfd/ |
D | dln2.c | 101 u8 ep_in; member 628 usb_rcvbulkpipe(dln2->usb_dev, dln2->ep_in), in dln2_setup_rx_urbs() 778 dln2->ep_in = epin->bEndpointAddress; in dln2_probe()
|
/Linux-v5.15/drivers/usb/misc/ |
D | usbtest.c | 78 u8 ep_in; /* bulk/intr source */ member 2812 if (info->ep_in) { in usbtest_probe() 2813 dev->in_pipe = usb_rcvintpipe(udev, info->ep_in); in usbtest_probe() 2834 if (info->ep_in) in usbtest_probe() 2836 info->ep_in); in usbtest_probe() 2902 .ep_in = 2, 2910 .ep_in = 6, 2919 .ep_in = 2, 2960 .ep_in = 2,
|
/Linux-v5.15/drivers/usb/storage/ |
D | usb.c | 734 struct usb_endpoint_descriptor *ep_in; in get_pipes() local 745 res = usb_find_common_endpoints(alt, &ep_in, &ep_out, NULL, NULL); in get_pipes() 763 usb_endpoint_num(ep_in)); in get_pipes()
|
/Linux-v5.15/drivers/media/usb/go7007/ |
D | go7007-usb.c | 1135 ep = usb->usbdev->ep_in[4]; in go7007_usb_probe() 1269 if (!usb->usbdev->ep_in[6]) in go7007_usb_probe() 1274 if (!usb->usbdev->ep_in[1]) in go7007_usb_probe() 1295 if (!usb->usbdev->ep_in[8]) in go7007_usb_probe()
|
/Linux-v5.15/drivers/usb/usbip/ |
D | stub_rx.c | 337 ep = udev->ep_in[epnum & 0x7f]; in get_pipe() 402 ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out) in masking_bogus_flags()
|
D | usbip_common.c | 113 if (udev->ep_in[i]) in usbip_dump_usb_device() 115 le16_to_cpu(udev->ep_in[i]->desc.wMaxPacketSize)); in usbip_dump_usb_device()
|
/Linux-v5.15/include/linux/ |
D | usb.h | 652 struct usb_host_endpoint *ep_in[16]; member 1977 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint() 1994 ep = udev->ep_in[epnum]; in usb_maxpacket()
|
/Linux-v5.15/drivers/input/misc/ |
D | ims-pcu.c | 82 struct usb_endpoint_descriptor *ep_in; member 1535 pcu->ep_in->bEndpointAddress), in ims_pcu_buffers_alloc() 1703 pcu->ep_in = &alt->endpoint[1].desc; in ims_pcu_parse_cdc_data() 1704 if (!usb_endpoint_is_bulk_in(pcu->ep_in)) { in ims_pcu_parse_cdc_data() 1710 pcu->max_in_size = usb_endpoint_maxp(pcu->ep_in); in ims_pcu_parse_cdc_data()
|
/Linux-v5.15/drivers/usb/core/ |
D | message.c | 1297 ep = dev->ep_in[epnum]; in usb_disable_endpoint() 1299 dev->ep_in[epnum] = NULL; in usb_disable_endpoint() 1326 ep = dev->ep_in[epnum]; in usb_reset_endpoint() 1466 dev->ep_in[epnum] = ep; in usb_enable_endpoint()
|
/Linux-v5.15/drivers/net/can/usb/etas_es58x/ |
D | es58x_core.c | 2187 struct usb_endpoint_descriptor *ep_in, *ep_out; in es58x_init_es58x_dev() local 2194 ret = usb_find_common_endpoints(intf->cur_altsetting, &ep_in, &ep_out, in es58x_init_es58x_dev() 2230 ep_in->bEndpointAddress); in es58x_init_es58x_dev() 2233 es58x_dev->rx_max_packet_size = le16_to_cpu(ep_in->wMaxPacketSize); in es58x_init_es58x_dev()
|
/Linux-v5.15/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 2230 struct usb_endpoint_descriptor *endpoint, *ep_in, *ep_out; in at76_alloc_urbs() local 2240 ep_in = NULL; in at76_alloc_urbs() 2250 if (!ep_in && usb_endpoint_is_bulk_in(endpoint)) in at76_alloc_urbs() 2251 ep_in = endpoint; in at76_alloc_urbs() 2257 if (!ep_in || !ep_out) { in at76_alloc_urbs() 2262 priv->rx_pipe = usb_rcvbulkpipe(priv->udev, ep_in->bEndpointAddress); in at76_alloc_urbs()
|