Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/
A Dfsl_udc_core.c318 for (ep_num = 1; ep_num < max_no_of_ep; ep_num++) { in dr_controller_setup()
413 if (ep_num) in dr_ep_setup()
420 if (ep_num) in dr_ep_setup()
634 int ep_num; in fsl_ep_disable() local
646 ep_num = ep_index(ep); in fsl_ep_disable()
1083 int ep_num, ep_dir; in fsl_ep_fifo_flush() local
1098 if (ep_num == 0) in fsl_ep_fifo_flush()
1103 bits = 1 << ep_num; in fsl_ep_fifo_flush()
1690 ep_num = i >> 1; in dtd_complete_irq()
1713 status, ep_num); in dtd_complete_irq()
[all …]
A Dbcm63xx_udc.c156 int ep_num; member
212 int ep_num; member
239 unsigned int ep_num; member
503 bcm63xx_ep_dma_select(udc, ep_num); in bcm63xx_fifo_reset_ep()
534 if (cfg->ep_num < 0) in bcm63xx_ep_init()
560 int idx = cfg->ep_num; in bcm63xx_ep_setup()
765 iudma->ep_num = cfg->ep_num; in iudma_init_channel()
768 if (iudma->ep_num >= 0) { in iudma_init_channel()
769 bep = &udc->bep[iudma->ep_num]; in iudma_init_channel()
778 if (iudma->ep_num <= 0) in iudma_init_channel()
[all …]
A Daspeed_udc.c859 static void ast_udc_epn_handle(struct ast_udc_dev *udc, u16 ep_num) in ast_udc_epn_handle() argument
861 struct ast_udc_ep *ep = &udc->ep[ep_num]; in ast_udc_epn_handle()
898 static void ast_udc_epn_handle_desc(struct ast_udc_dev *udc, u16 ep_num) in ast_udc_epn_handle_desc() argument
900 struct ast_udc_ep *ep = &udc->ep[ep_num]; in ast_udc_epn_handle_desc()
A Dpch_udc.c2153 static void pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_in() argument
2158 ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_svc_data_in()
2197 static void pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_out() argument
2203 ep = &dev->ep[UDC_EPOUT_IDX(ep_num)]; in pch_udc_svc_data_out()
2387 static void pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) in pch_udc_postsvc_epinters() argument
2389 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters()
/drivers/usb/gadget/udc/aspeed-vhub/
A Ddev.c138 int ep_num; in ast_vhub_ep_feature() local
140 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_feature()
142 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_ep_feature()
143 if (ep_num == 0) in ast_vhub_ep_feature()
145 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
150 ep = d->epns[ep_num - 1]; in ast_vhub_ep_feature()
159 is_set ? "setting" : "clearing", ep_num); in ast_vhub_ep_feature()
187 DDBG(d, "GET_STATUS(ep%d)\n", ep_num); in ast_vhub_ep_status()
189 if (ep_num >= d->max_epns) in ast_vhub_ep_status()
191 if (ep_num != 0) { in ast_vhub_ep_status()
[all …]
A Dhub.c195 int ep_num; in ast_vhub_hub_ep_status() local
198 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_status()
199 EPDBG(ep, "GET_STATUS(ep%d)\n", ep_num); in ast_vhub_hub_ep_status()
202 if (ep_num == 1) { in ast_vhub_hub_ep_status()
205 } else if (ep_num != 0) in ast_vhub_hub_ep_status()
243 int ep_num; in ast_vhub_hub_ep_feature() local
246 ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_hub_ep_feature()
248 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_hub_ep_feature()
250 if (ep_num > 1) in ast_vhub_hub_ep_feature()
254 if (ep_num == 0) in ast_vhub_hub_ep_feature()
/drivers/usb/gadget/udc/bdc/
A Dbdc_ep.c456 if (ep->ep_num == 1) { in setup_bd_list_xfr()
588 if (ep->ep_num == 1) in bdc_ep_disable()
618 if (ep->ep_num == 1) in bdc_ep_enable()
665 req->epnum = ep->ep_num; in ep0_queue()
721 req->epnum = ep->ep_num; in ep_queue()
876 if (ep->ep_num == 1) in ep_set_halt()
1648 u8 ep_num; in bdc_sr_xsf() local
1673 if (ep_num == 1) in bdc_sr_xsf()
1680 if (ep_num != 1) { in bdc_sr_xsf()
1689 if (ep_num == 1) { in bdc_sr_xsf()
[all …]
A Dbdc_cmd.c112 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()
205 cmd_sc |= BDC_CMD_EPC|BDC_CMD_EPN(ep->ep_num)|BDC_SUB_CMD_ADD_EP; in bdc_config_ep()
234 cmd_sc |= BDC_CMD_EPN(ep->ep_num)|BDC_CMD_BLA; in bdc_ep_bla()
A Dbdc_dbg.c96 ep->name, ep->ep_num); in bdc_dbg_bd_list()
A Dbdc.h356 u8 ep_num; member
/drivers/usb/cdns3/
A Dcdnsp-debug.h182 unsigned int ep_num; in cdnsp_decode_trb() local
186 ep_num = DIV_ROUND_UP(ep_id, 2); in cdnsp_decode_trb()
206 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
332 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
342 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
352 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
370 ep_num, ep_id % 2 ? "out" : "in", in cdnsp_decode_trb()
A Dcdnsp-gadget.h500 #define CDNSP_IF_EP_EXIST(pdev, ep_num, dir) \ argument
502 (BIT(ep_num) << ((dir) ? 0 : 16)))
/drivers/usb/c67x00/
A Dc67x00.h167 #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))
/drivers/net/wireless/realtek/rtlwifi/
A Dusb.h48 u32 ep_num; member
53 u32 ep_num) in _rtl_install_trx_info() argument
58 info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num; in _rtl_install_trx_info()
A Dusb.c185 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx() local
187 if (!ep_num) { in _rtl_usb_init_tx()
828 struct sk_buff *skb, u32 ep_num) in _rtl_usb_tx_urb_setup() argument
837 _rtl_install_trx_info(rtlusb, skb, ep_num); in _rtl_usb_tx_urb_setup()
839 ep_num), skb->data, skb->len, _rtl_tx_complete, skb); in _rtl_usb_tx_urb_setup()
848 u32 ep_num; in _rtl_usb_transmit() local
857 ep_num = rtlusb->ep_map.ep_mapping[qnum]; in _rtl_usb_transmit()
858 _urb = _rtl_usb_tx_urb_setup(hw, skb, ep_num); in _rtl_usb_transmit()
/drivers/net/wireless/rsi/
A Drsi_91x_usb.c30 static int rsi_rx_urb_submit(struct rsi_hw *adapter, u8 ep_num, gfp_t flags);
298 if (rsi_rx_urb_submit(dev->priv, rx_cb->ep_num, GFP_ATOMIC)) in rsi_rx_done_handler()
307 static void rsi_rx_urb_kill(struct rsi_hw *adapter, u8 ep_num) in rsi_rx_urb_kill() argument
310 struct rx_usb_ctrl_block *rx_cb = &dev->rx_cb[ep_num - 1]; in rsi_rx_urb_kill()
324 static int rsi_rx_urb_submit(struct rsi_hw *adapter, u8 ep_num, gfp_t mem_flags) in rsi_rx_urb_submit() argument
327 struct rx_usb_ctrl_block *rx_cb = &dev->rx_cb[ep_num - 1]; in rsi_rx_urb_submit()
347 dev->bulkin_endpoint_addr[ep_num - 1]), in rsi_rx_urb_submit()
589 rx_cb->ep_num = idx + 1; in rsi_usb_init_rx()
A Drsi_usb.h53 u8 ep_num; member
/drivers/usb/host/
A Dxhci-trace.h75 unsigned int ep_num),
76 TP_ARGS(xhci, ctx, ep_num),
85 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1))
93 __entry->ctx_ep_num = ep_num;
96 ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1));
106 unsigned int ep_num),
107 TP_ARGS(xhci, ctx, ep_num)
/drivers/usb/dwc2/
A Dhcd.h93 unsigned ep_num:4; member
142 u8 ep_num; member
472 return pipe->ep_num; in dwc2_hcd_get_ep_num()
A Dhcd.c428 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_dump_channel_info()
674 hcchar |= chan->ep_num << HCCHAR_EPNUM_SHIFT & HCCHAR_EPNUM_MASK; in dwc2_hc_init()
691 chan->ep_num); in dwc2_hc_init()
2579 chan->ep_num = dwc2_hcd_get_ep_num(&urb->pipe_info); in dwc2_assign_and_init_hc()
3834 u8 ep_num, u8 ep_type, u8 ep_dir, in dwc2_hcd_urb_set_pipeinfo() argument
3842 dev_addr, ep_num, ep_dir, ep_type, maxp, maxp_mult); in dwc2_hcd_urb_set_pipeinfo()
3844 urb->pipe_info.ep_num = ep_num; in dwc2_hcd_urb_set_pipeinfo()
3878 chan->dev_addr, chan->ep_num, chan->ep_is_in); in dwc2_hcd_dump_state()
/drivers/usb/isp1760/
A Disp1760-udc.c1452 unsigned int ep_num = (i + 1) / 2; in isp1760_udc_init_eps() local
1459 ep->addr = (ep_num && is_in ? USB_DIR_IN : USB_DIR_OUT) in isp1760_udc_init_eps()
1460 | ep_num; in isp1760_udc_init_eps()
1463 sprintf(ep->name, "ep%u%s", ep_num, in isp1760_udc_init_eps()
1464 ep_num ? (is_in ? "in" : "out") : ""); in isp1760_udc_init_eps()
1474 if (ep_num == 0) { in isp1760_udc_init_eps()
/drivers/usb/gadget/udc/cdns2/
A Dcdns2-gadget.h687 #define CDNS2_IF_EP_EXIST(pdev, ep_num, dir) \ argument
689 (BIT(ep_num) << ((dir) ? 0 : 16)))
/drivers/char/xillybus/
A Dxillyusb.c115 u8 ep_num; member
489 u8 ep_num, in endpoint_alloc() argument
518 ep->ep_num = ep_num; in endpoint_alloc()
733 usb_rcvbulkpipe(xdev->udev, ep->ep_num), in try_queue_bulk_in()
837 usb_sndbulkpipe(xdev->udev, ep->ep_num), in try_queue_bulk_out()
/drivers/media/i2c/
A Dtvp5150.c1998 unsigned int flags, ep_num; in tvp5150_parse_dt() local
2003 ep_num = of_graph_get_endpoint_count(np); in tvp5150_parse_dt()
2004 if (ep_num < 2 || ep_num > 5) { in tvp5150_parse_dt()
/drivers/usb/dwc3/
A Dgadget.c3145 int ep_num = 0; in dwc3_gadget_check_config() local
3153 ep_num++; in dwc3_gadget_check_config()
3156 if (ep_num <= dwc->max_cfg_eps) in dwc3_gadget_check_config()
3160 dwc->max_cfg_eps = ep_num; in dwc3_gadget_check_config()

Completed in 89 milliseconds