/linux-master/drivers/usb/gadget/function/ |
H A D | f_midi.c | 227 static inline struct usb_request *midi_alloc_ep_req(struct usb_ep *ep, argument 230 return alloc_ep_req(ep, length); 240 static void f_midi_read_data(struct usb_ep *ep, int cable, argument 243 struct f_midi *midi = ep->driver_data; 256 static void f_midi_handle_out_data(struct usb_ep *ep, struct usb_request *req) argument 265 f_midi_read_data(ep, cable, &buf[i + 1], length); 270 f_midi_complete(struct usb_ep *ep, struct usb_request *req) argument 272 struct f_midi *midi = ep->driver_data; 278 if (ep == midi->out_ep) { 280 f_midi_handle_out_data(ep, re 337 f_midi_start_ep(struct f_midi *midi, struct usb_function *f, struct usb_ep *ep) argument 606 f_midi_do_transmit(struct f_midi *midi, struct usb_ep *ep) argument 675 struct usb_ep *ep = midi->in_ep; local [all...] |
H A D | f_uvc.c | 205 uvc_function_ep0_complete(struct usb_ep *ep, struct usb_request *req) argument 270 if (disable_ep && uvc->video.ep) 271 usb_ep_disable(uvc->video.ep); 288 return uvc->video.ep->enabled ? 1 : 0; 353 if (!uvc->video.ep) 357 usb_ep_disable(uvc->video.ep); 360 &(uvc->func), uvc->video.ep); 363 usb_ep_enable(uvc->video.ep); 389 usb_ep_disable(uvc->video.ep); 636 uvc_streaming_header->bEndpointAddress = uvc->video.ep 653 struct usb_ep *ep; local [all...] |
H A D | f_subset.c | 298 struct usb_ep *ep; local 338 ep = usb_ep_autoconfig(cdev->gadget, &fs_subset_in_desc); 339 if (!ep) 341 geth->port.in_ep = ep; 343 ep = usb_ep_autoconfig(cdev->gadget, &fs_subset_out_desc); 344 if (!ep) 346 geth->port.out_ep = ep;
|
H A D | f_serial.c | 191 struct usb_ep *ep; local 215 ep = usb_ep_autoconfig(cdev->gadget, &gser_fs_in_desc); 216 if (!ep) 218 gser->port.in = ep; 220 ep = usb_ep_autoconfig(cdev->gadget, &gser_fs_out_desc); 221 if (!ep) 223 gser->port.out = ep;
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | r8a66597-udc.h | 56 struct usb_ep ep; member in struct:r8a66597_ep 95 struct r8a66597_ep ep[R8A66597_MAX_NUM_PIPE]; member in struct:r8a66597 195 struct r8a66597_ep *ep, 199 void __iomem *fifoaddr = r8a66597->reg + ep->fifoaddr; 228 r8a66597_bclr(r8a66597, MBW_16, ep->fifosel); 232 r8a66597_bclr(r8a66597, MBW_16, ep->fifosel); 194 r8a66597_write_fifo(struct r8a66597 *r8a66597, struct r8a66597_ep *ep, unsigned char *buf, int len) argument
|
H A D | mv_u3d.h | 72 /* ep control register */ 114 /* ep direction */ 117 #define mv_u3d_ep_dir(ep) (((ep)->ep_num == 0) ? \ 118 ((ep)->u3d->ep0_dir) : ((ep)->direction)) 143 u32 epxoutcr0; /* ep out control 0 register */ 144 u32 epxoutcr1; /* ep out control 1 register */ 145 u32 epxincr0; /* ep in control 0 register */ 146 u32 epxincr1; /* ep i 288 struct usb_ep ep; member in struct:mv_u3d_ep 307 struct mv_u3d_ep *ep; member in struct:mv_u3d_req [all...] |
H A D | fsl_usb2_udc.h | 448 struct fsl_ep *ep; member in struct:fsl_req 459 struct usb_ep ep; member in struct:fsl_ep 523 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress&0xF) 524 #define ep_maxpacket(EP) ((EP)->ep.maxpacket) 526 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ 534 static inline struct ep_queue_head *get_qh_by_ep(struct fsl_ep *ep) argument 537 if (ep_index(ep) != 0) 538 return ep->qh; 540 return &ep->udc->ep_qh[(ep [all...] |
H A D | bcm63xx_udc.c | 78 * 1) Device queues up a 2048-byte RX IUDMA transaction on an OUT bulk ep 233 * @ep: USB gadget layer representation of the EP. 241 struct usb_ep ep; member in struct:bcm63xx_ep 256 struct list_head queue; /* ep's requests */ 342 static inline struct bcm63xx_ep *our_ep(struct usb_ep *ep) argument 344 return container_of(ep, struct bcm63xx_ep, ep); 566 usb_ep_set_maxpacket_limit(&udc->bep[idx].ep, max_pkt); 955 bep->ep.name = bcm63xx_ep_info[i].name; 956 bep->ep 1030 bcm63xx_ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 1070 bcm63xx_ep_disable(struct usb_ep *ep) argument 1113 bcm63xx_udc_alloc_request(struct usb_ep *ep, gfp_t mem_flags) argument 1129 bcm63xx_udc_free_request(struct usb_ep *ep, struct usb_request *req) argument 1150 bcm63xx_udc_queue(struct usb_ep *ep, struct usb_request *req, gfp_t mem_flags) argument 1203 bcm63xx_udc_dequeue(struct usb_ep *ep, struct usb_request *req) argument 1251 bcm63xx_udc_set_halt(struct usb_ep *ep, int value) argument 1271 bcm63xx_udc_set_wedge(struct usb_ep *ep) argument [all...] |
/linux-master/drivers/usb/c67x00/ |
H A D | c67x00.h | 91 #define DEVICE_N_ENDPOINT_N_CTL_REG(dev, ep) ((dev) \ 92 ? (0x0280 + (ep << 4)) \ 93 : (0x0200 + (ep << 4))) 94 #define DEVICE_N_ENDPOINT_N_STAT_REG(dev, ep) ((dev) \ 95 ? (0x0286 + (ep << 4)) \ 96 : (0x0206 + (ep << 4)))
|
/linux-master/drivers/platform/x86/intel/pmc/ |
H A D | core_ssram.c | 45 struct telem_endpoint *ep; local 60 ep = pmt_telem_find_and_register_endpoint(pmcdev->ssram_pcidev, guid, 0); 61 if (IS_ERR(ep)) { 63 PTR_ERR(ep)); 126 ret = pmt_telem_read32(ep, sample_id, req_offset, 1); 139 pmt_telem_unregister_endpoint(ep);
|
/linux-master/include/linux/usb/ |
H A D | hcd.h | 303 struct usb_host_endpoint *ep); 308 struct usb_host_endpoint *ep); 415 struct usb_host_endpoint *ep) 417 return hcd->high_prio_bh.completing_ep == ep; 439 struct usb_host_endpoint *ep); 441 struct usb_host_endpoint *ep); 443 struct usb_host_endpoint *ep); 537 #define usb_gettoggle(dev, ep, out) (((dev)->toggle[out] >> (ep)) & 1) 538 #define usb_dotoggle(dev, ep, ou 414 hcd_periodic_completion_in_progress(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 592 struct usb_host_endpoint *ep; member in struct:usb_tt_clear [all...] |
/linux-master/drivers/media/i2c/ |
H A D | st-mipid02.c | 312 struct v4l2_fwnode_endpoint *ep = &bridge->rx; local 322 2 * ep->bus.mipi_csi2.num_data_lanes); 338 struct v4l2_fwnode_endpoint *ep = &bridge->rx; local 339 bool *polarities = ep->bus.mipi_csi2.lane_polarities; 342 if (ep->bus.mipi_csi2.clock_lane != 0) { 388 struct v4l2_fwnode_endpoint *ep = &bridge->rx; local 389 bool are_lanes_swap = ep->bus.mipi_csi2.data_lanes[0] == 2; 390 bool *polarities = ep->bus.mipi_csi2.lane_polarities; 391 int nb = ep->bus.mipi_csi2.num_data_lanes; 416 struct v4l2_fwnode_endpoint *ep local 715 struct v4l2_fwnode_endpoint ep = { .bus_type = V4L2_MBUS_CSI2_DPHY }; local 777 struct v4l2_fwnode_endpoint ep = { .bus_type = V4L2_MBUS_PARALLEL }; local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | mdesc.c | 632 struct mdesc_elem *ep = node_block(&hp->mdesc); local 642 ret = ep[from_node].d.val; 646 if (ep[ret].tag != MD_NODE) 648 if (!strcmp(names + ep[ret].name_offset, name)) 650 ret = ep[ret].d.val; 664 struct mdesc_elem *ep; local 669 ep = node_block(&hp->mdesc) + node; 670 ep++; 671 for (; ep->tag != MD_NODE_END; ep 706 struct mdesc_elem *ep, *base = node_block(&hp->mdesc); local 732 struct mdesc_elem *ep, *base = node_block(&hp->mdesc); local 742 struct mdesc_elem *ep, *base = node_block(&hp->mdesc); local [all...] |
/linux-master/drivers/media/platform/ |
H A D | video-mux.c | 341 struct fwnode_handle *ep, *remote_ep; local 343 ep = fwnode_graph_get_endpoint_by_id( 346 if (!ep) 350 remote_ep = fwnode_graph_get_remote_endpoint(ep); 352 fwnode_handle_put(ep); 357 asd = v4l2_async_nf_add_fwnode_remote(&vmux->notifier, ep, 360 fwnode_handle_put(ep); 393 struct device_node *ep; local 415 for_each_endpoint_of_node(np, ep) { 418 of_graph_parse_endpoint(ep, [all...] |
/linux-master/drivers/usb/host/ |
H A D | max3421-hcd.c | 160 struct usb_host_endpoint *ep; member in struct:max3421_ep 163 u16 last_active; /* frame # this ep was last active */ 312 #define MAX3421_HXFR_BULK_IN(ep) (0x00 | (ep)) /* bulk or interrupt */ 314 #define MAX3421_HXFR_BULK_OUT(ep) (0x20 | (ep)) /* bulk or interrupt */ 315 #define MAX3421_HXFR_ISO_IN(ep) (0x40 | (ep)) 316 #define MAX3421_HXFR_ISO_OUT(ep) (0x60 | (ep)) 636 struct usb_host_endpoint *ep; local 769 struct usb_host_endpoint *ep; local 1147 struct usb_host_endpoint *ep; local 1567 max3421_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument [all...] |
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-artpec6.c | 101 struct dw_pcie_ep *ep = &pci->ep; local 107 return pci_addr - ep->phys_base; 339 static void artpec6_pcie_ep_init(struct dw_pcie_ep *ep) argument 341 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 354 static int artpec6_pcie_raise_irq(struct dw_pcie_ep *ep, u8 func_no, argument 357 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 364 return dw_pcie_ep_raise_msi_irq(ep, func_no, interrupt_num); 442 pci->ep.ops = &pcie_ep_ops; 444 return dw_pcie_ep_init(&pci->ep); [all...] |
H A D | pcie-keembay.c | 283 static void keembay_pcie_ep_init(struct dw_pcie_ep *ep) argument 285 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 291 static int keembay_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no, argument 294 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 302 return dw_pcie_ep_raise_msi_irq(ep, func_no, interrupt_num); 304 return dw_pcie_ep_raise_msix_irq(ep, func_no, interrupt_num); 325 keembay_pcie_get_features(struct dw_pcie_ep *ep) argument 432 pci->ep.ops = &keembay_pcie_ep_ops; 433 return dw_pcie_ep_init(&pci->ep); 454 .compatible = "intel,keembay-pcie-ep", [all...] |
/linux-master/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.h | 113 * @ep: none control endpoints array. 133 struct cdns2_epx_base ep[15]; member in struct:cdns2_epx_regs 405 #define ep_to_cdns2_ep(ep) (container_of(ep, struct cdns2_endpoint, endpoint)) 685 void cdns2_select_ep(struct cdns2_device *pdev, u32 ep); 687 struct usb_request *cdns2_gadget_ep_alloc_request(struct usb_ep *ep, 689 void cdns2_gadget_ep_free_request(struct usb_ep *ep, 691 int cdns2_gadget_ep_dequeue(struct usb_ep *ep, struct usb_request *request);
|
/linux-master/drivers/usb/mtu3/ |
H A D | mtu3.h | 275 struct usb_ep ep; member in struct:mtu3_ep 380 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) argument 382 return ep ? container_of(ep, struct mtu3_ep, ep) : NULL; 418 struct usb_request *mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags); 419 void mtu3_free_request(struct usb_ep *ep, struct usb_request *req);
|
/linux-master/drivers/usb/core/ |
H A D | usb.c | 224 const struct usb_host_endpoint *ep; local 227 ep = intf->cur_altsetting->endpoint; 228 for (; n > 0; (--n, ++ep)) { 229 if (ep->desc.bEndpointAddress == ep_addr) 230 return ep; 249 const struct usb_host_endpoint *ep; local 252 ep = usb_find_endpoint(intf, *ep_addrs); 253 if (!ep || !usb_endpoint_xfer_bulk(&ep->desc)) 275 const struct usb_host_endpoint *ep; local [all...] |
/linux-master/drivers/usb/typec/ |
H A D | hd3ss3220.c | 175 struct fwnode_handle *connector, *ep; local 198 ep = fwnode_graph_get_next_endpoint(dev_fwnode(hd3ss3220->dev), NULL); 199 if (!ep) 201 connector = fwnode_graph_get_remote_port_parent(ep); 202 fwnode_handle_put(ep);
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vip.c | 119 struct device_node *ep; local 125 ep = of_graph_get_endpoint_by_regs(np, 0, 0); 126 if (!ep) { 132 fwh = of_fwnode_handle(ep); 134 of_node_put(ep);
|
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 77 struct usb_host_endpoint *ep; member in struct:usbhsh_ep 126 #define usbhsh_uep_to_ep(u) ((u)->ep) 204 int maxp = usb_endpoint_maxp(&urb->ep->desc); 248 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); 251 struct usb_endpoint_descriptor *desc = &urb->ep->desc; 345 struct usb_host_endpoint *ep = usbhsh_uep_to_ep(uep); local 354 usb_endpoint_num(&ep->desc), 371 struct usb_host_endpoint *ep = urb->ep; local 374 struct usb_endpoint_descriptor *desc = &ep 405 usbhsh_endpoint_detach(struct usbhsh_hpriv *hpriv, struct usb_host_endpoint *ep) argument 955 struct usb_host_endpoint *ep = urb->ep; local 1047 usbhsh_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument [all...] |
/linux-master/drivers/usb/cdns3/ |
H A D | cdns3-gadget.c | 72 static int __cdns3_gadget_ep_queue(struct usb_ep *ep, 161 * @ep: endpoint address 163 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) argument 165 if (priv_dev->selected_ep == ep) 168 priv_dev->selected_ep = ep; 169 writel(ep, &priv_dev->regs->ep_sel); 1424 struct usb_ep *ep; local 1436 list_for_each_entry(ep, &priv_dev->gadget.ep_list, ep_list) { 1437 if (ep->enabled) { 1438 priv_ep = ep_to_cdns3_ep(ep); 2227 struct usb_ep *ep; local 2310 cdns3_gadget_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 2331 cdns3_gadget_ep_free_request(struct usb_ep *ep, struct usb_request *request) argument 2350 cdns3_gadget_ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 2489 cdns3_gadget_ep_disable(struct usb_ep *ep) argument 2581 __cdns3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, gfp_t gfp_flags) argument 2636 cdns3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, gfp_t gfp_flags) argument 2682 cdns3_gadget_ep_dequeue(struct usb_ep *ep, struct usb_request *request) argument 2832 cdns3_gadget_ep_set_halt(struct usb_ep *ep, int value) argument 3037 struct usb_ep *ep; local 3079 struct usb_ep *ep; local [all...] |
/linux-master/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_mbox.c | 44 ath6kl_dbg(ATH6KL_DBG_CREDIT, "credit deposit ep %d credits %d\n", 104 * it use list_for_each_entry_reverse to walk around the whole ep list. 135 "credit ep %d svc_id %d credits %d per_msg %d norm %d min %d\n", 165 /* reduce an ep's credits back to a set limit */ 172 ath6kl_dbg(ATH6KL_DBG_CREDIT, "credit reduce ep %d limit %d\n", 418 ath6kl_err("req failed (status:%d, ep:%d, len:%d creds:%d)\n", 445 "htc tx complete ep %d pkts %d\n", 547 struct htc_endpoint *ep, u8 *flags, 555 *req_cred, ep->cred_dist.credits); 557 if (ep 546 htc_check_credits(struct htc_target *target, struct htc_endpoint *ep, u8 *flags, enum htc_endpoint_id eid, unsigned int len, int *req_cred) argument 648 htc_get_credit_padding(unsigned int cred_sz, int *len, struct htc_endpoint *ep) argument 1098 int i, ep; local 1278 htc_reclaim_rxbuf(struct htc_target *target, struct htc_packet *packet, struct htc_endpoint *ep) argument 1366 ath6kl_htc_rx_setup(struct htc_target *target, struct htc_endpoint *ep, u32 *lk_ahds, struct list_head *queue, int n_msg) argument 2009 struct htc_endpoint *ep; local [all...] |