Lines Matching refs:dwc2_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()
167 static int dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg) in dwc2_vbus_supply_init()
175 static int dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg) in dwc2_vbus_supply_exit()
188 static void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_host_interrupts()
212 static void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_host_interrupts()
229 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) in dwc2_calculate_dynamic_fifo()
288 static void dwc2_config_fifos(struct dwc2_hsotg *hsotg) in dwc2_config_fifos()
359 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) in dwc2_calc_frame_interval()
406 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) in dwc2_read_packet()
435 static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg, in dwc2_dump_channel_info()
495 static void dwc2_host_start(struct dwc2_hsotg *hsotg) in dwc2_host_start()
503 static void dwc2_host_disconnect(struct dwc2_hsotg *hsotg) in dwc2_host_disconnect()
510 static void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context, in dwc2_host_hub_info()
528 static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_slave_ints()
606 static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_dma_ints()
643 static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, in dwc2_hc_enable_ints()
684 static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_init()
799 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_hc_halt()
963 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) in dwc2_hc_cleanup()
991 static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, in dwc2_hc_set_even_odd_frame()
1126 static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, in dwc2_hc_write_packet()
1172 static void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, in dwc2_hc_do_ping()
1225 static void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer()
1440 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, in dwc2_hc_start_transfer_ddma()
1529 static int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, in dwc2_hc_continue_transfer()
1603 static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg, in dwc2_kill_urbs_in_qh_list()
1618 static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg, in dwc2_qh_list_free()
1661 static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg) in dwc2_kill_all_urbs()
1677 void dwc2_hcd_start(struct dwc2_hsotg *hsotg) in dwc2_hcd_start()
1697 static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg) in dwc2_hcd_cleanup_channels()
1756 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) in dwc2_hcd_connect()
1773 void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) in dwc2_hcd_disconnect()
1840 static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg) in dwc2_hcd_rem_wakeup()
1858 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) in dwc2_hcd_stop()
1877 static int dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_enqueue()
1937 static int dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_dequeue()
1995 static int dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg, in dwc2_hcd_endpoint_disable()
2054 static int dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg, in dwc2_hcd_endpoint_reset()
2074 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) in dwc2_core_init()
2162 static void dwc2_core_host_init(struct dwc2_hsotg *hsotg) in dwc2_core_host_init()
2302 static void dwc2_hcd_reinit(struct dwc2_hsotg *hsotg) in dwc2_hcd_reinit()
2338 static void dwc2_hc_init_split(struct dwc2_hsotg *hsotg, in dwc2_hc_init_split()
2352 static void dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg, in dwc2_hc_init_xfer()
2442 static int dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg, in dwc2_alloc_split_dma_aligned_buf()
2577 static int dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_assign_and_init_hc()
2715 struct dwc2_hsotg *hsotg) in dwc2_hcd_select_transactions()
2815 static int dwc2_queue_transaction(struct dwc2_hsotg *hsotg, in dwc2_queue_transaction()
2877 static void dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg) in dwc2_process_periodic_channels()
3011 static void dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg) in dwc2_process_non_periodic_channels()
3135 void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, in dwc2_hcd_queue_transactions()
3166 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_conn_id_status_change()
3257 struct dwc2_hsotg *hsotg = from_timer(hsotg, t, wkp_timer); in dwc2_wakeup_detected()
3280 static int dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg) in dwc2_host_is_b_hnp_enabled()
3298 int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend()
3372 int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
3409 static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq, in dwc2_hcd_hub_control()
3775 static int dwc2_hcd_is_status_changed(struct dwc2_hsotg *hsotg, int port) in dwc2_hcd_is_status_changed()
3806 int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number()
3817 int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us) in dwc2_hcd_get_future_frame_number()
3846 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) in dwc2_hcd_is_b_host()
3851 static struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_alloc()
3863 static void dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg, in dwc2_hcd_urb_set_pipeinfo()
3886 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg) in dwc2_hcd_dump_state()
4012 struct dwc2_hsotg *hsotg;
4016 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) in dwc2_hcd_to_hsotg()
4044 struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context, in dwc2_host_get_tt_info()
4092 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt) in dwc2_host_put_tt_info()
4107 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context) in dwc2_host_get_speed()
4146 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_host_complete()
4225 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_start_func()
4237 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_reset_func()
4256 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_phy_reset_func()
4278 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_start()
4327 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_stop()
4356 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_suspend()
4438 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_resume()
4556 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_get_frame_number()
4565 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_dump_urb_info()
4644 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_urb_enqueue()
4832 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_urb_dequeue()
4878 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_endpoint_disable()
4894 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_endpoint_reset()
4915 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_irq()
4928 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_hub_status_data()
4947 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in _dwc2_hcd_clear_tt_buffer_complete()
4970 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_change_bus_speed()
4981 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_free_dev()
4998 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); in dwc2_reset_device()
5050 static void dwc2_hcd_free(struct dwc2_hsotg *hsotg) in dwc2_hcd_free()
5115 static void dwc2_hcd_release(struct dwc2_hsotg *hsotg) in dwc2_hcd_release()
5129 int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init()
5389 void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) in dwc2_hcd_remove()
5430 int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
5459 int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
5494 int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_host_enter_hibernation()
5604 int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, in dwc2_host_exit_hibernation()
5722 bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2) in dwc2_host_can_poweroff_phy()
5751 int dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_host_enter_partial_power_down()
5826 int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_host_exit_partial_power_down()
5908 void dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) in dwc2_host_enter_clock_gating()
5944 void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) in dwc2_host_exit_clock_gating()