Lines Matching defs:ep
174 #define PCH_UDC_CSR(ep) (UDC_CSR_ADDR + ep*4) argument
181 #define UDC_EPIN_IDX(ep) (ep * 2) argument
182 #define UDC_EPOUT_IDX(ep) (ep * 2 + 1) argument
284 struct usb_ep ep; member
342 struct pch_udc_ep ep[PCH_UDC_EP_NUM]; member
425 static inline u32 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) in pch_udc_ep_readl()
430 static inline void pch_udc_ep_writel(struct pch_udc_ep *ep, in pch_udc_ep_writel()
436 static inline void pch_udc_ep_bit_set(struct pch_udc_ep *ep, in pch_udc_ep_bit_set()
443 static inline void pch_udc_ep_bit_clr(struct pch_udc_ep *ep, in pch_udc_ep_bit_clr()
473 unsigned int ep) in pch_udc_write_csr()
489 static u32 pch_udc_read_csr(struct pch_udc_dev *dev, unsigned int ep) in pch_udc_read_csr()
618 static void pch_udc_ep_set_stall(struct pch_udc_ep *ep) in pch_udc_ep_set_stall()
632 static inline void pch_udc_ep_clear_stall(struct pch_udc_ep *ep) in pch_udc_ep_clear_stall()
645 static inline void pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, in pch_udc_ep_set_trfr_type()
658 static void pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, in pch_udc_ep_set_bufsz()
678 static void pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) in pch_udc_ep_set_maxpkt()
690 static inline void pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_subptr()
700 static inline void pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_ddptr()
709 static inline void pch_udc_ep_set_pd(struct pch_udc_ep *ep) in pch_udc_ep_set_pd()
718 static inline void pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_set_rrdy()
727 static inline void pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_clear_rrdy()
875 static inline u32 pch_udc_read_ep_control(struct pch_udc_ep *ep) in pch_udc_read_ep_control()
885 static inline void pch_udc_clear_ep_control(struct pch_udc_ep *ep) in pch_udc_clear_ep_control()
895 static inline u32 pch_udc_read_ep_status(struct pch_udc_ep *ep) in pch_udc_read_ep_status()
905 static inline void pch_udc_clear_ep_status(struct pch_udc_ep *ep, in pch_udc_clear_ep_status()
916 static inline void pch_udc_ep_set_nak(struct pch_udc_ep *ep) in pch_udc_ep_set_nak()
926 static void pch_udc_ep_clear_nak(struct pch_udc_ep *ep) in pch_udc_ep_clear_nak()
959 static void pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) in pch_udc_ep_fifo_flush()
973 static void pch_udc_ep_enable(struct pch_udc_ep *ep, in pch_udc_ep_enable()
1008 static void pch_udc_ep_disable(struct pch_udc_ep *ep) in pch_udc_ep_disable()
1028 static void pch_udc_wait_ep_stall(struct pch_udc_ep *ep) in pch_udc_wait_ep_stall()
1421 static void complete_req(struct pch_udc_ep *ep, struct pch_udc_request *req, in complete_req()
1452 static void empty_req_queue(struct pch_udc_ep *ep) in empty_req_queue()
1503 static int pch_udc_create_dma_chain(struct pch_udc_ep *ep, in pch_udc_create_dma_chain()
1559 static int prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, in prepare_dma()
1582 static void process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) in process_zlp()
1608 static void pch_udc_start_rxrequest(struct pch_udc_ep *ep, in pch_udc_start_rxrequest()
1646 struct pch_udc_ep *ep; in pch_udc_pcd_ep_enable() local
1679 struct pch_udc_ep *ep; in pch_udc_pcd_ep_disable() local
1714 struct pch_udc_ep *ep; in pch_udc_alloc_request() local
1752 struct pch_udc_ep *ep; in pch_udc_free_request() local
1788 struct pch_udc_ep *ep; in pch_udc_pcd_queue() local
1859 struct pch_udc_ep *ep; in pch_udc_pcd_dequeue() local
1895 struct pch_udc_ep *ep; in pch_udc_pcd_set_halt() local
1936 struct pch_udc_ep *ep; in pch_udc_pcd_set_wedge() local
1969 struct pch_udc_ep *ep; in pch_udc_pcd_fifo_flush() local
2012 static void pch_udc_start_next_txrequest(struct pch_udc_ep *ep) in pch_udc_start_next_txrequest()
2051 static void pch_udc_complete_transfer(struct pch_udc_ep *ep) in pch_udc_complete_transfer()
2091 static void pch_udc_complete_receiver(struct pch_udc_ep *ep) in pch_udc_complete_receiver()
2156 struct pch_udc_ep *ep; in pch_udc_svc_data_in() local
2200 struct pch_udc_ep *ep; in pch_udc_svc_data_out() local
2270 struct pch_udc_ep *ep; in pch_udc_svc_control_in() local
2313 struct pch_udc_ep *ep; in pch_udc_svc_control_out() local
2389 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters() local
2404 struct pch_udc_ep *ep; in pch_udc_read_all_epstatus() local
2429 struct pch_udc_ep *ep; in pch_udc_activate_control_ep() local
2475 struct pch_udc_ep *ep; in pch_udc_svc_ur_interrupt() local
2785 struct pch_udc_ep *ep = &dev->ep[i]; in pch_udc_pcd_reinit() local