Lines Matching refs:pch_udc_ep

284 struct pch_udc_ep {  struct
343 struct pch_udc_ep ep[PCH_UDC_EP_NUM];
426 static inline u32 pch_udc_ep_readl(struct pch_udc_ep *ep, unsigned long reg) in pch_udc_ep_readl()
431 static inline void pch_udc_ep_writel(struct pch_udc_ep *ep, in pch_udc_ep_writel()
437 static inline void pch_udc_ep_bit_set(struct pch_udc_ep *ep, in pch_udc_ep_bit_set()
444 static inline void pch_udc_ep_bit_clr(struct pch_udc_ep *ep, in pch_udc_ep_bit_clr()
619 static void pch_udc_ep_set_stall(struct pch_udc_ep *ep) in pch_udc_ep_set_stall()
633 static inline void pch_udc_ep_clear_stall(struct pch_udc_ep *ep) in pch_udc_ep_clear_stall()
646 static inline void pch_udc_ep_set_trfr_type(struct pch_udc_ep *ep, in pch_udc_ep_set_trfr_type()
659 static void pch_udc_ep_set_bufsz(struct pch_udc_ep *ep, in pch_udc_ep_set_bufsz()
679 static void pch_udc_ep_set_maxpkt(struct pch_udc_ep *ep, u32 pkt_size) in pch_udc_ep_set_maxpkt()
691 static inline void pch_udc_ep_set_subptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_subptr()
701 static inline void pch_udc_ep_set_ddptr(struct pch_udc_ep *ep, u32 addr) in pch_udc_ep_set_ddptr()
710 static inline void pch_udc_ep_set_pd(struct pch_udc_ep *ep) in pch_udc_ep_set_pd()
719 static inline void pch_udc_ep_set_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_set_rrdy()
728 static inline void pch_udc_ep_clear_rrdy(struct pch_udc_ep *ep) in pch_udc_ep_clear_rrdy()
876 static inline u32 pch_udc_read_ep_control(struct pch_udc_ep *ep) in pch_udc_read_ep_control()
886 static inline void pch_udc_clear_ep_control(struct pch_udc_ep *ep) in pch_udc_clear_ep_control()
896 static inline u32 pch_udc_read_ep_status(struct pch_udc_ep *ep) in pch_udc_read_ep_status()
906 static inline void pch_udc_clear_ep_status(struct pch_udc_ep *ep, in pch_udc_clear_ep_status()
917 static inline void pch_udc_ep_set_nak(struct pch_udc_ep *ep) in pch_udc_ep_set_nak()
927 static void pch_udc_ep_clear_nak(struct pch_udc_ep *ep) in pch_udc_ep_clear_nak()
960 static void pch_udc_ep_fifo_flush(struct pch_udc_ep *ep, int dir) in pch_udc_ep_fifo_flush()
974 static void pch_udc_ep_enable(struct pch_udc_ep *ep, in pch_udc_ep_enable()
1009 static void pch_udc_ep_disable(struct pch_udc_ep *ep) in pch_udc_ep_disable()
1029 static void pch_udc_wait_ep_stall(struct pch_udc_ep *ep) in pch_udc_wait_ep_stall()
1422 static void complete_req(struct pch_udc_ep *ep, struct pch_udc_request *req, in complete_req()
1453 static void empty_req_queue(struct pch_udc_ep *ep) in empty_req_queue()
1504 static int pch_udc_create_dma_chain(struct pch_udc_ep *ep, in pch_udc_create_dma_chain()
1560 static int prepare_dma(struct pch_udc_ep *ep, struct pch_udc_request *req, in prepare_dma()
1583 static void process_zlp(struct pch_udc_ep *ep, struct pch_udc_request *req) in process_zlp()
1609 static void pch_udc_start_rxrequest(struct pch_udc_ep *ep, in pch_udc_start_rxrequest()
1647 struct pch_udc_ep *ep; in pch_udc_pcd_ep_enable()
1655 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_enable()
1680 struct pch_udc_ep *ep; in pch_udc_pcd_ep_disable()
1686 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_ep_disable()
1715 struct pch_udc_ep *ep; in pch_udc_alloc_request()
1720 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_alloc_request()
1753 struct pch_udc_ep *ep; in pch_udc_free_request()
1759 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_free_request()
1789 struct pch_udc_ep *ep; in pch_udc_pcd_queue()
1796 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_queue()
1860 struct pch_udc_ep *ep; in pch_udc_pcd_dequeue()
1865 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_dequeue()
1896 struct pch_udc_ep *ep; in pch_udc_pcd_set_halt()
1902 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_set_halt()
1937 struct pch_udc_ep *ep; in pch_udc_pcd_set_wedge()
1943 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_set_wedge()
1970 struct pch_udc_ep *ep; in pch_udc_pcd_fifo_flush()
1975 ep = container_of(usbep, struct pch_udc_ep, ep); in pch_udc_pcd_fifo_flush()
2013 static void pch_udc_start_next_txrequest(struct pch_udc_ep *ep) in pch_udc_start_next_txrequest()
2052 static void pch_udc_complete_transfer(struct pch_udc_ep *ep) in pch_udc_complete_transfer()
2092 static void pch_udc_complete_receiver(struct pch_udc_ep *ep) in pch_udc_complete_receiver()
2157 struct pch_udc_ep *ep; in pch_udc_svc_data_in()
2201 struct pch_udc_ep *ep; in pch_udc_svc_data_out()
2271 struct pch_udc_ep *ep; in pch_udc_svc_control_in()
2272 struct pch_udc_ep *ep_out; in pch_udc_svc_control_in()
2314 struct pch_udc_ep *ep; in pch_udc_svc_control_out()
2390 struct pch_udc_ep *ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters()
2405 struct pch_udc_ep *ep; in pch_udc_read_all_epstatus()
2430 struct pch_udc_ep *ep; in pch_udc_activate_control_ep()
2476 struct pch_udc_ep *ep; in pch_udc_svc_ur_interrupt()
2786 struct pch_udc_ep *ep = &dev->ep[i]; in pch_udc_pcd_reinit()