/drivers/usb/gadget/udc/ |
H A D | udc-xilinx.c | 111 #define to_xusb_ep(ep) container_of((ep), struct xusb_ep, ep_usb) 118 * @ep: pointer to xusb_endpoint structure 123 struct xusb_ep *ep; member in struct:xusb_req 167 * @ep: an array of endpoint structures 184 struct xusb_ep ep[8]; member in struct:xusb_udc 265 struct xusb_ep *ep0 = &udc->ep[XUSB_EP_NUMBER_ZERO]; 277 * @ep: pointer to the usb device endpoint structure. 283 static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc) argument 291 epcfgreg = ((ep 320 xudc_start_dma(struct xusb_ep *ep, dma_addr_t src, dma_addr_t dst, u32 length) argument 380 xudc_dma_send(struct xusb_ep *ep, struct xusb_req *req, u8 *buffer, u32 length) argument 434 xudc_dma_receive(struct xusb_ep *ep, struct xusb_req *req, u8 *buffer, u32 length) argument 483 xudc_eptxrx(struct xusb_ep *ep, struct xusb_req *req, u8 *bufferptr, u32 bufferlen) argument 551 xudc_done(struct xusb_ep *ep, struct xusb_req *req, int status) argument 586 xudc_read_fifo(struct xusb_ep *ep, struct xusb_req *req) argument 676 xudc_write_fifo(struct xusb_ep *ep, struct xusb_req *req) argument 734 xudc_nuke(struct xusb_ep *ep, int status) argument 753 struct xusb_ep *ep = to_xusb_ep(_ep); local 805 __xudc_ep_enable(struct xusb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 896 struct xusb_ep *ep; local 929 struct xusb_ep *ep; local 970 struct xusb_ep *ep = to_xusb_ep(_ep); local 1084 struct xusb_ep *ep = to_xusb_ep(_ep); local 1144 struct xusb_ep *ep = to_xusb_ep(_ep); local 1174 xudc_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument 1188 xudc_ep0_disable(struct usb_ep *ep) argument 1310 struct xusb_ep *ep = &udc->ep[ep_number]; local 1351 struct xusb_ep *ep; local 1442 struct xusb_ep *ep; local 1951 struct xusb_ep *ep; local [all...] |
H A D | at91_udc.c | 89 static void proc_ep_show(struct seq_file *s, struct at91_ep *ep) argument 98 struct at91_udc *udc = ep->udc; 102 csr = __raw_readl(ep->creg); 108 ep->ep.name, ep->ep.maxpacket, 109 ep->is_in ? "in" : "out", 110 ep->is_iso ? " iso" : "", 111 ep 169 struct at91_ep *ep; local 255 done(struct at91_ep *ep, struct at91_request *req, int status) argument 306 read_fifo(struct at91_ep *ep, struct at91_request *req) argument 381 write_fifo(struct at91_ep *ep, struct at91_request *req) argument 449 nuke(struct at91_ep *ep, int status) argument 470 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); local 547 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); local 604 struct at91_ep *ep; local 702 struct at91_ep *ep; local 732 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); local 829 struct at91_ep *ep = &udc->ep[i]; local 854 struct at91_ep *ep = &udc->ep[i]; local 1007 handle_ep(struct at91_ep *ep) argument 1049 handle_setup(struct at91_udc *udc, struct at91_ep *ep, u32 csr) argument 1492 struct at91_ep *ep = &udc->ep[1]; local [all...] |
H A D | gr_udc.c | 95 static void gr_dbgprint_request(const char *str, struct gr_ep *ep, argument 98 int buflen = ep->is_in ? req->req.length : req->req.actual; 102 dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen, 116 static void gr_dbgprint_request(const char *str, struct gr_ep *ep, argument 129 static void gr_seq_ep_show(struct seq_file *seq, struct gr_ep *ep) argument 131 u32 epctrl = gr_read32(&ep->regs->epctrl); 132 u32 epstat = gr_read32(&ep->regs->epstat); 136 seq_printf(seq, "%s:\n", ep->ep.name); 141 seq_printf(seq, " dma_start = %d\n", ep 192 struct gr_ep *ep; local 251 gr_alloc_dma_desc(struct gr_ep *ep, gfp_t gfp_flags) argument 385 gr_start_dma(struct gr_ep *ep) argument 427 gr_dma_advance(struct gr_ep *ep, int status) argument 442 gr_abort_dma(struct gr_ep *ep) argument 457 gr_add_dma_desc(struct gr_ep *ep, struct gr_request *req, dma_addr_t data, unsigned size, gfp_t gfp_flags) argument 496 gr_setup_out_desc_list(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 549 gr_setup_in_desc_list(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 597 gr_queue(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 655 gr_queue_int(struct gr_ep *ep, struct gr_request *req, gfp_t gfp_flags) argument 672 gr_ep_nuke(struct gr_ep *ep) argument 691 gr_ep_reset(struct gr_ep *ep) argument 724 gr_ep_halt_wedge(struct gr_ep *ep, int halt, int wedge, int fromhost) argument 797 struct gr_ep *ep; local 814 struct gr_ep *ep; local 840 gr_ep0_respond(struct gr_udc *dev, u8 *buf, int length, void (*complete)(struct usb_ep *ep, struct usb_request *req)) argument 1002 struct gr_ep *ep; local 1257 gr_handle_in_ep(struct gr_ep *ep) argument 1282 gr_handle_out_ep(struct gr_ep *ep) argument 1419 struct gr_ep *ep; local 1490 struct gr_ep *ep; local 1622 struct gr_ep *ep; local 1675 struct gr_ep *ep; local 1714 struct gr_ep *ep; local 1766 struct gr_ep *ep; local 1806 struct gr_ep *ep; local 1828 struct gr_ep *ep; local 1986 struct gr_ep *ep; local 2092 struct gr_ep *ep; local [all...] |
H A D | net2280.h | 94 struct usb_ep ep; member in struct:net2280_ep 119 static inline void allow_status(struct net2280_ep *ep) argument 125 &ep->regs->ep_rsp); 126 ep->stopped = 1; 129 static void allow_status_338x(struct net2280_ep *ep) argument 136 writel(BIT(CLEAR_CONTROL_STATUS_PHASE_HANDSHAKE), &ep->regs->ep_rsp); 138 ep->stopped = 1; 141 ep->responded = 0; 157 struct net2280_ep ep[9]; member in struct:net2280 196 static inline void set_halt(struct net2280_ep *ep) argument 206 clear_halt(struct net2280_ep *ep) argument 340 set_fifo_bytecount(struct net2280_ep *ep, unsigned count) argument 351 start_out_naking(struct net2280_ep *ep) argument 360 assert_out_naking(struct net2280_ep *ep, const char *where) argument 376 stop_out_naking(struct net2280_ep *ep) argument 386 set_max_speed(struct net2280_ep *ep, u32 max) argument [all...] |
H A D | lpc32xx_udc.c | 97 #define EP_MASK_SEL(ep, dir) (1 << (((ep) * 2) + dir)) 127 struct usb_ep ep; member in struct:lpc32xx_ep 190 struct lpc32xx_ep ep[NUM_ENDPOINTS]; member in struct:lpc32xx_udc 512 static void proc_ep_show(struct seq_file *s, struct lpc32xx_ep *ep) argument 518 ep->ep.name, ep->ep.maxpacket, 519 ep 539 struct lpc32xx_ep *ep; local 1038 udc_ep_in_req_dma(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) argument 1064 udc_ep_out_req_dma(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) argument 1118 struct lpc32xx_ep *ep = &udc->ep[0]; local 1403 struct lpc32xx_ep *ep = &udc->ep[i]; local 1447 struct lpc32xx_ep *ep = &udc->ep[i]; local 1460 done(struct lpc32xx_ep *ep, struct lpc32xx_request *req, int status) argument 1487 nuke(struct lpc32xx_ep *ep, int status) argument 1596 struct lpc32xx_ep *ep = &udc->ep[i]; local 1629 struct lpc32xx_ep *ep = container_of(_ep, struct lpc32xx_ep, ep); local 1667 struct lpc32xx_ep *ep = container_of(_ep, struct lpc32xx_ep, ep); local 1800 struct lpc32xx_ep *ep; local 1904 struct lpc32xx_ep *ep; local 1934 struct lpc32xx_ep *ep = container_of(_ep, struct lpc32xx_ep, ep); local 1966 struct lpc32xx_ep *ep = container_of(_ep, struct lpc32xx_ep, ep); local 1988 udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) argument 2002 udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) argument 2050 udc_handle_dma_ep(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) argument 2208 struct lpc32xx_ep *ep; local 2255 struct lpc32xx_ep *ep, *ep0 = &udc->ep[0]; local [all...] |
H A D | pxa27x_udc.h | 178 #define ofs_UDCCR(ep) (UDCCRn(ep->idx)) 179 #define ofs_UDCCSR(ep) (UDCCSRn(ep->idx)) 180 #define ofs_UDCBCR(ep) (UDCBCRn(ep->idx)) 181 #define ofs_UDCDR(ep) (UDCDRn(ep->idx)) 184 #define udc_ep_readl(ep, reg) \ 185 __raw_readl((ep) [all...] |
H A D | fotg210.h | 152 #define FOTG210_INEPMPSR(ep) (0x160 + 4 * ((ep) - 1)) 158 #define FOTG210_OUTEPMPSR(ep) (0x180 + 4 * ((ep) - 1)) 162 #define EPMAP_FIFONO(ep, dir) \ 163 ((((ep) - 1) << ((ep) - 1) * 8) << ((dir) ? 0 : 4)) 164 #define EPMAP_FIFONOMSK(ep, dir) \ 165 ((3 << ((ep) - 1) * 8) << ((dir) ? 0 : 4)) 173 #define FIFOMAP_EPNO(ep) ((e 220 struct usb_ep ep; member in struct:fotg210_ep 244 struct fotg210_ep *ep[FOTG210_MAX_NUM_EP]; member in struct:fotg210_udc [all...] |
H A D | s3c2410_udc.c | 262 static void s3c2410_udc_done(struct s3c2410_ep *ep, argument 265 unsigned halted = ep->halted; 274 ep->halted = 1; 275 usb_gadget_giveback_request(&ep->ep, &req->req); 276 ep->halted = halted; 280 struct s3c2410_ep *ep, int status) 283 if (&ep->queue == NULL) 286 while (!list_empty(&ep->queue)) { 288 req = list_entry(ep 279 s3c2410_udc_nuke(struct s3c2410_udc *udc, struct s3c2410_ep *ep, int status) argument 342 s3c2410_udc_write_fifo(struct s3c2410_ep *ep, struct s3c2410_request *req) argument 442 s3c2410_udc_read_fifo(struct s3c2410_ep *ep, struct s3c2410_request *req) argument 621 s3c2410_udc_handle_ep0_idle(struct s3c2410_udc *dev, struct s3c2410_ep *ep, struct usb_ctrlrequest *crq, u32 ep0csr) argument 764 struct s3c2410_ep *ep = &dev->ep[0]; local 832 s3c2410_udc_handle_ep(struct s3c2410_ep *ep) argument 1033 to_s3c2410_ep(struct usb_ep *ep) argument 1055 struct s3c2410_ep *ep; local 1133 struct s3c2410_ep *ep = to_s3c2410_ep(_ep); local 1190 struct s3c2410_ep *ep = to_s3c2410_ep(_ep); local 1209 struct s3c2410_ep *ep = to_s3c2410_ep(_ep); local 1314 struct s3c2410_ep *ep = to_s3c2410_ep(_ep); local 1358 struct s3c2410_ep *ep = to_s3c2410_ep(_ep); local 1624 struct s3c2410_ep *ep = &dev->ep[i]; local [all...] |
H A D | mv_udc_core.c | 44 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ 45 ((ep)->udc->ep0_dir) : ((ep)->direction)) 63 static void nuke(struct mv_ep *ep, int status); 77 struct mv_ep *ep; local 83 ep = &udc->eps[i]; 84 ep->udc = udc; 87 ep->dqh = &udc->ep_dqh[i]; 90 ep 258 queue_dtd(struct mv_ep *ep, struct mv_req *req) argument 448 struct mv_ep *ep; local 568 struct mv_ep *ep; local 637 struct mv_ep *ep; local 697 struct mv_ep *ep = container_of(_ep, struct mv_ep, ep); local 762 mv_prime_ep(struct mv_ep *ep, struct mv_req *req) argument 786 struct mv_ep *ep = container_of(_ep, struct mv_ep, ep); local 903 struct mv_ep *ep; local 1247 struct mv_ep *ep; local 1295 nuke(struct mv_ep *ep, int status) argument 1313 struct mv_ep *ep; local 1409 prime_status_complete(struct usb_ep *ep, struct usb_request *_req) argument 1433 struct mv_ep *ep; local 1551 struct mv_ep *ep; local [all...] |
H A D | mv_u3d_core.c | 40 static void mv_u3d_nuke(struct mv_u3d_ep *ep, int status); 55 struct mv_u3d_ep *ep; local 60 ep = &u3d->eps[i]; 61 ep->u3d = u3d; 63 /* ep0 ep context, ep0 in and out share the same ep context */ 64 ep->ep_context = &u3d->ep_context[1]; 67 /* reset ep state machine */ 166 "complete_tr error: ep=%d %s: error = 0x%x\n", 187 void mv_u3d_done(struct mv_u3d_ep *ep, struc 231 mv_u3d_queue_trb(struct mv_u3d_ep *ep, struct mv_u3d_req *req) argument 482 mv_u3d_start_queue(struct mv_u3d_ep *ep) argument 529 struct mv_u3d_ep *ep; local 635 struct mv_u3d_ep *ep; local 703 struct mv_u3d_ep *ep = container_of(_ep, struct mv_u3d_ep, ep); local 785 struct mv_u3d_ep *ep; local 859 struct mv_u3d_ep *ep; local 934 struct mv_u3d_ep *ep = u3d->eps; local 956 struct mv_u3d_ep *ep; local 1316 struct mv_u3d_ep *ep; local 1367 mv_u3d_nuke(struct mv_u3d_ep *ep, int status) argument 1383 struct mv_u3d_ep *ep; local [all...] |
H A D | fsl_udc_core.c | 161 static void done(struct fsl_ep *ep, struct fsl_req *req, int status) 162 __releases(ep->udc->lock) 163 __acquires(ep->udc->lock) 166 unsigned char stopped = ep->stopped; 170 udc = (struct fsl_udc *)ep->udc; 190 usb_gadget_unmap_request(&ep->udc->gadget, &req->req, ep_is_in(ep)); 194 ep->ep.name, &req->req, status, 197 ep 211 nuke(struct fsl_ep *ep, int status) argument 550 struct fsl_ep *ep = NULL; local 638 struct fsl_ep *ep = NULL; local 706 fsl_prime_ep(struct fsl_ep *ep, struct ep_td_struct *td) argument 727 fsl_queue_td(struct fsl_ep *ep, struct fsl_req *req) argument 874 struct fsl_ep *ep = container_of(_ep, struct fsl_ep, ep); local 928 struct fsl_ep *ep = container_of(_ep, struct fsl_ep, ep); local 1008 struct fsl_ep *ep = NULL; local 1053 struct fsl_ep *ep; local 1083 struct fsl_ep *ep; local 1271 struct fsl_ep *ep; local 1306 struct fsl_ep *ep = get_ep_by_pipe(udc, pipe); local 1334 struct fsl_ep *ep; local 1432 struct fsl_ep *ep; variable in typeref:struct:fsl_ep 2023 struct fsl_ep *ep = NULL; local 2305 struct fsl_ep *ep = &udc->eps[index]; local [all...] |
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fcc.c | 100 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); 101 if (!fep->fcc.ep) 120 iounmap(fep->fcc.ep); 191 fcc_enet_t __iomem *ep = fep->fcc.ep; local 193 W32(ep, fen_gaddrh, 0); 194 W32(ep, fen_gaddrl, 0); 200 fcc_enet_t __iomem *ep = fep->fcc.ep; local 207 W16(ep, fen_taddr 217 fcc_enet_t __iomem *ep = fep->fcc.ep; local 254 fcc_enet_t __iomem *ep = fep->fcc.ep; local 549 fcc_enet_t __iomem *ep = fep->fcc.ep; local [all...] |
H A D | mac-scc.c | 109 fep->scc.ep = of_iomap(ofdev->dev.of_node, 1); 110 if (!fep->scc.ep) { 182 scc_enet_t __iomem *ep = fep->scc.ep; local 184 W16(ep, sen_gaddr1, 0); 185 W16(ep, sen_gaddr2, 0); 186 W16(ep, sen_gaddr3, 0); 187 W16(ep, sen_gaddr4, 0); 193 scc_enet_t __iomem *ep = fep->scc.ep; local 210 scc_enet_t __iomem *ep = fep->scc.ep; local 248 scc_enet_t __iomem *ep = fep->scc.ep; local [all...] |
/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 25 * bnx2i_get_cid_num - get cid from ep 26 * @ep: endpoint pointer 30 static u32 bnx2i_get_cid_num(struct bnx2i_endpoint *ep) argument 34 if (test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) 35 cid = ep->ep_cid; 37 cid = GET_CID_NUM(ep->ep_cid); 131 * @ep: endpoint (transport identifier) structure 138 int bnx2i_arm_cq_event_coalescing(struct bnx2i_endpoint *ep, u8 action) argument 146 if (!test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) 153 cq_db = (struct bnx2i_5771x_cq_db *) ep 235 struct bnx2i_endpoint *ep = bnx2i_conn->ep; local 272 struct bnx2i_endpoint *ep = bnx2i_conn->ep; local 543 struct bnx2i_endpoint *ep = bnx2i_conn->ep; local 703 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) data; local 766 bnx2i_send_conn_destroy(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) argument 800 bnx2i_570x_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) argument 860 bnx2i_5771x_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) argument 929 bnx2i_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) argument 950 setup_qp_page_tables(struct bnx2i_endpoint *ep) argument 1058 bnx2i_alloc_qp_resc(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) argument 1200 bnx2i_free_qp_resc(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) argument 2415 struct bnx2i_endpoint *ep; local 2450 struct bnx2i_endpoint *ep; local 2596 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; local 2618 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; local 2634 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; local 2651 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; local 2668 struct bnx2i_endpoint *ep = (struct bnx2i_endpoint *) cm_sk->context; local 2729 bnx2i_map_ep_dbell_regs(struct bnx2i_endpoint *ep) argument [all...] |
/drivers/video/fbdev/omap2/dss/ |
H A D | dss-of.c | 71 struct device_node *ep = NULL; local 77 ep = of_get_next_child(parent, prev); 78 if (!ep) 80 prev = ep; 81 } while (of_node_cmp(ep->name, "endpoint") != 0); 83 return ep; 117 struct device_node *port, *ep; local 124 ep = omapdss_of_get_next_endpoint(port, NULL); 128 return ep; 135 struct device_node *ep; local [all...] |
/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 37 static void do_send_completion(struct htc_endpoint *ep, argument 47 if (ep->ep_cb.tx_comp_multi != NULL) { 49 "%s: calling ep %d, send complete multiple callback (%d pkts)\n", 50 __func__, ep->eid, 56 ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate); 70 "%s: calling ep %d send complete callback on packet 0x%p\n", 71 __func__, ep->eid, packet); 72 ep->ep_cb.tx_complete(ep 80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint]; local 91 get_htc_packet_credit_based(struct htc_target *target, struct htc_endpoint *ep, struct list_head *queue) argument 173 get_htc_packet(struct htc_target *target, struct htc_endpoint *ep, struct list_head *queue, int resources) argument 203 htc_issue_packets(struct htc_target *target, struct htc_endpoint *ep, struct list_head *pkt_queue) argument 301 htc_try_send(struct htc_target *target, struct htc_endpoint *ep, struct list_head *txq) argument 661 struct htc_endpoint *ep; local 692 htc_flush_tx_endpoint(struct htc_target *target, struct htc_endpoint *ep, u16 tag) argument 714 htc_lookup_tx_packet(struct htc_target *target, struct htc_endpoint *ep, struct sk_buff *skb) argument 747 struct htc_endpoint *ep; local 786 struct htc_endpoint *ep; local 919 do_recv_completion(struct htc_endpoint *ep, struct list_head *queue_to_indicate) argument 940 recv_packet_completion(struct htc_target *target, struct htc_endpoint *ep, struct htc_packet *packet) argument 960 struct htc_endpoint *ep; local 1105 htc_flush_rx_queue(struct htc_target *target, struct htc_endpoint *ep) argument 1184 struct htc_endpoint *ep; local 1239 struct htc_endpoint *ep; local 1419 struct htc_endpoint *ep = NULL; local 1526 struct htc_endpoint *ep; local 1623 struct htc_endpoint *ep = &target->endpoint[endpoint]; local 1638 struct htc_endpoint *ep; local 1676 ath6kl_htc_pipe_activity_changed(struct htc_target *target, enum htc_endpoint_id ep, bool active) argument [all...] |
/drivers/usb/host/ |
H A D | sl811-hcd.c | 135 struct sl811h_ep *ep, 153 writeb(SL_SETUP /* | ep->epnum */, data_reg); 159 ep->length = 0; 160 PACKET("SETUP qh%p\n", ep); 166 struct sl811h_ep *ep, 181 writeb((do_out ? SL_OUT : SL_IN) /* | ep->epnum */, data_reg); 189 ep->length = 0; 190 PACKET("STATUS%s/%s qh%p\n", ep->nak_count ? "/retry" : "", 191 do_out ? "out" : "in", ep); 200 struct sl811h_ep *ep, 133 setup_packet( struct sl811 *sl811, struct sl811h_ep *ep, struct urb *urb, u8 bank, u8 control ) argument 164 status_packet( struct sl811 *sl811, struct sl811h_ep *ep, struct urb *urb, u8 bank, u8 control ) argument 198 in_packet( struct sl811 *sl811, struct sl811h_ep *ep, struct urb *urb, u8 bank, u8 control ) argument 234 out_packet( struct sl811 *sl811, struct sl811h_ep *ep, struct urb *urb, u8 bank, u8 control ) argument 303 struct sl811h_ep *ep; local 474 done(struct sl811 *sl811, struct sl811h_ep *ep, u8 bank) argument 800 struct sl811h_ep *ep = NULL; local 962 struct sl811h_ep *ep; local 1030 struct sl811h_ep *ep = hep->hcpriv; local 1386 struct sl811h_ep *ep; local [all...] |
H A D | isp1362-hcd.c | 185 struct isp1362_ep *ep, u16 len) 196 if (ep->num_ptds) 199 BUG_ON(ep->num_ptds != 0); 210 ep->ptd_offset = ptd_offset; 211 ep->num_ptds += num_ptds; 214 ep->ptd_index = found; 217 __func__, epq->name, ep->ptd_index, ep->ptd_offset, 223 static inline void release_ptd_buffers(struct isp1362_ep_queue *epq, struct isp1362_ep *ep) argument 225 int last = ep 184 claim_ptd_buffers(struct isp1362_ep_queue *epq, struct isp1362_ep *ep, u16 len) argument 258 prepare_ptd(struct isp1362_hcd *isp1362_hcd, struct urb *urb, struct isp1362_ep *ep, struct isp1362_ep_queue *epq, u16 fno) argument 343 isp1362_write_ptd(struct isp1362_hcd *isp1362_hcd, struct isp1362_ep *ep, struct isp1362_ep_queue *epq) argument 359 isp1362_read_ptd(struct isp1362_hcd *isp1362_hcd, struct isp1362_ep *ep, struct isp1362_ep_queue *epq) argument 396 remove_ptd(struct isp1362_hcd *isp1362_hcd, struct isp1362_ep *ep) argument 497 postproc_ep(struct isp1362_hcd *isp1362_hcd, struct isp1362_ep *ep) argument 653 struct isp1362_ep *ep; local 711 submit_req(struct isp1362_hcd *isp1362_hcd, struct urb *urb, struct isp1362_ep *ep, struct isp1362_ep_queue *epq) argument 744 struct isp1362_ep *ep; local 797 struct isp1362_ep *ep; local 839 next_ptd(struct isp1362_ep_queue *epq, struct isp1362_ep *ep) argument 860 struct isp1362_ep *ep; local 938 struct isp1362_ep *ep; local 983 struct isp1362_ep *ep; local 1225 struct isp1362_ep *ep = NULL; local 1400 struct isp1362_ep *ep; local 1449 struct isp1362_ep *ep = hep->hcpriv; local 2055 struct isp1362_ep *ep; local [all...] |
H A D | isp116x-hcd.c | 167 struct isp116x_ep *ep; local 175 for (ep = isp116x->atl_active; ep; ep = ep->active) { 176 ptd = &ep->ptd; 178 dump_ptd_out_data(ptd, ep->data); 185 if (ep->active || (isp116x->atl_last_dir != PTD_DIR_IN)) { 186 write_ptddata_to_fifo(isp116x, ep->data, ep 199 struct isp116x_ep *ep; local 232 struct isp116x_ep *ep; local 349 struct isp116x_ep *ep; local 481 struct isp116x_ep *last_ep = NULL, *ep; local 690 struct isp116x_ep *ep = NULL; local 840 struct isp116x_ep *ep, *ep_act; local 876 struct isp116x_ep *ep = hep->hcpriv; local [all...] |
/drivers/staging/ozwpan/ |
H A D | ozhcd.c | 78 struct list_head link; /* For isoc ep, links in to isoc 157 struct usb_host_endpoint *ep); 159 struct usb_host_endpoint *ep); 184 static struct oz_urb_link *oz_remove_urb(struct oz_endpoint *ep, 284 struct oz_endpoint *ep = local 286 if (ep) { 287 INIT_LIST_HEAD(&ep->urb_list); 288 INIT_LIST_HEAD(&ep->link); 289 ep->credit = -1; 291 ep 366 oz_ep_free(struct oz_port *port, struct oz_endpoint *ep) argument 389 oz_complete_buffered_urb(struct oz_port *port, struct oz_endpoint *ep, struct urb *urb) argument 432 struct oz_endpoint *ep = NULL; local 506 struct oz_endpoint *ep; local 541 struct oz_endpoint *ep; local 621 struct oz_endpoint *ep; local 680 struct oz_endpoint *ep = NULL; local 943 oz_hcd_buffer_data(struct oz_endpoint *ep, const u8 *data, int data_len) argument 984 struct oz_endpoint *ep; local 1044 struct oz_endpoint *ep; local 1198 struct oz_endpoint *ep; local 1270 struct oz_endpoint *ep, *n; local 1789 oz_remove_urb(struct oz_endpoint *ep, struct urb *urb) argument 1856 oz_hcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument 1864 oz_hcd_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep) argument [all...] |
/drivers/net/wireless/ath/ath10k/ |
H A D | htc.c | 26 static inline void ath10k_htc_send_complete_check(struct ath10k_htc_ep *ep, argument 33 ath10k_hif_send_complete_check(ep->htc->ar, ep->ul_pipe_id, force); 70 static void ath10k_htc_notify_tx_completion(struct ath10k_htc_ep *ep, argument 73 struct ath10k *ar = ep->htc->ar; 75 ath10k_dbg(ar, ATH10K_DBG_HTC, "%s: ep %d skb %p\n", __func__, 76 ep->eid, skb); 78 ath10k_htc_restore_tx_skb(ep->htc, skb); 80 if (!ep->ep_ops.ep_tx_complete) { 81 ath10k_warn(ar, "no tx handler for eid %d\n", ep 90 ath10k_htc_ep_need_credit_update(struct ath10k_htc_ep *ep) argument 104 ath10k_htc_prepare_tx_skb(struct ath10k_htc_ep *ep, struct sk_buff *skb) argument 129 struct ath10k_htc_ep *ep = &htc->endpoint[eid]; local 204 struct ath10k_htc_ep *ep = &htc->endpoint[eid]; local 226 struct ath10k_htc_ep *ep; local 326 struct ath10k_htc_ep *ep; local 499 struct ath10k_htc_ep *ep; local 642 struct ath10k_htc_ep *ep; local 852 struct ath10k_htc_ep *ep = NULL; local [all...] |
/drivers/usb/core/ |
H A D | endpoint.c | 39 struct ep_device *ep = to_ep_device(dev); \ 40 return sprintf(buf, format_string, ep->desc->field); \ 52 struct ep_device *ep = to_ep_device(dev); local 54 usb_endpoint_maxp(ep->desc) & 0x07ff); 61 struct ep_device *ep = to_ep_device(dev); local 64 switch (usb_endpoint_type(ep->desc)) { 85 struct ep_device *ep = to_ep_device(dev); local 90 in = (ep->desc->bEndpointAddress & USB_DIR_IN); 92 switch (usb_endpoint_type(ep->desc)) { 94 if (ep 131 struct ep_device *ep = to_ep_device(dev); local [all...] |
/drivers/usb/wusbcore/ |
H A D | wa-rpipe.c | 175 if (rpipe->ep) 176 rpipe->ep->hcpriv = NULL; 264 struct device *dev, struct usb_host_endpoint *ep) 271 if (ep->desc.bEndpointAddress == 0) { 275 itr = ep->extra; 276 itr_size = ep->extralen; 280 dev_err(dev, "HW Bug? ep 0x%02x: extra descriptors " 282 ep->desc.bEndpointAddress, 283 itr - (void *) ep->extra, itr_size); 292 dev_err(dev, "HW Bug? ep 263 rpipe_epc_find( struct device *dev, struct usb_host_endpoint *ep) argument 313 rpipe_aim(struct wa_rpipe *rpipe, struct wahc *wa, struct usb_host_endpoint *ep, struct urb *urb, gfp_t gfp) argument 396 rpipe_check_aim(const struct wa_rpipe *rpipe, const struct wahc *wa, const struct usb_host_endpoint *ep, const struct urb *urb, gfp_t gfp) argument 437 rpipe_get_by_ep(struct wahc *wa, struct usb_host_endpoint *ep, struct urb *urb, gfp_t gfp) argument 517 rpipe_ep_disable(struct wahc *wa, struct usb_host_endpoint *ep) argument 538 rpipe_clear_feature_stalled(struct wahc *wa, struct usb_host_endpoint *ep) argument [all...] |
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cm.h | 56 #define put_ep(ep) { \ 57 PDBG("put_ep (via %s:%u) ep %p refcnt %d\n", __func__, __LINE__, \ 58 ep, atomic_read(&((ep)->kref.refcount))); \ 59 WARN_ON(atomic_read(&((ep)->kref.refcount)) < 1); \ 60 kref_put(&((ep)->kref), __free_ep); \ 63 #define get_ep(ep) { \ 64 PDBG("get_ep (via %s:%u) ep %p, refcnt %d\n", __func__, __LINE__, \ 65 ep, atomic_read(&((ep) [all...] |
/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 230 static int _nbu2ss_ep_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) argument 236 if (ep->epnum == 0) 239 num = ep->epnum - 1; 244 data = (begin_adrs << 16) | ep->ep.maxpacket; 249 data = 1 << (ep->epnum + 8); 255 switch (ep->ep_type) { 274 _nbu2ss_endpoint_toggle_reset(udc, (ep->epnum|ep->direct)); 276 if (ep 305 _nbu2ss_epn_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) argument 353 _nbu2ss_ep_dma_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) argument 393 _nbu2ss_ep_dma_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) argument 426 _nbu2ss_ep_dma_abort(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) argument 480 _nbu2ss_dma_map_single( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u8 direct ) argument 513 _nbu2ss_dma_unmap_single( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u8 direct ) argument 692 _nbu2ss_ep0_in_transfer( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req ) argument 750 _nbu2ss_ep0_out_transfer( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req ) argument 892 _nbu2ss_epn_out_pio( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u32 length ) argument 951 _nbu2ss_epn_out_data( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u32 data_size ) argument 982 _nbu2ss_epn_out_transfer( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req ) argument 1039 _nbu2ss_in_dma( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u32 num, u32 length ) argument 1115 _nbu2ss_epn_in_pio( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u32 length ) argument 1168 _nbu2ss_epn_in_data( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, u32 data_size ) argument 1196 _nbu2ss_epn_in_transfer( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req ) argument 1237 _nbu2ss_start_transfer( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req, bool bflag) argument 1292 _nbu2ss_restert_transfer(struct nbu2ss_ep *ep) argument 1349 struct nbu2ss_ep *ep; local 1796 struct nbu2ss_ep *ep = &udc->ep[0]; local 1823 struct nbu2ss_ep *ep = &udc->ep[0]; local 1850 struct nbu2ss_ep *ep = &udc->ep[0]; local 1955 _nbu2ss_ep_done( struct nbu2ss_ep *ep, struct nbu2ss_req *req, int status) argument 1989 _nbu2ss_epn_in_int( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req) argument 2034 _nbu2ss_epn_out_int( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req) argument 2047 _nbu2ss_epn_in_dma_int( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req) argument 2084 _nbu2ss_epn_out_dma_int( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, struct nbu2ss_req *req) argument 2149 struct nbu2ss_ep *ep = &udc->ep[epnum]; local 2216 _nbu2ss_nuke(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, int status) argument 2243 struct nbu2ss_ep *ep; local 2294 _nbu2ss_fifo_flush(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) argument 2611 struct nbu2ss_ep *ep; local 2670 struct nbu2ss_ep *ep; local 2697 nbu2ss_ep_alloc_request( struct usb_ep *ep, gfp_t gfp_flags) argument 2737 struct nbu2ss_ep *ep; local 2845 struct nbu2ss_ep *ep; local 2893 struct nbu2ss_ep *ep; local 2945 struct nbu2ss_ep *ep; local 2994 struct nbu2ss_ep *ep; local 3253 nbu2ss_drv_set_ep_info( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, const char *name) argument 3419 struct nbu2ss_ep *ep; local [all...] |