/linux-master/drivers/cxl/core/ |
H A D | port.c | 516 static void cxl_ep_release(struct cxl_ep *ep) argument 518 put_device(ep->ep); 519 kfree(ep); 522 static void cxl_ep_remove(struct cxl_port *port, struct cxl_ep *ep) argument 524 if (!ep) 526 xa_erase(&port->endpoints, (unsigned long) ep->ep); 527 cxl_ep_release(ep); 534 struct cxl_ep *ep; local 1286 struct cxl_ep *ep; local 1481 struct cxl_ep *ep; local [all...] |
/linux-master/drivers/usb/host/ |
H A D | xhci-trace.h | 277 __entry->epnum = usb_endpoint_num(&urb->ep->desc); 278 __entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc); 279 __entry->type = usb_endpoint_type(&urb->ep->desc); 282 TP_printk("ep%d%s-%s: urb %p pipe %u slot %d length %d/%d sgs %d/%d stream %d flags %08x",
|
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/usb/gadget/udc/ |
H A D | fsl_udc_core.c | 154 static void done(struct fsl_ep *ep, struct fsl_req *req, int status) 155 __releases(ep->udc->lock) 156 __acquires(ep->udc->lock) 159 unsigned char stopped = ep->stopped; 163 udc = (struct fsl_udc *)ep->udc; 183 usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); 187 ep->ep.name, &req->req, status, 190 ep 204 nuke(struct fsl_ep *ep, int status) argument 543 struct fsl_ep *ep = NULL; local 630 struct fsl_ep *ep = NULL; local 701 fsl_prime_ep(struct fsl_ep *ep, struct ep_td_struct *td) argument 722 fsl_queue_td(struct fsl_ep *ep, struct fsl_req *req) argument 869 struct fsl_ep *ep = container_of(_ep, struct fsl_ep, ep); local 922 struct fsl_ep *ep = container_of(_ep, struct fsl_ep, ep); local 1005 struct fsl_ep *ep = NULL; local 1050 struct fsl_ep *ep; local 1081 struct fsl_ep *ep; local 1255 fsl_noop_complete(struct usb_ep *ep, struct usb_request *req) argument 1275 struct fsl_ep *ep; local 1310 struct fsl_ep *ep = get_ep_by_pipe(udc, pipe); local 1338 struct fsl_ep *ep; local 1436 struct fsl_ep *ep; variable in typeref:struct:fsl_ep 2030 struct fsl_ep *ep = NULL; local 2320 struct fsl_ep *ep = &udc->eps[index]; local [all...] |
H A D | core.c | 75 * @ep:the endpoint being configured 81 void usb_ep_set_maxpacket_limit(struct usb_ep *ep, argument 84 ep->maxpacket_limit = maxpacket_limit; 85 ep->maxpacket = maxpacket_limit; 87 trace_usb_ep_set_maxpacket_limit(ep, 0); 93 * @ep:the endpoint being configured. may not be the endpoint named "ep0". 106 * configurable, with more generic names like "ep-a". (remember that for 113 int usb_ep_enable(struct usb_ep *ep) argument 117 if (ep->enabled) 121 if (usb_endpoint_maxp(ep 158 usb_ep_disable(struct usb_ep *ep) argument 192 usb_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 214 usb_ep_free_request(struct usb_ep *ep, struct usb_request *req) argument 290 usb_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 328 usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) argument 362 usb_ep_set_halt(struct usb_ep *ep) argument 388 usb_ep_clear_halt(struct usb_ep *ep) argument 411 usb_ep_set_wedge(struct usb_ep *ep) argument 443 usb_ep_fifo_status(struct usb_ep *ep) argument 469 usb_ep_fifo_flush(struct usb_ep *ep) argument 993 usb_gadget_giveback_request(struct usb_ep *ep, struct usb_request *req) argument 1015 struct usb_ep *ep; local 1028 usb_gadget_ep_match_desc(struct usb_gadget *gadget, struct usb_ep *ep, struct usb_endpoint_descriptor *desc, struct usb_ss_ep_comp_descriptor *ep_comp) argument [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | f_ncm.c | 110 * NTB (assuming each packet coming from network layer is >= 8192 bytes) as ep 618 static void ncm_notify_complete(struct usb_ep *ep, struct usb_request *req) argument 646 static void ncm_ep0out_complete(struct usb_ep *ep, struct usb_request *req) argument 672 usb_ep_set_halt(ep); 1435 struct usb_ep *ep; local 1505 ep = usb_ep_autoconfig(cdev->gadget, &fs_ncm_in_desc); 1506 if (!ep) 1508 ncm->port.in_ep = ep; 1510 ep = usb_ep_autoconfig(cdev->gadget, &fs_ncm_out_desc); 1511 if (!ep) [all...] |
H A D | f_fs.c | 125 struct usb_ep *ep; /* P: ffs->eps_lock */ member in struct:ffs_ep 144 struct usb_ep *ep; /* P: ffs->eps_lock */ member in struct:ffs_dmabuf_priv 154 /* Protects ep->ep and ep->req. */ 158 struct ffs_ep *ep; /* P: ffs->eps_lock */ member in struct:ffs_epfile 253 struct usb_ep *ep; member in struct:ffs_io_data 300 static void ffs_ep0_complete(struct usb_ep *ep, struct usb_request *req) argument 971 struct ffs_ep *ep; local 975 ep 993 struct ffs_ep *ep; local 1396 ffs_epfile_dmabuf_io_complete(struct usb_ep *ep, struct usb_request *req) argument 1586 struct ffs_ep *ep; local 1719 struct ffs_ep *ep; local 2377 struct ffs_ep *ep; local 2404 struct ffs_ep *ep; local 3296 struct usb_ep *ep; local 4020 struct ffs_ep *ep = func->eps; local [all...] |
/linux-master/drivers/usb/dwc3/ |
H A D | ep0.c | 190 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request, argument 194 struct dwc3_ep *dep = to_dwc3_ep(ep); 254 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value) argument 256 struct dwc3_ep *dep = to_dwc3_ep(ep); 264 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value) argument 266 struct dwc3_ep *dep = to_dwc3_ep(ep); 272 ret = __dwc3_gadget_ep0_set_halt(ep, value); 329 static void dwc3_ep0_status_cmpl(struct usb_ep *ep, struct usb_request *req) argument 692 static void dwc3_ep0_set_sel_cmpl(struct usb_ep *ep, struct usb_request *req) argument 694 struct dwc3_ep *dep = to_dwc3_ep(ep); [all...] |
H A D | gadget.c | 413 * isochronous ep with future frame interval. If 1041 /* Clear out the ep descriptors for non-ep0 */ 1052 static int dwc3_gadget_ep0_enable(struct usb_ep *ep, argument 1058 static int dwc3_gadget_ep0_disable(struct usb_ep *ep) argument 1065 static int dwc3_gadget_ep_enable(struct usb_ep *ep, argument 1073 if (!ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) { 1083 dep = to_dwc3_ep(ep); 1098 static int dwc3_gadget_ep_disable(struct usb_ep *ep) argument 1105 if (!ep) { 1110 dep = to_dwc3_ep(ep); 1125 dwc3_gadget_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 1145 dwc3_gadget_ep_free_request(struct usb_ep *ep, struct usb_request *request) argument 1280 struct usb_ep *ep = &dep->endpoint; local 1985 dwc3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, gfp_t gfp_flags) argument 2064 dwc3_gadget_ep_dequeue(struct usb_ep *ep, struct usb_request *request) argument 2219 dwc3_gadget_ep_set_halt(struct usb_ep *ep, int value) argument 2235 dwc3_gadget_ep_set_wedge(struct usb_ep *ep) argument 3082 struct usb_ep *ep; local [all...] |
/linux-master/drivers/usb/class/ |
H A D | cdc-wdm.c | 1017 static int wdm_create(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, argument 1040 if (!usb_endpoint_is_int_in(ep)) { 1045 desc->wMaxPacketSize = usb_endpoint_maxp(ep); 1081 usb_rcvintpipe(interface_to_usbdev(intf), ep->bEndpointAddress), 1086 ep->bInterval 1146 struct usb_endpoint_descriptor *ep; local 1163 ep = &iface->endpoint[0].desc; 1165 rv = wdm_create(intf, ep, maxcom, WWAN_PORT_UNKNOWN, &wdm_manage_power); 1174 * @ep: interrupt endpoint to monitor for notifications 1193 struct usb_endpoint_descriptor *ep, 1192 usb_cdc_wdm_register(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, int bufsize, enum wwan_port_type type, int (*manage_power)(struct usb_interface *, int)) argument [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | vmk80xx.c | 183 struct usb_endpoint_descriptor *ep; local 191 ep = devpriv->ep_rx; 192 pipe = usb_rcvintpipe(usb, ep->bEndpointAddress); 194 usb_endpoint_maxp(ep), NULL, 202 struct usb_endpoint_descriptor *ep; local 212 ep = devpriv->ep_tx; 213 pipe = usb_sndintpipe(usb, ep->bEndpointAddress); 215 usb_endpoint_maxp(ep), NULL,
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 6310 struct dma_extended_desc *ep = (struct dma_extended_desc *)head; local 6316 desc_size = extend_desc ? sizeof(*ep) : sizeof(*p); 6324 p = &(++ep)->basic;
|
/linux-master/drivers/cxl/ |
H A D | cxl.h | 593 * @dead: last ep has been removed, force port re-creation 683 * @ep: device that hosts a generic CXL endpoint (expander or accelerator) 689 struct device *ep; member in struct:cxl_ep
|
/linux-master/sound/usb/line6/ |
H A D | driver.c | 499 struct usb_host_endpoint *ep = NULL; local 509 ep = usbdev->ep_in[usb_pipeendpoint(pipe)]; 513 if (ep) { 514 line6->interval = ep->desc.bInterval; 515 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize);
|
/linux-master/scripts/kconfig/ |
H A D | menu.c | 290 struct expr *parentdep, *basedep, *dep, *dep2, **ep; local 519 for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) 521 *ep = expr_alloc_one(E_LIST, NULL); 522 (*ep)->right.sym = menu->sym;
|
/linux-master/drivers/usb/dwc2/ |
H A D | hcd.c | 1963 struct usb_host_endpoint *ep, int retry) 1972 qh = ep->hcpriv; 1989 qh = ep->hcpriv; 2002 ep->hcpriv = NULL; 2014 ep->hcpriv = NULL; 2022 struct usb_host_endpoint *ep) 2024 struct dwc2_qh *qh = ep->hcpriv; 4145 "%s: urb %p device %d ep %d-%s status %d actual %d\n", 4179 struct usb_host_endpoint *ep = urb->ep; local 1962 dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg, struct usb_host_endpoint *ep, int retry) argument 2021 dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg, struct usb_host_endpoint *ep) argument 4620 struct usb_host_endpoint *ep = urb->ep; local 4850 _dwc2_hcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 4866 _dwc2_hcd_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 4919 _dwc2_hcd_clear_tt_buffer_complete(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument [all...] |
H A D | gadget.c | 41 static inline struct dwc2_hsotg_ep *our_ep(struct usb_ep *ep) argument 43 return container_of(ep, struct dwc2_hsotg_ep, ep); 193 * @ep: The endpoint index 201 unsigned int ep, unsigned int dir_in, 205 u32 bit = 1 << ep; 310 unsigned int ep; local 343 for (ep = 1; ep < MAX_EPS_CHANNELS; ep 200 dwc2_hsotg_ctrl_epint(struct dwc2_hsotg *hsotg, unsigned int ep, unsigned int dir_in, unsigned int en) argument 395 dwc2_hsotg_ep_alloc_request(struct usb_ep *ep, gfp_t flags) argument 1402 dwc2_hsotg_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 1526 dwc2_hsotg_ep_queue_lock(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 1541 dwc2_hsotg_ep_free_request(struct usb_ep *ep, struct usb_request *req) argument 1557 dwc2_hsotg_complete_oursetup(struct usb_ep *ep, struct usb_request *req) argument 1627 dwc2_hsotg_send_reply(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *ep, void *buff, int length) argument 1674 struct dwc2_hsotg_ep *ep; local 1780 struct dwc2_hsotg_ep *ep; local 2012 dwc2_hsotg_complete_setup(struct usb_ep *ep, struct usb_request *req) argument 2581 dwc2_hsotg_set_ep_maxpacket(struct dwc2_hsotg *hsotg, unsigned int ep, unsigned int mps, unsigned int mc, unsigned int dir_in) argument 2888 dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep) argument 3286 kill_all_requests(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *ep, int result) argument 3317 unsigned int ep; local 3348 struct dwc2_hsotg_ep *ep; local 3391 int ep; local 3773 int ep; local 4014 dwc2_hsotg_ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 4244 dwc2_hsotg_ep_disable(struct usb_ep *ep) argument 4292 dwc2_hsotg_ep_disable_lock(struct usb_ep *ep) argument 4310 on_list(struct dwc2_hsotg_ep *ep, struct dwc2_hsotg_req *test) argument 4327 dwc2_hsotg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) argument 4358 dwc2_gadget_ep_set_wedge(struct usb_ep *ep) argument 4384 dwc2_hsotg_ep_sethalt(struct usb_ep *ep, int value, bool now) argument 4463 dwc2_hsotg_ep_sethalt_lock(struct usb_ep *ep, int value) argument 4599 int ep; local 5097 int ep; local [all...] |
H A D | core.h | 75 * @ep: The gadget layer representation of the endpoint. 92 * @periodic: Set if this is a periodic ep, such as Interrupt 93 * @isochronous: Set if this is a isochronous ep 95 * @wedged: Set if ep is wedged. 123 struct usb_ep ep; member in struct:dwc2_hsotg_ep
|
/linux-master/drivers/usb/core/ |
H A D | hub.c | 814 /* Need to clear both directions for control ep */ 863 (drv->clear_tt_buffer_complete)(clear->hcd, clear->ep); 948 clear->ep = urb->ep; 1961 /* Tell the HCD about the interrupt ep's new bInterval */
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 3501 uint8_t *ep = &sts->expected_dif[0]; local 3513 cmd->e_guard = get_unaligned_be16(ep + 0); 3514 cmd->e_app_tag = get_unaligned_be16(ep + 2); 3515 cmd->e_ref_tag = get_unaligned_be32(ep + 4);
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 940 struct nvme_fc_ersp_iu *ep; local 1009 ep = (struct nvme_fc_ersp_iu *)nCmd->rspaddr; 1027 ep->iu_len = cpu_to_be16(8); 1028 ep->rsn = wcqe->parameter; 1029 ep->xfrd_len = cpu_to_be32(nCmd->payload_length); 1030 ep->rsvd12 = 0; 1031 ptr = (uint32_t *)&ep->cqe.result.u64; 1035 ep->cqe.sq_head = sqhd; 1036 ep->cqe.sq_id = nCmd->sqid; 1037 ep [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 5276 rule->ep.user_def.layer == HCLGE_FD_USER_DEF_NONE) 5280 cfg = &hdev->fd_cfg.user_def_cfg[rule->ep.user_def.layer - 1]; 5281 info = &rule->ep.user_def; 5291 old_info = &fd_rule->ep.user_def; 5309 rule->ep.user_def.layer == HCLGE_FD_USER_DEF_NONE) 5312 cfg = &hdev->fd_cfg.user_def_cfg[rule->ep.user_def.layer - 1]; 5314 cfg->offset = rule->ep.user_def.offset; 5326 rule->ep.user_def.layer == HCLGE_FD_USER_DEF_NONE) 5329 cfg = &hdev->fd_cfg.user_def_cfg[rule->ep.user_def.layer - 1]; 6309 rule->ep [all...] |
/linux-master/sound/soc/ |
H A D | soc-core.c | 3465 int snd_soc_get_dai_id(struct device_node *ep) argument 3469 .of_node = of_graph_get_port_parent(ep), 3484 ret = snd_soc_component_of_xlate_dai_id(component, ep);
|
/linux-master/include/linux/usb/ |
H A D | gadget.h | 117 void (*complete)(struct usb_ep *ep, 138 int (*enable) (struct usb_ep *ep, 140 int (*disable) (struct usb_ep *ep); 141 void (*dispose) (struct usb_ep *ep); 143 struct usb_request *(*alloc_request) (struct usb_ep *ep, 145 void (*free_request) (struct usb_ep *ep, struct usb_request *req); 147 int (*queue) (struct usb_ep *ep, struct usb_request *req, 149 int (*dequeue) (struct usb_ep *ep, struct usb_request *req); 151 int (*set_halt) (struct usb_ep *ep, int value); 152 int (*set_wedge) (struct usb_ep *ep); 262 usb_ep_set_maxpacket_limit(struct usb_ep *ep, unsigned maxpacket_limit) argument 265 usb_ep_enable(struct usb_ep *ep) argument 267 usb_ep_disable(struct usb_ep *ep) argument 269 usb_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 272 usb_ep_free_request(struct usb_ep *ep, struct usb_request *req) argument 275 usb_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 278 usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) argument 280 usb_ep_set_halt(struct usb_ep *ep) argument 282 usb_ep_clear_halt(struct usb_ep *ep) argument 284 usb_ep_set_wedge(struct usb_ep *ep) argument 286 usb_ep_fifo_status(struct usb_ep *ep) argument 288 usb_ep_fifo_flush(struct usb_ep *ep) argument 502 usb_ep_align(struct usb_ep *ep, size_t len) argument 520 usb_ep_align_maybe(struct usb_gadget *g, struct usb_ep *ep, size_t len) argument [all...] |
/linux-master/fs/exfat/ |
H A D | namei.c | 594 struct exfat_dentry *ep, *ep2; local 631 ep = exfat_get_dentry_cached(&es, ES_IDX_FILE); 634 info->type = exfat_get_entry_type(ep); 635 info->attr = le16_to_cpu(ep->dentry.file.attr); 649 ep->dentry.file.create_tz, 650 ep->dentry.file.create_time, 651 ep->dentry.file.create_date, 652 ep->dentry.file.create_time_cs); 654 ep->dentry.file.modify_tz, 655 ep 867 struct exfat_dentry *ep; local 1110 struct exfat_dentry *ep; local [all...] |