Lines Matching refs:s3c_hsotg
60 struct s3c_hsotg;
103 struct s3c_hsotg *parent;
145 struct s3c_hsotg { struct
195 static inline struct s3c_hsotg *to_hsotg(struct usb_gadget *gadget) in to_hsotg()
197 return container_of(gadget, struct s3c_hsotg, gadget); in to_hsotg()
211 static void s3c_hsotg_dump(struct s3c_hsotg *hsotg);
232 static inline bool using_dma(struct s3c_hsotg *hsotg) in using_dma()
242 static void s3c_hsotg_en_gsint(struct s3c_hsotg *hsotg, u32 ints) in s3c_hsotg_en_gsint()
260 static void s3c_hsotg_disable_gsint(struct s3c_hsotg *hsotg, u32 ints) in s3c_hsotg_disable_gsint()
281 static void s3c_hsotg_ctrl_epint(struct s3c_hsotg *hsotg, in s3c_hsotg_ctrl_epint()
306 static void s3c_hsotg_init_fifo(struct s3c_hsotg *hsotg) in s3c_hsotg_init_fifo()
416 static void s3c_hsotg_unmap_dma(struct s3c_hsotg *hsotg, in s3c_hsotg_unmap_dma()
457 static int s3c_hsotg_write_fifo(struct s3c_hsotg *hsotg, in s3c_hsotg_write_fifo()
646 static void s3c_hsotg_start_req(struct s3c_hsotg *hsotg, in s3c_hsotg_start_req()
810 static int s3c_hsotg_map_dma(struct s3c_hsotg *hsotg, in s3c_hsotg_map_dma()
860 struct s3c_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_queue()
913 struct s3c_hsotg *hsotg = hs_ep->parent; in s3c_hsotg_complete_oursetup()
928 static struct s3c_hsotg_ep *ep_from_windex(struct s3c_hsotg *hsotg, in ep_from_windex()
957 static int s3c_hsotg_send_reply(struct s3c_hsotg *hsotg, in s3c_hsotg_send_reply()
998 static int s3c_hsotg_process_req_status(struct s3c_hsotg *hsotg, in s3c_hsotg_process_req_status()
1055 static int s3c_hsotg_process_req_feature(struct s3c_hsotg *hsotg, in s3c_hsotg_process_req_feature()
1095 static void s3c_hsotg_process_control(struct s3c_hsotg *hsotg, in s3c_hsotg_process_control()
1187 static void s3c_hsotg_enqueue_setup(struct s3c_hsotg *hsotg);
1201 struct s3c_hsotg *hsotg = hs_ep->parent; in s3c_hsotg_complete_setup()
1221 static void s3c_hsotg_enqueue_setup(struct s3c_hsotg *hsotg) in s3c_hsotg_enqueue_setup()
1276 static void s3c_hsotg_complete_request(struct s3c_hsotg *hsotg, in s3c_hsotg_complete_request()
1335 static void s3c_hsotg_complete_request_lock(struct s3c_hsotg *hsotg, in s3c_hsotg_complete_request_lock()
1357 static void s3c_hsotg_rx_data(struct s3c_hsotg *hsotg, int ep_idx, int size) in s3c_hsotg_rx_data()
1422 static void s3c_hsotg_send_zlp(struct s3c_hsotg *hsotg, in s3c_hsotg_send_zlp()
1464 static void s3c_hsotg_handle_outdone(struct s3c_hsotg *hsotg, in s3c_hsotg_handle_outdone()
1524 static u32 s3c_hsotg_read_frameno(struct s3c_hsotg *hsotg) in s3c_hsotg_read_frameno()
1551 static void s3c_hsotg_handle_rx(struct s3c_hsotg *hsotg) in s3c_hsotg_handle_rx()
1645 static void s3c_hsotg_set_ep_maxpacket(struct s3c_hsotg *hsotg, in s3c_hsotg_set_ep_maxpacket()
1695 static int s3c_hsotg_trytx(struct s3c_hsotg *hsotg, in s3c_hsotg_trytx()
1720 static void s3c_hsotg_complete_in(struct s3c_hsotg *hsotg, in s3c_hsotg_complete_in()
1770 static void s3c_hsotg_epint(struct s3c_hsotg *hsotg, unsigned int idx, in s3c_hsotg_epint()
1877 static void s3c_hsotg_irq_enumdone(struct s3c_hsotg *hsotg) in s3c_hsotg_irq_enumdone()
1951 static void kill_all_requests(struct s3c_hsotg *hsotg, in kill_all_requests()
1987 static void s3c_hsotg_disconnect_irq(struct s3c_hsotg *hsotg) in s3c_hsotg_disconnect_irq()
2002 static void s3c_hsotg_irq_fifoempty(struct s3c_hsotg *hsotg, bool periodic) in s3c_hsotg_irq_fifoempty()
2025 static struct s3c_hsotg *our_hsotg;
2039 struct s3c_hsotg *hsotg = pw; in s3c_hsotg_irq()
2231 struct s3c_hsotg *hsotg = hs_ep->parent; in s3c_hsotg_ep_enable()
2344 struct s3c_hsotg *hsotg = hs_ep->parent; in s3c_hsotg_ep_disable()
2401 struct s3c_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_dequeue()
2427 struct s3c_hsotg *hs = hs_ep->parent; in s3c_hsotg_ep_sethalt()
2481 static int s3c_hsotg_corereset(struct s3c_hsotg *hsotg) in s3c_hsotg_corereset()
2529 struct s3c_hsotg *hsotg = our_hsotg; in usb_gadget_probe_driver()
2695 struct s3c_hsotg *hsotg = our_hsotg; in usb_gadget_unregister_driver()
2742 static void __devinit s3c_hsotg_initep(struct s3c_hsotg *hsotg, in s3c_hsotg_initep()
2801 static void s3c_hsotg_otgreset(struct s3c_hsotg *hsotg) in s3c_hsotg_otgreset()
2840 static void s3c_hsotg_init(struct s3c_hsotg *hsotg) in s3c_hsotg_init()
2889 static void s3c_hsotg_dump(struct s3c_hsotg *hsotg) in s3c_hsotg_dump()
2947 struct s3c_hsotg *hsotg = seq->private; in state_show()
3017 struct s3c_hsotg *hsotg = seq->private; in fifo_show()
3073 struct s3c_hsotg *hsotg = ep->parent; in ep_show()
3150 static void __devinit s3c_hsotg_create_debug(struct s3c_hsotg *hsotg) in s3c_hsotg_create_debug()
3196 static void __devexit s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg) in s3c_hsotg_delete_debug()
3242 struct s3c_hsotg *hsotg; in s3c_hsotg_probe()
3250 hsotg = kzalloc(sizeof(struct s3c_hsotg) + in s3c_hsotg_probe()
3369 struct s3c_hsotg *hsotg = platform_get_drvdata(pdev); in s3c_hsotg_remove()