Lines Matching defs:hsotg

65 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg)  in dwc2_enable_common_interrupts()
91 static void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) in dwc2_init_fs_ls_pclk_sel()
117 static int dwc2_core_reset(struct dwc2_hsotg *hsotg) in dwc2_core_reset()
178 static int dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_fs_phy_init()
231 static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_hs_phy_init()
280 static int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_phy_init()
316 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init()
362 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init()
405 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool select_phy, int irq) in dwc2_core_init()
484 void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_host_interrupts()
508 void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_host_interrupts()
525 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) in dwc2_calculate_dynamic_fifo()
584 static void dwc2_config_fifos(struct dwc2_hsotg *hsotg) in dwc2_config_fifos()
653 void dwc2_core_host_init(struct dwc2_hsotg *hsotg) in dwc2_core_host_init()
771 static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_slave_ints()
849 static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_dma_ints()
886 static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_ints()
927 void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_init()
1042 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_hc_halt()
1188 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_cleanup()
1214 static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, in dwc2_hc_set_even_odd_frame()
1261 static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, in dwc2_hc_write_packet()
1334 void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer()
1536 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer_ddma()
1626 int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_continue_transfer()
1697 void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_do_ping()
1727 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) in dwc2_calc_frame_interval()
1774 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) in dwc2_read_packet()
1801 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers()
1873 void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_global_registers()
1964 void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) in dwc2_flush_tx_fifo()
1996 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo()
2023 void dwc2_set_param_otg_cap(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_otg_cap()
2076 void dwc2_set_param_dma_enable(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_dma_enable()
2097 void dwc2_set_param_dma_desc_enable(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_dma_desc_enable()
2120 void dwc2_set_param_host_support_fs_ls_low_power(struct dwc2_hsotg *hsotg, in dwc2_set_param_host_support_fs_ls_low_power()
2138 void dwc2_set_param_enable_dynamic_fifo(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_enable_dynamic_fifo()
2159 void dwc2_set_param_host_rx_fifo_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_rx_fifo_size()
2178 void dwc2_set_param_host_nperio_tx_fifo_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_nperio_tx_fifo_size()
2198 void dwc2_set_param_host_perio_tx_fifo_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_perio_tx_fifo_size()
2218 void dwc2_set_param_max_transfer_size(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_max_transfer_size()
2237 void dwc2_set_param_max_packet_count(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_max_packet_count()
2256 void dwc2_set_param_host_channels(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_host_channels()
2275 void dwc2_set_param_phy_type(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_type()
2323 static int dwc2_get_param_phy_type(struct dwc2_hsotg *hsotg) in dwc2_get_param_phy_type()
2328 void dwc2_set_param_speed(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_speed()
2357 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()
2391 void dwc2_set_param_phy_ulpi_ddr(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_ulpi_ddr()
2405 void dwc2_set_param_phy_ulpi_ext_vbus(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_ulpi_ext_vbus()
2421 void dwc2_set_param_phy_utmi_width(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_phy_utmi_width()
2451 void dwc2_set_param_ulpi_fs_ls(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_ulpi_fs_ls()
2465 void dwc2_set_param_ts_dline(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_ts_dline()
2479 void dwc2_set_param_i2c_enable(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_i2c_enable()
2507 void dwc2_set_param_en_multiple_tx_fifo(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_en_multiple_tx_fifo()
2536 void dwc2_set_param_reload_ctl(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_reload_ctl()
2564 void dwc2_set_param_ahbcfg(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_ahbcfg()
2573 void dwc2_set_param_otg_ver(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_otg_ver()
2589 static void dwc2_set_param_uframe_sched(struct dwc2_hsotg *hsotg, int val) in dwc2_set_param_uframe_sched()
2609 void dwc2_set_parameters(struct dwc2_hsotg *hsotg, in dwc2_set_parameters()
2655 int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) in dwc2_get_hwparams()
2817 u16 dwc2_get_otg_version(struct dwc2_hsotg *hsotg) in dwc2_get_otg_version()
2822 bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) in dwc2_is_controller_alive()
2836 void dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_global_interrupts()
2850 void dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_global_interrupts()