Lines Matching defs:hsotg
67 int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers()
99 int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers()
137 int dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_exit_partial_power_down()
161 int dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_enter_partial_power_down()
176 static void dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode, in dwc2_restore_essential_regs()
244 void dwc2_hib_restore_common(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_hib_restore_common()
316 static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, in dwc2_wait_for_mode()
356 static bool dwc2_iddig_filter_enabled(struct dwc2_hsotg *hsotg) in dwc2_iddig_filter_enabled()
392 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host) in dwc2_enter_hibernation()
410 int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_exit_hibernation()
423 int dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait) in dwc2_core_reset()
532 void dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host) in dwc2_force_mode()
580 static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) in dwc2_clear_force_mode()
601 void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_force_dr_mode()
629 void dwc2_enable_acg(struct dwc2_hsotg *hsotg) in dwc2_enable_acg()
648 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers()
721 void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_global_registers()
812 void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) in dwc2_flush_tx_fifo()
840 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo()
863 bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) in dwc2_is_controller_alive()
877 void dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_global_interrupts()
891 void dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_global_interrupts()
900 unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg) in dwc2_op_mode()
909 bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) in dwc2_hw_is_otg()
919 bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg) in dwc2_hw_is_host()
928 bool dwc2_hw_is_device(struct dwc2_hsotg *hsotg) in dwc2_hw_is_device()
945 int dwc2_hsotg_wait_bit_set(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, in dwc2_hsotg_wait_bit_set()
968 int dwc2_hsotg_wait_bit_clear(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, in dwc2_hsotg_wait_bit_clear()
986 void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) in dwc2_init_fs_ls_pclk_sel()
1008 static int dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_fs_phy_init()
1078 static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_hs_phy_init()
1135 static void dwc2_set_turnaround_time(struct dwc2_hsotg *hsotg) in dwc2_set_turnaround_time()
1153 int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_phy_init()