Home
last modified time | relevance | path

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

12

/drivers/net/irda/
Dkingsun-sir.c122 __u8 ep_in; member
300 usb_rcvintpipe(kingsun->usbdev, kingsun->ep_in), in kingsun_net_open()
447 __u8 ep_in; in kingsun_probe() local
467 ep_in = endpoint->bEndpointAddress; in kingsun_probe()
468 pipe = usb_rcvintpipe(dev, ep_in); in kingsun_probe()
498 kingsun->ep_in = ep_in; in kingsun_probe()
Dksdazzle-sir.c160 __u8 ep_in; member
446 usb_rcvintpipe(kingsun->usbdev, kingsun->ep_in), in ksdazzle_net_open()
592 __u8 ep_in; in ksdazzle_probe() local
611 ep_in = endpoint->bEndpointAddress; in ksdazzle_probe()
612 pipe = usb_rcvintpipe(dev, ep_in); in ksdazzle_probe()
641 kingsun->ep_in = ep_in; in ksdazzle_probe()
Dmcs7780.c520 usb_rcvbulkpipe(mcs->usbdev, mcs->ep_in), in mcs_receive_start()
541 mcs->ep_in = ep[i].desc.bEndpointAddress; in mcs_find_endpoints()
548 if ((mcs->ep_in != 0) && (mcs->ep_out != 0)) { in mcs_find_endpoints()
699 usb_sndbulkpipe(mcs->usbdev, mcs->ep_in)); in mcs_net_open()
Dmcs7780.h123 __u8 ep_in; member
/drivers/media/rc/
Dredrat3.c193 struct usb_endpoint_descriptor *ep_in; member
509 usb_free_coherent(udev, le16_to_cpu(rr3->ep_in->wMaxPacketSize), in redrat3_delete()
931 struct usb_endpoint_descriptor *ep_in = NULL; in redrat3_dev_probe() local
947 if ((ep_in == NULL) && in redrat3_dev_probe()
955 ep_in = ep; in redrat3_dev_probe()
968 if (!ep_in || !ep_out) { in redrat3_dev_probe()
990 rr3->ep_in = ep_in; in redrat3_dev_probe()
992 le16_to_cpu(ep_in->wMaxPacketSize), GFP_ATOMIC, &rr3->dma_in); in redrat3_dev_probe()
998 pipe = usb_rcvbulkpipe(udev, ep_in->bEndpointAddress); in redrat3_dev_probe()
1000 le16_to_cpu(ep_in->wMaxPacketSize), redrat3_handle_async, rr3); in redrat3_dev_probe()
Dmceusb.c1240 struct usb_endpoint_descriptor *ep_in = NULL; in mceusb_dev_probe() local
1268 if ((ep_in == NULL) in mceusb_dev_probe()
1276 ep_in = ep; in mceusb_dev_probe()
1277 ep_in->bmAttributes = USB_ENDPOINT_XFER_INT; in mceusb_dev_probe()
1278 ep_in->bInterval = 1; in mceusb_dev_probe()
1298 if (ep_in == NULL) { in mceusb_dev_probe()
1303 pipe = usb_rcvintpipe(dev, ep_in->bEndpointAddress); in mceusb_dev_probe()
1345 mceusb_dev_recv, ir, ep_in->bInterval); in mceusb_dev_probe()
/drivers/usb/gadget/
Df_mtp.c77 struct usb_ep *ep_in; member
414 dev->ep_in = ep; in mtp_create_bulk_endpoints()
436 req = mtp_request_new(dev->ep_in, MTP_BULK_BUFFER_SIZE); in mtp_create_bulk_endpoints()
572 if ((count & (dev->ep_in->maxpacket - 1)) == 0) in mtp_write()
606 ret = usb_ep_queue(dev->ep_in, req, GFP_KERNEL); in mtp_write()
667 if ((count & (dev->ep_in->maxpacket - 1)) == 0) in send_file_work()
714 ret = usb_ep_queue(dev->ep_in, req, GFP_KERNEL); in send_file_work()
1121 f->name, dev->ep_in->name, dev->ep_out->name); in mtp_function_bind()
1133 mtp_request_free(req, dev->ep_in); in mtp_function_unbind()
1150 ret = config_ep_by_speed(cdev->gadget, f, dev->ep_in); in mtp_function_set_alt()
[all …]
Df_accessory.c73 struct usb_ep *ep_in; member
511 dev->ep_in = ep; in create_bulk_endpoints()
524 req = acc_request_new(dev->ep_in, BULK_BUFFER_SIZE); in create_bulk_endpoints()
543 acc_request_free(req, dev->ep_in); in create_bulk_endpoints()
670 req->zero = ((xfer % dev->ep_in->maxpacket) == 0); in acc_write()
678 ret = usb_ep_queue(dev->ep_in, req, GFP_KERNEL); in acc_write()
942 f->name, dev->ep_in->name, dev->ep_out->name); in acc_function_bind()
992 acc_request_free(req, dev->ep_in); in acc_function_unbind()
1103 ret = config_ep_by_speed(cdev->gadget, f, dev->ep_in); in acc_function_set_alt()
1107 ret = usb_ep_enable(dev->ep_in); in acc_function_set_alt()
[all …]
Dtcm_usb_gadget.c95 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); in bot_enqueue_sense_code()
134 ep = fu->ep_in; in bot_send_bad_status()
141 if (cmd->data_len > fu->ep_in->maxpacket) { in bot_send_bad_status()
179 ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); in bot_send_status()
246 ret = usb_ep_queue(fu->ep_in, fu->bot_req_in, GFP_ATOMIC); in bot_send_read_response()
320 fu->bot_req_in = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs()
332 fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); in bot_prepare_reqs()
358 usb_ep_free_request(fu->ep_in, fu->bot_status.req); in bot_prepare_reqs()
366 usb_ep_free_request(fu->ep_in, fu->bot_req_in); in bot_prepare_reqs()
378 usb_ep_disable(fu->ep_in); in bot_cleanup_old_alt()
[all …]
Dtcm_usb_gadget.h129 struct usb_ep *ep_in; member
/drivers/staging/keucr/
Dusb.c346 struct usb_endpoint_descriptor *ep_in = NULL; in get_pipes() local
357 if (!ep_in) in get_pipes()
358 ep_in = ep; in get_pipes()
369 if (!ep_in || !ep_out || (us->protocol == USB_PR_CBI && !ep_int)) { in get_pipes()
378 …us->recv_bulk_pipe = usb_rcvbulkpipe(us->pusb_dev, ep_in->bEndpointAddress & USB_ENDPOINT_NUMBER_M… in get_pipes()
/drivers/staging/rts5139/
Drts51x.c543 struct usb_endpoint_descriptor *ep_in = NULL; in get_pipes() local
558 if (!ep_in) in get_pipes()
559 ep_in = ep; in get_pipes()
572 if (!ep_in || !ep_out) { in get_pipes()
584 usb_endpoint_num(ep_in)); in get_pipes()
/drivers/usb/storage/
Dusb.c699 struct usb_endpoint_descriptor *ep_in = NULL; in get_pipes() local
714 if (!ep_in) in get_pipes()
715 ep_in = ep; in get_pipes()
728 if (!ep_in || !ep_out || (us->protocol == USB_PR_CBI && !ep_int)) { in get_pipes()
739 usb_endpoint_num(ep_in)); in get_pipes()
/drivers/usb/musb/
Dmusb_gadget_ep0.c119 ep = &musb->endpoints[epnum].ep_in; in service_tx_status_request()
198 musb_g_giveback(&musb->endpoints[0].ep_in, req, 0); in musb_g_ep0_giveback()
274 musb_ep = &ep->ep_in; in service_zero_data_request()
438 musb_ep = &ep->ep_in; in service_zero_data_request()
Dmusb_core.h264 struct musb_ep ep_in; /* TX */ member
270 return next_request(&hw_ep->ep_in); in next_in_request()
Dmusb_gadget.c438 struct musb_ep *musb_ep = &musb->endpoints[epnum].ep_in; in musb_g_tx()
563 musb_ep = &hw_ep->ep_in; in rxstate()
832 musb_ep = &hw_ep->ep_in; in musb_g_rx()
1749 init_peripheral_ep(musb, &hw_ep->ep_in, epnum, 0); in musb_g_init_endpoints()
1753 init_peripheral_ep(musb, &hw_ep->ep_in, in musb_g_init_endpoints()
1897 nuke(&hw_ep->ep_in, -ESHUTDOWN); in stop_activity()
1900 nuke(&hw_ep->ep_in, -ESHUTDOWN); in stop_activity()
/drivers/mtd/nand/
Dalauda.c640 *ep_in=NULL, *ep_out=NULL, *ep_wr=NULL; in alauda_probe() local
658 ep_in = ep; in alauda_probe()
667 if (!ep_wr || !ep_in || !ep_out) in alauda_probe()
673 usb_endpoint_num(ep_in)); in alauda_probe()
/drivers/net/wireless/libertas_tf/
Dif_usb.h52 uint8_t ep_in; member
Dif_usb.c177 cardp->ep_in = usb_endpoint_num(endpoint); in if_usb_probe()
180 cardp->ep_in); in if_usb_probe()
439 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
/drivers/net/wireless/libertas/
Dif_usb.h52 uint8_t ep_in; member
Dif_usb.c230 cardp->ep_in = usb_endpoint_num(endpoint); in if_usb_probe()
232 lbs_deb_usbd(&udev->dev, "in_endpoint = %d\n", cardp->ep_in); in if_usb_probe()
465 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
/drivers/usb/misc/
Dusbtest.c51 u8 ep_in; /* bulk/intr source */ member
2285 if (info->ep_in) { in usbtest_probe()
2286 dev->in_pipe = usb_rcvintpipe(udev, info->ep_in); in usbtest_probe()
2307 if (info->ep_in) in usbtest_probe()
2309 info->ep_in); in usbtest_probe()
2369 .ep_in = 2,
2377 .ep_in = 6,
2386 .ep_in = 2,
2426 .ep_in = 2,
/drivers/staging/usbip/
Dstub_rx.c359 ep = udev->ep_in[epnum & 0x7f]; in get_pipe()
416 ep = (usb_pipein(urb->pipe) ? dev->ep_in : dev->ep_out) in masking_bogus_flags()
/drivers/input/misc/
Dims-pcu.c82 struct usb_endpoint_descriptor *ep_in; member
1320 pcu->ep_in->bEndpointAddress), in ims_pcu_buffers_alloc()
1467 pcu->ep_in = &alt->endpoint[1].desc; in ims_pcu_parse_cdc_data()
1468 if (!usb_endpoint_is_bulk_in(pcu->ep_in)) { in ims_pcu_parse_cdc_data()
1474 pcu->max_in_size = usb_endpoint_maxp(pcu->ep_in); in ims_pcu_parse_cdc_data()
/drivers/usb/core/
Dmessage.c1070 ep = dev->ep_in[epnum]; in usb_disable_endpoint()
1072 dev->ep_in[epnum] = NULL; in usb_disable_endpoint()
1099 ep = dev->ep_in[epnum]; in usb_reset_endpoint()
1223 dev->ep_in[epnum] = ep; in usb_enable_endpoint()

12