Home
last modified time | relevance | path

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

12

/linux-6.1.9/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
/linux-6.1.9/drivers/media/rc/
Dir_toy.c394 struct usb_endpoint_descriptor *ep_in = NULL; in irtoy_probe() local
405 if (!ep_in && usb_endpoint_is_bulk_in(ep) && in irtoy_probe()
407 ep_in = ep; in irtoy_probe()
414 if (!ep_in || !ep_out) { in irtoy_probe()
439 pipe = usb_rcvbulkpipe(usbdev, ep_in->bEndpointAddress); in irtoy_probe()
Dmceusb.c1665 struct usb_endpoint_descriptor *ep_in = NULL; in mceusb_dev_probe() local
1693 if (ep_in == NULL) { in mceusb_dev_probe()
1695 ep_in = ep; in mceusb_dev_probe()
1698 ep_in = ep; in mceusb_dev_probe()
1699 ep_in->bInterval = 1; in mceusb_dev_probe()
1715 if (!ep_in || !ep_out) { in mceusb_dev_probe()
1720 if (usb_endpoint_xfer_int(ep_in)) in mceusb_dev_probe()
1721 pipe = usb_rcvintpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe()
1723 pipe = usb_rcvbulkpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe()
1779 if (usb_endpoint_xfer_int(ep_in)) in mceusb_dev_probe()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/mfd/
Ddln2.c97 u8 ep_in; member
624 usb_rcvbulkpipe(dln2->usb_dev, dln2->ep_in), in dln2_setup_rx_urbs()
787 dln2->ep_in = epin->bEndpointAddress; in dln2_probe()
/linux-6.1.9/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,
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/core/
Dmessage.c1297 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-6.1.9/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()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.c2183 struct usb_endpoint_descriptor *ep_in, *ep_out; in es58x_init_es58x_dev() local
2189 ret = usb_find_common_endpoints(intf->cur_altsetting, &ep_in, &ep_out, in es58x_init_es58x_dev()
2224 ep_in->bEndpointAddress); in es58x_init_es58x_dev()
/linux-6.1.9/include/linux/
Dusb.h654 struct usb_host_endpoint *ep_in[16]; member
1975 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint()

12