Lines Matching defs:hsotg
77 STATIC void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_common_interrupts()
104 STATIC int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init()
149 STATIC void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init()
180 static int dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg) in dwc2_vbus_supply_init()
190 static int dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg) in dwc2_vbus_supply_exit()
205 void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_host_interrupts()
229 void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_host_interrupts()
246 STATIC void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) in dwc2_calculate_dynamic_fifo()
305 STATIC void dwc2_config_fifos(struct dwc2_hsotg *hsotg) in dwc2_config_fifos()
376 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) in dwc2_calc_frame_interval()
423 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) in dwc2_read_packet()
452 STATIC void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg, in dwc2_dump_channel_info()
512 static void dwc2_host_start(struct dwc2_hsotg *hsotg) in dwc2_host_start()
522 static void dwc2_host_disconnect(struct dwc2_hsotg *hsotg) in dwc2_host_disconnect()
531 void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context, in dwc2_host_hub_info()
551 STATIC void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_slave_ints()
629 STATIC void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_dma_ints()
666 STATIC void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_ints()
707 void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_init()
822 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_hc_halt()
986 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_cleanup()
1014 STATIC void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, in dwc2_hc_set_even_odd_frame()
1149 STATIC void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, in dwc2_hc_write_packet()
1195 STATIC void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, in dwc2_hc_do_ping()
1248 STATIC void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer()
1470 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer_ddma()
1566 STATIC int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_continue_transfer()
1640 STATIC void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg, in dwc2_kill_urbs_in_qh_list()
1655 STATIC void dwc2_qh_list_free(struct dwc2_hsotg *hsotg, in dwc2_qh_list_free()
1698 STATIC void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg) in dwc2_kill_all_urbs()
1714 void dwc2_hcd_start(struct dwc2_hsotg *hsotg) in dwc2_hcd_start()
1734 STATIC void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg) in dwc2_hcd_cleanup_channels()
1793 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) in dwc2_hcd_connect()
1810 void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) in dwc2_hcd_disconnect()
1879 STATIC void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg) in dwc2_hcd_rem_wakeup()
1899 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) in dwc2_hcd_stop()
1918 STATIC int dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_enqueue()
1978 STATIC int dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_dequeue()
2117 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) in dwc2_core_init()
2205 static void dwc2_core_host_init(struct dwc2_hsotg *hsotg) in dwc2_core_host_init()
2345 STATIC void dwc2_hcd_reinit(struct dwc2_hsotg *hsotg) in dwc2_hcd_reinit()
2381 STATIC void dwc2_hc_init_split(struct dwc2_hsotg *hsotg, in dwc2_hc_init_split()
2395 STATIC void dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg, in dwc2_hc_init_xfer()
2485 static int dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg, in dwc2_alloc_split_dma_aligned_buf()
2624 STATIC int dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_assign_and_init_hc()
2762 struct dwc2_hsotg *hsotg) in dwc2_hcd_select_transactions()
2862 STATIC int dwc2_queue_transaction(struct dwc2_hsotg *hsotg, in dwc2_queue_transaction()
2924 STATIC void dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg) in dwc2_process_periodic_channels()
3058 STATIC void dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg) in dwc2_process_non_periodic_channels()
3182 void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, in dwc2_hcd_queue_transactions()
3213 struct dwc2_hsotg *hsotg = data; in dwc2_conn_id_status_change() local
3304 struct dwc2_hsotg *hsotg = (struct dwc2_hsotg *)data; in dwc2_wakeup_detected() local
3327 static int dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg) in dwc2_host_is_b_hnp_enabled()
3348 int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend()
3422 int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
3459 int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq, in dwc2_hcd_hub_control()
3863 int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number()
3874 int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us) in dwc2_hcd_get_future_frame_number()
3903 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) in dwc2_hcd_is_b_host()
3908 STATIC struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_alloc()
3923 void dwc2_hcd_urb_free(struct dwc2_hsotg *hsotg, struct dwc2_hcd_urb *urb, in dwc2_hcd_urb_free()
3932 void dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_set_pipeinfo()
3955 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg) in dwc2_hcd_dump_state()
4081 struct dwc2_hsotg *hsotg; member
4115 struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context, in dwc2_host_get_tt_info()
4166 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt) in dwc2_host_put_tt_info()
4181 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context) in dwc2_host_get_speed()
4190 STATIC void dwc2_allocate_bus_bandwidth(struct dwc2_hsotg *hsotg, u16 bw, in dwc2_allocate_bus_bandwidth()
4195 STATIC void dwc2_free_bus_bandwidth(struct dwc2_hsotg *hsotg, u16 bw, in dwc2_free_bus_bandwidth()
4206 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_host_complete()
4333 struct dwc2_hsotg *hsotg = data; in dwc2_hcd_start_func() local
4344 struct dwc2_hsotg *hsotg = data; in dwc2_hcd_reset_func() local
4382 _dwc2_hcd_start(struct dwc2_hsotg *hsotg) in _dwc2_hcd_start()
5184 STATIC void dwc2_hcd_free(struct dwc2_hsotg *hsotg) in dwc2_hcd_free()
5247 STATIC void dwc2_hcd_release(struct dwc2_hsotg *hsotg) in dwc2_hcd_release()
5261 int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init()
5450 STATIC int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
5479 STATIC int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
5514 int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_host_enter_hibernation()
5624 int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_host_exit_hibernation()
5773 int dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_host_enter_partial_power_down()
5848 int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_host_exit_partial_power_down()
5929 void dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) in dwc2_host_enter_clock_gating()
5965 void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) in dwc2_host_exit_clock_gating()