Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
Dcore.c66 static int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers()
96 static int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers()
133 int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, bool restore) in dwc2_exit_hibernation()
186 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_enter_hibernation()
246 static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, in dwc2_wait_for_mode()
284 static bool dwc2_iddig_filter_enabled(struct dwc2_hsotg *hsotg) in dwc2_iddig_filter_enabled()
316 int dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait) in dwc2_core_reset()
402 static bool dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host) in dwc2_force_mode()
448 void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) in dwc2_clear_force_mode()
464 void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_force_dr_mode()
[all …]
Dhcd.c72 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_common_interrupts()
100 static void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) in dwc2_init_fs_ls_pclk_sel()
122 static int dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_fs_phy_init()
192 static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_hs_phy_init()
244 static int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) in dwc2_phy_init()
281 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init()
327 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init()
367 static void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_enable_host_interrupts()
391 static void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) in dwc2_disable_host_interrupts()
408 static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) in dwc2_calculate_dynamic_fifo()
[all …]
Dparams.c41 static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg) in dwc2_set_bcm_params()
52 static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) in dwc2_set_his_params()
74 static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) in dwc2_set_rk_params()
86 static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg) in dwc2_set_ltq_params()
100 static void dwc2_set_amlogic_params(struct dwc2_hsotg *hsotg) in dwc2_set_amlogic_params()
116 static void dwc2_set_amcc_params(struct dwc2_hsotg *hsotg) in dwc2_set_amcc_params()
123 static void dwc2_set_stm32f4x9_fsotg_params(struct dwc2_hsotg *hsotg) in dwc2_set_stm32f4x9_fsotg_params()
161 static void dwc2_set_param_otg_cap(struct dwc2_hsotg *hsotg) in dwc2_set_param_otg_cap()
182 static void dwc2_set_param_phy_type(struct dwc2_hsotg *hsotg) in dwc2_set_param_phy_type()
202 static void dwc2_set_param_speed(struct dwc2_hsotg *hsotg) in dwc2_set_param_speed()
[all …]
Dgadget.c63 static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg, in index_to_ep()
94 static inline bool using_dma(struct dwc2_hsotg *hsotg) in using_dma()
105 static inline bool using_desc_dma(struct dwc2_hsotg *hsotg) in using_desc_dma()
134 static void dwc2_hsotg_en_gsint(struct dwc2_hsotg *hsotg, u32 ints) in dwc2_hsotg_en_gsint()
152 static void dwc2_hsotg_disable_gsint(struct dwc2_hsotg *hsotg, u32 ints) in dwc2_hsotg_disable_gsint()
173 static void dwc2_hsotg_ctrl_epint(struct dwc2_hsotg *hsotg, in dwc2_hsotg_ctrl_epint()
197 int dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_count()
211 static int dwc2_hsotg_ep_info_size(struct dwc2_hsotg *hsotg) in dwc2_hsotg_ep_info_size()
247 int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_total_depth()
272 int dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_average_depth()
[all …]
Dhcd_intr.c56 static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) in dwc2_track_missed_sofs()
90 static void dwc2_hc_handle_tt_clear(struct dwc2_hsotg *hsotg, in dwc2_hc_handle_tt_clear()
133 static void dwc2_sof_intr(struct dwc2_hsotg *hsotg) in dwc2_sof_intr()
179 static void dwc2_rx_fifo_level_intr(struct dwc2_hsotg *hsotg) in dwc2_rx_fifo_level_intr()
237 static void dwc2_np_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) in dwc2_np_tx_fifo_empty_intr()
249 static void dwc2_perio_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) in dwc2_perio_tx_fifo_empty_intr()
256 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable()
348 static void dwc2_port_intr(struct dwc2_hsotg *hsotg) in dwc2_port_intr()
429 static u32 dwc2_get_actual_xfer_length(struct dwc2_hsotg *hsotg, in dwc2_get_actual_xfer_length()
477 static int dwc2_update_urb_state(struct dwc2_hsotg *hsotg, in dwc2_update_urb_state()
[all …]
Dcore_intr.c56 static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg) in dwc2_op_state_str()
81 static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_port_intr()
96 static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_mode_mismatch_intr()
111 static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_otg_intr()
273 static void dwc2_handle_conn_id_status_change_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_conn_id_status_change_intr()
311 static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_session_req_intr()
344 static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_wakeup_detected_intr()
394 static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_disconnect_intr()
414 static void dwc2_handle_usb_suspend_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_suspend_intr()
489 static u32 dwc2_read_common_intr(struct dwc2_hsotg *hsotg) in dwc2_read_common_intr()
[all …]
Dhcd_queue.c68 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg) in dwc2_periodic_channel_available()
105 static int dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_check_periodic_bandwidth()
370 static unsigned long *dwc2_get_ls_map(struct dwc2_hsotg *hsotg, in dwc2_get_ls_map()
488 struct dwc2_hsotg *hsotg; member
511 static void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, in dwc2_qh_schedule_print()
561 static inline void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, in dwc2_qh_schedule_print()
580 static int dwc2_ls_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_ls_pmap_schedule()
619 static void dwc2_ls_pmap_unschedule(struct dwc2_hsotg *hsotg, in dwc2_ls_pmap_unschedule()
654 static int dwc2_hs_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_hs_pmap_schedule()
679 static void dwc2_hs_pmap_unschedule(struct dwc2_hsotg *hsotg, in dwc2_hs_pmap_unschedule()
[all …]
Dhcd_ddma.c87 static int dwc2_desc_list_alloc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_desc_list_alloc()
122 static void dwc2_desc_list_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_desc_list_free()
143 static int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_t mem_flags) in dwc2_frame_list_alloc()
160 static void dwc2_frame_list_free(struct dwc2_hsotg *hsotg) in dwc2_frame_list_free()
180 static void dwc2_per_sched_enable(struct dwc2_hsotg *hsotg, u32 fr_list_en) in dwc2_per_sched_enable()
204 static void dwc2_per_sched_disable(struct dwc2_hsotg *hsotg) in dwc2_per_sched_disable()
229 static void dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_update_frame_list()
293 static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg, in dwc2_release_channel_ddma()
340 int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_hcd_qh_init_ddma()
386 void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_hcd_qh_free_ddma()
[all …]
Dplatform.c81 static int dwc2_get_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_get_dr_mode()
123 static int __dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) in __dwc2_lowlevel_hw_enable()
159 int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_enable()
168 static int __dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) in __dwc2_lowlevel_hw_disable()
201 int dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_disable()
210 static int dwc2_lowlevel_hw_init(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_init()
309 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_remove() local
339 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_shutdown() local
358 struct dwc2_hsotg *hsotg; in dwc2_driver_probe() local
Ddebugfs.c38 struct dwc2_hsotg *hsotg = s->private; in testmode_write() local
74 struct dwc2_hsotg *hsotg = s->private; in testmode_show() local
135 struct dwc2_hsotg *hsotg = seq->private; in state_show() local
205 struct dwc2_hsotg *hsotg = seq->private; in fifo_show() local
260 struct dwc2_hsotg *hsotg = ep->parent; in ep_show() local
337 static void dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) in dwc2_hsotg_create_debug()
389 static inline void dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_create_debug()
736 struct dwc2_hsotg *hsotg = seq->private; in params_show() local
797 struct dwc2_hsotg *hsotg = seq->private; in hw_params_show() local
844 struct dwc2_hsotg *hsotg = seq->private; in dr_mode_show() local
[all …]
Dcore.h58 #define dwc2_sch_dbg(hsotg, fmt, ...) \ argument
63 #define dwc2_sch_vdbg(hsotg, fmt, ...) \ argument
1081 static inline bool dwc2_is_iot(struct dwc2_hsotg *hsotg) in dwc2_is_iot()
1086 static inline bool dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_fs_iot()
1091 static inline bool dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_hs_iot()
1152 static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) in dwc2_is_host_mode()
1157 static inline int dwc2_is_device_mode(struct dwc2_hsotg *hsotg) in dwc2_is_device_mode()
1181 #define dwc2_is_device_connected(hsotg) (hsotg->connected) argument
1194 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg, int irq) in dwc2_gadget_init()
1198 static inline void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_core_connect()
[all …]
Ddebug.h23 static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) in dwc2_debugfs_init()
25 static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) in dwc2_debugfs_exit()
Dhcd.h336 struct dwc2_hsotg *hsotg; member
439 struct dwc2_hsotg *hsotg; member
447 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd()
459 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int()
477 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) in dwc2_read_hprt0()
565 static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, in dwc2_hcd_qtd_unlink_and_free()
679 static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) in dwc2_read_core_intr()
721 static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, in dwc2_hcd_is_bandwidth_allocated()
732 static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_ep_bandwidth()