Lines Matching defs:hsotg
71 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_common_interrupts()
98 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init()
132 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init()
163 static int dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg) in dwc2_vbus_supply_init()
171 static int dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg) in dwc2_vbus_supply_exit()
184 static void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_host_interrupts()
208 static void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_host_interrupts()
225 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) in dwc2_calculate_dynamic_fifo()
284 static void dwc2_config_fifos(struct dwc2_hsotg *hsotg) in dwc2_config_fifos()
355 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) in dwc2_calc_frame_interval()
402 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) in dwc2_read_packet()
431 static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg, in dwc2_dump_channel_info()
491 static void dwc2_host_start(struct dwc2_hsotg *hsotg) in dwc2_host_start()
499 static void dwc2_host_disconnect(struct dwc2_hsotg *hsotg) in dwc2_host_disconnect()
506 static void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context, in dwc2_host_hub_info()
524 static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_slave_ints()
602 static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_dma_ints()
639 static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_ints()
680 static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_init()
795 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_hc_halt()
959 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_cleanup()
987 static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, in dwc2_hc_set_even_odd_frame()
1122 static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, in dwc2_hc_write_packet()
1168 static void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, in dwc2_hc_do_ping()
1221 static void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer()
1436 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer_ddma()
1525 static int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_continue_transfer()
1599 static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg, in dwc2_kill_urbs_in_qh_list()
1614 static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg, in dwc2_qh_list_free()
1657 static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg) in dwc2_kill_all_urbs()
1673 void dwc2_hcd_start(struct dwc2_hsotg *hsotg) in dwc2_hcd_start()
1693 static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg) in dwc2_hcd_cleanup_channels()
1752 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) in dwc2_hcd_connect()
1769 void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) in dwc2_hcd_disconnect()
1836 static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg) in dwc2_hcd_rem_wakeup()
1854 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) in dwc2_hcd_stop()
1873 static int dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_enqueue()
1933 static int dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_dequeue()
1991 static int dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg, in dwc2_hcd_endpoint_disable()
2050 static int dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg, in dwc2_hcd_endpoint_reset()
2070 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) in dwc2_core_init()
2158 static void dwc2_core_host_init(struct dwc2_hsotg *hsotg) in dwc2_core_host_init()
2298 static void dwc2_hcd_reinit(struct dwc2_hsotg *hsotg) in dwc2_hcd_reinit()
2334 static void dwc2_hc_init_split(struct dwc2_hsotg *hsotg, in dwc2_hc_init_split()
2348 static void dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg, in dwc2_hc_init_xfer()
2438 static int dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg, in dwc2_alloc_split_dma_aligned_buf()
2573 static int dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_assign_and_init_hc()
2711 struct dwc2_hsotg *hsotg) in dwc2_hcd_select_transactions()
2811 static int dwc2_queue_transaction(struct dwc2_hsotg *hsotg, in dwc2_queue_transaction()
2873 static void dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg) in dwc2_process_periodic_channels()
3007 static void dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg) in dwc2_process_non_periodic_channels()
3131 void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, in dwc2_hcd_queue_transactions()
3162 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_conn_id_status_change() local
3253 struct dwc2_hsotg *hsotg = from_timer(hsotg, t, wkp_timer); in dwc2_wakeup_detected() local
3276 static int dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg) in dwc2_host_is_b_hnp_enabled()
3294 int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend()
3368 int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
3405 static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq, in dwc2_hcd_hub_control()
3771 static int dwc2_hcd_is_status_changed(struct dwc2_hsotg *hsotg, int port) in dwc2_hcd_is_status_changed()
3802 int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number()
3813 int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us) in dwc2_hcd_get_future_frame_number()
3842 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) in dwc2_hcd_is_b_host()
3847 static struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_alloc()
3859 static void dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_set_pipeinfo()
3882 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg) in dwc2_hcd_dump_state()
4008 struct dwc2_hsotg *hsotg; member
4040 struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context, in dwc2_host_get_tt_info()
4088 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt) in dwc2_host_put_tt_info()
4103 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context) in dwc2_host_get_speed()
4142 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_host_complete()
4221 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_start_func() local
4233 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_reset_func() local
4252 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_phy_reset_func() local
4274 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_start() local
4323 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_stop() local
4352 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_suspend() local
4433 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_resume() local
4551 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_get_frame_number() local
4560 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_dump_urb_info() local
4639 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_urb_enqueue() local
4827 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_urb_dequeue() local
4873 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_endpoint_disable() local
4889 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_endpoint_reset() local
4910 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_irq() local
4923 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_hub_status_data() local
4942 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_clear_tt_buffer_complete() local
4965 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_change_bus_speed() local
4976 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_free_dev() local
4993 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_reset_device() local
5045 static void dwc2_hcd_free(struct dwc2_hsotg *hsotg) in dwc2_hcd_free()
5110 static void dwc2_hcd_release(struct dwc2_hsotg *hsotg) in dwc2_hcd_release()
5124 int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init()
5384 void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) in dwc2_hcd_remove()
5425 int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
5454 int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
5489 int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_host_enter_hibernation()
5599 int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_host_exit_hibernation()
5746 int dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_host_enter_partial_power_down()
5821 int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_host_exit_partial_power_down()
5903 void dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) in dwc2_host_enter_clock_gating()
5939 void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) in dwc2_host_exit_clock_gating()