Lines Matching refs:usba_ep
38 struct usba_ep *ep = inode->i_private; in queue_dbg_open()
204 struct usba_ep *ep) in usba_ep_init_debugfs()
219 static void usba_ep_cleanup_debugfs(struct usba_ep *ep) in usba_ep_cleanup_debugfs()
251 struct usba_ep *ep) in usba_ep_init_debugfs()
256 static inline void usba_ep_cleanup_debugfs(struct usba_ep *ep) in usba_ep_cleanup_debugfs()
406 static void next_fifo_transaction(struct usba_ep *ep, struct usba_request *req) in next_fifo_transaction()
427 static void submit_request(struct usba_ep *ep, struct usba_request *req) in submit_request()
462 static void submit_next_request(struct usba_ep *ep) in submit_next_request()
476 static void send_status(struct usba_udc *udc, struct usba_ep *ep) in send_status()
483 static void receive_data(struct usba_ep *ep) in receive_data()
540 request_complete(struct usba_ep *ep, struct usba_request *req, int status) in request_complete()
562 request_complete_list(struct usba_ep *ep, struct list_head *list, int status) in request_complete_list()
575 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_enable()
667 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_disable()
731 static int queue_dma(struct usba_udc *udc, struct usba_ep *ep, in queue_dma()
784 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_queue()
827 usba_update_req(struct usba_ep *ep, struct usba_request *req, u32 status) in usba_update_req()
832 static int stop_dma(struct usba_ep *ep, u32 *pstatus) in stop_dma()
866 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_dequeue()
924 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_set_halt()
969 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_fifo_status()
976 struct usba_ep *ep = to_usba_ep(_ep); in usba_ep_fifo_flush()
1045 struct usba_ep *ep; in atmel_usba_match_ep()
1135 struct usba_ep *ep; in reset_all_endpoints()
1147 static struct usba_ep *get_ep_by_addr(struct usba_udc *udc, u16 wIndex) in get_ep_by_addr()
1149 struct usba_ep *ep; in get_ep_by_addr()
1171 static inline void set_protocol_stall(struct usba_udc *udc, struct usba_ep *ep) in set_protocol_stall()
1177 static inline int is_stalled(struct usba_udc *udc, struct usba_ep *ep) in is_stalled()
1211 struct usba_ep *ep; in do_test_mode()
1236 ep = &udc->usba_ep[0]; in do_test_mode()
1254 ep = &udc->usba_ep[0]; in do_test_mode()
1302 static int handle_ep0_setup(struct usba_udc *udc, struct usba_ep *ep, in handle_ep0_setup()
1318 struct usba_ep *target; in handle_ep0_setup()
1348 struct usba_ep *target; in handle_ep0_setup()
1382 struct usba_ep *target; in handle_ep0_setup()
1428 static void usba_control_irq(struct usba_udc *udc, struct usba_ep *ep) in usba_control_irq()
1616 static void usba_ep_irq(struct usba_udc *udc, struct usba_ep *ep) in usba_ep_irq()
1669 static void usba_dma_irq(struct usba_udc *udc, struct usba_ep *ep) in usba_dma_irq()
1772 usba_dma_irq(udc, &udc->usba_ep[i]); in usba_udc_irq()
1783 if (ep_is_control(&udc->usba_ep[i])) in usba_udc_irq()
1784 usba_control_irq(udc, &udc->usba_ep[i]); in usba_udc_irq()
1786 usba_ep_irq(udc, &udc->usba_ep[i]); in usba_udc_irq()
1791 struct usba_ep *ep0, *ep; in usba_udc_irq()
1814 ep0 = &udc->usba_ep[0]; in usba_udc_irq()
1842 ep = &udc->usba_ep[i]; in usba_udc_irq()
2054 static struct usba_ep * atmel_udc_of_init(struct platform_device *pdev, in atmel_udc_of_init()
2062 struct usba_ep *eps, *ep; in atmel_udc_of_init()
2091 eps = devm_kcalloc(&pdev->dev, udc->num_ep, sizeof(struct usba_ep), in atmel_udc_of_init()
2259 udc->usba_ep = atmel_udc_of_init(pdev, udc); in usba_udc_probe()
2263 if (IS_ERR(udc->usba_ep)) in usba_udc_probe()
2264 return PTR_ERR(udc->usba_ep); in usba_udc_probe()
2296 usba_ep_init_debugfs(udc, &udc->usba_ep[i]); in usba_udc_probe()
2312 usba_ep_cleanup_debugfs(&udc->usba_ep[i]); in usba_udc_remove()