Lines Matching defs:hsotg
67 static int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
95 static int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
124 static inline int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
127 static inline int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
140 static int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_device_registers()
192 static int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_device_registers()
235 static inline int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_device_registers()
238 static inline int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_device_registers()
249 static int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers()
279 static int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers()
316 int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, bool restore) in dwc2_exit_hibernation()
369 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_enter_hibernation()
430 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_common_interrupts()
458 static void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) in dwc2_init_fs_ls_pclk_sel()
484 static int dwc2_core_reset(struct dwc2_hsotg *hsotg) in dwc2_core_reset()
545 static int dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_fs_phy_init()
598 static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_hs_phy_init()
647 static int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_phy_init()
683 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init()
729 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init()
772 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool select_phy, int irq) in dwc2_core_init()
851 void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_host_interrupts()
875 void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_host_interrupts()
892 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) in dwc2_calculate_dynamic_fifo()
951 static void dwc2_config_fifos(struct dwc2_hsotg *hsotg) in dwc2_config_fifos()
1021 void dwc2_core_host_init(struct dwc2_hsotg *hsotg) in dwc2_core_host_init()
1139 static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_slave_ints()
1217 static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_dma_ints()
1254 static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_ints()
1295 void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_init()
1410 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_hc_halt()
1556 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_cleanup()
1582 static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, in dwc2_hc_set_even_odd_frame()
1629 static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, in dwc2_hc_write_packet()
1702 void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer()
1904 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer_ddma()
1994 int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_continue_transfer()
2065 void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_do_ping()
2095 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) in dwc2_calc_frame_interval()
2142 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) in dwc2_read_packet()
2169 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers()
2241 void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_global_registers()
2332 void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) in dwc2_flush_tx_fifo()
2364 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo()
2391 void dwc2_set_param_otg_cap(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_otg_cap()
2444 void dwc2_set_param_dma_enable(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_dma_enable()
2465 void dwc2_set_param_dma_desc_enable(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_dma_desc_enable()
2488 void dwc2_set_param_host_support_fs_ls_low_power(struct dwc2_hsotg *hsotg, in dwc2_set_param_host_support_fs_ls_low_power()
2506 void dwc2_set_param_enable_dynamic_fifo(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_enable_dynamic_fifo()
2527 void dwc2_set_param_host_rx_fifo_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_rx_fifo_size()
2546 void dwc2_set_param_host_nperio_tx_fifo_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_nperio_tx_fifo_size()
2566 void dwc2_set_param_host_perio_tx_fifo_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_perio_tx_fifo_size()
2586 void dwc2_set_param_max_transfer_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_max_transfer_size()
2605 void dwc2_set_param_max_packet_count(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_max_packet_count()
2624 void dwc2_set_param_host_channels(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_channels()
2643 void dwc2_set_param_phy_type(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_type()
2691 static int dwc2_get_param_phy_type(struct dwc2_hsotg *hsotg) in dwc2_get_param_phy_type()
2696 void dwc2_set_param_speed(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_speed()
2725 void dwc2_set_param_host_ls_low_power_phy_clk(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_ls_low_power_phy_clk()
2759 void dwc2_set_param_phy_ulpi_ddr(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_ulpi_ddr()
2773 void dwc2_set_param_phy_ulpi_ext_vbus(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_ulpi_ext_vbus()
2789 void dwc2_set_param_phy_utmi_width(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_utmi_width()
2819 void dwc2_set_param_ulpi_fs_ls(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_ulpi_fs_ls()
2833 void dwc2_set_param_ts_dline(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_ts_dline()
2847 void dwc2_set_param_i2c_enable(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_i2c_enable()
2875 void dwc2_set_param_en_multiple_tx_fifo(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_en_multiple_tx_fifo()
2904 void dwc2_set_param_reload_ctl(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_reload_ctl()
2932 void dwc2_set_param_ahbcfg(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_ahbcfg()
2941 void dwc2_set_param_otg_ver(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_otg_ver()
2957 static void dwc2_set_param_uframe_sched(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_uframe_sched()
2973 static void dwc2_set_param_external_id_pin_ctl(struct dwc2_hsotg *hsotg, in dwc2_set_param_external_id_pin_ctl()
2990 static void dwc2_set_param_hibernation(struct dwc2_hsotg *hsotg, in dwc2_set_param_hibernation()
3011 void dwc2_set_parameters(struct dwc2_hsotg *hsotg, in dwc2_set_parameters()
3059 int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) in dwc2_get_hwparams()
3237 u16 dwc2_get_otg_version(struct dwc2_hsotg *hsotg) in dwc2_get_otg_version()
3242 bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) in dwc2_is_controller_alive()
3256 void dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_global_interrupts()
3270 void dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_global_interrupts()