Home
last modified time | relevance | path

Searched defs:hsotg (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/usb/dwc2/
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 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.c69 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init()
103 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init()
1644 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()
3345 int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
3819 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) in dwc2_hcd_is_b_host()
3985 struct dwc2_hsotg *hsotg; member
5104 int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init()
[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 Dgadget.c117 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_incr_frame_num() local
144 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_dec_frame_num_by_one() local
913 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_fill_isoc_desc() local
982 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_start_isoc_ddma() local
1348 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_target_frame_elapsed() local
1561 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_hsotg_complete_oursetup() local
1748 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_start_next_request() local
2016 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_hsotg_complete_setup() local
2890 struct dwc2_hsotg *hsotg = ep->parent; in dwc2_gadget_handle_out_token_ep_disabled() local
3707 struct dwc2_hsotg *hsotg = pw; in dwc2_hsotg_irq() local
[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 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; member
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() local
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() local
[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()
164 static int __dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) in __dwc2_lowlevel_hw_disable()
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() local
370 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_shutdown() local
381 static bool dwc2_check_core_endianness(struct dwc2_hsotg *hsotg) in dwc2_check_core_endianness()
399 int dwc2_check_core_version(struct dwc2_hsotg *hsotg) in dwc2_check_core_version()
[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 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() local
173 int dwc2_drd_init(struct dwc2_hsotg *hsotg) in dwc2_drd_init()
204 void dwc2_drd_suspend(struct dwc2_hsotg *hsotg) in dwc2_drd_suspend()
217 void dwc2_drd_resume(struct dwc2_hsotg *hsotg) in dwc2_drd_resume()
255 void dwc2_drd_exit(struct dwc2_hsotg *hsotg) in dwc2_drd_exit()
H A Ddebugfs.c31 struct dwc2_hsotg *hsotg = s->private; in testmode_write() local
67 struct dwc2_hsotg *hsotg = s->private; in testmode_show() local
128 struct dwc2_hsotg *hsotg = seq->private; in state_show() local
185 struct dwc2_hsotg *hsotg = seq->private; in fifo_show() local
228 struct dwc2_hsotg *hsotg = ep->parent; in ep_show() local
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() local
729 struct dwc2_hsotg *hsotg = seq->private; in hw_params_show() local
764 struct dwc2_hsotg *hsotg = seq->private; in dr_mode_show() local
773 int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) in dwc2_debugfs_init()
[all …]
H A Dcore.h30 #define dwc2_sch_dbg(hsotg, fmt, ...) \ argument
35 #define dwc2_sch_vdbg(hsotg, fmt, ...) \ argument
1285 static inline bool dwc2_is_iot(struct dwc2_hsotg *hsotg) in dwc2_is_iot()
1290 static inline bool dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_fs_iot()
1295 static inline bool dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_hs_iot()
1412 #define dwc2_is_device_connected(hsotg) (hsotg->connected) argument
1413 #define dwc2_is_device_enabled(hsotg) (hsotg->enabled) argument
1439 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg) in dwc2_gadget_init()
1449 #define dwc2_is_device_connected(hsotg) (0) argument
1450 #define dwc2_is_device_enabled(hsotg) (0) argument
[all …]
H A Ddebug.h15 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 Dhcd.h312 struct dwc2_hsotg *hsotg; member
424 struct dwc2_hsotg *hsotg; member
432 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd()
444 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int()
462 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) in dwc2_read_hprt0()
550 static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, in dwc2_hcd_qtd_unlink_and_free()
663 static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) in dwc2_read_core_intr()
705 static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, in dwc2_hcd_is_bandwidth_allocated()
716 static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_ep_bandwidth()
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Ds5pv210.dtsi404 hsotg: usb@ec000000 { label
H A Dexynos3250.dtsi540 hsotg: usb@12480000 { label
H A Dexynos4.dtsi364 hsotg: usb@12480000 { label
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h70 MemoryRegion hsotg; member