Home
last modified time | relevance | path

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

/linux/sound/usb/
H A Dendpoint.c665 snd_usb_get_endpoint(struct snd_usb_audio *chip, int ep_num) in snd_usb_get_endpoint()
670 if (ep->ep_num == ep_num) in snd_usb_get_endpoint()
684 * @ep_num: The number of the endpoint to use
698 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type) in snd_usb_add_endpoint()
703 ep = snd_usb_get_endpoint(chip, ep_num); in snd_usb_add_endpoint()
709 ep_num); in snd_usb_add_endpoint()
717 ep->ep_num = ep_num; in snd_usb_add_endpoint()
721 is_playback = ((ep_num in snd_usb_add_endpoint()
662 snd_usb_get_endpoint(struct snd_usb_audio * chip,int ep_num) snd_usb_get_endpoint() argument
695 snd_usb_add_endpoint(struct snd_usb_audio * chip,int ep_num,int type) snd_usb_add_endpoint() argument
804 int ep_num = is_sync_ep ? fp->sync_ep : fp->endpoint; snd_usb_endpoint_open() local
[all...]
H A Dimplicit.c31 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 */
309 return add_implicit_fb_sync_ep(chip, fmt, p->ep_num, 0, in audioformat_implicit_fb_quirk()
370 return add_implicit_fb_sync_ep(chip, fmt, p->ep_num, 0, in audioformat_capture_quirk()
439 find_matching_substream(struct snd_usb_audio *chip, int stream, int ep_num, in find_matching_substream() argument
447 if (as->fmt_type == fmt_type && subs->ep_num == ep_num) in find_matching_substream()
H A Dendpoint.h9 int ep_num);
11 int snd_usb_add_endpoint(struct snd_usb_audio *chip, int ep_num, int type);
H A Dcard.h71 int ep_num; /* the referenced endpoint number */ member
181 unsigned int ep_num; /* the endpoint number */
180 unsigned int ep_num; /* the endpoint number */ global() member
H A Dstream.c104 subs->ep_num = fp->endpoint; in snd_usb_init_substream()
517 if (subs->ep_num == fp->endpoint) { in __snd_usb_add_audio_stream()
533 if (subs->ep_num) in __snd_usb_add_audio_stream()
/linux/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c227 unsigned int tmp, portctrl, ep_num; in dr_controller_setup() local
318 for (ep_num = 1; ep_num < max_no_of_ep; ep_num++) { in dr_controller_setup()
319 tmp = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_controller_setup()
323 fsl_writel(tmp, &dr_regs->endptctrl[ep_num]); in dr_controller_setup()
406 static void dr_ep_setup(unsigned char ep_num, unsigned char dir, in dr_ep_setup() argument
411 tmp_epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_setup()
413 if (ep_num) in dr_ep_setup()
420 if (ep_num) in dr_ep_setup()
432 dr_ep_change_stall(unsigned char ep_num,unsigned char dir,int value) dr_ep_change_stall() argument
459 dr_ep_get_stall(unsigned char ep_num,unsigned char dir) dr_ep_get_stall() argument
479 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) struct_ep_qh_setup() argument
634 int ep_num; fsl_ep_disable() local
919 int ep_num, stopped, ret = 0; fsl_ep_dequeue() local
1001 unsigned char ep_dir = 0, ep_num = 0; fsl_ep_set_halt() local
1075 int ep_num, ep_dir; fsl_ep_fifo_flush() local
1553 tripwire_handler(struct fsl_udc * udc,u8 ep_num,u8 * buffer_ptr) tripwire_handler() argument
1669 int i, ep_num, direction, bit_mask, status; dtd_complete_irq() local
[all...]
H A Dbcm63xx_udc.c147 * @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...]
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H 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()
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 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()
/linux/drivers/usb/cdns3/
H 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()
H A Dcdnsp-gadget.h500 #define CDNSP_IF_EP_EXIST(pdev, ep_num, dir) \ argument
502 (BIT(ep_num) << ((dir) ? 0 : 16)))
/linux/drivers/usb/c67x00/
H 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))
/linux/drivers/usb/gadget/udc/bdc/
H 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()
H A Dbdc_dbg.c96 ep->name, ep->ep_num); in bdc_dbg_bd_list()
H A Dbdc.h356 u8 ep_num; member
/linux/drivers/usb/dwc2/
H A Dhcd.h93 unsigned ep_num:4; member
142 u8 ep_num; member
472 return pipe->ep_num; in dwc2_hcd_get_ep_num()
H A Dhcd.c427 dev_dbg(hsotg->dev, " dev_addr: %d, ep_num: %d, ep_is_in: %d\n", in dwc2_dump_channel_info()
428 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()
2594 chan->ep_num = dwc2_hcd_get_ep_num(&urb->pipe_info); in dwc2_assign_and_init_hc()
3849 u8 ep_num, u8 ep_type, u8 ep_dir, in dwc2_hcd_urb_set_pipeinfo()
3856 "addr=%d, ep_num=%d, ep_dir=%1x, ep_type=%1x, maxp=%d (%d mult)\n", in dwc2_hcd_dump_state()
3857 dev_addr, ep_num, ep_dir, ep_type, maxp, maxp_mult); in dwc2_hcd_dump_state()
3859 urb->pipe_info.ep_num = ep_num; in dwc2_hcd_dump_state()
3834 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 maxp,u16 maxp_mult) dwc2_hcd_urb_set_pipeinfo() argument
[all...]
/linux/drivers/net/wireless/rsi/
H A Drsi_usb.h53 u8 ep_num; member
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.h687 #define CDNS2_IF_EP_EXIST(pdev, ep_num, dir) \ argument
689 (BIT(ep_num) << ((dir) ? 0 : 16)))
/linux/drivers/usb/isp1760/
H 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()
/linux/sound/usb/qcom/
H A Dmixer_usb_offload.c120 if (!subs->ep_num || as->pcm_index > 0xff) in snd_usb_offload_create_ctl()
H A Dqc_audio_offload.c186 if (subs->ep_num) in usb_qmi_get_pcm_num()
1137 subs->data_endpoint->ep_num); in uaudio_endpoint_setup()
1498 subs->data_endpoint->ep_num : 0; in prepare_qmi_response()
1500 subs->sync_endpoint->ep_num : 0; in prepare_qmi_response()
1759 if (subs->ep_num) { in qc_usb_audio_offload_fill_avail_pcms()
/linux/drivers/char/xillybus/
H A Dxillyusb.c115 u8 ep_num; member
496 u8 ep_num, in endpoint_alloc()
524 ep->ep_num = ep_num; in endpoint_alloc()
737 usb_rcvbulkpipe(xdev->udev, ep->ep_num), in try_queue_bulk_in()
841 usb_sndbulkpipe(xdev->udev, ep->ep_num), in try_queue_bulk_out()
489 endpoint_alloc(struct xillyusb_dev * xdev,u8 ep_num,void (* work)(struct work_struct *),unsigned int order,int bufnum) endpoint_alloc() argument
/linux/drivers/usb/dwc3/
H A Dgadget.c3239 int ep_num = 0;
3247 ep_num++;
3250 if (ep_num <= dwc->max_cfg_eps)
3254 dwc->max_cfg_eps = ep_num;
3199 int ep_num = 0; dwc3_gadget_check_config() local