Lines Matching refs:dwc2_hsotg

37 int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg)  in dwc2_backup_global_registers()
69 int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers()
107 int dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_exit_partial_power_down()
131 int dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_enter_partial_power_down()
146 static void dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode, in dwc2_restore_essential_regs()
214 void dwc2_hib_restore_common(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_hib_restore_common()
286 static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, in dwc2_wait_for_mode()
326 static bool dwc2_iddig_filter_enabled(struct dwc2_hsotg *hsotg) in dwc2_iddig_filter_enabled()
362 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host) in dwc2_enter_hibernation()
380 int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_exit_hibernation()
393 int dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait) in dwc2_core_reset()
502 void dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host) in dwc2_force_mode()
550 static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) in dwc2_clear_force_mode()
571 void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_force_dr_mode()
599 void dwc2_enable_acg(struct dwc2_hsotg *hsotg) in dwc2_enable_acg()
618 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers()
691 void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_global_registers()
782 void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) in dwc2_flush_tx_fifo()
810 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo()
833 bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) in dwc2_is_controller_alive()
847 void dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_global_interrupts()
861 void dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_global_interrupts()
870 unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg) in dwc2_op_mode()
879 bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) in dwc2_hw_is_otg()
889 bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg) in dwc2_hw_is_host()
898 bool dwc2_hw_is_device(struct dwc2_hsotg *hsotg) in dwc2_hw_is_device()
915 int dwc2_hsotg_wait_bit_set(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, in dwc2_hsotg_wait_bit_set()
938 int dwc2_hsotg_wait_bit_clear(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, in dwc2_hsotg_wait_bit_clear()
956 void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) in dwc2_init_fs_ls_pclk_sel()
978 static int dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_fs_phy_init()
1048 static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_hs_phy_init()
1105 static void dwc2_set_turnaround_time(struct dwc2_hsotg *hsotg) in dwc2_set_turnaround_time()
1123 int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_phy_init()