Home
last modified time | relevance | path

Searched defs:ep (Results 1 – 25 of 91) sorted by relevance

1234

/rk3399_rockchip-uboot/board/ti/common/
H A Dboard_detect.c84 uchar *ep, int epsize) in ti_i2c_eeprom_read()
124 u32 header, u32 size, uint8_t *ep) in ti_i2c_eeprom_get()
178 struct ti_common_eeprom *ep; in ti_i2c_eeprom_am_set() local
204 struct ti_common_eeprom *ep; in ti_i2c_eeprom_am_get() local
250 struct ti_common_eeprom *ep; in ti_i2c_eeprom_dra7_get() local
294 struct ti_common_eeprom *ep = TI_EEPROM_DATA; in board_ti_is() local
303 struct ti_common_eeprom *ep = TI_EEPROM_DATA; in board_ti_rev_is() local
315 struct ti_common_eeprom *ep = TI_EEPROM_DATA; in board_ti_get_rev() local
323 struct ti_common_eeprom *ep = TI_EEPROM_DATA; in board_ti_get_config() local
331 struct ti_common_eeprom *ep = TI_EEPROM_DATA; in board_ti_get_name() local
[all …]
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c93 static int setdma_rx(struct dwc2_ep *ep, struct dwc2_request *req) in setdma_rx()
135 static int setdma_tx(struct dwc2_ep *ep, struct dwc2_request *req) in setdma_tx()
195 struct dwc2_ep *ep = &dev->ep[ep_num]; in complete_rx() local
268 struct dwc2_ep *ep = &dev->ep[ep_num]; in complete_tx() local
344 struct dwc2_ep *ep = &dev->ep[ep_num]; in dwc2_udc_check_tx_queue() local
612 struct dwc2_ep *ep; in dwc2_queue() local
709 static int write_fifo_ep0(struct dwc2_ep *ep, struct dwc2_request *req) in write_fifo_ep0()
747 static int dwc2_fifo_read(struct dwc2_ep *ep, void *cp, int max) in dwc2_fifo_read()
780 static inline void dwc2_udc_ep0_set_stall(struct dwc2_ep *ep) in dwc2_udc_ep0_set_stall()
811 struct dwc2_ep *ep = &dev->ep[0]; in dwc2_ep0_read() local
[all …]
H A Datmel_usba_udc.c29 static void next_fifo_transaction(struct usba_ep *ep, struct usba_request *req) in next_fifo_transaction()
51 static void submit_request(struct usba_ep *ep, struct usba_request *req) in submit_request()
69 static void submit_next_request(struct usba_ep *ep) in submit_next_request()
83 static void send_status(struct usba_udc *udc, struct usba_ep *ep) in send_status()
90 static void receive_data(struct usba_ep *ep) in receive_data()
146 request_complete(struct usba_ep *ep, struct usba_request *req, int status) in request_complete()
158 request_complete_list(struct usba_ep *ep, struct list_head *list, int status) in request_complete_list()
171 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_enable() local
273 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_disable() local
339 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_queue() local
[all …]
H A Depautoconf.c51 struct usb_ep *ep, in ep_matches()
179 struct usb_ep *ep; in find_ep() local
223 struct usb_ep *ep = NULL; in usb_ep_autoconfig() local
312 struct usb_ep *ep; in usb_ep_autoconfig_reset() local
H A Dat91_udc.c71 static void done(struct at91_ep *ep, struct at91_request *req, int status) in done()
122 static int read_fifo (struct at91_ep *ep, struct at91_request *req) in read_fifo()
197 static int write_fifo(struct at91_ep *ep, struct at91_request *req) in write_fifo()
265 static void nuke(struct at91_ep *ep, int status) in nuke()
286 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_enable() local
363 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_disable() local
420 struct at91_ep *ep; in at91_ep_queue() local
518 struct at91_ep *ep; in at91_ep_dequeue() local
545 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_set_halt() local
642 struct at91_ep *ep = &udc->ep[i]; in udc_reinit() local
[all …]
H A Dpxa25x_udc.c297 struct pxa25x_ep *ep; in pxa25x_ep_enable() local
349 struct pxa25x_ep *ep; in pxa25x_ep_disable() local
416 static void done(struct pxa25x_ep *ep, struct pxa25x_request *req, int status) in done()
472 write_fifo(struct pxa25x_ep *ep, struct pxa25x_request *req) in write_fifo()
544 write_ep0_fifo(struct pxa25x_ep *ep, struct pxa25x_request *req) in write_ep0_fifo()
605 read_fifo(struct pxa25x_ep *ep, struct pxa25x_request *req) in read_fifo()
684 read_ep0_fifo(struct pxa25x_ep *ep, struct pxa25x_request *req) in read_ep0_fifo()
727 struct pxa25x_ep *ep; in pxa25x_ep_queue() local
840 static void nuke(struct pxa25x_ep *ep, int status) in nuke()
859 struct pxa25x_ep *ep; in pxa25x_ep_dequeue() local
[all …]
H A Dfotg210.c32 struct usb_ep ep; member
46 struct fotg210_ep *ep; member
57 struct fotg210_ep ep[1 + CFG_NUM_ENDPOINTS]; member
79 int ep = ep_addr & USB_ENDPOINT_NUMBER_MASK; in ep_reset() local
209 static int fotg210_dma(struct fotg210_ep *ep, struct fotg210_request *req) in fotg210_dma()
470 struct fotg210_ep *ep = chip->ep + ep_id; in fotg210_recv() local
504 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_enable() local
548 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_disable() local
586 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_queue() local
645 struct fotg210_ep *ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_dequeue() local
[all …]
H A Df_fastboot.c190 struct usb_ep *ep) in fb_ep_desc()
321 static void fastboot_complete(struct usb_ep *ep, struct usb_request *req) in fastboot_complete()
409 static struct usb_request *fastboot_start_ep(struct usb_ep *ep) in fastboot_start_ep()
542 static void compl_do_reset(struct usb_ep *ep, struct usb_request *req) in compl_do_reset()
552 static void cb_reboot(struct usb_ep *ep, struct usb_request *req) in cb_reboot()
1505 static void cb_getvar(struct usb_ep *ep, struct usb_request *req) in cb_getvar()
1542 static unsigned int rx_bytes_expected(struct usb_ep *ep) in rx_bytes_expected()
1567 static void rx_handler_dl_image(struct usb_ep *ep, struct usb_request *req) in rx_handler_dl_image()
1618 static void cb_download(struct usb_ep *ep, struct usb_request *req) in cb_download()
1643 static void tx_handler_ul(struct usb_ep *ep, struct usb_request *req) in tx_handler_ul()
[all …]
H A Ddwc2_udc_otg.c199 struct dwc2_ep *ep = &dev->ep[i]; in udc_reinit() local
362 static void done(struct dwc2_ep *ep, struct dwc2_request *req, int status) in done()
413 static void nuke(struct dwc2_ep *ep, int status) in nuke()
438 struct dwc2_ep *ep = &dev->ep[i]; in stop_activity() local
619 struct dwc2_ep *ep; in dwc2_ep_enable() local
684 struct dwc2_ep *ep; in dwc2_ep_disable() local
710 static struct usb_request *dwc2_alloc_request(struct usb_ep *ep, in dwc2_alloc_request()
727 static void dwc2_free_request(struct usb_ep *ep, struct usb_request *_req) in dwc2_free_request()
741 struct dwc2_ep *ep; in dwc2_dequeue() local
775 struct dwc2_ep *ep; in dwc2_fifo_status() local
[all …]
H A Df_thor.c517 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
595 static void thor_rx_tx_complete(struct usb_ep *ep, struct usb_request *req) in thor_rx_tx_complete()
624 static void thor_setup_complete(struct usb_ep *ep, struct usb_request *req) in thor_setup_complete()
740 static void free_ep_req(struct usb_ep *ep, struct usb_request *req) in free_ep_req()
752 struct usb_ep *ep; in thor_func_bind() local
905 struct usb_ep *ep; in thor_eps_setup() local
H A Df_sdp.c239 static void sdp_rx_command_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_command_complete()
324 static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req) in sdp_rx_data_complete()
378 static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req) in sdp_tx_complete()
482 struct usb_ep *ep; in sdp_bind() local
505 static struct usb_request *alloc_ep_req(struct usb_ep *ep, unsigned length) in alloc_ep_req()
524 static struct usb_request *sdp_start_ep(struct usb_ep *ep) in sdp_start_ep()
H A Dci_udc.c260 ci_ep_alloc_request(struct usb_ep *ep, unsigned int gfp_flags) in ci_ep_alloc_request()
284 static void ci_ep_free_request(struct usb_ep *ep, struct usb_request *req) in ci_ep_free_request()
324 static int ci_ep_enable(struct usb_ep *ep, in ci_ep_enable()
349 static int ci_ep_disable(struct usb_ep *ep) in ci_ep_disable()
552 static int ci_ep_queue(struct usb_ep *ep, in ci_ep_queue()
714 struct ci_ep *ep = &controller.ep[i]; in handle_setup() local
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c88 struct musb_ep *ep; in service_tx_status_request() local
242 struct musb_hw_ep *ep; in service_zero_data_request() local
407 struct musb_hw_ep *ep; in service_zero_data_request() local
897 musb_g_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc) in musb_g_ep0_enable()
912 struct musb_ep *ep; in musb_g_ep0_queue() local
991 static int musb_g_ep0_dequeue(struct usb_ep *ep, struct usb_request *req) in musb_g_ep0_dequeue()
999 struct musb_ep *ep; in musb_g_ep0_halt() local
H A Dmusb_gadget.c173 struct musb_ep *ep, in musb_g_giveback()
213 static void nuke(struct musb_ep *ep, const int status) in nuke()
264 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize()
1027 static int musb_gadget_enable(struct usb_ep *ep, in musb_gadget_enable()
1212 static int musb_gadget_disable(struct usb_ep *ep) in musb_gadget_disable()
1263 struct usb_request *musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in musb_alloc_request()
1286 void musb_free_request(struct usb_ep *ep, struct usb_request *req) in musb_free_request()
1316 static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req, in musb_gadget_queue()
1371 static int musb_gadget_dequeue(struct usb_ep *ep, struct usb_request *request) in musb_gadget_dequeue()
1428 static int musb_gadget_set_halt(struct usb_ep *ep, int value) in musb_gadget_set_halt()
[all …]
H A Dmusb_gadget.h31 struct musb_ep *ep; member
77 static inline struct musb_ep *to_musb_ep(struct usb_ep *ep) in to_musb_ep()
82 static inline struct musb_request *next_request(struct musb_ep *ep) in next_request()
H A Dmusb_host.c90 static void musb_h_tx_flush_fifo(struct musb_hw_ep *ep) in musb_h_tx_flush_fifo()
114 static void musb_h_ep0_flush_fifo(struct musb_hw_ep *ep) in musb_h_ep0_flush_fifo()
141 static inline void musb_h_tx_start(struct musb_hw_ep *ep) in musb_h_tx_start()
157 static inline void musb_h_tx_dma_start(struct musb_hw_ep *ep) in musb_h_tx_dma_start()
169 static void musb_ep_set_qh(struct musb_hw_ep *ep, int is_in, struct musb_qh *qh) in musb_ep_set_qh()
177 static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) in musb_ep_get_qh()
344 struct musb_hw_ep *ep = qh->hw_ep; in musb_advance_schedule() local
555 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit()
1387 static void musb_bulk_rx_nak_timeout(struct musb *musb, struct musb_hw_ep *ep) in musb_bulk_rx_nak_timeout()
2124 struct musb_hw_ep *ep = qh->hw_ep; local
/rk3399_rockchip-uboot/include/linux/usb/
H A Dgadget.h200 static inline void usb_ep_set_maxpacket_limit(struct usb_ep *ep, in usb_ep_set_maxpacket_limit()
230 static inline int usb_ep_enable(struct usb_ep *ep, in usb_ep_enable()
248 static inline int usb_ep_disable(struct usb_ep *ep) in usb_ep_disable()
267 static inline struct usb_request *usb_ep_alloc_request(struct usb_ep *ep, in usb_ep_alloc_request()
282 static inline void usb_ep_free_request(struct usb_ep *ep, in usb_ep_free_request()
342 static inline int usb_ep_queue(struct usb_ep *ep, in usb_ep_queue()
362 static inline int usb_ep_dequeue(struct usb_ep *ep, struct usb_request *req) in usb_ep_dequeue()
388 static inline int usb_ep_set_halt(struct usb_ep *ep) in usb_ep_set_halt()
406 static inline int usb_ep_clear_halt(struct usb_ep *ep) in usb_ep_clear_halt()
426 static inline int usb_ep_fifo_status(struct usb_ep *ep) in usb_ep_fifo_status()
[all …]
/rk3399_rockchip-uboot/drivers/usb/musb/
H A Dmusb_hcd.c38 static void write_toggle(struct usb_device *dev, u8 ep, u8 dir_out) in write_toggle()
80 static u8 check_stall(u8 ep, u8 dir_out) in check_stall()
179 static int wait_until_txep_ready(struct usb_device *dev, u8 ep) in wait_until_txep_ready()
211 static int wait_until_rxep_ready(struct usb_device *dev, u8 ep) in wait_until_rxep_ready()
402 static void config_hub_port(struct usb_device *dev, u8 ep) in config_hub_port()
856 int ep = usb_pipeendpoint(pipe); in submit_bulk_msg() local
1063 int ep = usb_pipeendpoint(pipe); in submit_int_msg() local
H A Dmusb_udc.c60 #define GET_ENDPOINT(dev,ep) \ argument
277 static void musb_peri_rx_ack(unsigned int ep) in musb_peri_rx_ack()
286 static void musb_peri_tx_ready(unsigned int ep) in musb_peri_tx_ready()
629 static void musb_peri_rx_ep(unsigned int ep) in musb_peri_rx_ep()
697 unsigned int ep; in musb_peri_rx() local
814 unsigned int ep = endpoint->endpoint_address & in udc_endpoint_write() local
H A Dmusb_core.c119 void write_fifo(u8 ep, u32 length, void *fifo_data) in write_fifo()
144 void read_fifo(u8 ep, u32 length, void *fifo_data) in read_fifo()
/rk3399_rockchip-uboot/cmd/
H A Dhost.c45 char *ep; in do_host_bind() local
64 char *ep; in do_host_info() local
107 char *ep; in do_host_dev() local
/rk3399_rockchip-uboot/lib/
H A Dhashtable.c152 ENTRY *ep = &htab->table[i].entry; in hdestroy_r() local
428 static void _hdelete(const char *key, struct hsearch_data *htab, ENTRY *ep, in _hdelete()
444 ENTRY e, *ep; in hdelete_r() local
561 static int match_entry(ENTRY *ep, int flag, in match_entry()
615 ENTRY *ep = &htab->table[i].entry; in hexport_r() local
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dep0.c680 static int cdns3_gadget_ep0_enable(struct usb_ep *ep, in cdns3_gadget_ep0_enable()
691 static int cdns3_gadget_ep0_disable(struct usb_ep *ep) in cdns3_gadget_ep0_disable()
703 static int cdns3_gadget_ep0_set_halt(struct usb_ep *ep, int value) in cdns3_gadget_ep0_set_halt()
717 static int cdns3_gadget_ep0_queue(struct usb_ep *ep, in cdns3_gadget_ep0_queue()
801 int cdns3_gadget_ep_set_wedge(struct usb_ep *ep) in cdns3_gadget_ep_set_wedge()
H A Dgadget.c150 void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep) in cdns3_select_ep()
1009 struct usb_ep *ep; in cdns3_set_hw_configuration() local
1649 struct usb_ep *ep; in cdns3_find_available_ep() local
1722 struct usb_request *cdns3_gadget_ep_alloc_request(struct usb_ep *ep, in cdns3_gadget_ep_alloc_request()
1743 void cdns3_gadget_ep_free_request(struct usb_ep *ep, in cdns3_gadget_ep_free_request()
1762 static int cdns3_gadget_ep_enable(struct usb_ep *ep, in cdns3_gadget_ep_enable()
1874 static int cdns3_gadget_ep_disable(struct usb_ep *ep) in cdns3_gadget_ep_disable()
1964 static int __cdns3_gadget_ep_queue(struct usb_ep *ep, in __cdns3_gadget_ep_queue()
2009 static int cdns3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, in cdns3_gadget_ep_queue()
2055 int cdns3_gadget_ep_dequeue(struct usb_ep *ep, in cdns3_gadget_ep_dequeue()
[all …]
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dgadget.c294 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
580 static int dwc3_gadget_ep0_enable(struct usb_ep *ep, in dwc3_gadget_ep0_enable()
586 static int dwc3_gadget_ep0_disable(struct usb_ep *ep) in dwc3_gadget_ep0_disable()
593 static int dwc3_gadget_ep_enable(struct usb_ep *ep, in dwc3_gadget_ep_enable()
642 static int dwc3_gadget_ep_disable(struct usb_ep *ep) in dwc3_gadget_ep_disable()
672 static struct usb_request *dwc3_gadget_ep_alloc_request(struct usb_ep *ep, in dwc3_gadget_ep_alloc_request()
688 static void dwc3_gadget_ep_free_request(struct usb_ep *ep, in dwc3_gadget_ep_free_request()
1073 static int dwc3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, in dwc3_gadget_ep_queue()
1109 static int dwc3_gadget_ep_dequeue(struct usb_ep *ep, in dwc3_gadget_ep_dequeue()
1196 static int dwc3_gadget_ep_set_halt(struct usb_ep *ep, int value) in dwc3_gadget_ep_set_halt()
[all …]

1234