Lines Matching refs:dwc2_hsotg
42 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg)
69 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg)
103 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg)
134 static int dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg)
142 static int dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg)
155 static void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg)
179 static void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg)
196 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg)
255 static void dwc2_config_fifos(struct dwc2_hsotg *hsotg)
326 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg)
373 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes)
402 static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg,
462 static void dwc2_host_start(struct dwc2_hsotg *hsotg)
470 static void dwc2_host_disconnect(struct dwc2_hsotg *hsotg)
477 static void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context,
495 static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg,
573 static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg,
610 static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg,
651 static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan)
766 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan,
930 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan)
958 static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg,
1093 static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg,
1139 static void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg,
1192 static void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg,
1407 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg,
1496 static int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg,
1570 static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg,
1585 static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg,
1628 static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg)
1642 * @hsotg: Pointer to struct dwc2_hsotg
1644 void dwc2_hcd_start(struct dwc2_hsotg *hsotg)
1664 static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg)
1719 * @hsotg: Pointer to struct dwc2_hsotg
1723 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg)
1735 * @hsotg: Pointer to struct dwc2_hsotg
1740 void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force)
1805 * @hsotg: Pointer to struct dwc2_hsotg
1807 static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg)
1821 * @hsotg: Pointer to struct dwc2_hsotg
1825 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg)
1844 static int dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg,
1904 static int dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg,
1962 static int dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg,
2021 static int dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg,
2041 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup)
2129 static void dwc2_core_host_init(struct dwc2_hsotg *hsotg)
2269 static void dwc2_hcd_reinit(struct dwc2_hsotg *hsotg)
2305 static void dwc2_hc_init_split(struct dwc2_hsotg *hsotg,
2319 static void dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg,
2409 static int dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg,
2544 static int dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
2682 struct dwc2_hsotg *hsotg)
2782 static int dwc2_queue_transaction(struct dwc2_hsotg *hsotg,
2844 static void dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg)
2978 static void dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg)
3102 void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg,
3133 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
3224 struct dwc2_hsotg *hsotg = from_timer(hsotg, t, wkp_timer);
3247 static int dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg)
3265 int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex)
3339 int dwc2_port_resume(struct dwc2_hsotg *hsotg)
3376 static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq,
3742 static int dwc2_hcd_is_status_changed(struct dwc2_hsotg *hsotg, int port)
3773 int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg)
3784 int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us)
3813 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg)
3818 static struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg,
3830 static void dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg,
3853 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg)
3979 struct dwc2_hsotg *hsotg;
3982 /* Gets the dwc2_hsotg from a usb_hcd */
3983 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd)
4011 struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context,
4059 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt)
4074 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context)
4113 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
4192 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
4204 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
4223 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
4245 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4294 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4323 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4405 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4523 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4532 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4611 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4799 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4845 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4861 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4882 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4895 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4914 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4937 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4948 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4965 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4987 .description = "dwc2_hsotg",
5014 * Frees secondary storage associated with the dwc2_hsotg structure contained
5017 static void dwc2_hcd_free(struct dwc2_hsotg *hsotg)
5082 static void dwc2_hcd_release(struct dwc2_hsotg *hsotg)
5092 * static parts of the usb_hcd and dwc2_hsotg structures. It also registers the
5096 int dwc2_hcd_init(struct dwc2_hsotg *hsotg)
5358 void dwc2_hcd_remove(struct dwc2_hsotg *hsotg)
5399 int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg)
5428 int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg)
5463 int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg)
5573 int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup,
5691 bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2)
5720 int dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg)
5795 int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg,
5877 void dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg)
5913 void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup)