/linux-4.4.14/drivers/usb/host/ |
D | xhci-trace.h | 79 unsigned int ep_num), 80 TP_ARGS(xhci, ctx, ep_num), 90 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1)) 101 __entry->ctx_ep_num = ep_num; 104 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1)); 114 unsigned int ep_num), 115 TP_ARGS(xhci, ctx, ep_num)
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | mv_u3d_core.c | 125 int direction, ep_num; in mv_u3d_process_ep_req() local 131 ep_num = index / 2; in mv_u3d_process_ep_req() 147 tmp = ioread32(&u3d->vuc_regs->rxst[ep_num].statuslo); in mv_u3d_process_ep_req() 149 ioread32(&u3d->vuc_regs->rxst[ep_num].curdeqlo); in mv_u3d_process_ep_req() 151 tmp = ioread32(&u3d->vuc_regs->txst[ep_num].statuslo); in mv_u3d_process_ep_req() 153 ioread32(&u3d->vuc_regs->txst[ep_num].curdeqlo); in mv_u3d_process_ep_req() 242 if (ep->ep_num == 0) in mv_u3d_queue_trb() 245 ep_context = &(u3d->ep_context[ep->ep_num * 2 + direction]); in mv_u3d_queue_trb() 269 if (ep->ep_num == 0) in mv_u3d_queue_trb() 272 tmp = ep->ep_num * 2 in mv_u3d_queue_trb() [all …]
|
D | mv_udc_core.c | 44 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ 190 bit_pos = 1 << curr_req->ep->ep_num; in process_ep_req() 192 bit_pos = 1 << (16 + curr_req->ep->ep_num); in process_ep_req() 269 dqh = &(udc->ep_dqh[ep->ep_num * 2 + direction]); in queue_dtd() 270 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in queue_dtd() 474 bit_pos = 1 << ((direction == EP_DIR_OUT ? 0 : 16) + ep->ep_num); in mv_ep_enable() 482 (unsigned)ep->ep_num, direction ? "SEND" : "RECV", in mv_ep_enable() 526 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 538 writel(epctrlx, &udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 544 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() [all …]
|
D | fsl_udc_core.c | 233 unsigned int tmp, portctrl, ep_num; in dr_controller_setup() local 322 for (ep_num = 1; ep_num < max_no_of_ep; ep_num++) { in dr_controller_setup() 323 tmp = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_controller_setup() 327 fsl_writel(tmp, &dr_regs->endptctrl[ep_num]); in dr_controller_setup() 412 static void dr_ep_setup(unsigned char ep_num, unsigned char dir, in dr_ep_setup() argument 417 tmp_epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_setup() 419 if (ep_num) in dr_ep_setup() 426 if (ep_num) in dr_ep_setup() 434 fsl_writel(tmp_epctrl, &dr_regs->endptctrl[ep_num]); in dr_ep_setup() 438 dr_ep_change_stall(unsigned char ep_num, unsigned char dir, int value) in dr_ep_change_stall() argument [all …]
|
D | bcm63xx_udc.c | 160 int ep_num; member 216 int ep_num; member 243 unsigned int ep_num; member 459 (bep->ep_num << USBD_STALL_EPNUM_SHIFT); in bcm63xx_set_stall() 510 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep() argument 514 bcm63xx_ep_dma_select(udc, ep_num); in bcm63xx_fifo_reset_ep() 545 if (cfg->ep_num < 0) in bcm63xx_ep_init() 548 bcm63xx_ep_dma_select(udc, cfg->ep_num); in bcm63xx_ep_init() 571 int idx = cfg->ep_num; in bcm63xx_ep_setup() 720 bcm63xx_fifo_reset_ep(udc, max(0, iudma->ep_num)); in iudma_reset_channel() [all …]
|
D | mv_u3d.h | 120 #define mv_u3d_ep_dir(ep) (((ep)->ep_num == 0) ? \ 304 unsigned ep_num:8; member
|
D | mv_udc.h | 239 ep_num:8; member
|
D | s3c2410_udc.c | 551 u8 ep_num = crq->wIndex & 0x7F; in s3c2410_udc_get_status() local 563 if (ep_num > 4 || crq->wLength > 2) in s3c2410_udc_get_status() 566 if (ep_num == 0) { in s3c2410_udc_get_status() 571 udc_write(ep_num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_get_status()
|
D | pch_udc.c | 2251 static void pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_in() argument 2256 ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_svc_data_in() 2295 static void pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_out() argument 2301 ep = &dev->ep[UDC_EPOUT_IDX(ep_num)]; in pch_udc_svc_data_out() 2473 static void pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) in pch_udc_postsvc_epinters() argument 2478 ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters()
|
D | s3c-hsudc.c | 566 u8 ep_num = ctrl->wIndex & USB_ENDPOINT_NUMBER_MASK; in s3c_hsudc_handle_reqfeat() local 569 hsep = &hsudc->ep[ep_num]; in s3c_hsudc_handle_reqfeat()
|
/linux-4.4.14/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 462 if (ep->ep_num == 1) { in setup_bd_list_xfr() 538 bdc_notify_xfr(bdc, ep->ep_num); in bdc_queue_xfr() 572 dev_dbg(bdc->dev, "%s() ep->ep_num=%d\n", __func__, ep->ep_num); in bdc_ep_disable() 574 ret = bdc_stop_ep(bdc, ep->ep_num); in bdc_ep_disable() 594 if (ep->ep_num == 1) in bdc_ep_disable() 625 if (ep->ep_num == 1) in bdc_ep_enable() 672 req->epnum = ep->ep_num; in ep0_queue() 730 req->epnum = ep->ep_num; in ep_queue() 771 ret = bdc_stop_ep(bdc, ep->ep_num); in ep_dequeue() 882 if (ep->ep_num == 1) in ep_set_halt() [all …]
|
D | bdc_cmd.c | 120 cmd_sc = BDC_SUB_CMD_DRP_EP|BDC_CMD_EPN(ep->ep_num)|BDC_CMD_EPC; in bdc_dconfig_ep() 122 ep->ep_num, cmd_sc); in bdc_dconfig_ep() 214 cmd_sc |= BDC_CMD_EPC|BDC_CMD_EPN(ep->ep_num)|BDC_SUB_CMD_ADD_EP; in bdc_config_ep() 243 cmd_sc |= BDC_CMD_EPN(ep->ep_num)|BDC_CMD_BLA; in bdc_ep_bla()
|
D | bdc_dbg.c | 101 ep->name, ep->ep_num); in bdc_dbg_bd_list()
|
D | bdc.h | 361 u8 ep_num; member
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | usb.h | 72 u32 ep_num; member 77 u32 ep_num) in _rtl_install_trx_info() argument 81 info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num; in _rtl_install_trx_info()
|
D | usb.c | 293 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx() local 294 if (!ep_num) { in _rtl_usb_init_tx() 908 struct sk_buff *skb, u32 ep_num) in _rtl_usb_tx_urb_setup() argument 922 _rtl_install_trx_info(rtlusb, skb, ep_num); in _rtl_usb_tx_urb_setup() 924 ep_num), skb->data, skb->len, _rtl_tx_complete, skb); in _rtl_usb_tx_urb_setup() 934 u32 ep_num; in _rtl_usb_transmit() local 945 ep_num = rtlusb->ep_map.ep_mapping[qnum]; in _rtl_usb_transmit() 947 _urb = _rtl_usb_tx_urb_setup(hw, _skb, ep_num); in _rtl_usb_transmit()
|
/linux-4.4.14/drivers/usb/c67x00/ |
D | c67x00.h | 181 #define CY_UDC_REQ_HEADER_ADDR(ep_num) (CY_UDC_REQ_HEADER_BASE + \ argument 182 ((ep_num) * CY_UDC_REQ_HEADER_SIZE)) 188 #define CY_UDC_REQ_BUFFER_ADDR(ep_num) (CY_UDC_REQ_BUFFER_BASE + \ argument 189 ((ep_num) * CY_UDC_REQ_BUFFER_SIZE))
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 90 int ep_num; in usb_dvobj_init() local 93 ep_num = usb_endpoint_num(pendp_desc); in usb_dvobj_init() 96 pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] = ep_num; in usb_dvobj_init() 99 pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] = ep_num; in usb_dvobj_init() 103 ep_num; in usb_dvobj_init() 106 pdvobjpriv->ep_num[i] = ep_num; in usb_dvobj_init()
|
D | usb_ops_linux.c | 215 unsigned int pipe = 0, ep_num = 0; in ffaddr2pipehdl() local 223 ep_num = pdvobj->Queue2Pipe[addr]; in ffaddr2pipehdl() 224 pipe = usb_sndbulkpipe(pusbd, ep_num); in ffaddr2pipehdl()
|
/linux-4.4.14/sound/usb/ |
D | endpoint.c | 447 int ep_num, int direction, int type) in snd_usb_add_endpoint() argument 458 if (ep->ep_num == ep_num && in snd_usb_add_endpoint() 463 ep_num, ep->iface, ep->altsetting, ep); in snd_usb_add_endpoint() 471 ep_num); in snd_usb_add_endpoint() 480 ep->ep_num = ep_num; in snd_usb_add_endpoint() 484 ep_num &= USB_ENDPOINT_NUMBER_MASK; in snd_usb_add_endpoint() 487 ep->pipe = usb_sndisocpipe(chip->dev, ep_num); in snd_usb_add_endpoint() 489 ep->pipe = usb_rcvisocpipe(chip->dev, ep_num); in snd_usb_add_endpoint() 538 alive, ep->ep_num); in wait_clear_urbs() 860 ep->ep_num); in snd_usb_endpoint_set_params() [all …]
|
D | card.h | 54 int ep_num; /* the referenced endpoint number */ member 136 unsigned int ep_num; /* the endpoint number */ member
|
D | endpoint.h | 9 int ep_num, int direction, int type);
|
D | stream.c | 105 subs->ep_num = fp->endpoint; in snd_usb_init_substream() 336 if (subs->ep_num == fp->endpoint) { in snd_usb_add_audio_stream() 348 if (subs->ep_num) in snd_usb_add_audio_stream()
|
D | pcm.c | 646 __func__, sync_subs->ep_num); in configure_sync_endpoint()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | usb_ops_linux.c | 128 unsigned int pipe, ep_num; in rtl8723au_write_port() local 171 ep_num = pdvobj->Queue2Pipe[addr]; in rtl8723au_write_port() 172 pipe = usb_sndbulkpipe(pusbd, ep_num); in rtl8723au_write_port()
|
D | usb_intf.c | 146 pdvobjpriv->ep_num[i] = usb_endpoint_num(pendp_desc); in usb_dvobj_init()
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd.h | 119 unsigned ep_num:4; member 166 u8 ep_num; member 406 return pipe->ep_num; in dwc2_hcd_get_ep_num()
|
D | hcd.c | 94 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_dump_channel_info() 802 chan->ep_num = dwc2_hcd_get_ep_num(&urb->pipe_info); in dwc2_assign_and_init_hc() 1911 u8 ep_num, u8 ep_type, u8 ep_dir, u16 mps) in dwc2_hcd_urb_set_pipeinfo() argument 1918 dev_addr, ep_num, ep_dir, ep_type, mps); in dwc2_hcd_urb_set_pipeinfo() 1920 urb->pipe_info.ep_num = ep_num; in dwc2_hcd_urb_set_pipeinfo() 1953 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_hcd_dump_state()
|
D | core.c | 1318 hcchar |= chan->ep_num << HCCHAR_EPNUM_SHIFT & HCCHAR_EPNUM_MASK; in dwc2_hc_init() 1335 chan->ep_num); in dwc2_hc_init()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-udc.c | 1362 unsigned int ep_num = (i + 1) / 2; in isp1760_udc_init_eps() local 1369 ep->addr = (ep_num && is_in ? USB_DIR_IN : USB_DIR_OUT) in isp1760_udc_init_eps() 1370 | ep_num; in isp1760_udc_init_eps() 1373 sprintf(ep->name, "ep%u%s", ep_num, in isp1760_udc_init_eps() 1374 ep_num ? (is_in ? "in" : "out") : ""); in isp1760_udc_init_eps() 1384 if (ep_num == 0) { in isp1760_udc_init_eps()
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | drv_types.h | 176 int ep_num[5]; /* endpoint number */ member
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | drv_types.h | 162 int ep_num[5]; /* endpoint number */ member
|