Lines Matching refs:dwc2_hsotg

87 struct dwc2_hsotg;
133 struct dwc2_hsotg *parent;
183 struct dwc2_hsotg;
587 struct dwc2_hsotg { struct
753 extern void dwc2_core_host_init(struct dwc2_hsotg *hsotg);
760 extern void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan);
761 extern void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan,
763 extern void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg,
765 extern void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg,
767 extern void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg,
769 extern int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg,
771 extern void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg,
773 extern void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg);
774 extern void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg);
776 extern u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg);
777 extern bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg);
784 extern void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes);
785 extern void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num);
786 extern void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg);
788 extern int dwc2_core_init(struct dwc2_hsotg *hsotg, bool select_phy, int irq);
789 extern void dwc2_enable_global_interrupts(struct dwc2_hsotg *hcd);
790 extern void dwc2_disable_global_interrupts(struct dwc2_hsotg *hcd);
804 extern void dwc2_set_param_otg_cap(struct dwc2_hsotg *hsotg, int val);
816 extern void dwc2_set_param_dma_enable(struct dwc2_hsotg *hsotg, int val);
826 extern void dwc2_set_param_dma_desc_enable(struct dwc2_hsotg *hsotg, int val);
836 extern void dwc2_set_param_speed(struct dwc2_hsotg *hsotg, int val);
848 struct dwc2_hsotg *hsotg, int val);
859 extern void dwc2_set_param_host_ls_low_power_phy_clk(struct dwc2_hsotg *hsotg,
868 extern void dwc2_set_param_enable_dynamic_fifo(struct dwc2_hsotg *hsotg,
876 extern void dwc2_set_param_host_rx_fifo_size(struct dwc2_hsotg *hsotg, int val);
883 extern void dwc2_set_param_host_nperio_tx_fifo_size(struct dwc2_hsotg *hsotg,
891 extern void dwc2_set_param_host_perio_tx_fifo_size(struct dwc2_hsotg *hsotg,
898 extern void dwc2_set_param_max_transfer_size(struct dwc2_hsotg *hsotg, int val);
904 extern void dwc2_set_param_max_packet_count(struct dwc2_hsotg *hsotg, int val);
911 extern void dwc2_set_param_host_channels(struct dwc2_hsotg *hsotg, int val);
921 extern void dwc2_set_param_phy_type(struct dwc2_hsotg *hsotg, int val);
937 extern void dwc2_set_param_phy_utmi_width(struct dwc2_hsotg *hsotg, int val);
949 extern void dwc2_set_param_phy_ulpi_ddr(struct dwc2_hsotg *hsotg, int val);
955 extern void dwc2_set_param_phy_ulpi_ext_vbus(struct dwc2_hsotg *hsotg, int val);
965 extern void dwc2_set_param_i2c_enable(struct dwc2_hsotg *hsotg, int val);
967 extern void dwc2_set_param_ulpi_fs_ls(struct dwc2_hsotg *hsotg, int val);
969 extern void dwc2_set_param_ts_dline(struct dwc2_hsotg *hsotg, int val);
977 extern void dwc2_set_param_en_multiple_tx_fifo(struct dwc2_hsotg *hsotg,
980 extern void dwc2_set_param_reload_ctl(struct dwc2_hsotg *hsotg, int val);
982 extern void dwc2_set_param_ahbcfg(struct dwc2_hsotg *hsotg, int val);
984 extern void dwc2_set_param_otg_ver(struct dwc2_hsotg *hsotg, int val);
989 extern void dwc2_dump_dev_registers(struct dwc2_hsotg *hsotg);
990 extern void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg);
991 extern void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg);
996 extern u16 dwc2_get_otg_version(struct dwc2_hsotg *hsotg);
1000 extern int s3c_hsotg_remove(struct dwc2_hsotg *hsotg);
1001 extern int s3c_hsotg_suspend(struct dwc2_hsotg *dwc2);
1002 extern int s3c_hsotg_resume(struct dwc2_hsotg *dwc2);
1003 extern int dwc2_gadget_init(struct dwc2_hsotg *hsotg, int irq);
1004 extern void s3c_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2,
1006 extern void s3c_hsotg_core_connect(struct dwc2_hsotg *hsotg);
1007 extern void s3c_hsotg_disconnect(struct dwc2_hsotg *dwc2);
1009 static inline int s3c_hsotg_remove(struct dwc2_hsotg *dwc2) in s3c_hsotg_remove()
1011 static inline int s3c_hsotg_suspend(struct dwc2_hsotg *dwc2) in s3c_hsotg_suspend()
1013 static inline int s3c_hsotg_resume(struct dwc2_hsotg *dwc2) in s3c_hsotg_resume()
1015 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg, int irq) in dwc2_gadget_init()
1017 static inline void s3c_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, in s3c_hsotg_core_init_disconnected()
1019 static inline void s3c_hsotg_core_connect(struct dwc2_hsotg *hsotg) {} in s3c_hsotg_core_connect()
1020 static inline void s3c_hsotg_disconnect(struct dwc2_hsotg *dwc2) {} in s3c_hsotg_disconnect()
1024 extern int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg);
1025 extern void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg);
1026 extern void dwc2_hcd_start(struct dwc2_hsotg *hsotg);
1029 static inline int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number()
1031 static inline void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_disconnect()
1032 static inline void dwc2_hcd_start(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_start()
1033 static inline void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_remove()
1034 static inline int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq, in dwc2_hcd_init()