Home
last modified time | relevance | path

Searched refs:dwc2_hsotg (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/usb/dwc2/
H A Dcore.h70 struct dwc2_hsotg;
125 struct dwc2_hsotg *parent;
188 struct dwc2_hsotg;
1048 struct dwc2_hsotg { struct
1338 void dwc2_enable_acg(struct dwc2_hsotg *hsotg);
1359 int dwc2_init_params(struct dwc2_hsotg *hsotg);
1370 bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg);
1371 bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg);
1387 int dwc2_drd_init(struct dwc2_hsotg *hsotg);
1390 void dwc2_drd_exit(struct dwc2_hsotg *hsotg);
[all …]
H A Dhcd.h312 struct dwc2_hsotg *hsotg;
424 struct dwc2_hsotg *hsotg;
429 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg);
525 int dwc2_hcd_init(struct dwc2_hsotg *hsotg);
526 void dwc2_hcd_remove(struct dwc2_hsotg *hsotg);
530 struct dwc2_hsotg *hsotg);
559 void dwc2_hcd_start_xfer_ddma(struct dwc2_hsotg *hsotg,
750 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg);
758 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg);
768 void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg);
[all …]
H A Dparams.c18 static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg) in dwc2_set_bcm_params()
28 static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) in dwc2_set_his_params()
51 static void dwc2_set_jz4775_params(struct dwc2_hsotg *hsotg) in dwc2_set_jz4775_params()
71 static void dwc2_set_x1600_params(struct dwc2_hsotg *hsotg) in dwc2_set_x1600_params()
84 static void dwc2_set_x2000_params(struct dwc2_hsotg *hsotg) in dwc2_set_x2000_params()
117 static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) in dwc2_set_rk_params()
135 static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg) in dwc2_set_ltq_params()
439 static void dwc2_set_param_lpm(struct dwc2_hsotg *hsotg) in dwc2_set_param_lpm()
756 static void dwc2_check_params(struct dwc2_hsotg *hsotg) in dwc2_check_params()
885 int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) in dwc2_get_hwparams()
[all …]
H A Ddebug.h12 int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
13 void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
15 static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) in dwc2_debugfs_init()
17 static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) in dwc2_debugfs_exit()
H A Dcore.c37 int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers()
69 int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers()
286 static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, in dwc2_wait_for_mode()
571 void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_force_dr_mode()
599 void dwc2_enable_acg(struct dwc2_hsotg *hsotg) in dwc2_enable_acg()
618 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers()
810 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo()
870 unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg) in dwc2_op_mode()
879 bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) in dwc2_hw_is_otg()
889 bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg) in dwc2_hw_is_host()
[all …]
H A Dhcd_queue.c42 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg) in dwc2_periodic_channel_available()
79 static int dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_check_periodic_bandwidth()
344 static unsigned long *dwc2_get_ls_map(struct dwc2_hsotg *hsotg, in dwc2_get_ls_map()
462 struct dwc2_hsotg *hsotg;
485 static void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, in dwc2_qh_schedule_print()
593 static void dwc2_ls_pmap_unschedule(struct dwc2_hsotg *hsotg, in dwc2_ls_pmap_unschedule()
654 static void dwc2_hs_pmap_unschedule(struct dwc2_hsotg *hsotg, in dwc2_hs_pmap_unschedule()
1255 struct dwc2_hsotg *hsotg = qh->hsotg; in dwc2_unreserve_timer_fn()
1298 static int dwc2_check_max_xfer_size(struct dwc2_hsotg *hsotg, in dwc2_check_max_xfer_size()
1443 struct dwc2_hsotg *hsotg = qh->hsotg; in dwc2_wait_timer_fn()
[all …]
H A Ddrd.c20 static void dwc2_ovr_init(struct dwc2_hsotg *hsotg) in dwc2_ovr_init()
42 static int dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_avalid()
64 static int dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_bvalid()
88 struct dwc2_hsotg *hsotg = usb_role_switch_get_drvdata(sw); in dwc2_drd_role_sw_set()
164 int dwc2_drd_init(struct dwc2_hsotg *hsotg) in dwc2_drd_init()
195 void dwc2_drd_suspend(struct dwc2_hsotg *hsotg) in dwc2_drd_suspend()
208 void dwc2_drd_resume(struct dwc2_hsotg *hsotg) in dwc2_drd_resume()
246 void dwc2_drd_exit(struct dwc2_hsotg *hsotg) in dwc2_drd_exit()
H A Dgadget.c117 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_incr_frame_num()
144 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_dec_frame_num_by_one()
913 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_fill_isoc_desc()
1407 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_queue()
1530 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_queue_lock()
2890 struct dwc2_hsotg *hsotg = ep->parent; in dwc2_gadget_handle_out_token_ep_disabled()
3707 struct dwc2_hsotg *hsotg = pw; in dwc2_hsotg_irq()
4331 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_dequeue()
4361 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_gadget_ep_set_wedge()
4387 struct dwc2_hsotg *hs = hs_ep->parent; in dwc2_hsotg_ep_sethalt()
[all …]
H A Dhcd.c1644 void dwc2_hcd_start(struct dwc2_hsotg *hsotg) in dwc2_hcd_start()
1723 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) in dwc2_hcd_connect()
1825 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) in dwc2_hcd_stop()
2682 struct dwc2_hsotg *hsotg) in dwc2_hcd_select_transactions()
3139 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_conn_id_status_change()
3345 int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
3985 struct dwc2_hsotg *hsotg;
4200 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_start_func()
4212 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_reset_func()
4231 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, in dwc2_hcd_phy_reset_func()
[all …]
H A Dcore_intr.c27 static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg) in dwc2_op_state_str()
52 static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_port_intr()
67 static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_mode_mismatch_intr()
82 static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_otg_intr()
277 static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_session_req_intr()
479 static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_disconnect_intr()
499 static void dwc2_handle_usb_suspend_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_suspend_intr()
587 static void dwc2_handle_lpm_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_lpm_intr()
654 static u32 dwc2_read_common_intr(struct dwc2_hsotg *hsotg) in dwc2_read_common_intr()
747 static int dwc2_handle_gpwrdn_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_gpwrdn_intr()
[all …]
H A Dhcd_ddma.c131 static void dwc2_frame_list_free(struct dwc2_hsotg *hsotg) in dwc2_frame_list_free()
175 static void dwc2_per_sched_disable(struct dwc2_hsotg *hsotg) in dwc2_per_sched_disable()
264 static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg, in dwc2_release_channel_ddma()
398 static u16 dwc2_calc_starting_frame(struct dwc2_hsotg *hsotg, in dwc2_calc_starting_frame()
460 static u16 dwc2_recalc_initial_desc_idx(struct dwc2_hsotg *hsotg, in dwc2_recalc_initial_desc_idx()
511 static void dwc2_fill_host_isoc_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_fill_host_isoc_dma_desc()
550 static void dwc2_init_isoc_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_init_isoc_dma_desc()
659 static void dwc2_fill_host_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_fill_host_dma_desc()
711 static void dwc2_init_non_isoc_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_init_non_isoc_dma_desc()
1126 static int dwc2_process_non_isoc_desc(struct dwc2_hsotg *hsotg, in dwc2_process_non_isoc_desc()
[all …]
H A Dplatform.c52 static int dwc2_get_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_get_dr_mode()
94 static int __dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) in __dwc2_lowlevel_hw_enable()
155 int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_enable()
197 int dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_disable()
211 static int dwc2_lowlevel_hw_init(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_init()
306 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_remove()
370 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_shutdown()
399 int dwc2_check_core_version(struct dwc2_hsotg *hsotg) in dwc2_check_core_version()
438 struct dwc2_hsotg *hsotg; in dwc2_driver_probe()
646 struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); in dwc2_suspend()
[all …]
H A Dhcd_intr.c33 static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) in dwc2_track_missed_sofs()
67 static void dwc2_hc_handle_tt_clear(struct dwc2_hsotg *hsotg, in dwc2_hc_handle_tt_clear()
110 static void dwc2_sof_intr(struct dwc2_hsotg *hsotg) in dwc2_sof_intr()
325 static void dwc2_port_intr(struct dwc2_hsotg *hsotg) in dwc2_port_intr()
510 void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg, in dwc2_hcd_save_data_toggle()
555 struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_update_isoc_urb_state()
773 static void dwc2_halt_channel(struct dwc2_hsotg *hsotg, in dwc2_halt_channel()
1178 static void dwc2_hc_nak_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_nak_intr()
1283 static void dwc2_hc_ack_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_ack_intr()
1362 static void dwc2_hc_nyet_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_nyet_intr()
[all …]
H A Ddebugfs.c31 struct dwc2_hsotg *hsotg = s->private; in testmode_write()
67 struct dwc2_hsotg *hsotg = s->private; in testmode_show()
128 struct dwc2_hsotg *hsotg = seq->private; in state_show()
185 struct dwc2_hsotg *hsotg = seq->private; in fifo_show()
228 struct dwc2_hsotg *hsotg = ep->parent; in ep_show()
292 static void dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) in dwc2_hsotg_create_debug()
669 struct dwc2_hsotg *hsotg = seq->private; in params_show()
729 struct dwc2_hsotg *hsotg = seq->private; in hw_params_show()
764 struct dwc2_hsotg *hsotg = seq->private; in dr_mode_show()
773 int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) in dwc2_debugfs_init()
[all …]