/linux/drivers/usb/dwc2/ |
A D | core.c | 67 int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers() 316 static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, in dwc2_wait_for_mode() 601 void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_force_dr_mode() 629 void dwc2_enable_acg(struct dwc2_hsotg *hsotg) in dwc2_enable_acg() 648 void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) in dwc2_dump_host_registers() 840 void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) in dwc2_flush_rx_fifo() 863 bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) in dwc2_is_controller_alive() 900 unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg) in dwc2_op_mode() 909 bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) in dwc2_hw_is_otg() 919 bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg) in dwc2_hw_is_host() [all …]
|
A D | params.c | 43 static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg) in dwc2_set_bcm_params() 53 static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) in dwc2_set_his_params() 76 static void dwc2_set_s3c6400_params(struct dwc2_hsotg *hsotg) in dwc2_set_s3c6400_params() 85 static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) in dwc2_set_rk_params() 99 static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg) in dwc2_set_ltq_params() 141 static void dwc2_set_amcc_params(struct dwc2_hsotg *hsotg) in dwc2_set_amcc_params() 292 static void dwc2_set_param_speed(struct dwc2_hsotg *hsotg) in dwc2_set_param_speed() 356 static void dwc2_set_param_lpm(struct dwc2_hsotg *hsotg) in dwc2_set_param_lpm() 674 static void dwc2_check_params(struct dwc2_hsotg *hsotg) in dwc2_check_params() 803 int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) in dwc2_get_hwparams() [all …]
|
A D | hcd.c | 98 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gahbcfg_init() 132 static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) in dwc2_gusbcfg_init() 1673 void dwc2_hcd_start(struct dwc2_hsotg *hsotg) in dwc2_hcd_start() 1752 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) in dwc2_hcd_connect() 1854 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) in dwc2_hcd_stop() 2711 struct dwc2_hsotg *hsotg) in dwc2_hcd_select_transactions() 3368 int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume() 3842 int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) in dwc2_hcd_is_b_host() 4008 struct dwc2_hsotg *hsotg; member 5124 int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init() [all …]
|
A D | core_intr.c | 57 static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg) in dwc2_op_state_str() 82 static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_port_intr() 97 static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_mode_mismatch_intr() 112 static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_otg_intr() 307 static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_session_req_intr() 355 static void dwc2_wakeup_from_lpm_l1(struct dwc2_hsotg *hsotg) in dwc2_wakeup_from_lpm_l1() 485 static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_disconnect_intr() 593 static void dwc2_handle_lpm_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_lpm_intr() 660 static u32 dwc2_read_common_intr(struct dwc2_hsotg *hsotg) in dwc2_read_common_intr() 753 static int dwc2_handle_gpwrdn_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_gpwrdn_intr() [all …]
|
A D | gadget.c | 118 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_incr_frame_num() local 145 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_dec_frame_num_by_one() local 914 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_fill_isoc_desc() local 983 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_start_isoc_ddma() local 1349 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_target_frame_elapsed() local 1558 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_hsotg_complete_oursetup() local 1745 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_gadget_start_next_request() local 2013 struct dwc2_hsotg *hsotg = hs_ep->parent; in dwc2_hsotg_complete_setup() local 2887 struct dwc2_hsotg *hsotg = ep->parent; in dwc2_gadget_handle_out_token_ep_disabled() local 3703 struct dwc2_hsotg *hsotg = pw; in dwc2_hsotg_irq() local [all …]
|
A D | hcd_intr.c | 63 static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) in dwc2_track_missed_sofs() 140 static void dwc2_sof_intr(struct dwc2_hsotg *hsotg) in dwc2_sof_intr() 355 static void dwc2_port_intr(struct dwc2_hsotg *hsotg) in dwc2_port_intr() 540 void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg, in dwc2_hcd_save_data_toggle() 585 struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, in dwc2_update_isoc_urb_state() 803 static void dwc2_halt_channel(struct dwc2_hsotg *hsotg, in dwc2_halt_channel() 1121 static void dwc2_hc_stall_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_stall_intr() 1208 static void dwc2_hc_nak_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_nak_intr() 1313 static void dwc2_hc_ack_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_ack_intr() 1392 static void dwc2_hc_nyet_intr(struct dwc2_hsotg *hsotg, in dwc2_hc_nyet_intr() [all …]
|
A D | platform.c | 82 static int dwc2_get_dr_mode(struct dwc2_hsotg *hsotg) in dwc2_get_dr_mode() 126 struct dwc2_hsotg *hsotg = data; in __dwc2_disable_regulators() local 131 static int __dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) in __dwc2_lowlevel_hw_enable() 172 int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_enable() 181 static int __dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) in __dwc2_lowlevel_hw_disable() 211 int dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_disable() 220 static int dwc2_lowlevel_hw_init(struct dwc2_hsotg *hsotg) in dwc2_lowlevel_hw_init() 318 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_remove() local 387 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); in dwc2_driver_shutdown() local 416 int dwc2_check_core_version(struct dwc2_hsotg *hsotg) in dwc2_check_core_version() [all …]
|
A D | hcd_queue.c | 109 static int dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_check_periodic_bandwidth() 374 static unsigned long *dwc2_get_ls_map(struct dwc2_hsotg *hsotg, in dwc2_get_ls_map() 492 struct dwc2_hsotg *hsotg; member 515 static void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, in dwc2_qh_schedule_print() 623 static void dwc2_ls_pmap_unschedule(struct dwc2_hsotg *hsotg, in dwc2_ls_pmap_unschedule() 684 static void dwc2_hs_pmap_unschedule(struct dwc2_hsotg *hsotg, in dwc2_hs_pmap_unschedule() 1285 struct dwc2_hsotg *hsotg = qh->hsotg; in dwc2_unreserve_timer_fn() local 1328 static int dwc2_check_max_xfer_size(struct dwc2_hsotg *hsotg, in dwc2_check_max_xfer_size() 1473 struct dwc2_hsotg *hsotg = qh->hsotg; in dwc2_wait_timer_fn() local 1645 struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg, in dwc2_hcd_qh_create() [all …]
|
A D | hcd_ddma.c | 161 static void dwc2_frame_list_free(struct dwc2_hsotg *hsotg) in dwc2_frame_list_free() 205 static void dwc2_per_sched_disable(struct dwc2_hsotg *hsotg) in dwc2_per_sched_disable() 294 static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg, in dwc2_release_channel_ddma() 428 static u16 dwc2_calc_starting_frame(struct dwc2_hsotg *hsotg, in dwc2_calc_starting_frame() 490 static u16 dwc2_recalc_initial_desc_idx(struct dwc2_hsotg *hsotg, in dwc2_recalc_initial_desc_idx() 580 static void dwc2_init_isoc_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_init_isoc_dma_desc() 689 static void dwc2_fill_host_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_fill_host_dma_desc() 741 static void dwc2_init_non_isoc_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_init_non_isoc_dma_desc() 892 static int dwc2_cmpl_host_isoc_dma_desc(struct dwc2_hsotg *hsotg, in dwc2_cmpl_host_isoc_dma_desc() 1149 static int dwc2_process_non_isoc_desc(struct dwc2_hsotg *hsotg, in dwc2_process_non_isoc_desc() [all …]
|
A D | drd.c | 16 static void dwc2_ovr_init(struct dwc2_hsotg *hsotg) in dwc2_ovr_init() 34 static int dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_avalid() 53 static int dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_bvalid() 74 struct dwc2_hsotg *hsotg = usb_role_switch_get_drvdata(sw); in dwc2_drd_role_sw_set() local 140 int dwc2_drd_init(struct dwc2_hsotg *hsotg) in dwc2_drd_init() 170 void dwc2_drd_suspend(struct dwc2_hsotg *hsotg) in dwc2_drd_suspend() 183 void dwc2_drd_resume(struct dwc2_hsotg *hsotg) in dwc2_drd_resume() 196 void dwc2_drd_exit(struct dwc2_hsotg *hsotg) in dwc2_drd_exit()
|
A D | debugfs.c | 31 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 …]
|
A D | core.h | 60 #define dwc2_sch_dbg(hsotg, fmt, ...) \ argument 65 #define dwc2_sch_vdbg(hsotg, fmt, ...) \ argument 1293 static inline bool dwc2_is_iot(struct dwc2_hsotg *hsotg) in dwc2_is_iot() 1298 static inline bool dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_fs_iot() 1303 static inline bool dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_hs_iot() 1383 static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) in dwc2_is_host_mode() 1418 #define dwc2_is_device_connected(hsotg) (hsotg->connected) argument 1444 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg) in dwc2_gadget_init() 1454 #define dwc2_is_device_connected(hsotg) (0) argument 1520 static inline int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume() [all …]
|
A D | debug.h | 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()
|
A D | hcd.h | 341 struct dwc2_hsotg *hsotg; member 453 struct dwc2_hsotg *hsotg; member 461 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd() 473 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int() 491 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) in dwc2_read_hprt0() 579 static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, in dwc2_hcd_qtd_unlink_and_free() 692 static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) in dwc2_read_core_intr() 734 static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, in dwc2_hcd_is_bandwidth_allocated() 745 static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_ep_bandwidth()
|
/linux/arch/arm/boot/dts/ |
A D | s5pv210.dtsi | 408 hsotg: hsotg@ec000000 { label
|
A D | exynos3250.dtsi | 367 hsotg: hsotg@12480000 { label
|
A D | exynos4.dtsi | 365 hsotg: hsotg@12480000 { label
|