/linux/sound/usb/ |
H A D | endpoint.c | 654 snd_usb_get_endpoint(struct snd_usb_audio *chip, int ep_num) in snd_usb_get_endpoint() argument 659 if (ep->ep_num == ep_num) in snd_usb_get_endpoint() 673 * @ep_num: The number of the endpoint to use 687 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type) in snd_usb_add_endpoint() argument 692 ep = snd_usb_get_endpoint(chip, ep_num); in snd_usb_add_endpoint() 698 ep_num); in snd_usb_add_endpoint() 706 ep->ep_num = ep_num; in snd_usb_add_endpoint() 710 is_playback = ((ep_num in snd_usb_add_endpoint() 800 int ep_num = is_sync_ep ? fp->sync_ep : fp->endpoint; snd_usb_endpoint_open() local [all...] |
H A D | implicit.c | 31 unsigned int ep_num; member 39 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_FIXED, .ep_num = (ep),\ 42 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_BOTH, .ep_num = (ep),\ 72 .ep_num = 0x84, .iface = 0 }, /* MOTU MicroBook II */ 308 return add_implicit_fb_sync_ep(chip, fmt, p->ep_num, 0, in audioformat_implicit_fb_quirk() 369 return add_implicit_fb_sync_ep(chip, fmt, p->ep_num, 0, in audioformat_capture_quirk() 438 find_matching_substream(struct snd_usb_audio *chip, int stream, int ep_num, in find_matching_substream() argument 446 if (as->fmt_type == fmt_type && subs->ep_num == ep_num) in find_matching_substream()
|
H A D | endpoint.h | 9 int ep_num); 11 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type);
|
H A D | card.h | 71 int ep_num; /* the referenced endpoint number */ member 179 unsigned int ep_num; /* the endpoint number */ member
|
H A D | stream.c | 104 subs->ep_num = fp->endpoint; in snd_usb_init_substream() 503 if (subs->ep_num == fp->endpoint) { in __snd_usb_add_audio_stream() 519 if (subs->ep_num) in __snd_usb_add_audio_stream()
|
/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | dev.c | 138 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() 183 int ep_num = wIndex & USB_ENDPOINT_NUMBER_MASK; in ast_vhub_ep_status() local 187 DDBG(d, "GET_STATUS(ep%d)\n", ep_num); in ast_vhub_ep_status() [all...] |
H A D | hub.c | 195 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 in ast_vhub_hub_ep_feature() [all...] |
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | usb.h | 48 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()
|
H A D | usb.c | 185 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()
|
/linux/drivers/usb/c67x00/ |
H A 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/drivers/usb/cdns3/ |
H A D | cdnsp-debug.h | 182 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()
|
/linux/drivers/usb/gadget/udc/ |
H A D | bcm63xx_udc.c | 147 * @ep_num: USB endpoint number. 156 int ep_num; member 173 ep_num ep_type n_fifo_slots max_pkt_fs 189 * @ep_num: USB endpoint number. -1 for ep0 RX. 212 int ep_num; member 231 * @ep_num: USB endpoint number. 239 unsigned int ep_num; member 448 (bep->ep_num << USBD_STALL_EPNUM_SHIFT); in bcm63xx_set_stall() 497 * @ep_num: Endpoint number. 499 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep() argument [all...] |
H A D | pch_udc.c | 2151 * @ep_num: Endpoint that generated the interrupt 2153 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() 2195 * @ep_num: Endpoint that generated the interrupt 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() 2385 * @ep_num: End point number 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()
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_usb.c | 30 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() 319 * @ep_num: Endpoint number. 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()
|
H A D | rsi_usb.h | 53 u8 ep_num; member
|
/linux/drivers/usb/gadget/udc/bdc/ |
H A 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() 113 dev_dbg(bdc->dev, "%s ep->ep_num =%d cmd_sc=%x\n", __func__, 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()
|
H A D | bdc_dbg.c | 96 ep->name, ep->ep_num); in bdc_dbg_bd_list()
|
H A D | bdc.h | 356 u8 ep_num; member
|
/linux/drivers/usb/host/ |
H A D | xhci-trace.h | 75 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)
|
/linux/drivers/usb/dwc2/ |
H A D | hcd.h | 28 * @ep_num: Endpoint of the device 93 unsigned ep_num:4; member 142 u8 ep_num; member 472 return pipe->ep_num; in dwc2_hcd_get_ep_num()
|
/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.h | 687 #define CDNS2_IF_EP_EXIST(pdev, ep_num, dir) \ argument 689 (BIT(ep_num) << ((dir) ? 0 : 16)))
|
/linux/sound/usb/qcom/ |
H A D | mixer_usb_offload.c | 120 if (!subs->ep_num || as->pcm_index > 0xff) in snd_usb_offload_create_ctl()
|
H A D | qc_audio_offload.c | 186 if (subs->ep_num) in usb_qmi_get_pcm_num() 1118 subs->data_endpoint->ep_num); in uaudio_endpoint_setup() 1472 subs->data_endpoint->ep_num : 0; in prepare_qmi_response() 1474 subs->sync_endpoint->ep_num : 0; in prepare_qmi_response() 1727 if (subs->ep_num) { in qc_usb_audio_offload_fill_avail_pcms()
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 1452 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()
|
/linux/drivers/media/i2c/ |
H A D | tvp5150.c | 1998 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()
|