/linux-master/drivers/usb/musb/ |
H A D | musb_gadget.c | 86 struct musb_ep *musb_ep = request->ep; 123 struct musb_ep *ep, 126 __releases(ep->musb->lock) 127 __acquires(ep->musb->lock) 131 int busy = ep->busy; 140 ep->busy = 1; 147 usb_gadget_giveback_request(&req->ep->end_point, &req->request); 149 ep->busy = busy; 156 * caller locked controller and blocked irqs, and selected this ep. 158 static void nuke(struct musb_ep *ep, cons argument 208 max_ep_writesize(struct musb *musb, struct musb_ep *ep) argument 908 musb_gadget_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 1084 musb_gadget_disable(struct usb_ep *ep) argument 1130 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 1151 musb_free_request(struct usb_ep *ep, struct usb_request *req) argument 1190 musb_gadget_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 1268 musb_gadget_dequeue(struct usb_ep *ep, struct usb_request *request) argument 1328 musb_gadget_set_halt(struct usb_ep *ep, int value) argument 1414 musb_gadget_set_wedge(struct usb_ep *ep) argument 1426 musb_gadget_fifo_status(struct usb_ep *ep) argument 1449 musb_gadget_fifo_flush(struct usb_ep *ep) argument 1695 init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) argument [all...] |
H A D | musb_gadget_ep0.c | 81 struct musb_ep *ep; local 99 ep = &musb->endpoints[epnum].ep_in; 101 ep = &musb->endpoints[epnum].ep_out; 104 if (!ep->desc) { 239 struct musb_hw_ep *ep; variable in typeref:struct:musb_hw_ep 249 ep = musb->endpoints + epnum; 250 regs = ep->regs; 253 musb_ep = &ep->ep_in; 255 musb_ep = &ep->ep_out; 400 struct musb_hw_ep *ep; variable in typeref:struct:musb_hw_ep 890 musb_g_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 905 struct musb_ep *ep; local 984 musb_g_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) argument 992 struct musb_ep *ep; local [all...] |
/linux-master/drivers/usb/mtu3/ |
H A D | mtu3_gadget.c | 35 usb_gadget_giveback_request(&mep->ep, req); 110 mep->ep.maxpacket = mep->maxp; 111 mep->ep.desc = desc; 112 mep->ep.comp_desc = comp_desc; 143 mep->ep.desc = NULL; 151 static int mtu3_gadget_ep_enable(struct usb_ep *ep, argument 159 if (!ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) { 168 mep = to_mtu3_ep(ep); 171 /* check ep number and direction against endpoint */ 178 dev_dbg(mtu->dev, "%s %s\n", __func__, ep 206 mtu3_gadget_ep_disable(struct usb_ep *ep) argument 232 mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 250 mtu3_free_request(struct usb_ep *ep, struct usb_request *req) argument 258 mtu3_gadget_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 321 mtu3_gadget_dequeue(struct usb_ep *ep, struct usb_request *req) argument 362 mtu3_gadget_ep_set_halt(struct usb_ep *ep, int value) argument 408 mtu3_gadget_ep_set_wedge(struct usb_ep *ep) argument [all...] |
/linux-master/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map_command.c | 16 struct rmnet_endpoint *ep; local 28 ep = rmnet_get_endpoint(port, mux_id); 29 if (!ep) { 34 vnd = ep->egress_dev;
|
H A D | rmnet_vnd.c | 301 struct rmnet_endpoint *ep, 329 ep->egress_dev = rmnet_dev; 330 ep->mux_id = id; 344 struct rmnet_endpoint *ep) 346 if (id >= RMNET_MAX_LOGICAL_EP || !ep->egress_dev) 349 ep->egress_dev = NULL; 372 struct rmnet_endpoint *ep; local 381 hash_for_each_safe(port->muxed_ep, bkt_ep, tmp_ep, ep, hlnode) { 382 if (ep->egress_dev->mtu > (real_dev->mtu - headroom)) 393 struct rmnet_endpoint *ep; local 298 rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev, struct rmnet_port *port, struct net_device *real_dev, struct rmnet_endpoint *ep, struct netlink_ext_ack *extack) argument 343 rmnet_vnd_dellink(u8 id, struct rmnet_port *port, struct rmnet_endpoint *ep) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | usb_mcu.c | 21 int ret, ep, len, pad; local 25 ep = MT_EP_OUT_INBAND_CMD; 27 ep = MT_EP_OUT_AC_BE; 37 1000, ep);
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi_common.c | 12 int hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep, argument 18 prop = of_find_property(ep, "lanes", &len); 27 r = of_property_read_u32_array(ep, "lanes", lanes,
|
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi_common.c | 12 int hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep, argument 18 prop = of_find_property(ep, "lanes", &len); 27 r = of_property_read_u32_array(ep, "lanes", lanes,
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_of.c | 63 struct device_node *remote_port, *ep; local 66 for_each_endpoint_of_node(port, ep) { 67 remote_port = of_graph_get_remote_port(ep); 69 of_node_put(ep); 117 struct device_node *ep, *port, *remote; local 163 for_each_child_of_node(port, ep) { 164 remote = of_graph_get_remote_port_parent(ep); 198 struct device_node *ep; local 206 for_each_endpoint_of_node(node, ep) { 207 port = of_graph_get_remote_port(ep); [all...] |
/linux-master/drivers/usb/core/ |
H A D | urb.c | 206 const struct usb_host_endpoint *ep; local 208 ep = usb_pipe_endpoint(dev, pipe); 209 if (!ep) 211 if (usb_pipetype(pipe) != pipetypes[usb_endpoint_type(&ep->desc)]) 372 struct usb_host_endpoint *ep; local 388 * will be required to set urb->ep directly and we will eliminate 391 ep = usb_pipe_endpoint(dev, urb->pipe); 392 if (!ep) 395 urb->ep = ep; [all...] |
/linux-master/drivers/usb/host/ |
H A D | xhci-ring.c | 500 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; local 501 unsigned int ep_state = ep->ep_state; 526 struct xhci_virt_ep *ep; local 528 ep = &xhci->devs[slot_id]->eps[ep_index]; 531 if (!(ep->ep_state & EP_HAS_STREAMS)) { 532 if (ep->ring && !(list_empty(&ep->ring->td_list))) 537 for (stream_id = 1; stream_id < ep->stream_info->num_streams; 539 struct xhci_stream_info *stream_info = ep->stream_info; 574 struct xhci_virt_ep *ep, 573 xhci_virt_ep_to_ring(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, unsigned int stream_id) argument 601 struct xhci_virt_ep *ep; local 622 struct xhci_virt_ep *ep; local 639 struct xhci_virt_ep *ep = &dev->eps[ep_index]; local 896 xhci_giveback_invalidated_tds(struct xhci_virt_ep *ep) argument 943 xhci_handle_halted_endpoint(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_td *td, enum xhci_ep_reset_type reset_type) argument 993 xhci_invalidate_cancelled_tds(struct xhci_virt_ep *ep) argument 1078 find_halted_td(struct xhci_virt_ep *ep) argument 1108 struct xhci_virt_ep *ep; local 1223 struct xhci_virt_ep *ep; local 1349 struct xhci_virt_ep *ep; local 1455 struct xhci_virt_ep *ep; local 1636 struct xhci_virt_ep *ep; local 2120 xhci_clear_hub_tt_buffer(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_virt_ep *ep) argument 2177 finish_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, u32 trb_comp_code) argument 2276 process_ctrl_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) argument 2372 process_isoc_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) argument 2473 skip_isoc_td(struct xhci_hcd *xhci, struct xhci_td *td, struct xhci_virt_ep *ep, int status) argument 2501 process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep, struct xhci_ring *ep_ring, struct xhci_td *td, union xhci_trb *ep_trb, struct xhci_transfer_event *event) argument 2581 struct xhci_virt_ep *ep; local [all...] |
/linux-master/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 33 struct fc_exch *ep; local 55 ep = fc_seq_exch(sp); 58 caller, cmd, ep->sid, ep->did, ep->oxid, ep->rxid, 59 sp->id, ep->esb_stat); 106 struct fc_exch *ep; local 113 ep = fc_seq_exch(cmd->seq); 114 lport = ep 183 struct fc_exch *ep; local [all...] |
/linux-master/drivers/usb/dwc3/ |
H A D | gadget.h | 19 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint)) 115 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value); 116 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value); 117 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
|
/linux-master/drivers/usb/chipidea/ |
H A D | udc.c | 197 /* Synchronize before ep prime */ 215 * hw_ep_set_halt: configures ep halt & resets data toggle after clear (execute 378 u32 mul = hwreq->req.length / hwep->ep.maxpacket; 381 || hwreq->req.length % hwep->ep.maxpacket) 419 * @ep: endpoint 421 static inline u8 _usb_addr(struct ci_hw_ep *ep) argument 423 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; 458 && (hwreq->req.length % hwep->ep.maxpacket == 0)) { 627 u32 mul = hwreq->req.length / hwep->ep 790 _ep_set_halt(struct usb_ep *ep, int value, bool check_transfer) argument 836 struct usb_ep *ep; local 911 isr_get_status_complete(struct usb_ep *ep, struct usb_request *req) argument 929 _ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t __maybe_unused gfp_flags) argument 1047 isr_setup_status_complete(struct usb_ep *ep, struct usb_request *req) argument 1357 ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 1425 ep_disable(struct usb_ep *ep) argument 1465 ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 1486 ep_free_request(struct usb_ep *ep, struct usb_request *req) argument 1519 ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t __maybe_unused gfp_flags) argument 1544 ep_dequeue(struct usb_ep *ep, struct usb_request *req) argument 1588 ep_set_halt(struct usb_ep *ep, int value) argument 1598 ep_set_wedge(struct usb_ep *ep) argument 1618 ep_fifo_flush(struct usb_ep *ep) argument 1816 struct usb_ep *ep; local [all...] |
/linux-master/drivers/gpu/drm/bridge/imx/ |
H A D | imx8qxp-pxl2dpi.c | 228 struct device_node *port, *ep; local 241 ep = ERR_PTR(-ENODEV); 247 ep = ERR_PTR(-EINVAL); 251 ep = of_get_next_available_child(port, NULL); 252 if (!ep) { 256 ep = ERR_PTR(-ENODEV); 261 return ep; 267 struct device_node *ep, *remote; local 271 ep = imx8qxp_pxl2dpi_get_available_ep_from_port(p2d, 1); 272 if (IS_ERR(ep)) { 302 struct device_node *ep; local [all...] |
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-rcar-gen4.c | 333 static void rcar_gen4_pcie_ep_pre_init(struct dw_pcie_ep *ep) argument 335 struct dw_pcie *dw = to_dw_pcie_from_ep(ep); 346 static void rcar_gen4_pcie_ep_init(struct dw_pcie_ep *ep) argument 348 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 355 static void rcar_gen4_pcie_ep_deinit(struct dw_pcie_ep *ep) argument 357 struct dw_pcie *dw = to_dw_pcie_from_ep(ep); 364 static int rcar_gen4_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no, argument 367 struct dw_pcie *dw = to_dw_pcie_from_ep(ep); 371 return dw_pcie_ep_raise_intx_irq(ep, func_no); 373 return dw_pcie_ep_raise_msi_irq(ep, func_n 393 rcar_gen4_pcie_ep_get_features(struct dw_pcie_ep *ep) argument 398 rcar_gen4_pcie_ep_get_dbi_offset(struct dw_pcie_ep *ep, u8 func_no) argument 404 rcar_gen4_pcie_ep_get_dbi2_offset(struct dw_pcie_ep *ep, u8 func_no) argument 422 struct dw_pcie_ep *ep = &rcar->dw.ep; local [all...] |
/linux-master/lib/crypto/mpi/ |
H A D | mpi-pow.c | 30 mpi_ptr_t rp, ep, mp, bp; local 47 ep = exp->d; 108 if (rp == ep || rp == mp || rp == bp) { 127 if (rp == ep) { 129 ep = ep_marker = mpi_alloc_limb_space(esize); 130 if (!ep) 132 MPN_COPY(ep, rp, esize); 159 negative_result = (ep[0] & 1) && base->sign; 162 e = ep[i]; 251 e = ep[ [all...] |
/linux-master/net/sctp/ |
H A D | input.c | 92 struct sctp_endpoint *ep = NULL; local 168 ep = __sctp_rcv_lookup_endpoint(net, skb, &dest, &src, dif, sdif); 171 rcvr = asoc ? &asoc->base : &ep->base; 248 /* Release the asoc/ep ref we took in the lookup calls. */ 252 sctp_endpoint_put(ep); 262 /* Release the asoc/ep ref we took in the lookup calls. */ 266 sctp_endpoint_put(ep); 356 /* Hold the assoc/ep while hanging on the backlog queue. 454 asoc->state, asoc->ep, asoc, t, 733 static int __sctp_hash_endpoint(struct sctp_endpoint *ep) argument 785 sctp_hash_endpoint(struct sctp_endpoint *ep) argument 797 __sctp_unhash_endpoint(struct sctp_endpoint *ep) argument 815 sctp_unhash_endpoint(struct sctp_endpoint *ep) argument 844 struct sctp_endpoint *ep; local 1026 sctp_epaddr_lookup_transport( const struct sctp_endpoint *ep, const union sctp_addr *paddr) argument [all...] |
/linux-master/sound/usb/ |
H A D | pcm.c | 188 static int init_pitch_v1(struct snd_usb_audio *chip, int ep) argument 197 UAC_EP_CS_ATTR_PITCH_CONTROL << 8, ep, 202 static int init_pitch_v2(struct snd_usb_audio *chip, int ep) argument 318 unsigned int ep, attr, sync_attr; local 373 ep = get_endpoint(alts, 1)->bEndpointAddress; 376 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || 377 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { 379 "%d:%d : invalid sync pipe. is_playback %d, ep %02x, bSynchAddress %02x\n", 381 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); 387 fmt->sync_ep = ep; 806 const struct snd_usb_endpoint *ep; local 819 const struct snd_usb_endpoint *ep; local 924 const struct snd_usb_endpoint *ep; local 994 const struct snd_usb_endpoint *ep; local 1039 const struct snd_usb_endpoint *ep; local 1475 struct snd_usb_endpoint *ep = subs->data_endpoint; local 1635 struct snd_usb_endpoint *ep; local [all...] |
/linux-master/drivers/usb/gadget/legacy/ |
H A D | inode.c | 61 * called when each /dev/gadget/ep* file is configured (by writing 202 /* must hold dev->lock before accessing ep or req */ 203 struct usb_ep *ep; member in struct:ep_data 280 static void epio_complete (struct usb_ep *ep, struct usb_request *req) argument 282 struct ep_data *epdata = ep->driver_data; 294 * still need dev->lock to use epdata->ep. 329 pr_debug ("%s: ep %p not available, state %d\n", 343 if (likely (epdata->ep != NULL)) { 350 value = usb_ep_queue (epdata->ep, req, GFP_ATOMIC); 359 if (likely (epdata->ep ! 489 ep_aio_complete(struct usb_ep *ep, struct usb_request *req) argument 730 struct usb_ep *ep; local 859 clean_req(struct usb_ep *ep, struct usb_request *req) argument 871 ep0_complete(struct usb_ep *ep, struct usb_request *req) argument 894 setup_req(struct usb_ep *ep, struct usb_request *req, u16 len) argument 944 struct usb_ep *ep = dev->gadget->ep0; local 1563 struct ep_data *ep; local 1606 struct usb_ep *ep; local [all...] |
/linux-master/sound/soc/generic/ |
H A D | audio-graph-card2.c | 324 struct device_node *ep = NULL; local 331 * port@1 { ep { ... = rep0 } }; // Multi Element 332 * port@2 { ep { ... = rep1 } }; // Multi Element 349 ep = port_to_endpoint(*port); 350 rep = of_graph_get_remote_endpoint(ep); 353 of_node_put(ep); 365 static void graph_parse_convert(struct device_node *ep, argument 368 struct device_node *port = of_get_parent(ep); 375 simple_util_parse_convert(ep, NULL, adata); 381 static void graph_parse_mclk_fs(struct device_node *ep, argument 396 __graph_parse_node(struct simple_util_priv *priv, enum graph_type gtype, struct device_node *ep, struct link_info *li, int is_cpu, int idx) argument 620 struct device_node *ep; local 684 struct device_node *ep = port_to_endpoint(port); local 759 struct device_node *ep; local 851 struct device_node *ep = port_to_endpoint(lnk); local 1158 struct device_node *ep = port_to_endpoint(lnk); local [all...] |
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | device.c | 207 static void set_ep_sin_addrs(struct c4iw_ep *ep, argument 213 struct iw_cm_id *id = ep->com.cm_id; 215 *m_lsin = (struct sockaddr_in *)&ep->com.local_addr; 216 *m_rsin = (struct sockaddr_in *)&ep->com.remote_addr; 226 static void set_ep_sin6_addrs(struct c4iw_ep *ep, argument 232 struct iw_cm_id *id = ep->com.cm_id; 234 *m_lsin6 = (struct sockaddr_in6 *)&ep->com.local_addr; 235 *m_rsin6 = (struct sockaddr_in6 *)&ep->com.remote_addr; 257 if (qp->ep) { 258 struct c4iw_ep *ep local 558 dump_ep(struct c4iw_ep *ep, struct c4iw_debugfs_data *epd) argument 616 dump_listen_ep(struct c4iw_listen_ep *ep, struct c4iw_debugfs_data *epd) argument 671 struct c4iw_ep *ep; local [all...] |
/linux-master/arch/x86/kernel/ |
H A D | dumpstack_64.c | 97 const struct estack_pages *ep; local 119 ep = &estack_pages[k]; 121 if (!ep->size) 124 begin += (unsigned long)ep->offs; 125 end = begin + (unsigned long)ep->size; 128 info->type = ep->type;
|
/linux-master/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 458 struct iscsi_endpoint *ep; local 465 /* the transport ep handle comes from user space so it must be 467 ep = iscsi_lookup_endpoint(transport_eph); 468 if (!ep) { 473 iser_conn = ep->dd_data; 496 iscsi_put_endpoint(ep); 595 * @ep: iscsi end-point handle 604 iscsi_iser_session_create(struct iscsi_endpoint *ep, argument 627 * the leading conn's ep so this will be NULL; 629 if (ep) { 762 iscsi_iser_get_ep_param(struct iscsi_endpoint *ep, enum iscsi_param param, char *buf) argument 803 struct iscsi_endpoint *ep; local 842 iscsi_iser_ep_poll(struct iscsi_endpoint *ep, int timeout_ms) argument 877 iscsi_iser_ep_disconnect(struct iscsi_endpoint *ep) argument [all...] |
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-vipp.c | 85 struct fwnode_handle *ep = NULL; local 92 ep = fwnode_graph_get_next_endpoint(entity->asd.match.fwnode, 93 ep); 94 if (ep == NULL) 97 dev_dbg(xdev->dev, "processing endpoint %p\n", ep); 99 ret = v4l2_fwnode_parse_link(ep, &link); 102 ep); 175 fwnode_handle_put(ep); 202 struct device_node *ep = NULL; local 210 ep 341 struct fwnode_handle *ep = NULL; local [all...] |