Lines Matching refs:dwc2_hsotg
59 static void dwc2_port_resume(struct dwc2_hsotg *hsotg);
73 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg)
100 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg)
134 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg)
169 static int dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg)
177 static int dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg)
190 static void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg)
214 static void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg)
231 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg)
290 static void dwc2_config_fifos(struct dwc2_hsotg *hsotg)
361 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg)
408 void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes)
437 static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg,
497 static void dwc2_host_start(struct dwc2_hsotg *hsotg)
505 static void dwc2_host_disconnect(struct dwc2_hsotg *hsotg)
512 static void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context,
530 static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg,
608 static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg,
645 static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg,
686 static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan)
801 void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan,
965 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan)
993 static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg,
1128 static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg,
1174 static void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg,
1227 static void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg,
1442 void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg,
1531 static int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg,
1605 static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg,
1620 static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg,
1663 static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg)
1677 * @hsotg: Pointer to struct dwc2_hsotg
1679 void dwc2_hcd_start(struct dwc2_hsotg *hsotg)
1699 static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg)
1754 * @hsotg: Pointer to struct dwc2_hsotg
1758 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg)
1770 * @hsotg: Pointer to struct dwc2_hsotg
1775 void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force)
1840 * @hsotg: Pointer to struct dwc2_hsotg
1842 static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg)
1856 * @hsotg: Pointer to struct dwc2_hsotg
1860 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg)
1879 static int dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg,
1939 static int dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg,
1997 static int dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg,
2056 static int dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg,
2076 int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup)
2164 static void dwc2_core_host_init(struct dwc2_hsotg *hsotg)
2304 static void dwc2_hcd_reinit(struct dwc2_hsotg *hsotg)
2340 static void dwc2_hc_init_split(struct dwc2_hsotg *hsotg,
2354 static void dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg,
2444 static int dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg,
2579 static int dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh)
2717 struct dwc2_hsotg *hsotg)
2817 static int dwc2_queue_transaction(struct dwc2_hsotg *hsotg,
2879 static void dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg)
3013 static void dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg)
3137 void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg,
3168 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
3250 struct dwc2_hsotg *hsotg = from_timer(hsotg, t, wkp_timer);
3273 static int dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg)
3281 static void dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex)
3332 static void dwc2_port_resume(struct dwc2_hsotg *hsotg)
3370 static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq,
3724 static int dwc2_hcd_is_status_changed(struct dwc2_hsotg *hsotg, int port)
3755 int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg)
3766 int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us)
3795 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg)
3800 static struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg,
3812 static void dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg,
3835 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg)
3961 struct dwc2_hsotg *hsotg;
3964 /* Gets the dwc2_hsotg from a usb_hcd */
3965 static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd)
3993 struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context,
4041 void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt)
4056 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context)
4095 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
4174 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
4186 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
4205 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg,
4227 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4276 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4305 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4383 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4467 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4476 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4555 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4714 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4760 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4776 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4797 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4810 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4829 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4852 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4863 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4880 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
4902 .description = "dwc2_hsotg",
4929 * Frees secondary storage associated with the dwc2_hsotg structure contained
4932 static void dwc2_hcd_free(struct dwc2_hsotg *hsotg)
4997 static void dwc2_hcd_release(struct dwc2_hsotg *hsotg)
5007 * static parts of the usb_hcd and dwc2_hsotg structures. It also registers the
5011 int dwc2_hcd_init(struct dwc2_hsotg *hsotg)
5271 void dwc2_hcd_remove(struct dwc2_hsotg *hsotg)
5312 int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg)
5341 int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg)
5376 int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg)
5486 int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup,
5604 bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2)