Lines Matching defs:ep
171 #define PCH_UDC_CSR(ep) (UDC_CSR_ADDR + ep*4) argument
178 #define UDC_EPIN_IDX(ep) (ep * 2) argument
179 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) argument
283 struct usb_ep ep; member
330 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; member
419 static inline u32 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) in pch_udc_ep_readl()
424 static inline void pch_udc_ep_writel(struct pch_udc_ep *ep, in pch_udc_ep_writel()
430 static inline void pch_udc_ep_bit_set(struct pch_udc_ep *ep, in pch_udc_ep_bit_set()
437 static inline void pch_udc_ep_bit_clr(struct pch_udc_ep *ep, in pch_udc_ep_bit_clr()
467 unsigned int ep) in pch_udc_write_csr()
483 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
576 static void pch_udc_ep_set_stall(struct pch_udc_ep *ep) in pch_udc_ep_set_stall()
590 static inline void pch_udc_ep_clear_stall(struct pch_udc_ep *ep) in pch_udc_ep_clear_stall()
603 static inline void pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, in pch_udc_ep_set_trfr_type()
615 static void pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, in pch_udc_ep_set_bufsz()
635 static void pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) in pch_udc_ep_set_maxpkt()
647 static inline void pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_subptr()
657 static inline void pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_ddptr()
666 static inline void pch_udc_ep_set_pd(struct pch_udc_ep *ep) in pch_udc_ep_set_pd()
675 static inline void pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_set_rrdy()
684 static inline void pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_clear_rrdy()
832 static inline u32 pch_udc_read_ep_control(struct pch_udc_ep *ep) in pch_udc_read_ep_control()
842 static inline void pch_udc_clear_ep_control(struct pch_udc_ep *ep) in pch_udc_clear_ep_control()
852 static inline u32 pch_udc_read_ep_status(struct pch_udc_ep *ep) in pch_udc_read_ep_status()
862 static inline void pch_udc_clear_ep_status(struct pch_udc_ep *ep, in pch_udc_clear_ep_status()
873 static inline void pch_udc_ep_set_nak(struct pch_udc_ep *ep) in pch_udc_ep_set_nak()
883 static void pch_udc_ep_clear_nak(struct pch_udc_ep *ep) in pch_udc_ep_clear_nak()
916 static void pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) in pch_udc_ep_fifo_flush()
929 static void pch_udc_ep_enable(struct pch_udc_ep *ep, in pch_udc_ep_enable()
964 static void pch_udc_ep_disable(struct pch_udc_ep *ep) in pch_udc_ep_disable()
984 static void pch_udc_wait_ep_stall(struct pch_udc_ep *ep) in pch_udc_wait_ep_stall()
1192 static void complete_req(struct pch_udc_ep *ep, struct pch_udc_request *req, in complete_req()
1247 static void empty_req_queue(struct pch_udc_ep *ep) in empty_req_queue()
1299 static int pch_udc_create_dma_chain(struct pch_udc_ep *ep, in pch_udc_create_dma_chain()
1358 static int prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, in prepare_dma()
1381 static void process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) in process_zlp()
1407 static void pch_udc_start_rxrequest(struct pch_udc_ep *ep, in pch_udc_start_rxrequest()
1445 struct pch_udc_ep *ep; in pch_udc_pcd_ep_enable() local
1478 struct pch_udc_ep *ep; in pch_udc_pcd_ep_disable() local
1515 struct pch_udc_ep *ep; in pch_udc_alloc_request() local
1556 struct pch_udc_ep *ep; in pch_udc_free_request() local
1592 struct pch_udc_ep *ep; in pch_udc_pcd_queue() local
1693 struct pch_udc_ep *ep; in pch_udc_pcd_dequeue() local
1731 struct pch_udc_ep *ep; in pch_udc_pcd_set_halt() local
1776 struct pch_udc_ep *ep; in pch_udc_pcd_set_wedge() local
1811 struct pch_udc_ep *ep; in pch_udc_pcd_fifo_flush() local
1854 static void pch_udc_start_next_txrequest(struct pch_udc_ep *ep) in pch_udc_start_next_txrequest()
1893 static void pch_udc_complete_transfer(struct pch_udc_ep *ep) in pch_udc_complete_transfer()
1933 static void pch_udc_complete_receiver(struct pch_udc_ep *ep) in pch_udc_complete_receiver()
1998 struct pch_udc_ep *ep; in pch_udc_svc_data_in() local
2042 struct pch_udc_ep *ep; in pch_udc_svc_data_out() local
2097 struct pch_udc_ep *ep; in pch_udc_svc_control_in() local
2138 struct pch_udc_ep *ep; in pch_udc_svc_control_out() local
2217 struct pch_udc_ep *ep; in pch_udc_postsvc_epinters() local
2237 struct pch_udc_ep *ep; in pch_udc_read_all_epstatus() local
2262 struct pch_udc_ep *ep; in pch_udc_activate_control_ep() local
2308 struct pch_udc_ep *ep; in pch_udc_svc_ur_interrupt() local
2589 struct pch_udc_ep *ep = &dev->ep[i]; in pch_udc_pcd_reinit() local