Searched refs:ep (Results 1 - 25 of 142) sorted by relevance

123456

/u-boot/drivers/usb/gadget/
H A Depautoconf.c38 * - ep-* ... no functionality restrictions
48 struct usb_ep *ep,
57 if (NULL != ep->driver_data)
66 if ('e' != ep->name[0])
72 if ('-' != ep->name[2]) {
73 tmp = strrchr(ep->name, '-');
92 tmp = ep->name + strlen(ep->name);
122 if (ep->maxpacket < max)
140 if (isdigit(ep
46 ep_matches( struct usb_gadget *gadget, struct usb_ep *ep, struct usb_endpoint_descriptor *desc ) argument
174 struct usb_ep *ep; local
218 struct usb_ep *ep = NULL; local
309 struct usb_ep *ep; local
[all...]
H A Datmel_usba_udc.c30 static void next_fifo_transaction(struct usba_ep *ep, struct usba_request *req) argument
36 if (transaction_len > ep->ep.maxpacket) {
37 transaction_len = ep->ep.maxpacket;
39 } else if (transaction_len == ep->ep.maxpacket && req->req.zero) {
44 ep->ep.name, req, transaction_len,
47 memcpy(ep
52 submit_request(struct usba_ep *ep, struct usba_request *req) argument
66 submit_next_request(struct usba_ep *ep) argument
80 send_status(struct usba_udc *udc, struct usba_ep *ep) argument
87 receive_data(struct usba_ep *ep) argument
143 request_complete(struct usba_ep *ep, struct usba_request *req, int status) argument
155 request_complete_list(struct usba_ep *ep, struct list_head *list, int status) argument
168 struct usba_ep *ep = to_usba_ep(_ep); local
270 struct usba_ep *ep = to_usba_ep(_ep); local
336 struct usba_ep *ep = to_usba_ep(_ep); local
377 struct usba_ep *ep = to_usba_ep(_ep); local
399 struct usba_ep *ep = to_usba_ep(_ep); local
444 struct usba_ep *ep = to_usba_ep(_ep); local
451 struct usba_ep *ep = to_usba_ep(_ep); local
531 struct usba_ep *ep; local
559 struct usba_ep *ep; local
581 set_protocol_stall(struct usba_udc *udc, struct usba_ep *ep) argument
587 is_stalled(struct usba_udc *udc, struct usba_ep *ep) argument
621 struct usba_ep *ep; local
711 handle_ep0_setup(struct usba_udc *udc, struct usba_ep *ep, struct usb_ctrlrequest *crq) argument
839 usba_control_irq(struct usba_udc *udc, struct usba_ep *ep) argument
1020 usba_ep_irq(struct usba_udc *udc, struct usba_ep *ep) argument
1266 struct usba_ep *ep = &eps[i]; local
[all...]
H A Dat91_udc.c74 static void done(struct at91_ep *ep, struct at91_request *req, int status) argument
76 unsigned stopped = ep->stopped;
77 struct at91_udc *udc = ep->udc;
85 VDBG("%s done %p, status %d\n", ep->ep.name, req, status);
87 ep->stopped = 1;
89 req->req.complete(&ep->ep, &req->req);
91 ep->stopped = stopped;
94 if (list_empty(&ep
125 read_fifo(struct at91_ep *ep, struct at91_request *req) argument
200 write_fifo(struct at91_ep *ep, struct at91_request *req) argument
268 nuke(struct at91_ep *ep, int status) argument
289 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); local
366 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); local
423 struct at91_ep *ep; local
521 struct at91_ep *ep; local
548 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); local
645 struct at91_ep *ep = &udc->ep[i]; local
670 struct at91_ep *ep = &udc->ep[i]; local
695 struct at91_ep *ep = &udc->ep[i]; local
810 handle_ep(struct at91_ep *ep) argument
852 handle_setup(struct at91_udc *udc, struct at91_ep *ep, u32 csr) argument
1294 struct at91_ep *ep = &udc->ep[1]; local
1349 struct at91_ep *ep; local
1389 struct at91_ep *ep; local
1490 struct at91_ep *ep; local
[all...]
H A Ddwc2_udc_otg_xfer_dma.c97 static int setdma_rx(struct dwc2_ep *ep, struct dwc2_request *req) argument
101 u32 ep_num = ep_index(ep);
105 ep_num ? DMA_BUFFER_SIZE : ep->ep.maxpacket);
107 ep->len = length;
108 ep->dma_buf = buf;
113 pktcnt = (length - 1)/(ep->ep.maxpacket) + 1;
117 invalidate_dcache_range((unsigned long) ep->dma_buf,
118 (unsigned long) ep
139 setdma_tx(struct dwc2_ep *ep, struct dwc2_request *req) argument
199 struct dwc2_ep *ep = &dev->ep[ep_num]; local
272 struct dwc2_ep *ep = &dev->ep[ep_num]; local
348 struct dwc2_ep *ep = &dev->ep[ep_num]; local
614 struct dwc2_ep *ep; local
711 write_fifo_ep0(struct dwc2_ep *ep, struct dwc2_request *req) argument
749 dwc2_fifo_read(struct dwc2_ep *ep, void *cp, int max) argument
782 dwc2_udc_ep0_set_stall(struct dwc2_ep *ep) argument
813 struct dwc2_ep *ep = &dev->ep[0]; local
850 struct dwc2_ep *ep = &dev->ep[0]; local
951 dwc2_udc_set_nak(struct dwc2_ep *ep) argument
977 dwc2_udc_ep_set_stall(struct dwc2_ep *ep) argument
1012 dwc2_udc_ep_clear_stall(struct dwc2_ep *ep) argument
1062 struct dwc2_ep *ep; local
1107 dwc2_udc_ep_activate(struct dwc2_ep *ep) argument
1157 struct dwc2_ep *ep; local
1221 struct dwc2_ep *ep; local
1295 struct dwc2_ep *ep = &dev->ep[0]; local
1496 dwc2_ep0_kick(struct dwc2_udc *dev, struct dwc2_ep *ep) argument
[all...]
H A Ddwc2_udc_otg.c98 static int dwc2_ep_enable(struct usb_ep *ep,
100 static int dwc2_ep_disable(struct usb_ep *ep);
101 static struct usb_request *dwc2_alloc_request(struct usb_ep *ep,
103 static void dwc2_free_request(struct usb_ep *ep, struct usb_request *);
105 static int dwc2_queue(struct usb_ep *ep, struct usb_request *, gfp_t gfp_flags);
106 static int dwc2_dequeue(struct usb_ep *ep, struct usb_request *);
107 static int dwc2_fifo_status(struct usb_ep *ep);
108 static void dwc2_fifo_flush(struct usb_ep *ep);
110 static void dwc2_ep0_kick(struct dwc2_udc *dev, struct dwc2_ep *ep);
113 static int write_fifo_ep0(struct dwc2_ep *ep, struc
204 struct dwc2_ep *ep = &dev->ep[i]; local
371 done(struct dwc2_ep *ep, struct dwc2_request *req, int status) argument
422 nuke(struct dwc2_ep *ep, int status) argument
447 struct dwc2_ep *ep = &dev->ep[i]; local
625 struct dwc2_ep *ep; local
691 struct dwc2_ep *ep; local
718 dwc2_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument
735 dwc2_free_request(struct usb_ep *ep, struct usb_request *_req) argument
749 struct dwc2_ep *ep; local
783 struct dwc2_ep *ep; local
805 struct dwc2_ep *ep; local
[all...]
H A Dci_udc.c88 static int ci_ep_enable(struct usb_ep *ep,
90 static int ci_ep_disable(struct usb_ep *ep);
91 static int ci_ep_queue(struct usb_ep *ep,
93 static int ci_ep_dequeue(struct usb_ep *ep, struct usb_request *req);
95 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags);
96 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *_req);
139 .name = "ep-",
268 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags) argument
270 struct ci_ep *ci_ep = container_of(ep, struct ci_ep, ep);
292 ci_ep_free_request(struct usb_ep *ep, struct usb_request *req) argument
332 ci_ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument
386 ci_ep_disable(struct usb_ep *ep) argument
602 ci_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument
764 struct ci_ep *ep = &controller.ep[i]; local
[all...]
H A Datmel_usba_udc.h193 #define usba_ep_readl(ep, reg) \
194 __raw_readl((ep)->ep_regs + USBA_EPT_##reg)
195 #define usba_ep_writel(ep, reg, value) \
196 __raw_writel((value), (ep)->ep_regs + USBA_EPT_##reg)
197 #define usba_dma_readl(ep, reg) \
198 __raw_readl((ep)->dma_regs + USBA_DMA_##reg)
199 #define usba_dma_writel(ep, reg, value) \
200 __raw_writel((value), (ep)->dma_regs + USBA_DMA_##reg)
255 struct usb_ep ep; member in struct:usba_ep
302 static inline struct usba_ep *to_usba_ep(struct usb_ep *ep) argument
[all...]
H A Dmax3420_udc.c117 struct max3420_ep *ep; member in struct:max3420_req
131 struct max3420_ep ep[MAX3420_MAX_EPS]; member in struct:max3420_udc
226 static void spi_max3420_enable(struct max3420_ep *ep, int enable) argument
228 struct max3420_udc *udc = ep->udc;
231 if (ep->id == 0)
238 epdis &= ~BIT(ep->id + 4);
239 epien |= BIT(ep->id + 1);
241 epdis |= BIT(ep->id + 4);
242 epien &= ~BIT(ep->id + 1);
253 struct max3420_ep *ep local
265 struct max3420_ep *ep = req->ep; local
280 max3420_ep_nuke(struct max3420_ep *ep, int status) argument
292 struct max3420_ep *ep = to_max3420_ep(_ep); local
304 struct max3420_ep *ep = to_max3420_ep(_ep); local
326 struct max3420_ep *ep = to_max3420_ep(_ep); local
347 struct max3420_ep *ep = to_max3420_ep(_ep); local
499 struct max3420_ep *ep; local
533 struct max3420_ep *ep; local
615 struct max3420_ep *ep = &udc->ep[ep_id]; local
777 struct max3420_ep *ep = &udc->ep[i]; local
[all...]
/u-boot/board/variscite/common/
H A Dimx9_eeprom.c61 int var_eeprom_get_mac(struct var_eeprom *ep, u8 *mac) argument
64 if (!var_eeprom_is_valid(ep))
67 memcpy(mac, ep->mac, sizeof(ep->mac));
72 int var_eeprom_get_dram_size(struct var_eeprom *ep, phys_size_t *size) argument
75 if (!var_eeprom_is_valid(ep)) {
80 *size = (ep->dramsize * 128UL) << 20;
84 void var_eeprom_print_prod_info(struct var_eeprom *ep) argument
91 if (!var_eeprom_is_valid(ep))
96 (int)sizeof(ep
118 var_carrier_eeprom_read(const char *bus_name, int addr, struct var_carrier_eeprom *ep) argument
146 var_carrier_eeprom_is_valid(struct var_carrier_eeprom *ep) argument
184 var_carrier_eeprom_get_revision(struct var_carrier_eeprom *ep, char *rev, size_t size) argument
[all...]
H A Dimx9_eeprom.h63 static inline int var_eeprom_is_valid(struct var_eeprom *ep) argument
65 if (htons(ep->magic) != VAR_SOM_EEPROM_MAGIC) {
67 htons(ep->magic), VAR_SOM_EEPROM_MAGIC);
79 int var_carrier_eeprom_read(const char *bus_name, int addr, struct var_carrier_eeprom *ep);
80 int var_carrier_eeprom_is_valid(struct var_carrier_eeprom *ep);
81 void var_carrier_eeprom_get_revision(struct var_carrier_eeprom *ep, char *rev, size_t size);
/u-boot/board/ti/common/
H A Dboard_detect.c51 * @ep: Pointer to a buffer to read into
57 uchar *ep, int epsize)
59 return i2c_read(dev_addr, offset, 2, ep, epsize);
88 u32 header, u32 size, uint8_t *ep)
118 (void)dm_i2c_read(dev, 0, ep, size);
120 if (*((u32 *)ep) != header)
145 rc = dm_i2c_read(dev, 0, ep, size);
149 if (*((u32 *)ep) != header)
170 (void)i2c_read(dev_addr, 0x0, byte, ep, size);
172 if (*((u32 *)ep) !
56 ti_i2c_eeprom_read(int dev_addr, int offset, uchar *ep, int epsize) argument
87 ti_i2c_eeprom_get(int bus_addr, int dev_addr, u32 header, u32 size, uint8_t *ep) argument
209 struct ti_common_eeprom *ep; local
279 struct ti_common_eeprom *ep; local
305 struct ti_common_eeprom *ep; local
351 struct ti_common_eeprom *ep; local
393 ti_i2c_eeprom_am6_parse_record(struct ti_am6_eeprom_record *record, struct ti_am6_eeprom *ep, char **mac_addr, u8 mac_addr_max_cnt, u8 *mac_addr_cnt) argument
456 ti_i2c_eeprom_am6_get(int bus_addr, int dev_addr, struct ti_am6_eeprom *ep, char **mac_addr, u8 mac_addr_max_cnt, u8 *mac_addr_cnt) argument
560 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
583 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
592 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
601 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
613 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
621 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
629 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
639 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
658 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
675 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
685 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
696 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
719 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
821 struct ti_common_eeprom *ep = TI_EEPROM_DATA; local
[all...]
/u-boot/include/linux/usb/
H A Dgadget.h95 void (*complete)(struct usb_ep *ep,
114 int (*enable) (struct usb_ep *ep,
116 int (*disable) (struct usb_ep *ep);
118 struct usb_request *(*alloc_request) (struct usb_ep *ep,
120 void (*free_request) (struct usb_ep *ep, struct usb_request *req);
122 int (*queue) (struct usb_ep *ep, struct usb_request *req,
124 int (*dequeue) (struct usb_ep *ep, struct usb_request *req);
126 int (*set_halt) (struct usb_ep *ep, int value);
127 int (*set_wedge)(struct usb_ep *ep);
128 int (*fifo_status) (struct usb_ep *ep);
200 usb_ep_set_maxpacket_limit(struct usb_ep *ep, unsigned maxpacket_limit) argument
230 usb_ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) argument
248 usb_ep_disable(struct usb_ep *ep) argument
267 usb_ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument
282 usb_ep_free_request(struct usb_ep *ep, struct usb_request *req) argument
342 usb_ep_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument
362 usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) argument
388 usb_ep_set_halt(struct usb_ep *ep) argument
406 usb_ep_clear_halt(struct usb_ep *ep) argument
426 usb_ep_fifo_status(struct usb_ep *ep) argument
443 usb_ep_fifo_flush(struct usb_ep *ep) argument
[all...]
H A Datmel_usba_udc.h20 struct usba_ep_data *ep; member in struct:usba_platform_data
H A Dmusb.h49 #define MUSB_EP_FIFO(ep, st, m, pkt) \
51 .hw_ep_num = ep, \
57 #define MUSB_EP_FIFO_SINGLE(ep, st, pkt) \
58 MUSB_EP_FIFO(ep, st, BUF_SINGLE, pkt)
60 #define MUSB_EP_FIFO_DOUBLE(ep, st, pkt) \
61 MUSB_EP_FIFO(ep, st, BUF_DOUBLE, pkt)
78 unsigned mult_bulk_tx:1; /* Tx ep required for multbulk pkts */
79 unsigned mult_bulk_rx:1; /* Rx ep required for multbulk pkts */
80 unsigned high_iso_tx:1; /* Tx ep required for HB iso */
81 unsigned high_iso_rx:1; /* Rx ep require
[all...]
/u-boot/drivers/pci_endpoint/
H A DMakefile7 obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
/u-boot/drivers/usb/musb/
H A Dmusb_udc.c60 #define GET_ENDPOINT(dev,ep) \
61 (((struct usb_device_instance *)(dev))->bus->endpoint_array + ep)
121 w = readw(&musbr->ep[0].ep0.csr0);
127 b = readb(&musbr->ep[0].ep0.configdata);
136 w = readw(&musbr->ep[1].epN.rxmaxp);
139 w = readw(&musbr->ep[1].epN.rxcsr);
142 w = readw(&musbr->ep[1].epN.txmaxp);
145 w = readw(&musbr->ep[1].epN.txcsr);
214 csr0 = readw(&musbr->ep[0].ep0.csr0);
216 writew(csr0, &musbr->ep[
279 musb_peri_rx_ack(unsigned int ep) argument
288 musb_peri_tx_ready(unsigned int ep) argument
631 musb_peri_rx_ep(unsigned int ep) argument
708 unsigned int ep; local
720 unsigned int ep; local
819 unsigned int ep = endpoint->endpoint_address & local
[all...]
/u-boot/arch/arm/mach-keystone/include/mach/
H A Dmon.h13 int mon_power_on(int core_id, void *ep);
/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.h30 struct musb_ep *ep; member in struct:musb_request
43 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
44 extern void musb_free_request(struct usb_ep *ep, struct usb_request *req);
76 static inline struct musb_ep *to_musb_ep(struct usb_ep *ep) argument
78 return ep ? container_of(ep, struct musb_ep, end_point) : NULL;
81 static inline struct musb_request *next_request(struct musb_ep *ep) argument
83 struct list_head *queue = &ep->req_list;
/u-boot/board/ti/am65x/
H A Devm.c122 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
128 printf("Board: %s rev %s\n", ep->name, ep->version);
171 struct ti_am6_eeprom ep; local
260 &ep,
276 if (strncmp(ep.name, cards[i].card_name, sizeof(ep.name)))
279 printf("Detected: %s rev %s\n", ep.name, ep.version);
305 if (!strncmp(ep
337 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
[all...]
/u-boot/tools/
H A Dmkenvimage.c86 int fp, ep; local
189 * up. Check ep against envsize - 1 to allow for extra trailing '\0'. */
190 for (fp = 0, ep = 0 ; fp < filesize && ep < envsize - 1; fp++) {
204 ep--;
205 envptr[ep++] = '\n';
208 envptr[ep++] = '\0';
215 envptr[ep++] = filebuf[fp];
241 if (envptr[ep-1] != '\0') {
242 envptr[ep
[all...]
/u-boot/board/ti/j721s2/
H A Devm.c107 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
113 printf("Board: %s rev %s\n", ep->name, ep->version);
146 struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA; local
154 board_serial = simple_strtoul(ep->serial, &endp, 16);
156 pr_err("Error: Can't set serial# to %s\n", ep->serial);
190 struct ti_am6_eeprom ep; local
215 &ep,
236 if (strncmp(ep.name, ext_cards[i].card_name, sizeof(ep
[all...]
/u-boot/board/variscite/imx93_var_som/
H A Dimx93_var_som.c46 struct var_eeprom *ep = VAR_EEPROM_DATA; local
48 var_eeprom_get_dram_size(ep, size);
88 struct var_eeprom *ep = VAR_EEPROM_DATA; local
94 var_setup_mac(ep);
95 var_eeprom_print_prod_info(ep);
112 snprintf(som_rev, CARRIER_REV_LEN, "som_rev1%d", ep->somrev);
/u-boot/cmd/
H A Dbootz.c47 images->ep = image_load_addr;
51 images->ep = hextoul(argv[0], NULL);
53 images->ep);
56 ret = bootz_setup(images->ep, &zi_start, &zi_end);
60 lmb_reserve(&images->lmb, images->ep, zi_end - zi_start);
67 cmd_arg2(argc, argv), images->ep,
/u-boot/drivers/usb/mtu3/
H A Dmtu3_gadget.c33 usb_gadget_giveback_request(&mep->ep, req);
103 mep->ep.maxpacket = mep->maxp;
104 mep->ep.desc = desc;
105 mep->ep.comp_desc = comp_desc;
135 mep->ep.desc = NULL;
143 static int mtu3_gadget_ep_enable(struct usb_ep *ep, argument
151 if (!ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
160 mep = to_mtu3_ep(ep);
163 /* check ep number and direction against endpoint */
170 dev_dbg(mtu->dev, "%s %s\n", __func__, ep
196 mtu3_gadget_ep_disable(struct usb_ep *ep) argument
221 mtu3_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) argument
237 mtu3_free_request(struct usb_ep *ep, struct usb_request *req) argument
244 mtu3_gadget_queue(struct usb_ep *ep, struct usb_request *req, gfp_t gfp_flags) argument
304 mtu3_gadget_dequeue(struct usb_ep *ep, struct usb_request *req) argument
344 mtu3_gadget_ep_set_halt(struct usb_ep *ep, int value) argument
389 mtu3_gadget_ep_set_wedge(struct usb_ep *ep) argument
[all...]
/u-boot/drivers/usb/dwc3/
H A Dgadget.h26 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint))
84 int __dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value);
85 int dwc3_gadget_ep0_set_halt(struct usb_ep *ep, int value);
86 int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,

Completed in 309 milliseconds

123456