Lines Matching defs:hsotg
66 static int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers()
96 static int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers()
133 int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, bool restore) in dwc2_exit_hibernation()
186 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_enter_hibernation()
246 static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, in dwc2_wait_for_mode()
284 static bool dwc2_iddig_filter_enabled(struct dwc2_hsotg *hsotg) in dwc2_iddig_filter_enabled()
316 int dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait) in dwc2_core_reset()
402 static bool dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host) in dwc2_force_mode()
448 void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) in dwc2_clear_force_mode()
464 void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_force_dr_mode()
499 int dwc2_core_reset_and_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_core_reset_and_force_dr_mode()
519 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers()
591 void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_global_registers()
682 void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) in dwc2_flush_tx_fifo()
714 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo()
744 bool dwc2_force_mode_if_needed(struct dwc2_hsotg *hsotg, bool host) in dwc2_force_mode_if_needed()
754 bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) in dwc2_is_controller_alive()
768 void dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_global_interrupts()
782 void dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_global_interrupts()
791 unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg) in dwc2_op_mode()
800 bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) in dwc2_hw_is_otg()
810 bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg) in dwc2_hw_is_host()
819 bool dwc2_hw_is_device(struct dwc2_hsotg *hsotg) in dwc2_hw_is_device()