Lines Matching defs:ep

175 #define PCH_UDC_CSR(ep)	(UDC_CSR_ADDR + ep*4)  argument
182 #define UDC_EPIN_IDX(ep) (ep * 2) argument
183 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) argument
286 struct usb_ep ep; member
343 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; member
431 static inline u32 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) in pch_udc_ep_readl()
436 static inline void pch_udc_ep_writel(struct pch_udc_ep *ep, in pch_udc_ep_writel()
442 static inline void pch_udc_ep_bit_set(struct pch_udc_ep *ep, in pch_udc_ep_bit_set()
449 static inline void pch_udc_ep_bit_clr(struct pch_udc_ep *ep, in pch_udc_ep_bit_clr()
479 unsigned int ep) in pch_udc_write_csr()
495 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
623 static void pch_udc_ep_set_stall(struct pch_udc_ep *ep) in pch_udc_ep_set_stall()
637 static inline void pch_udc_ep_clear_stall(struct pch_udc_ep *ep) in pch_udc_ep_clear_stall()
650 static inline void pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, in pch_udc_ep_set_trfr_type()
663 static void pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, in pch_udc_ep_set_bufsz()
683 static void pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) in pch_udc_ep_set_maxpkt()
695 static inline void pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_subptr()
705 static inline void pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_ddptr()
714 static inline void pch_udc_ep_set_pd(struct pch_udc_ep *ep) in pch_udc_ep_set_pd()
723 static inline void pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_set_rrdy()
732 static inline void pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_clear_rrdy()
880 static inline u32 pch_udc_read_ep_control(struct pch_udc_ep *ep) in pch_udc_read_ep_control()
890 static inline void pch_udc_clear_ep_control(struct pch_udc_ep *ep) in pch_udc_clear_ep_control()
900 static inline u32 pch_udc_read_ep_status(struct pch_udc_ep *ep) in pch_udc_read_ep_status()
910 static inline void pch_udc_clear_ep_status(struct pch_udc_ep *ep, in pch_udc_clear_ep_status()
921 static inline void pch_udc_ep_set_nak(struct pch_udc_ep *ep) in pch_udc_ep_set_nak()
931 static void pch_udc_ep_clear_nak(struct pch_udc_ep *ep) in pch_udc_ep_clear_nak()
964 static void pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) in pch_udc_ep_fifo_flush()
978 static void pch_udc_ep_enable(struct pch_udc_ep *ep, in pch_udc_ep_enable()
1013 static void pch_udc_ep_disable(struct pch_udc_ep *ep) in pch_udc_ep_disable()
1033 static void pch_udc_wait_ep_stall(struct pch_udc_ep *ep) in pch_udc_wait_ep_stall()
1467 static void complete_req(struct pch_udc_ep *ep, struct pch_udc_request *req, in complete_req()
1524 static void empty_req_queue(struct pch_udc_ep *ep) in empty_req_queue()
1575 static int pch_udc_create_dma_chain(struct pch_udc_ep *ep, in pch_udc_create_dma_chain()
1634 static int prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, in prepare_dma()
1657 static void process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) in process_zlp()
1683 static void pch_udc_start_rxrequest(struct pch_udc_ep *ep, in pch_udc_start_rxrequest()
1721 struct pch_udc_ep *ep; in pch_udc_pcd_ep_enable() local
1754 struct pch_udc_ep *ep; in pch_udc_pcd_ep_disable() local
1789 struct pch_udc_ep *ep; in pch_udc_alloc_request() local
1828 struct pch_udc_ep *ep; in pch_udc_free_request() local
1864 struct pch_udc_ep *ep; in pch_udc_pcd_queue() local
1965 struct pch_udc_ep *ep; in pch_udc_pcd_dequeue() local
2001 struct pch_udc_ep *ep; in pch_udc_pcd_set_halt() local
2042 struct pch_udc_ep *ep; in pch_udc_pcd_set_wedge() local
2075 struct pch_udc_ep *ep; in pch_udc_pcd_fifo_flush() local
2118 static void pch_udc_start_next_txrequest(struct pch_udc_ep *ep) in pch_udc_start_next_txrequest()
2157 static void pch_udc_complete_transfer(struct pch_udc_ep *ep) in pch_udc_complete_transfer()
2197 static void pch_udc_complete_receiver(struct pch_udc_ep *ep) in pch_udc_complete_receiver()
2262 struct pch_udc_ep *ep; in pch_udc_svc_data_in() local
2306 struct pch_udc_ep *ep; in pch_udc_svc_data_out() local
2376 struct pch_udc_ep *ep; in pch_udc_svc_control_in() local
2419 struct pch_udc_ep *ep; in pch_udc_svc_control_out() local
2495 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters() local
2510 struct pch_udc_ep *ep; in pch_udc_read_all_epstatus() local
2535 struct pch_udc_ep *ep; in pch_udc_activate_control_ep() local
2581 struct pch_udc_ep *ep; in pch_udc_svc_ur_interrupt() local
2891 struct pch_udc_ep *ep = &dev->ep[i]; in pch_udc_pcd_reinit() local