/linux-master/lib/ |
H A D | lwq.c | 51 struct llist_node *r, *t, **ep; local 61 ep = &r; 62 while (*ep) 63 ep = &(*ep)->next; 64 *ep = llist_reverse_order(t);
|
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 30 struct usb_ep ep; member in struct:usbhsg_uep 93 #define usbhsg_ep_to_uep(e) container_of(e, struct usbhsg_uep, ep) 132 usb_gadget_giveback_request(&uep->ep, &ureq->req); 301 static void __usbhsg_recip_send_complete(struct usb_ep *ep, argument 308 usb_ep_free_request(ep, req); 321 req = usb_ep_alloc_request(&dcp->ep, GFP_ATOMIC); 330 usb_ep_free_request(&dcp->ep, req); 579 static int usbhsg_ep_enable(struct usb_ep *ep, argument 582 struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); 636 static int usbhsg_ep_disable(struct usb_ep *ep) argument 659 usbhsg_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument 673 usbhsg_ep_free_request(struct usb_ep *ep, struct usb_request *req) argument 682 usbhsg_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument 701 usbhsg_ep_dequeue(struct usb_ep *ep, struct usb_request *req) argument 723 __usbhsg_ep_set_halt_wedge(struct usb_ep *ep, int halt, int wedge) argument 768 usbhsg_ep_set_halt(struct usb_ep *ep, int value) argument 773 usbhsg_ep_set_wedge(struct usb_ep *ep) argument [all...] |
/linux-master/drivers/usb/core/ |
H A D | config.c | 52 int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, 65 "for config %d interface %d altsetting %d ep %d.\n", 66 cfgno, inum, asnum, ep->desc.bEndpointAddress); 69 memcpy(&ep->ssp_isoc_ep_comp, desc, USB_DT_SSP_ISOC_EP_COMP_SIZE); 73 int inum, int asnum, struct usb_host_endpoint *ep, 87 " interface %d altsetting %d ep %d: " 89 cfgno, inum, asnum, ep->desc.bEndpointAddress); 98 ep->ss_ep_comp.bLength = USB_DT_SS_EP_COMP_SIZE; 99 ep->ss_ep_comp.bDescriptorType = USB_DT_SS_ENDPOINT_COMP; 100 if (usb_endpoint_xfer_isoc(&ep 51 usb_parse_ssp_isoc_endpoint_companion(struct device *ddev, int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, unsigned char *buffer, int size) argument 72 usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, int inum, int asnum, struct usb_host_endpoint *ep, unsigned char *buffer, int size) argument [all...] |
/linux-master/drivers/usb/host/ |
H A D | xhci-mtk-sch.c | 32 /* offset from SS for fs/ls isoc/intr ep (ss + idle) */ 75 decode_ep(struct usb_host_endpoint *ep, enum usb_device_speed speed) argument 78 struct usb_endpoint_descriptor *epd = &ep->desc; 90 snprintf(buf, DBG_BUF_EN, "%s ep%d%s %s, mpkt:%d, interval:%d/%d%s", 119 * get the bandwidth domain which @ep belongs to. 128 struct usb_host_endpoint *ep) 141 if (usb_endpoint_dir_out(&ep->desc)) 248 struct usb_host_endpoint *ep, struct xhci_ep_ctx *ep_ctx) 255 bw_info = get_bw_info(mtk, udev, ep); 262 usb_endpoint_xfer_isoc(&ep 127 get_bw_info(struct xhci_hcd_mtk *mtk, struct usb_device *udev, struct usb_host_endpoint *ep) argument 247 create_sch_ep(struct xhci_hcd_mtk *mtk, struct usb_device *udev, struct usb_host_endpoint *ep, struct xhci_ep_ctx *ep_ctx) argument 860 need_bw_sch(struct usb_device *udev, struct usb_host_endpoint *ep) argument 911 add_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) argument 951 drop_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) argument 985 struct usb_host_endpoint *ep = sch_ep->ep; local 1028 xhci_mtk_add_ep(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) argument 1043 xhci_mtk_drop_ep(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) argument [all...] |
/linux-master/drivers/usb/gadget/ |
H A D | u_f.h | 67 * @ep: the endpoint to allocate a usb_request 70 * In case @ep direction is OUT, the @len will be aligned to ep's 75 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t len); 78 static inline void free_ep_req(struct usb_ep *ep, struct usb_request *req) argument 83 usb_ep_free_request(ep, req);
|
/linux-master/drivers/usb/gadget/legacy/ |
H A D | dbgp.c | 81 static void __disable_ep(struct usb_ep *ep) argument 83 usb_ep_disable(ep); 92 static void dbgp_complete(struct usb_ep *ep, struct usb_request *req) argument 98 if (ep == dbgp.i_ep) { 111 err = usb_ep_queue(ep, req, GFP_ATOMIC); 128 static int dbgp_enable_ep_req(struct usb_ep *ep) argument 133 req = usb_ep_alloc_request(ep, GFP_KERNEL); 149 err = usb_ep_queue(ep, req, GFP_ATOMIC); 163 "enable ep req: failure (%d:%d)\n", stp, err); 167 static int __enable_ep(struct usb_ep *ep, struc argument 330 dbgp_setup_complete(struct usb_ep *ep, struct usb_request *req) argument [all...] |
/linux-master/drivers/usb/usbip/ |
H A D | vudc_rx.c | 102 /* base.ep is pipeendpoint(pipe) */ 103 address = pdu->base.ep; 108 urb_p->ep = vudc_find_endpoint(udc, address); 109 if (!urb_p->ep) { 117 urb_p->type = urb_p->ep->type; 123 if (urb_p->ep->type == USB_ENDPOINT_XFER_ISOC) { 127 maxp = usb_endpoint_maxp(urb_p->ep->desc); 128 maxp *= usb_endpoint_maxp_mult(urb_p->ep->desc); 142 ret = alloc_urb_from_cmd(&urb_p->urb, pdu, urb_p->ep->type); 155 switch (urb_p->ep [all...] |
/linux-master/drivers/media/usb/usbtv/ |
H A D | usbtv-core.c | 74 struct usb_host_endpoint *ep; local 82 ep = &intf->altsetting[1].endpoint[0]; 86 size = usb_endpoint_maxp(&ep->desc); 87 size = size * usb_endpoint_maxp_mult(&ep->desc);
|
/linux-master/drivers/usb/gadget/function/ |
H A D | f_loopback.c | 233 static void loopback_complete(struct usb_ep *ep, struct usb_request *req) argument 235 struct f_loopback *loop = ep->driver_data; 241 if (ep == loop->out_ep) { 244 * queue it so host can read the from our in ep 250 ep = loop->in_ep; 258 ep = loop->out_ep; 262 status = usb_ep_queue(ep, req, GFP_ATOMIC); 267 ep->name, status); 273 ERROR(cdev, "%s loop complete --> %d, %d/%d\n", ep->name, 282 case -ECONNABORTED: /* hardware forced ep rese 303 lb_alloc_ep_req(struct usb_ep *ep, int len) argument 358 enable_endpoint(struct usb_composite_dev *cdev, struct f_loopback *loop, struct usb_ep *ep) argument [all...] |
H A D | uvc_video.c | 238 uvc_video_free_request(struct uvc_request *ureq, struct usb_ep *ep) argument 241 if (ureq->req && ep) { 242 usb_ep_free_request(ep, ureq->req); 259 ret = usb_ep_queue(video->ep, req, GFP_ATOMIC); 265 if (video->ep->desc) { 267 if (usb_endpoint_xfer_bulk(video->ep->desc)) 268 usb_ep_set_halt(video->ep); 317 * If we're not queuing to the ep, for isoc we're queuing 370 uvc_video_complete(struct usb_ep *ep, struct usb_request *req) argument 389 uvc_video_free_request(ureq, 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/scsi/qedi/ |
H A D | qedi_gbl.h | 27 int qedi_alloc_sq(struct qedi_ctx *qedi, struct qedi_endpoint *ep); 28 void qedi_free_sq(struct qedi_ctx *qedi, struct qedi_endpoint *ep); 50 void qedi_process_iscsi_error(struct qedi_endpoint *ep, 55 void qedi_process_tcp_error(struct qedi_endpoint *ep,
|
/linux-master/include/linux/usb/ |
H A D | ehci-dbgp.h | 43 #define DBGP_EPADDR(dev, ep) (((dev)<<8)|(ep))
|
/linux-master/net/sctp/ |
H A D | objcnt.c | 32 SCTP_DBG_OBJCNT(ep); variable 47 SCTP_DBG_OBJCNT_ENTRY(ep),
|
H A D | diag.c | 25 /* define some functions to make asoc/ep fill look clean */ 118 /* sctp asoc/ep fill*/ 127 struct sctp_endpoint *ep = sctp_sk(sk)->ep; local 160 if (asoc && asoc->ep->sndbuf_policy) 165 if (asoc && asoc->ep->rcvbuf_policy) 198 : &ep->base.bind_addr.address_list; 245 static int sctp_sock_dump_one(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) argument 249 struct sock *sk = ep->base.sk; 264 if (ep ! 286 sctp_sock_dump(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) argument 341 sctp_sock_filter(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) argument 357 sctp_ep_dump(struct sctp_endpoint *ep, void *p) argument [all...] |
/linux-master/drivers/usb/isp1760/ |
H A D | isp1760-udc.h | 36 struct usb_ep ep; member in struct:isp1760_ep 58 * lock: Protects driver, vbus_timer, ep, ep0_*, DC_EPINDEX register 59 * ep: Array of endpoints 80 struct isp1760_ep ep[15]; member in struct:isp1760_udc
|
/linux-master/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 228 int ep[2]; local 245 ep_path = malloc(strlen(argv[1]) + 4 /* "/ep#" */ + 1 /* '\0' */); 267 sprintf(ep_path, "%s/ep%d", argv[1], i+1); 268 ep[i] = open(ep_path, O_RDWR); 269 if (ep[i] < 0) { 270 printf("unable to open ep%d: %s\n", i+1, 332 if (e[i].obj->aio_fildes == ep[0]) { 335 } else if (e[i].obj->aio_fildes == ep[1]) { 344 io_prep_pwrite(iocb_in, ep[0], buf_in, BUF_LEN, 0); 358 io_prep_pread(iocb_out, ep[ [all...] |
/linux-master/drivers/pci/controller/dwc/ |
H A D | Makefile | 4 obj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o 14 obj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o 16 obj-$(CONFIG_PCIE_QCOM_EP) += pcie-qcom-ep.o 27 obj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o
|
H A D | pcie-uniphier-ep.c | 206 static void uniphier_pcie_ep_init(struct dw_pcie_ep *ep) argument 208 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 215 static int uniphier_pcie_ep_raise_intx_irq(struct dw_pcie_ep *ep) argument 217 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 240 static int uniphier_pcie_ep_raise_msi_irq(struct dw_pcie_ep *ep, argument 243 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 258 static int uniphier_pcie_ep_raise_irq(struct dw_pcie_ep *ep, u8 func_no, argument 261 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 265 return uniphier_pcie_ep_raise_intx_irq(ep); 267 return uniphier_pcie_ep_raise_msi_irq(ep, func_n 277 uniphier_pcie_get_features(struct dw_pcie_ep *ep) argument [all...] |
/linux-master/drivers/gpu/drm/renesas/rz-du/ |
H A D | rzg2l_du_kms.c | 130 struct of_endpoint *ep) 136 entity = of_graph_get_remote_port_parent(ep->local_node); 139 ep->local_node); 174 struct of_endpoint ep; local 178 ret = of_graph_parse_endpoint(ep_node, &ep); 186 if (rcdu->info->routes[i].port == ep.port) { 195 ep.port); 200 ret = rzg2l_du_encoders_init_one(rcdu, output, &ep); 128 rzg2l_du_encoders_init_one(struct rzg2l_du_device *rcdu, enum rzg2l_du_output output, struct of_endpoint *ep) argument
|
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | core.c | 29 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, argument 33 struct ast_vhub *vhub = ep->vhub; 35 EPVDBG(ep, "completing request @%p, status %d\n", req, status); 43 if (!WARN_ON(!ep->dev)) 45 &req->req, ep->epn.is_in); 54 spin_unlock(&ep->vhub->lock); 55 usb_gadget_giveback_request(&ep->ep, &req->req); 56 spin_lock(&ep->vhub->lock); 60 void ast_vhub_nuke(struct ast_vhub_ep *ep, in argument [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.h | 36 struct usb_ep ep; member in struct:pxa25x_ep 118 struct pxa25x_ep ep [PXA_UDC_NUM_ENDPOINTS]; member in struct:pxa25x_udc 220 if (dev->ep[i].ep.desc == NULL) 222 DMSG ("udccs%d = %02x\n", i, udc_ep_get_UDCCS(&dev->ep[i]));
|
/linux-master/drivers/base/ |
H A D | property.c | 1058 struct fwnode_handle *ep, *port_parent = NULL; local 1075 ep = fwnode_call_ptr_op(parent, graph_get_next_endpoint, prev); 1076 if (ep) 1079 ep = fwnode_graph_get_next_endpoint(parent->secondary, NULL); 1083 return ep; 1165 static bool fwnode_graph_remote_available(struct fwnode_handle *ep) argument 1170 dev_node = fwnode_graph_get_remote_port_parent(ep); 1201 struct fwnode_handle *ep, *best_ep = NULL; local 1206 fwnode_graph_for_each_endpoint(fwnode, ep) { 1210 if (enabled_only && !fwnode_graph_remote_available(ep)) 1256 struct fwnode_handle *ep; local 1300 struct fwnode_handle *ep; local [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_onfi.c | 39 struct onfi_ext_param_page *ep; local 48 ep = kmalloc(len, GFP_KERNEL); 49 if (!ep) 58 ep, len, true); 63 if ((onfi_crc16(ONFI_CRC_BASE, ((uint8_t *)ep) + 2, len - 2) 64 != le16_to_cpu(ep->crc))) { 73 if (strncmp(ep->sig, "EPPS", 4)) { 79 cursor = (uint8_t *)(ep + 1); 81 s = ep->sections + i; 106 kfree(ep); [all...] |
/linux-master/drivers/gpu/drm/mxsfb/ |
H A D | lcdif_drv.c | 50 struct device_node *ep; local 54 for_each_endpoint_of_node(dev->of_node, ep) { 59 remote = of_graph_get_remote_port_parent(ep); 66 ret = of_graph_parse_endpoint(ep, &of_ep); 68 dev_err(dev, "Failed to parse endpoint %pOF\n", ep); 69 of_node_put(ep); 75 of_node_put(ep); 85 of_node_put(ep); 95 of_node_put(ep); 101 of_node_put(ep); [all...] |