/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/drivers/usb/ifxhcd/ |
H A D | ifxhcd_queue.c | 54 \param[in] _urb Holds the information about the device/endpoint that we need 59 ifxhcd_epqh_t *ifxhcd_epqh_create (ifxhcd_hcd_t *_ifxhcd, struct urb *_urb) argument 64 struct usb_host_endpoint *sysep = ifxhcd_urb_to_endpoint(_urb); 78 switch (usb_pipetype(_urb->pipe)) 88 epqh->mps = usb_maxpacket(_urb->dev, _urb->pipe, !(usb_pipein(_urb->pipe))); 102 if(epqh->ep_type == IFXUSB_EP_TYPE_BULK && !(usb_pipein(_urb->pipe)) ) 105 ((_urb->dev->speed == USB_SPEED_LOW) || 106 (_urb 341 ifxhcd_urbd_create(ifxhcd_hcd_t *_ifxhcd,struct urb *_urb) argument [all...] |
H A D | ifxhcd.h | 489 //extern int ifxhcd_urb_enqueue(struct usb_hcd *_syshcd, struct usb_host_endpoint *_sysep, struct urb *_urb, gfp_t mem_flags); 490 //extern int ifxhcd_urb_dequeue(struct usb_hcd *_syshcd, struct urb *_urb); 494 struct urb *_urb, 497 struct urb *_urb, int status /* Parameter neu in 2.6.28 */); 581 extern ifxhcd_epqh_t *ifxhcd_epqh_create (ifxhcd_hcd_t *_ifxhcd, struct urb *_urb); 591 extern int ifxhcd_urbd_create (ifxhcd_hcd_t *_ifxhcd,struct urb *_urb); 595 static inline struct usb_host_endpoint *ifxhcd_urb_to_endpoint(struct urb *_urb) argument 597 struct usb_device *dev = _urb->dev; 598 int ep_num = usb_pipeendpoint(_urb->pipe); 600 return (usb_pipein(_urb [all...] |
H A D | ifxhcd.c | 54 static void dump_urb_info(struct urb *_urb, char* _fn_name); 603 struct urb *_urb, 608 struct usb_host_endpoint *_sysep = ifxhcd_urb_to_endpoint(_urb); 613 dump_urb_info(_urb, "ifxusb_hcd_urb_enqueue"); 620 if(usb_pipetype(_urb->pipe) == PIPE_ISOCHRONOUS) 627 retval=ifxhcd_urbd_create (ifxhcd,_urb); 654 struct urb *_urb, int status /* Parameter neu in 2.6.28 */) 668 if(usb_pipetype(_urb->pipe) == PIPE_ISOCHRONOUS) 672 _sysep = ifxhcd_urb_to_endpoint(_urb); 679 rc = usb_hcd_check_unlink_urb(_syshcd, _urb, statu 601 ifxhcd_urb_enqueue( struct usb_hcd *_syshcd, struct urb *_urb, gfp_t _mem_flags) argument 653 ifxhcd_urb_dequeue( struct usb_hcd *_syshcd, struct urb *_urb, int status ) argument 2339 dump_urb_info(struct urb *_urb, char* _fn_name) argument [all...] |
H A D | ifxhcd_intr.c | 337 struct urb *_urb, 346 _urb->actual_length += (_ifxhc->xfer_len - hctsiz.b.xfersize); 347 if ((hctsiz.b.xfersize != 0) || (_urb->actual_length >= _urb->transfer_buffer_length)) 350 _urb->status = 0; 352 if (_urb->actual_length > _urb->transfer_buffer_length) { 353 _urb->status = -EOVERFLOW; 356 if (_urb->actual_length < _urb 335 update_urb_state_xfer_comp(ifxhcd_hc_t *_ifxhc, ifxusb_hc_regs_t *_hc_regs, struct urb *_urb, ifxhcd_urbd_t *_urbd) argument [all...] |
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/drivers/usb/dwc_otg/ |
H A D | dwc_otg_hcd_queue.c | 59 * @param[in] _urb Holds the information about the device/endpoint that we need 63 dwc_otg_qh_t *dwc_otg_hcd_qh_create (dwc_otg_hcd_t *_hcd, struct urb *_urb) argument 74 dwc_otg_hcd_qh_init (_hcd, qh, _urb); 110 * @param[in] _urb Holds the information about the device/endpoint that we need 113 void dwc_otg_hcd_qh_init(dwc_otg_hcd_t *_hcd, dwc_otg_qh_t *_qh, struct urb *_urb) argument 118 switch (usb_pipetype(_urb->pipe)) { 133 _qh->ep_is_in = usb_pipein(_urb->pipe) ? 1 : 0; 136 _qh->maxp = usb_maxpacket(_urb->dev, _urb->pipe, !(usb_pipein(_urb 705 dwc_otg_hcd_qtd_create(struct urb *_urb) argument 723 dwc_otg_hcd_qtd_init(dwc_otg_qtd_t *_qtd, struct urb *_urb) argument [all...] |
H A D | dwc_otg_hcd.h | 458 extern void dwc_otg_hcd_complete_urb(dwc_otg_hcd_t *_hcd, struct urb *_urb, 484 extern dwc_otg_qh_t *dwc_otg_hcd_qh_create (dwc_otg_hcd_t *_hcd, struct urb *_urb); 485 extern void dwc_otg_hcd_qh_init (dwc_otg_hcd_t *_hcd, dwc_otg_qh_t *_qh, struct urb *_urb); 556 dwc_otg_qh_t *dwc_urb_to_qh(struct urb *_urb); 563 static inline struct usb_host_endpoint *dwc_urb_to_endpoint(struct urb *_urb) argument 565 struct usb_device *dev = _urb->dev; 566 int ep_num = usb_pipeendpoint(_urb->pipe); 567 if (usb_pipein(_urb->pipe))
|
H A D | dwc_otg_hcd.c | 770 static void dump_urb_info(struct urb *_urb, char* _fn_name) argument 772 DWC_PRINT("%s, urb %p\n", _fn_name, _urb); 773 DWC_PRINT(" Device address: %d\n", usb_pipedevice(_urb->pipe)); 774 DWC_PRINT(" Endpoint: %d, %s\n", usb_pipeendpoint(_urb->pipe), 775 (usb_pipein(_urb->pipe) ? "IN" : "OUT")); 778 switch (usb_pipetype(_urb->pipe)) { 787 switch (_urb->dev->speed) { 794 usb_maxpacket(_urb->dev, _urb->pipe, usb_pipeout(_urb 870 dwc_otg_hcd_urb_enqueue(struct usb_hcd *_hcd, struct urb *_urb, gfp_t _mem_flags) argument 916 dwc_otg_hcd_urb_dequeue(struct usb_hcd *_hcd, struct urb *_urb, int _status) argument 2669 usb_hcd_unlink_urb_from_ep(dwc_otg_hcd_to_hcd(_hcd), _urb); variable 2671 usb_hcd_giveback_urb(dwc_otg_hcd_to_hcd(_hcd), _urb, _status); variable 2678 dwc_urb_to_qh(struct urb *_urb) argument [all...] |
H A D | dwc_otg_hcd_intr.c | 532 dwc_otg_hc_regs_t * _hc_regs, struct urb *_urb, 538 _urb->actual_length += get_actual_xfer_length(_hc, _hc_regs, _qtd, 542 if (short_read || (_urb->actual_length == _urb->transfer_buffer_length)) { 544 if (short_read && (_urb->transfer_flags & URB_SHORT_NOT_OK)) { 560 _urb->transfer_buffer_length); 561 DWC_DEBUGPL(DBG_HCDV, " urb->actual_length %d\n", _urb->actual_length); 1106 struct urb *_urb, 1112 _urb->actual_length += bytes_transferred; 1124 DWC_DEBUGPL(DBG_HCDV, " _urb 531 update_urb_state_xfer_comp(dwc_hc_t *_hc, dwc_otg_hc_regs_t * _hc_regs, struct urb *_urb, dwc_otg_qtd_t * _qtd, int *status) argument 1104 update_urb_state_xfer_intr(dwc_hc_t *_hc, dwc_otg_hc_regs_t *_hc_regs, struct urb *_urb, dwc_otg_qtd_t *_qtd, dwc_otg_halt_status_e _halt_status) argument [all...] |