Home
last modified time | relevance | path

Searched refs:ep_in (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_tcm.c84 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 …]
Dtcm.h121 struct usb_ep *ep_in; member
/kernel/linux/linux-5.10/drivers/media/rc/
Dir_toy.c365 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()
Dmceusb.c1664 struct usb_endpoint_descriptor *ep_in = NULL; in mceusb_dev_probe() local
1692 if (ep_in == NULL) { in mceusb_dev_probe()
1694 ep_in = ep; in mceusb_dev_probe()
1697 ep_in = ep; in mceusb_dev_probe()
1698 ep_in->bInterval = 1; in mceusb_dev_probe()
1714 if (!ep_in || !ep_out) { in mceusb_dev_probe()
1719 if (usb_endpoint_xfer_int(ep_in)) in mceusb_dev_probe()
1720 pipe = usb_rcvintpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe()
1722 pipe = usb_rcvbulkpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe()
1778 if (usb_endpoint_xfer_int(ep_in)) in mceusb_dev_probe()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-diolan-u2c.c80 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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.h48 uint8_t ep_in; member
Dif_usb.c179 cardp->ep_in = usb_endpoint_num(endpoint); in if_usb_probe()
182 cardp->ep_in); in if_usb_probe()
431 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dif_usb.h53 uint8_t ep_in; member
Dif_usb.c228 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()
462 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_gadget_ep0.c99 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()
Dmusb_core.h237 struct musb_ep ep_in; /* TX */ member
243 return next_request(&hw_ep->ep_in); in next_in_request()
Dmusb_gadget.c412 struct musb_ep *musb_ep = &musb->endpoints[epnum].ep_in; in musb_g_tx()
531 musb_ep = &hw_ep->ep_in; in rxstate()
802 musb_ep = &hw_ep->ep_in; in musb_g_rx()
1754 init_peripheral_ep(musb, &hw_ep->ep_in, epnum, 0); in musb_g_init_endpoints()
1758 init_peripheral_ep(musb, &hw_ep->ep_in, in musb_g_init_endpoints()
Dmusb_cppi41.c261 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()
/kernel/linux/linux-5.10/drivers/usb/early/
Dxhci-dbc.c228 struct xdbc_ep_context *ep_in, *ep_out; in xdbc_mem_init() local
329 ep_in = (struct xdbc_ep_context *)&ctx->in; in xdbc_mem_init()
331 ep_in->ep_info1 = 0; in xdbc_mem_init()
332 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
333 ep_in->deq = cpu_to_le64(xdbc.in_seg.dma | xdbc.in_ring.cycle_state); in xdbc_mem_init()
/kernel/linux/linux-5.10/drivers/usb/misc/
Dusbtest.c78 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,
/kernel/linux/linux-5.10/drivers/usb/storage/
Dusb.c734 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()
/kernel/linux/linux-5.10/drivers/mfd/
Ddln2.c102 u8 ep_in; member
629 usb_rcvbulkpipe(dln2->usb_dev, dln2->ep_in), in dln2_setup_rx_urbs()
796 dln2->ep_in = epin->bEndpointAddress; in dln2_probe()
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-usb.c1135 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()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dstub_rx.c339 ep = udev->ep_in[epnum & 0x7f]; in get_pipe()
404 ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out) in masking_bogus_flags()
Dusbip_common.c113 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()
/kernel/linux/linux-5.10/include/linux/
Dusb.h657 struct usb_host_endpoint *ep_in[16]; member
1980 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint()
1997 ep = udev->ep_in[epnum]; in usb_maxpacket()
/kernel/linux/linux-5.10/drivers/input/misc/
Dims-pcu.c82 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()
/kernel/linux/linux-5.10/drivers/usb/core/
Dmessage.c1289 ep = dev->ep_in[epnum]; in usb_disable_endpoint()
1291 dev->ep_in[epnum] = NULL; in usb_disable_endpoint()
1318 ep = dev->ep_in[epnum]; in usb_reset_endpoint()
1458 dev->ep_in[epnum] = ep; in usb_enable_endpoint()
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
Dat76c50x-usb.c2230 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()
/kernel/linux/linux-5.10/sound/usb/line6/
Ddriver.c509 ep = usbdev->ep_in[usb_pipeendpoint(pipe)]; in line6_get_usb_properties()

12