Lines Matching defs:ep

173 #define PCH_UDC_CSR(ep)	(UDC_CSR_ADDR + ep*4)  argument
180 #define UDC_EPIN_IDX(ep) (ep * 2) argument
181 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) argument
284 struct usb_ep ep; member
341 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; member
429 static inline u32 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) in pch_udc_ep_readl()
434 static inline void pch_udc_ep_writel(struct pch_udc_ep *ep, in pch_udc_ep_writel()
440 static inline void pch_udc_ep_bit_set(struct pch_udc_ep *ep, in pch_udc_ep_bit_set()
447 static inline void pch_udc_ep_bit_clr(struct pch_udc_ep *ep, in pch_udc_ep_bit_clr()
477 unsigned int ep) in pch_udc_write_csr()
493 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
617 static void pch_udc_ep_set_stall(struct pch_udc_ep *ep) in pch_udc_ep_set_stall()
631 static inline void pch_udc_ep_clear_stall(struct pch_udc_ep *ep) in pch_udc_ep_clear_stall()
644 static inline void pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, in pch_udc_ep_set_trfr_type()
657 static void pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, in pch_udc_ep_set_bufsz()
677 static void pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) in pch_udc_ep_set_maxpkt()
689 static inline void pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_subptr()
699 static inline void pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_ddptr()
708 static inline void pch_udc_ep_set_pd(struct pch_udc_ep *ep) in pch_udc_ep_set_pd()
717 static inline void pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_set_rrdy()
726 static inline void pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_clear_rrdy()
874 static inline u32 pch_udc_read_ep_control(struct pch_udc_ep *ep) in pch_udc_read_ep_control()
884 static inline void pch_udc_clear_ep_control(struct pch_udc_ep *ep) in pch_udc_clear_ep_control()
894 static inline u32 pch_udc_read_ep_status(struct pch_udc_ep *ep) in pch_udc_read_ep_status()
904 static inline void pch_udc_clear_ep_status(struct pch_udc_ep *ep, in pch_udc_clear_ep_status()
915 static inline void pch_udc_ep_set_nak(struct pch_udc_ep *ep) in pch_udc_ep_set_nak()
925 static void pch_udc_ep_clear_nak(struct pch_udc_ep *ep) in pch_udc_ep_clear_nak()
958 static void pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) in pch_udc_ep_fifo_flush()
972 static void pch_udc_ep_enable(struct pch_udc_ep *ep, in pch_udc_ep_enable()
1007 static void pch_udc_ep_disable(struct pch_udc_ep *ep) in pch_udc_ep_disable()
1027 static void pch_udc_wait_ep_stall(struct pch_udc_ep *ep) in pch_udc_wait_ep_stall()
1414 static void complete_req(struct pch_udc_ep *ep, struct pch_udc_request *req, in complete_req()
1471 static void empty_req_queue(struct pch_udc_ep *ep) in empty_req_queue()
1522 static int pch_udc_create_dma_chain(struct pch_udc_ep *ep, in pch_udc_create_dma_chain()
1581 static int prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, in prepare_dma()
1604 static void process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) in process_zlp()
1630 static void pch_udc_start_rxrequest(struct pch_udc_ep *ep, in pch_udc_start_rxrequest()
1668 struct pch_udc_ep *ep; in pch_udc_pcd_ep_enable() local
1701 struct pch_udc_ep *ep; in pch_udc_pcd_ep_disable() local
1736 struct pch_udc_ep *ep; in pch_udc_alloc_request() local
1775 struct pch_udc_ep *ep; in pch_udc_free_request() local
1811 struct pch_udc_ep *ep; in pch_udc_pcd_queue() local
1912 struct pch_udc_ep *ep; in pch_udc_pcd_dequeue() local
1948 struct pch_udc_ep *ep; in pch_udc_pcd_set_halt() local
1989 struct pch_udc_ep *ep; in pch_udc_pcd_set_wedge() local
2022 struct pch_udc_ep *ep; in pch_udc_pcd_fifo_flush() local
2065 static void pch_udc_start_next_txrequest(struct pch_udc_ep *ep) in pch_udc_start_next_txrequest()
2104 static void pch_udc_complete_transfer(struct pch_udc_ep *ep) in pch_udc_complete_transfer()
2144 static void pch_udc_complete_receiver(struct pch_udc_ep *ep) in pch_udc_complete_receiver()
2209 struct pch_udc_ep *ep; in pch_udc_svc_data_in() local
2253 struct pch_udc_ep *ep; in pch_udc_svc_data_out() local
2308 struct pch_udc_ep *ep; in pch_udc_svc_control_in() local
2351 struct pch_udc_ep *ep; in pch_udc_svc_control_out() local
2430 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters() local
2445 struct pch_udc_ep *ep; in pch_udc_read_all_epstatus() local
2470 struct pch_udc_ep *ep; in pch_udc_activate_control_ep() local
2516 struct pch_udc_ep *ep; in pch_udc_svc_ur_interrupt() local
2830 struct pch_udc_ep *ep = &dev->ep[i]; in pch_udc_pcd_reinit() local