/Linux-v4.19/drivers/usb/gadget/udc/ |
D | mv_u3d_core.c | 120 int direction, ep_num; in mv_u3d_process_ep_req() local 125 ep_num = index / 2; in mv_u3d_process_ep_req() 140 tmp = ioread32(&u3d->vuc_regs->rxst[ep_num].statuslo); in mv_u3d_process_ep_req() 142 tmp = ioread32(&u3d->vuc_regs->txst[ep_num].statuslo); in mv_u3d_process_ep_req() 230 if (ep->ep_num == 0) in mv_u3d_queue_trb() 233 ep_context = &(u3d->ep_context[ep->ep_num * 2 + direction]); in mv_u3d_queue_trb() 257 if (ep->ep_num == 0) in mv_u3d_queue_trb() 260 tmp = ep->ep_num * 2 in mv_u3d_queue_trb() 310 if (req->ep->ep_num == 0) in mv_u3d_build_trb_one() 356 if (req->ep->ep_num == 0) in mv_u3d_build_trb_chain() [all …]
|
D | mv_udc_core.c | 39 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ 184 bit_pos = 1 << curr_req->ep->ep_num; in process_ep_req() 186 bit_pos = 1 << (16 + curr_req->ep->ep_num); in process_ep_req() 263 dqh = &(udc->ep_dqh[ep->ep_num * 2 + direction]); in queue_dtd() 264 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in queue_dtd() 464 bit_pos = 1 << ((direction == EP_DIR_OUT ? 0 : 16) + ep->ep_num); in mv_ep_enable() 472 (unsigned)ep->ep_num, direction ? "SEND" : "RECV", in mv_ep_enable() 515 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 527 writel(epctrlx, &udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 533 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() [all …]
|
D | fsl_udc_core.c | 229 unsigned int tmp, portctrl, ep_num; in dr_controller_setup() local 319 for (ep_num = 1; ep_num < max_no_of_ep; ep_num++) { in dr_controller_setup() 320 tmp = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_controller_setup() 324 fsl_writel(tmp, &dr_regs->endptctrl[ep_num]); in dr_controller_setup() 409 static void dr_ep_setup(unsigned char ep_num, unsigned char dir, in dr_ep_setup() argument 414 tmp_epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_setup() 416 if (ep_num) in dr_ep_setup() 423 if (ep_num) in dr_ep_setup() 431 fsl_writel(tmp_epctrl, &dr_regs->endptctrl[ep_num]); in dr_ep_setup() 435 dr_ep_change_stall(unsigned char ep_num, unsigned char dir, int value) in dr_ep_change_stall() argument [all …]
|
D | bcm63xx_udc.c | 155 int ep_num; member 211 int ep_num; member 238 unsigned int ep_num; member 450 (bep->ep_num << USBD_STALL_EPNUM_SHIFT); in bcm63xx_set_stall() 501 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep() argument 505 bcm63xx_ep_dma_select(udc, ep_num); in bcm63xx_fifo_reset_ep() 536 if (cfg->ep_num < 0) in bcm63xx_ep_init() 539 bcm63xx_ep_dma_select(udc, cfg->ep_num); in bcm63xx_ep_init() 562 int idx = cfg->ep_num; in bcm63xx_ep_setup() 711 bcm63xx_fifo_reset_ep(udc, max(0, iudma->ep_num)); in iudma_reset_channel() [all …]
|
D | mv_u3d.h | 117 #define mv_u3d_ep_dir(ep) (((ep)->ep_num == 0) ? \ 301 unsigned ep_num:8; member
|
D | mv_udc.h | 235 ep_num:8; member
|
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 118 int ep_num; in ast_vhub_ep_feature() local 120 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_feature() 122 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_ep_feature() 123 if (ep_num == 0) in ast_vhub_ep_feature() 125 if (ep_num >= AST_VHUB_NUM_GEN_EPs || !d->epns[ep_num - 1]) in ast_vhub_ep_feature() 130 ep = d->epns[ep_num - 1]; in ast_vhub_ep_feature() 139 is_set ? "setting" : "clearing", ep_num); in ast_vhub_ep_feature() 163 int ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_status() local 167 DDBG(d, "GET_STATUS(ep%d)\n", ep_num); in ast_vhub_ep_status() 169 if (ep_num >= AST_VHUB_NUM_GEN_EPs) in ast_vhub_ep_status() [all …]
|
D | hub.c | 198 int ep_num; in ast_vhub_hub_ep_status() local 201 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_status() 202 EPDBG(ep, "GET_STATUS(ep%d)\n", ep_num); in ast_vhub_hub_ep_status() 205 if (ep_num == 1) { in ast_vhub_hub_ep_status() 208 } else if (ep_num != 0) in ast_vhub_hub_ep_status() 235 int ep_num; in ast_vhub_hub_ep_feature() local 238 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_feature() 240 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_hub_ep_feature() 242 if (ep_num > 1) in ast_vhub_hub_ep_feature() 246 if (ep_num == 0) in ast_vhub_hub_ep_feature()
|
/Linux-v4.19/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 456 if (ep->ep_num == 1) { in setup_bd_list_xfr() 532 bdc_notify_xfr(bdc, ep->ep_num); in bdc_queue_xfr() 566 dev_dbg(bdc->dev, "%s() ep->ep_num=%d\n", __func__, ep->ep_num); in bdc_ep_disable() 568 ret = bdc_stop_ep(bdc, ep->ep_num); in bdc_ep_disable() 588 if (ep->ep_num == 1) in bdc_ep_disable() 619 if (ep->ep_num == 1) in bdc_ep_enable() 666 req->epnum = ep->ep_num; in ep0_queue() 722 req->epnum = ep->ep_num; in ep_queue() 763 ret = bdc_stop_ep(bdc, ep->ep_num); in ep_dequeue() 874 if (ep->ep_num == 1) in ep_set_halt() [all …]
|
D | bdc_cmd.c | 112 cmd_sc = BDC_SUB_CMD_DRP_EP|BDC_CMD_EPN(ep->ep_num)|BDC_CMD_EPC; in bdc_dconfig_ep() 114 ep->ep_num, cmd_sc); in bdc_dconfig_ep() 206 cmd_sc |= BDC_CMD_EPC|BDC_CMD_EPN(ep->ep_num)|BDC_SUB_CMD_ADD_EP; in bdc_config_ep() 235 cmd_sc |= BDC_CMD_EPN(ep->ep_num)|BDC_CMD_BLA; in bdc_ep_bla()
|
D | bdc_dbg.c | 96 ep->name, ep->ep_num); in bdc_dbg_bd_list()
|
/Linux-v4.19/drivers/usb/c67x00/ |
D | c67x00.h | 167 #define CY_UDC_REQ_HEADER_ADDR(ep_num) (CY_UDC_REQ_HEADER_BASE + \ argument 168 ((ep_num) * CY_UDC_REQ_HEADER_SIZE)) 174 #define CY_UDC_REQ_BUFFER_ADDR(ep_num) (CY_UDC_REQ_BUFFER_BASE + \ argument 175 ((ep_num) * CY_UDC_REQ_BUFFER_SIZE))
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | usb.h | 68 u32 ep_num; member 73 u32 ep_num) in _rtl_install_trx_info() argument 77 info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num; in _rtl_install_trx_info()
|
D | usb.c | 289 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx() local 290 if (!ep_num) { in _rtl_usb_init_tx() 906 struct sk_buff *skb, u32 ep_num) in _rtl_usb_tx_urb_setup() argument 917 _rtl_install_trx_info(rtlusb, skb, ep_num); in _rtl_usb_tx_urb_setup() 919 ep_num), skb->data, skb->len, _rtl_tx_complete, skb); in _rtl_usb_tx_urb_setup() 928 u32 ep_num; in _rtl_usb_transmit() local 938 ep_num = rtlusb->ep_map.ep_mapping[qnum]; in _rtl_usb_transmit() 940 _urb = _rtl_usb_tx_urb_setup(hw, _skb, ep_num); in _rtl_usb_transmit()
|
/Linux-v4.19/sound/usb/ |
D | endpoint.c | 448 int ep_num, int direction, int type) in snd_usb_add_endpoint() argument 459 if (ep->ep_num == ep_num && in snd_usb_add_endpoint() 464 ep_num, ep->iface, ep->altsetting, ep); in snd_usb_add_endpoint() 472 ep_num); in snd_usb_add_endpoint() 481 ep->ep_num = ep_num; in snd_usb_add_endpoint() 485 ep_num &= USB_ENDPOINT_NUMBER_MASK; in snd_usb_add_endpoint() 488 ep->pipe = usb_sndisocpipe(chip->dev, ep_num); in snd_usb_add_endpoint() 490 ep->pipe = usb_rcvisocpipe(chip->dev, ep_num); in snd_usb_add_endpoint() 535 alive, ep->ep_num); in wait_clear_urbs() 876 ep->ep_num); in snd_usb_endpoint_set_params() [all …]
|
D | card.h | 57 int ep_num; /* the referenced endpoint number */ member 140 unsigned int ep_num; /* the endpoint number */ member
|
D | endpoint.h | 10 int ep_num, int direction, int type);
|
D | stream.c | 109 subs->ep_num = fp->endpoint; in snd_usb_init_substream() 496 if (subs->ep_num == fp->endpoint) { in __snd_usb_add_audio_stream() 508 if (subs->ep_num) in __snd_usb_add_audio_stream()
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 79 int ep_num; in usb_dvobj_init() local 83 ep_num = usb_endpoint_num(pendp_desc); in usb_dvobj_init() 86 pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] = ep_num; in usb_dvobj_init() 89 pdvobjpriv->RtInPipe[pdvobjpriv->RtNumInPipes] = ep_num; in usb_dvobj_init() 93 ep_num; in usb_dvobj_init()
|
D | usb_ops_linux.c | 183 unsigned int pipe = 0, ep_num = 0; in ffaddr2pipehdl() local 191 ep_num = pdvobj->Queue2Pipe[addr]; in ffaddr2pipehdl() 192 pipe = usb_sndbulkpipe(pusbd, ep_num); in ffaddr2pipehdl()
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci-trace.h | 77 unsigned int ep_num), 78 TP_ARGS(xhci, ctx, ep_num), 88 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1)) 99 __entry->ctx_ep_num = ep_num; 102 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1)); 112 unsigned int ep_num), 113 TP_ARGS(xhci, ctx, ep_num)
|
/Linux-v4.19/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 32 static int rsi_rx_urb_submit(struct rsi_hw *adapter, u8 ep_num); 284 if (rsi_rx_urb_submit(dev->priv, rx_cb->ep_num)) in rsi_rx_done_handler() 297 static int rsi_rx_urb_submit(struct rsi_hw *adapter, u8 ep_num) in rsi_rx_urb_submit() argument 300 struct rx_usb_ctrl_block *rx_cb = &dev->rx_cb[ep_num - 1]; in rsi_rx_urb_submit() 320 dev->bulkin_endpoint_addr[ep_num - 1]), in rsi_rx_urb_submit() 560 rx_cb->ep_num = idx + 1; in rsi_usb_init_rx()
|
D | rsi_usb.h | 50 u8 ep_num; member
|
/Linux-v4.19/drivers/usb/dwc2/ |
D | hcd.h | 122 unsigned ep_num:4; member 171 u8 ep_num; member 498 return pipe->ep_num; in dwc2_hcd_get_ep_num()
|
/Linux-v4.19/drivers/usb/isp1760/ |
D | isp1760-udc.c | 1359 unsigned int ep_num = (i + 1) / 2; in isp1760_udc_init_eps() local 1366 ep->addr = (ep_num && is_in ? USB_DIR_IN : USB_DIR_OUT) in isp1760_udc_init_eps() 1367 | ep_num; in isp1760_udc_init_eps() 1370 sprintf(ep->name, "ep%u%s", ep_num, in isp1760_udc_init_eps() 1371 ep_num ? (is_in ? "in" : "out") : ""); in isp1760_udc_init_eps() 1381 if (ep_num == 0) { in isp1760_udc_init_eps()
|