/drivers/staging/ozwpan/ |
H A D | ozusbsvc.c | 211 int oz_usb_stream_create(void *hpd, u8 ep_num) argument 216 oz_dbg(ON, "%s: (0x%x)\n", __func__, ep_num); 218 oz_isoc_stream_create(pd, ep_num); 221 if (oz_elt_stream_create(&pd->elt_buff, ep_num, 233 int oz_usb_stream_delete(void *hpd, u8 ep_num) argument 241 oz_dbg(ON, "%s: (0x%x)\n", __func__, ep_num); 243 oz_isoc_stream_delete(pd, ep_num); 245 if (oz_elt_stream_delete(&pd->elt_buff, ep_num))
|
H A D | ozusbsvc1.c | 245 int oz_usb_send_isoc(void *hpd, u8 ep_num, struct urb *urb) argument 261 oz_send_isoc_unit(pd, ep_num, data, desc->length); 283 body->endpoint = ep_num; 310 oz_usb_submit_elt(eb, ei, usb_ctx, ep_num, 437 void oz_usb_farewell(struct oz_pd *pd, u8 ep_num, u8 *data, u8 len) argument 449 oz_dbg(ON, "Farewell indicated ep = 0x%x\n", ep_num); 450 oz_hcd_data_ind(usb_ctx->hport, ep_num, data, len);
|
H A D | ozpd.c | 639 static struct oz_isoc_stream *pd_stream_find(struct oz_pd *pd, u8 ep_num) argument 644 if (st->ep_num == ep_num) 653 int oz_isoc_stream_create(struct oz_pd *pd, u8 ep_num) argument 659 st->ep_num = ep_num; 661 if (!pd_stream_find(pd, ep_num)) { 682 int oz_isoc_stream_delete(struct oz_pd *pd, u8 ep_num) argument 687 st = pd_stream_find(pd, ep_num); 707 int oz_send_isoc_unit(struct oz_pd *pd, u8 ep_num, cons argument [all...] |
H A D | ozpd.h | 44 u8 ep_num; member in struct:oz_isoc_stream 54 u8 ep_num; member in struct:oz_farewell 124 int oz_isoc_stream_create(struct oz_pd *pd, u8 ep_num); 125 int oz_isoc_stream_delete(struct oz_pd *pd, u8 ep_num); 126 int oz_send_isoc_unit(struct oz_pd *pd, u8 ep_num, const u8 *data, int len);
|
H A D | ozproto.c | 300 static void oz_add_farewell(struct oz_pd *pd, u8 ep_num, u8 index, argument 310 f->ep_num = ep_num; 317 if ((f2->ep_num == ep_num) && (f2->index == index)) { 427 oz_add_farewell(pd, body->ep_num,
|
H A D | ozprotocol.h | 119 u8 ep_num; member in struct:oz_elt_farewell
|
H A D | ozhcd.c | 66 u8 ep_num; member in struct:oz_urb_link 83 u8 ep_num; member in struct:oz_endpoint 373 oz_usb_stream_delete(port->hpd, ep->ep_num); 445 urbl->ep_num = ep_addr; 1079 oz_usb_send_isoc(port->hpd, urbl->ep_num, urb); 1197 u8 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; local 1220 ep->ep_num = ep_num; 1230 if (oz_usb_stream_create(port->hpd, ep_num)) 1236 port->in_ep[ep_num] 1602 oz_urb_cancel(struct oz_port *port, u8 ep_num, struct urb *urb) argument [all...] |
/drivers/staging/rtl8723au/os_dep/ |
H A D | usb_ops_linux.c | 150 unsigned int pipe, ep_num; local 197 ep_num = pdvobj->Queue2Pipe[addr]; 198 pipe = usb_sndbulkpipe(pusbd, ep_num);
|
/drivers/staging/rtl8188eu/os_dep/ |
H A D | usb_intf.c | 94 int ep_num; local 99 ep_num = usb_endpoint_num(pendp_desc); 102 pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] = ep_num; 105 pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] = ep_num; 108 pdvobjpriv->RtOutPipe[pdvobjpriv->RtNumOutPipes] = ep_num; 111 pdvobjpriv->ep_num[i] = ep_num;
|
H A D | usb_ops_linux.c | 215 unsigned int pipe = 0, ep_num = 0; local 223 ep_num = pdvobj->Queue2Pipe[addr]; 224 pipe = usb_sndbulkpipe(pusbd, ep_num);
|
/drivers/net/wireless/rtlwifi/ |
H A D | usb.h | 72 u32 ep_num; member in struct:_trx_info 77 u32 ep_num) 81 info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num; 75 _rtl_install_trx_info(struct rtl_usb *rtlusb, struct sk_buff *skb, u32 ep_num) argument
|
H A D | usb.c | 293 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; local 294 if (!ep_num) { 903 struct sk_buff *skb, u32 ep_num) 917 _rtl_install_trx_info(rtlusb, skb, ep_num); 919 ep_num), skb->data, skb->len, _rtl_tx_complete, skb); 929 u32 ep_num; local 940 ep_num = rtlusb->ep_map.ep_mapping[qnum]; 942 _urb = _rtl_usb_tx_urb_setup(hw, _skb, ep_num); 902 _rtl_usb_tx_urb_setup(struct ieee80211_hw *hw, struct sk_buff *skb, u32 ep_num) argument
|
/drivers/staging/rtl8188eu/include/ |
H A D | drv_types.h | 161 int ep_num[5]; /* endpoint number */ member in struct:dvobj_priv
|
/drivers/staging/rtl8723au/include/ |
H A D | drv_types.h | 177 int ep_num[5]; /* endpoint number */ member in struct:dvobj_priv
|
/drivers/usb/dwc2/ |
H A D | hcd.c | 93 dev_dbg(hsotg->dev, " dev_addr: %d, ep_num: %d, ep_is_in: %d\n", 94 chan->dev_addr, chan->ep_num, chan->ep_is_in); 790 chan->ep_num = dwc2_hcd_get_ep_num(&urb->pipe_info); 1847 u8 ep_num, u8 ep_type, u8 ep_dir, u16 mps) 1853 "addr=%d, ep_num=%d, ep_dir=%1x, ep_type=%1x, mps=%d\n", 1854 dev_addr, ep_num, ep_dir, ep_type, mps); 1856 urb->pipe_info.ep_num = ep_num; 1888 " dev_addr: %d, ep_num: %d, ep_is_in: %d\n", 1889 chan->dev_addr, chan->ep_num, cha 1845 dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg, struct dwc2_hcd_urb *urb, u8 dev_addr, u8 ep_num, u8 ep_type, u8 ep_dir, u16 mps) argument [all...] |
H A D | hcd.h | 56 * @ep_num: Endpoint of the device 119 unsigned ep_num:4; member in struct:dwc2_host_chan 166 u8 ep_num; member in struct:dwc2_hcd_pipe_info 406 return pipe->ep_num;
|
/drivers/usb/gadget/udc/ |
H A D | mv_u3d_core.c | 125 int direction, ep_num; local 131 ep_num = index / 2; 147 tmp = ioread32(&u3d->vuc_regs->rxst[ep_num].statuslo); 149 ioread32(&u3d->vuc_regs->rxst[ep_num].curdeqlo); 151 tmp = ioread32(&u3d->vuc_regs->txst[ep_num].statuslo); 153 ioread32(&u3d->vuc_regs->txst[ep_num].curdeqlo); 242 if (ep->ep_num == 0) 245 ep_context = &(u3d->ep_context[ep->ep_num * 2 + direction]); 269 if (ep->ep_num == 0) 272 tmp = ep->ep_num * 931 mv_u3d_ep_set_stall(struct mv_u3d *u3d, u8 ep_num, u8 direction, int stall) argument 1586 mv_u3d_get_setup_data(struct mv_u3d *u3d, u8 ep_num, u8 *buffer_ptr) argument 1618 int i, ep_num = 0, direction = 0; local [all...] |
H A D | mv_udc_core.c | 44 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ 190 bit_pos = 1 << curr_req->ep->ep_num; 192 bit_pos = 1 << (16 + curr_req->ep->ep_num); 269 dqh = &(udc->ep_dqh[ep->ep_num * 2 + direction]); 270 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); 474 bit_pos = 1 << ((direction == EP_DIR_OUT ? 0 : 16) + ep->ep_num); 482 (unsigned)ep->ep_num, direction ? "SEND" : "RECV", 526 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); 538 writel(epctrlx, &udc->op_regs->epctrlx[ep->ep_num]); 544 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); 866 ep_set_stall(struct mv_udc *udc, u8 ep_num, u8 direction, int stall) argument 889 ep_is_stall(struct mv_udc *udc, u8 ep_num, u8 direction) argument 1512 ch9getstatus(struct mv_udc *udc, u8 ep_num, struct usb_ctrlrequest *setup) argument 1531 u8 ep_num, direction; local 1549 u8 ep_num; local 1593 u8 ep_num; local 1745 get_setup_data(struct mv_udc *udc, u8 ep_num, u8 *buffer_ptr) argument 1773 int i, ep_num = 0, direction = 0; local [all...] |
H A D | s3c-hsudc.c | 566 u8 ep_num = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; local 569 hsep = &hsudc->ep[ep_num];
|
H A D | bcm63xx_udc.c | 131 * @ep_num: USB endpoint number. 140 int ep_num; member in struct:iudma_ch_cfg 157 ep_num ep_type n_fifo_slots max_pkt_fs 173 * @ep_num: USB endpoint number. -1 for ep0 RX. 196 int ep_num; member in struct:iudma_ch 215 * @ep_num: USB endpoint number. 223 unsigned int ep_num; member in struct:bcm63xx_ep 439 (bep->ep_num << USBD_STALL_EPNUM_SHIFT); 488 * @ep_num: Endpoint number. 490 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) argument [all...] |
H A D | fsl_udc_core.c | 233 unsigned int tmp, portctrl, ep_num; local 322 for (ep_num = 1; ep_num < max_no_of_ep; ep_num++) { 323 tmp = fsl_readl(&dr_regs->endptctrl[ep_num]); 327 fsl_writel(tmp, &dr_regs->endptctrl[ep_num]); 412 static void dr_ep_setup(unsigned char ep_num, unsigned char dir, argument 417 tmp_epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); 419 if (ep_num) 426 if (ep_num) 438 dr_ep_change_stall(unsigned char ep_num, unsigned char dir, int value) argument 465 dr_ep_get_stall(unsigned char ep_num, unsigned char dir) argument 485 struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, unsigned char dir, unsigned char ep_type, unsigned int max_pkt_len, unsigned int zlt, unsigned char mult) argument 641 int ep_num; local 931 int ep_num, stopped, ret = 0; local 1011 unsigned char ep_dir = 0, ep_num = 0; local 1084 int ep_num, ep_dir; local 1556 tripwire_handler(struct fsl_udc *udc, u8 ep_num, u8 *buffer_ptr) argument 1673 int i, ep_num, direction, bit_mask, status; local [all...] |
H A D | mv_u3d.h | 120 #define mv_u3d_ep_dir(ep) (((ep)->ep_num == 0) ? \ 304 unsigned ep_num:8; member in struct:mv_u3d_ep
|
H A D | mv_udc.h | 239 ep_num:8; member in struct:mv_ep
|
H A D | s3c2410_udc.c | 573 u8 ep_num = crq->wIndex & 0x7F; local 585 if (ep_num > 4 || crq->wLength > 2) 588 if (ep_num == 0) { 593 udc_write(ep_num, S3C2410_UDC_INDEX_REG);
|
/drivers/usb/musb/ |
H A D | musb_core.c | 1515 int ep_num; local 1543 ep_num = 1; 1546 /* musb_ep_select(musb->mregs, ep_num); */ 1550 musb_host_rx(musb, ep_num); 1552 musb_g_rx(musb, ep_num); 1556 ep_num++; 1561 ep_num = 1; 1564 /* musb_ep_select(musb->mregs, ep_num); */ 1568 musb_host_tx(musb, ep_num); 1570 musb_g_tx(musb, ep_num); [all...] |