Searched refs:hsotg (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/usb/dwc2/
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) argument
17 static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) argument
H A Dcore_intr.c27 static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg) argument
29 switch (hsotg->op_state) {
50 * @hsotg: Programming view of DWC_otg controller
52 static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg) argument
54 u32 hprt0 = dwc2_readl(hsotg, HPRT0);
58 dwc2_writel(hsotg, hprt0, HPRT0);
65 * @hsotg: Programming view of DWC_otg controller
67 static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg) argument
70 dwc2_writel(hsotg, GINTSTS_MODEMIS, GINTSTS);
72 dev_warn(hsotg
82 dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg) argument
244 dwc2_handle_conn_id_status_change_intr(struct dwc2_hsotg *hsotg) argument
277 dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg) argument
326 dwc2_wakeup_from_lpm_l1(struct dwc2_hsotg *hsotg, bool remotewakeup) argument
399 dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg) argument
479 dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg) argument
499 dwc2_handle_usb_suspend_intr(struct dwc2_hsotg *hsotg) argument
587 dwc2_handle_lpm_intr(struct dwc2_hsotg *hsotg) argument
654 dwc2_read_common_intr(struct dwc2_hsotg *hsotg) argument
683 dwc_handle_gpwrdn_disc_det(struct dwc2_hsotg *hsotg, u32 gpwrdn) argument
747 dwc2_handle_gpwrdn_intr(struct dwc2_hsotg *hsotg) argument
826 struct dwc2_hsotg *hsotg = dev; local
[all...]
H A Dcore.c35 * @hsotg: Programming view of the DWC_otg controller
37 int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) argument
41 dev_dbg(hsotg->dev, "%s\n", __func__);
44 gr = &hsotg->gr_backup;
46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL);
47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK);
48 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG);
49 gr->gusbcfg = dwc2_readl(hsotg, GUSBCFG);
50 gr->grxfsiz = dwc2_readl(hsotg, GRXFSIZ);
51 gr->gnptxfsiz = dwc2_readl(hsotg, GNPTXFSI
69 dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) argument
107 dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup, bool restore) argument
131 dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg) argument
146 dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode, int is_host) argument
214 dwc2_hib_restore_common(struct dwc2_hsotg *hsotg, int rem_wakeup, int is_host) argument
286 dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, bool host_mode) argument
326 dwc2_iddig_filter_enabled(struct dwc2_hsotg *hsotg) argument
362 dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host) argument
380 dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset, int is_host) argument
393 dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait) argument
502 dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host) argument
550 dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) argument
571 dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) argument
599 dwc2_enable_acg(struct dwc2_hsotg *hsotg) argument
618 dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) argument
691 dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) argument
782 dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) argument
810 dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) argument
833 dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) argument
847 dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) argument
861 dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) argument
870 dwc2_op_mode(struct dwc2_hsotg *hsotg) argument
879 dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) argument
889 dwc2_hw_is_host(struct dwc2_hsotg *hsotg) argument
898 dwc2_hw_is_device(struct dwc2_hsotg *hsotg) argument
915 dwc2_hsotg_wait_bit_set(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, u32 timeout) argument
938 dwc2_hsotg_wait_bit_clear(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, u32 timeout) argument
956 dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) argument
978 dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) argument
1048 dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) argument
1105 dwc2_set_turnaround_time(struct dwc2_hsotg *hsotg) argument
1123 dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) argument
[all...]
H A Dplatform.c18 #include <linux/platform_data/s3c-hsotg.h>
52 static int dwc2_get_dr_mode(struct dwc2_hsotg *hsotg) argument
56 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev);
57 if (hsotg->dr_mode == USB_DR_MODE_UNKNOWN)
58 hsotg->dr_mode = USB_DR_MODE_OTG;
60 mode = hsotg->dr_mode;
62 if (dwc2_hw_is_device(hsotg)) {
64 dev_err(hsotg->dev,
69 } else if (dwc2_hw_is_host(hsotg)) {
94 __dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) argument
155 dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) argument
164 __dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) argument
197 dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) argument
211 dwc2_lowlevel_hw_init(struct dwc2_hsotg *hsotg) argument
306 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); local
370 struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); local
381 dwc2_check_core_endianness(struct dwc2_hsotg *hsotg) argument
399 dwc2_check_core_version(struct dwc2_hsotg *hsotg) argument
438 struct dwc2_hsotg *hsotg; local
[all...]
H A Ddrd.c20 static void dwc2_ovr_init(struct dwc2_hsotg *hsotg) argument
25 spin_lock_irqsave(&hsotg->lock, flags);
27 gotgctl = dwc2_readl(hsotg, GOTGCTL);
30 if (hsotg->role_sw_default_mode == USB_DR_MODE_HOST)
32 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL)
34 dwc2_writel(hsotg, gotgctl, GOTGCTL);
36 spin_unlock_irqrestore(&hsotg->lock, flags);
38 dwc2_force_mode(hsotg, (hsotg->dr_mode == USB_DR_MODE_HOST) ||
39 (hsotg
42 dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid) argument
64 dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid) argument
88 struct dwc2_hsotg *hsotg = usb_role_switch_get_drvdata(sw); local
164 dwc2_drd_init(struct dwc2_hsotg *hsotg) argument
195 dwc2_drd_suspend(struct dwc2_hsotg *hsotg) argument
208 dwc2_drd_resume(struct dwc2_hsotg *hsotg) argument
246 dwc2_drd_exit(struct dwc2_hsotg *hsotg) argument
[all...]
H A Dgadget.c51 static inline void dwc2_set_bit(struct dwc2_hsotg *hsotg, u32 offset, u32 val) argument
53 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) | val, offset);
56 static inline void dwc2_clear_bit(struct dwc2_hsotg *hsotg, u32 offset, u32 val) argument
58 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) & ~val, offset);
61 static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg, argument
65 return hsotg->eps_in[ep_index];
67 return hsotg->eps_out[ep_index];
71 static void dwc2_hsotg_dump(struct dwc2_hsotg *hsotg);
92 using_dma(struct dwc2_hsotg *hsotg) argument
103 using_desc_dma(struct dwc2_hsotg *hsotg) argument
117 struct dwc2_hsotg *hsotg = hs_ep->parent; local
144 struct dwc2_hsotg *hsotg = hs_ep->parent; local
161 dwc2_hsotg_en_gsint(struct dwc2_hsotg *hsotg, u32 ints) argument
179 dwc2_hsotg_disable_gsint(struct dwc2_hsotg *hsotg, u32 ints) argument
200 dwc2_hsotg_ctrl_epint(struct dwc2_hsotg *hsotg, unsigned int ep, unsigned int dir_in, unsigned int en) argument
226 dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) argument
242 dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) argument
267 dwc2_gadget_wkup_alert_handler(struct dwc2_hsotg *hsotg) argument
289 dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) argument
308 dwc2_hsotg_init_fifo(struct dwc2_hsotg *hsotg) argument
430 dwc2_hsotg_unmap_dma(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct dwc2_hsotg_req *hs_req) argument
447 dwc2_gadget_alloc_ctrl_desc_chains(struct dwc2_hsotg *hsotg) argument
503 dwc2_hsotg_write_fifo(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct dwc2_hsotg_req *hs_req) argument
705 dwc2_hsotg_read_frameno(struct dwc2_hsotg *hsotg) argument
913 struct dwc2_hsotg *hsotg = hs_ep->parent; local
982 struct dwc2_hsotg *hsotg = hs_ep->parent; local
1048 dwc2_hsotg_start_req(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct dwc2_hsotg_req *hs_req, bool continuing) argument
1263 dwc2_hsotg_map_dma(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct usb_request *req) argument
1283 dwc2_hsotg_handle_unaligned_buf_start(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct dwc2_hsotg_req *hs_req) argument
1316 dwc2_hsotg_handle_unaligned_buf_complete(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct dwc2_hsotg_req *hs_req) argument
1348 struct dwc2_hsotg *hsotg = hs_ep->parent; local
1375 dwc2_gadget_set_ep0_desc_chain(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep) argument
1561 struct dwc2_hsotg *hsotg = hs_ep->parent; local
1576 ep_from_windex(struct dwc2_hsotg *hsotg, u32 windex) argument
1597 dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, int testmode) argument
1627 dwc2_hsotg_send_reply(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *ep, void *buff, int length) argument
1670 dwc2_hsotg_process_req_status(struct dwc2_hsotg *hsotg, struct usb_ctrlrequest *ctrl) argument
1748 struct dwc2_hsotg *hsotg = hs_ep->parent; local
1774 dwc2_hsotg_process_req_feature(struct dwc2_hsotg *hsotg, struct usb_ctrlrequest *ctrl) argument
1893 dwc2_hsotg_stall_ep0(struct dwc2_hsotg *hsotg) argument
1932 dwc2_hsotg_process_control(struct dwc2_hsotg *hsotg, struct usb_ctrlrequest *ctrl) argument
2016 struct dwc2_hsotg *hsotg = hs_ep->parent; local
2038 dwc2_hsotg_enqueue_setup(struct dwc2_hsotg *hsotg) argument
2070 dwc2_hsotg_program_zlp(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep) argument
2118 dwc2_hsotg_complete_request(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, struct dwc2_hsotg_req *hs_req, int result) argument
2183 struct dwc2_hsotg *hsotg = hs_ep->parent; local
2242 struct dwc2_hsotg *hsotg = hs_ep->parent; local
2263 dwc2_hsotg_rx_data(struct dwc2_hsotg *hsotg, int ep_idx, int size) argument
2327 dwc2_hsotg_ep0_zlp(struct dwc2_hsotg *hsotg, bool dir_in) argument
2346 struct dwc2_hsotg *hsotg = hs_ep->parent; local
2390 dwc2_hsotg_handle_outdone(struct dwc2_hsotg *hsotg, int epnum) argument
2481 dwc2_hsotg_handle_rx(struct dwc2_hsotg *hsotg) argument
2581 dwc2_hsotg_set_ep_maxpacket(struct dwc2_hsotg *hsotg, unsigned int ep, unsigned int mps, unsigned int mc, unsigned int dir_in) argument
2633 dwc2_hsotg_txfifo_flush(struct dwc2_hsotg *hsotg, unsigned int idx) argument
2652 dwc2_hsotg_trytx(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep) argument
2685 dwc2_hsotg_complete_in(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep) argument
2792 dwc2_gadget_read_ep_interrupts(struct dwc2_hsotg *hsotg, unsigned int idx, int dir_in) argument
2826 struct dwc2_hsotg *hsotg = hs_ep->parent; local
2890 struct dwc2_hsotg *hsotg = ep->parent; local
2958 struct dwc2_hsotg *hsotg = hs_ep->parent; local
3039 dwc2_hsotg_epint(struct dwc2_hsotg *hsotg, unsigned int idx, int dir_in) argument
3200 dwc2_hsotg_irq_enumdone(struct dwc2_hsotg *hsotg) argument
3286 kill_all_requests(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *ep, int result) argument
3315 dwc2_hsotg_disconnect(struct dwc2_hsotg *hsotg) argument
3346 dwc2_hsotg_irq_fifoempty(struct dwc2_hsotg *hsotg, bool periodic) argument
3384 dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *hsotg, bool is_usb_reset) argument
3591 dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) argument
3597 dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) argument
3617 dwc2_gadget_handle_incomplete_isoc_in(struct dwc2_hsotg *hsotg) argument
3660 dwc2_gadget_handle_incomplete_isoc_out(struct dwc2_hsotg *hsotg) argument
3707 struct dwc2_hsotg *hsotg = pw; local
3914 dwc2_hsotg_ep_stop_xfr(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep) argument
4018 struct dwc2_hsotg *hsotg = hs_ep->parent; local
4247 struct dwc2_hsotg *hsotg = hs_ep->parent; local
4295 struct dwc2_hsotg *hsotg = hs_ep->parent; local
4493 dwc2_hsotg_init(struct dwc2_hsotg *hsotg) argument
4533 struct dwc2_hsotg *hsotg = to_hsotg(gadget); local
4597 struct dwc2_hsotg *hsotg = to_hsotg(gadget); local
4650 struct dwc2_hsotg *hsotg = to_hsotg(gadget); local
4669 struct dwc2_hsotg *hsotg = to_hsotg(gadget); local
4702 struct dwc2_hsotg *hsotg = to_hsotg(gadget); local
4746 struct dwc2_hsotg *hsotg = to_hsotg(gadget); local
4755 struct dwc2_hsotg *hsotg = to_hsotg(g); local
4797 dwc2_hsotg_initep(struct dwc2_hsotg *hsotg, struct dwc2_hsotg_ep *hs_ep, int epnum, bool dir_in) argument
4869 dwc2_hsotg_hw_cfg(struct dwc2_hsotg *hsotg) argument
4924 dwc2_hsotg_dump(struct dwc2_hsotg *hsotg) argument
4975 dwc2_gadget_init(struct dwc2_hsotg *hsotg) argument
5081 dwc2_hsotg_remove(struct dwc2_hsotg *hsotg) argument
5089 dwc2_hsotg_suspend(struct dwc2_hsotg *hsotg) argument
5120 dwc2_hsotg_resume(struct dwc2_hsotg *hsotg) argument
5151 dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) argument
5207 dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, int remote_wakeup) argument
5268 dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg) argument
5296 dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg) argument
5316 dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg) argument
5389 dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) argument
5499 dwc2_gadget_enter_partial_power_down(struct dwc2_hsotg *hsotg) argument
5561 dwc2_gadget_exit_partial_power_down(struct dwc2_hsotg *hsotg, bool restore) argument
5626 dwc2_gadget_enter_clock_gating(struct dwc2_hsotg *hsotg) argument
5656 dwc2_gadget_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) argument
[all...]
H A Dhcd.c40 * @hsotg: Programming view of the DWC_otg controller
42 static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg) argument
47 dwc2_writel(hsotg, 0xffffffff, GOTGINT);
50 dwc2_writel(hsotg, 0xffffffff, GINTSTS);
55 if (!hsotg->params.host_dma)
57 if (!hsotg->params.external_id_pin_ctl)
63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm)
66 dwc2_writel(hsotg, intmsk, GINTMSK);
69 static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) argument
103 dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) argument
134 dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg) argument
142 dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg) argument
155 dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) argument
179 dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) argument
196 dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) argument
255 dwc2_config_fifos(struct dwc2_hsotg *hsotg) argument
326 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) argument
373 dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) argument
402 dwc2_dump_channel_info(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
462 dwc2_host_start(struct dwc2_hsotg *hsotg) argument
470 dwc2_host_disconnect(struct dwc2_hsotg *hsotg) argument
477 dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context, int *hub_addr, int *hub_port) argument
495 dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
573 dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
610 dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
651 dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
766 dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, enum dwc2_halt_status halt_status) argument
930 dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
958 dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, u32 *hcchar) argument
1093 dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
1139 dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
1192 dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
1407 dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
1496 dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) argument
1570 dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg, struct list_head *qh_list) argument
1585 dwc2_qh_list_free(struct dwc2_hsotg *hsotg, struct list_head *qh_list) argument
1628 dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg) argument
1644 dwc2_hcd_start(struct dwc2_hsotg *hsotg) argument
1664 dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg) argument
1723 dwc2_hcd_connect(struct dwc2_hsotg *hsotg) argument
1740 dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) argument
1807 dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg) argument
1825 dwc2_hcd_stop(struct dwc2_hsotg *hsotg) argument
1844 dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg, struct dwc2_hcd_urb *urb, struct dwc2_qh *qh, struct dwc2_qtd *qtd) argument
1904 dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg, struct dwc2_hcd_urb *urb) argument
1962 dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg, struct usb_host_endpoint *ep, int retry) argument
2021 dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg, struct usb_host_endpoint *ep) argument
2041 dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) argument
2129 dwc2_core_host_init(struct dwc2_hsotg *hsotg) argument
2269 dwc2_hcd_reinit(struct dwc2_hsotg *hsotg) argument
2305 dwc2_hc_init_split(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb) argument
2319 dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd) argument
2409 dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, struct dwc2_host_chan *chan) argument
2544 dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
2681 dwc2_hcd_select_transactions( struct dwc2_hsotg *hsotg) argument
2788 dwc2_queue_transaction(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, u16 fifo_dwords_avail) argument
2850 dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg) argument
2984 dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg) argument
3108 dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, enum dwc2_transaction_type tr_type) argument
3139 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, local
3230 struct dwc2_hsotg *hsotg = from_timer(hsotg, t, wkp_timer); local
3253 dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg) argument
3271 dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) argument
3345 dwc2_port_resume(struct dwc2_hsotg *hsotg) argument
3382 dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq, u16 wvalue, u16 windex, char *buf, u16 wlength) argument
3748 dwc2_hcd_is_status_changed(struct dwc2_hsotg *hsotg, int port) argument
3779 dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) argument
3790 dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us) argument
3819 dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) argument
3824 dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg, int iso_desc_count, gfp_t mem_flags) argument
3836 dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg, struct dwc2_hcd_urb *urb, u8 dev_addr, u8 ep_num, u8 ep_type, u8 ep_dir, u16 maxp, u16 maxp_mult) argument
3859 dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg) argument
3985 struct dwc2_hsotg *hsotg; member in struct:wrapper_priv_data
4017 dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context, gfp_t mem_flags, int *ttport) argument
4065 dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt) argument
4080 dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context) argument
4119 dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, int status) argument
4200 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, local
4212 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, local
4231 struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, local
4253 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4302 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4331 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4413 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4531 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4540 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4619 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4807 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4853 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4869 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4890 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4903 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4922 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4945 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4956 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
4973 struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); local
5025 dwc2_hcd_free(struct dwc2_hsotg *hsotg) argument
5090 dwc2_hcd_release(struct dwc2_hsotg *hsotg) argument
5104 dwc2_hcd_init(struct dwc2_hsotg *hsotg) argument
5366 dwc2_hcd_remove(struct dwc2_hsotg *hsotg) argument
5407 dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) argument
5443 dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) argument
5485 dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) argument
5595 dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) argument
5751 dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) argument
5826 dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup, bool restore) argument
5908 dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) argument
5944 dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) argument
[all...]
H A Dhcd_intr.c33 static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) argument
35 u16 curr_frame_number = hsotg->frame_number;
36 u16 expected = dwc2_frame_num_inc(hsotg->last_frame_num, 1);
39 dwc2_sch_vdbg(hsotg, "MISSED SOF %04x != %04x\n",
43 if (hsotg->frame_num_idx < FRAME_NUM_ARRAY_SIZE) {
45 hsotg->frame_num_array[hsotg->frame_num_idx] =
47 hsotg->last_frame_num_array[hsotg->frame_num_idx] =
48 hsotg
67 dwc2_hc_handle_tt_clear(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd) argument
110 dwc2_sof_intr(struct dwc2_hsotg *hsotg) argument
156 dwc2_rx_fifo_level_intr(struct dwc2_hsotg *hsotg) argument
214 dwc2_np_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) argument
226 dwc2_perio_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) argument
233 dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, u32 *hprt0_modify) argument
325 dwc2_port_intr(struct dwc2_hsotg *hsotg) argument
406 dwc2_get_actual_xfer_length(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status, int *short_read) argument
460 dwc2_update_urb_state(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_hcd_urb *urb, struct dwc2_qtd *qtd) argument
510 dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
554 dwc2_update_isoc_urb_state( struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status) argument
628 dwc2_deactivate_qh(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, int free_qtd) argument
674 dwc2_release_channel(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status) argument
773 dwc2_halt_channel(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status) argument
833 dwc2_complete_non_periodic_xfer(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status) argument
883 dwc2_complete_periodic_xfer(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status) argument
900 dwc2_xfercomp_isoc_split_in(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
958 dwc2_hc_xfercomp_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1091 dwc2_hc_stall_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1141 dwc2_update_urb_state_abn(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_hcd_urb *urb, struct dwc2_qtd *qtd, enum dwc2_halt_status halt_status) argument
1178 dwc2_hc_nak_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1283 dwc2_hc_ack_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1362 dwc2_hc_nyet_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1486 dwc2_hc_babble_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1520 dwc2_hc_ahberr_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1624 dwc2_hc_xacterr_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1682 dwc2_hc_frmovrun_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1715 dwc2_hc_datatglerr_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1740 dwc2_halt_status_ok(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1800 dwc2_hc_chhltd_intr_dma(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
1978 dwc2_hc_chhltd_intr(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd) argument
2014 dwc2_hc_n_intr(struct dwc2_hsotg *hsotg, int chnum) argument
2166 dwc2_hc_intr(struct dwc2_hsotg *hsotg) argument
2202 dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg) argument
[all...]
H A Dcore.h30 #define dwc2_sch_dbg(hsotg, fmt, ...) \
32 dev_name(hsotg->dev), ##__VA_ARGS__)
35 #define dwc2_sch_vdbg(hsotg, fmt, ...) \
37 dev_name(hsotg->dev), ##__VA_ARGS__)
42 /* dwc2-hsotg declarations */
1218 static inline u32 dwc2_readl(struct dwc2_hsotg *hsotg, u32 offset) argument
1222 val = readl(hsotg->regs + offset);
1223 if (hsotg->needs_byte_swap)
1229 static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) argument
1231 if (hsotg
1241 dwc2_readl_rep(struct dwc2_hsotg *hsotg, u32 offset, void *buffer, unsigned int count) argument
1254 dwc2_writel_rep(struct dwc2_hsotg *hsotg, u32 offset, const void *buffer, unsigned int count) argument
1285 dwc2_is_iot(struct dwc2_hsotg *hsotg) argument
1290 dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) argument
1295 dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) argument
1377 dwc2_is_host_mode(struct dwc2_hsotg *hsotg) argument
1382 dwc2_is_device_mode(struct dwc2_hsotg *hsotg) argument
1430 dwc2_clear_fifo_map(struct dwc2_hsotg *hsotg) argument
1439 dwc2_gadget_init(struct dwc2_hsotg *hsotg) argument
1443 dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) argument
1444 dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) argument
1446 dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, int testmode) argument
1451 dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) argument
1453 dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, int remote_wakeup) argument
1456 dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg) argument
1458 dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) argument
1461 dwc2_gadget_enter_partial_power_down(struct dwc2_hsotg *hsotg) argument
1463 dwc2_gadget_exit_partial_power_down(struct dwc2_hsotg *hsotg, bool restore) argument
1466 dwc2_gadget_enter_clock_gating(struct dwc2_hsotg *hsotg) argument
1467 dwc2_gadget_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) argument
1469 dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) argument
1471 dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) argument
1473 dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) argument
1475 dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg) argument
1476 dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg) argument
1477 dwc2_clear_fifo_map(struct dwc2_hsotg *hsotg) argument
1500 dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) argument
1503 dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) argument
1505 dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us) argument
1508 dwc2_hcd_connect(struct dwc2_hsotg *hsotg) argument
1509 dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) argument
1510 dwc2_hcd_start(struct dwc2_hsotg *hsotg) argument
1511 dwc2_hcd_remove(struct dwc2_hsotg *hsotg) argument
1512 dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) argument
1514 dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) argument
1516 dwc2_port_resume(struct dwc2_hsotg *hsotg) argument
1518 dwc2_hcd_init(struct dwc2_hsotg *hsotg) argument
1520 dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) argument
1522 dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) argument
1524 dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) argument
1526 dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, int reset) argument
1529 dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) argument
1531 dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, int rem_wakeup, bool restore) argument
1534 dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) argument
1535 dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, int rem_wakeup) argument
1539 dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) argument
[all...]
H A Dparams.c18 static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg) argument
20 struct dwc2_core_params *p = &hsotg->params;
28 static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) argument
30 struct dwc2_core_params *p = &hsotg->params;
51 static void dwc2_set_jz4775_params(struct dwc2_hsotg *hsotg) argument
53 struct dwc2_core_params *p = &hsotg->params;
60 !device_property_read_bool(hsotg->dev, "disable-over-current");
63 static void dwc2_set_loongson_params(struct dwc2_hsotg *hsotg) argument
65 struct dwc2_core_params *p = &hsotg->params;
71 static void dwc2_set_x1600_params(struct dwc2_hsotg *hsotg) argument
84 dwc2_set_x2000_params(struct dwc2_hsotg *hsotg) argument
100 dwc2_set_s3c6400_params(struct dwc2_hsotg *hsotg) argument
109 dwc2_set_socfpga_agilex_params(struct dwc2_hsotg *hsotg) argument
117 dwc2_set_rk_params(struct dwc2_hsotg *hsotg) argument
136 dwc2_set_ltq_params(struct dwc2_hsotg *hsotg) argument
151 dwc2_set_amlogic_params(struct dwc2_hsotg *hsotg) argument
168 dwc2_set_amlogic_g12a_params(struct dwc2_hsotg *hsotg) argument
178 dwc2_set_amlogic_a1_params(struct dwc2_hsotg *hsotg) argument
197 dwc2_set_amcc_params(struct dwc2_hsotg *hsotg) argument
204 dwc2_set_stm32f4x9_fsotg_params(struct dwc2_hsotg *hsotg) argument
220 dwc2_set_stm32f7_hsotg_params(struct dwc2_hsotg *hsotg) argument
229 dwc2_set_stm32mp15_fsotg_params(struct dwc2_hsotg *hsotg) argument
251 dwc2_set_stm32mp15_hsotg_params(struct dwc2_hsotg *hsotg) argument
336 dwc2_set_param_otg_cap(struct dwc2_hsotg *hsotg) argument
356 dwc2_set_param_phy_type(struct dwc2_hsotg *hsotg) argument
376 dwc2_set_param_speed(struct dwc2_hsotg *hsotg) argument
392 dwc2_set_param_phy_utmi_width(struct dwc2_hsotg *hsotg) argument
411 dwc2_set_param_tx_fifo_sizes(struct dwc2_hsotg *hsotg) argument
426 dwc2_set_param_power_down(struct dwc2_hsotg *hsotg) argument
440 dwc2_set_param_lpm(struct dwc2_hsotg *hsotg) argument
464 dwc2_set_default_params(struct dwc2_hsotg *hsotg) argument
536 dwc2_get_device_properties(struct dwc2_hsotg *hsotg) argument
566 dwc2_check_param_otg_cap(struct dwc2_hsotg *hsotg) argument
597 dwc2_check_param_phy_type(struct dwc2_hsotg *hsotg) argument
629 dwc2_check_param_speed(struct dwc2_hsotg *hsotg) argument
653 dwc2_check_param_phy_utmi_width(struct dwc2_hsotg *hsotg) argument
675 dwc2_check_param_power_down(struct dwc2_hsotg *hsotg) argument
707 dwc2_check_param_tx_fifo_sizes(struct dwc2_hsotg *hsotg) argument
757 dwc2_check_params(struct dwc2_hsotg *hsotg) argument
829 dwc2_get_host_hwparams(struct dwc2_hsotg *hsotg) argument
854 dwc2_get_dev_hwparams(struct dwc2_hsotg *hsotg) argument
886 dwc2_get_hwparams(struct dwc2_hsotg *hsotg) argument
970 dwc2_init_params(struct dwc2_hsotg *hsotg) argument
[all...]
H A Dhcd_ddma.c58 static int dwc2_desc_list_alloc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, argument
65 desc_cache = hsotg->desc_hsisoc_cache;
67 desc_cache = hsotg->desc_gen_cache;
76 qh->desc_list_dma = dma_map_single(hsotg->dev, qh->desc_list,
82 dma_unmap_single(hsotg->dev, qh->desc_list_dma,
93 static void dwc2_desc_list_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
99 desc_cache = hsotg->desc_hsisoc_cache;
101 desc_cache = hsotg->desc_gen_cache;
104 dma_unmap_single(hsotg->dev, qh->desc_list_dma,
114 static int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_ argument
131 dwc2_frame_list_free(struct dwc2_hsotg *hsotg) argument
151 dwc2_per_sched_enable(struct dwc2_hsotg *hsotg, u32 fr_list_en) argument
175 dwc2_per_sched_disable(struct dwc2_hsotg *hsotg) argument
200 dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, int enable) argument
264 dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
312 dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, gfp_t mem_flags) argument
358 dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
398 dwc2_calc_starting_frame(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, u16 *skip_frames) argument
460 dwc2_recalc_initial_desc_idx(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
511 dwc2_fill_host_isoc_dma_desc(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, struct dwc2_qh *qh, u32 max_xfer_size, u16 idx) argument
550 dwc2_init_isoc_dma_desc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, u16 skip_frames) argument
659 dwc2_fill_host_dma_desc(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, struct dwc2_qh *qh, int n_desc) argument
711 dwc2_init_non_isoc_dma_desc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
817 dwc2_hcd_start_xfer_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
862 dwc2_cmpl_host_isoc_dma_desc(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, struct dwc2_qh *qh, u16 idx) argument
938 dwc2_complete_isoc_xfer_ddma(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, enum dwc2_halt_status halt_status) argument
1044 dwc2_update_non_isoc_urb_state_ddma(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, struct dwc2_qtd *qtd, struct dwc2_dma_desc *dma_desc, enum dwc2_halt_status halt_status, u32 n_bytes, int *xfer_done) argument
1126 dwc2_process_non_isoc_desc(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, struct dwc2_qtd *qtd, int desc_num, enum dwc2_halt_status halt_status, int *xfer_done) argument
1198 dwc2_complete_non_isoc_xfer_ddma(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, enum dwc2_halt_status halt_status) argument
1276 dwc2_hcd_complete_xfer_ddma(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, int chnum, enum dwc2_halt_status halt_status) argument
[all...]
H A Dhcd_queue.c38 * @hsotg: The HCD state structure for the DWC OTG controller
42 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg) argument
52 num_channels = hsotg->params.host_channels;
53 if ((hsotg->periodic_channels + hsotg->non_periodic_channels <
54 num_channels) && (hsotg->periodic_channels < num_channels - 1)) {
57 dev_dbg(hsotg->dev,
60 hsotg->periodic_channels, hsotg->non_periodic_channels);
71 * @hsotg
79 dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
344 dwc2_get_ls_map(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
462 struct dwc2_hsotg *hsotg; member in struct:dwc2_qh_print_data
485 dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
535 dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
554 dwc2_ls_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, int search_slice) argument
593 dwc2_ls_pmap_unschedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
628 dwc2_hs_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, bool only_one_period, int index) argument
654 dwc2_hs_pmap_unschedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, int index) argument
678 dwc2_uframe_schedule_split(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
960 dwc2_uframe_schedule_hs(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
983 dwc2_uframe_schedule_ls(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1003 dwc2_uframe_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1028 dwc2_uframe_unschedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1056 dwc2_pick_first_frame(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1171 dwc2_do_reserve(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1217 dwc2_do_unreserve(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1255 struct dwc2_hsotg *hsotg = qh->hsotg; local
1298 dwc2_check_max_xfer_size(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1328 dwc2_schedule_periodic(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1387 dwc2_deschedule_periodic(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1443 struct dwc2_hsotg *hsotg = qh->hsotg; local
1478 dwc2_qh_init(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, struct dwc2_hcd_urb *urb, gfp_t mem_flags) argument
1615 dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg, struct dwc2_hcd_urb *urb, gfp_t mem_flags) argument
1651 dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1691 dwc2_hcd_qh_add(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1743 dwc2_hcd_qh_unlink(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) argument
1793 dwc2_next_for_periodic_split(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, u16 frame_number) argument
1856 dwc2_next_periodic_start(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, u16 frame_number) argument
1947 dwc2_hcd_qh_deactivate(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, int sched_next_periodic_split) argument
2048 dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, struct dwc2_qh *qh) argument
[all...]
H A Dhcd.h231 * @hsotg: The HCD state structure for the DWC OTG controller
312 struct dwc2_hsotg *hsotg; member in struct:dwc2_qh
424 struct dwc2_hsotg *hsotg; member in struct:hc_xfer_info
429 u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg);
432 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) argument
434 return (struct usb_hcd *)hsotg->priv;
444 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) argument
446 u32 mask = dwc2_readl(hsotg, HCINTMSK(chnum));
449 dwc2_writel(hsotg, mask, HCINTMSK(chnum));
452 void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struc
462 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) argument
550 dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, struct dwc2_qh *qh) argument
663 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) argument
705 dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, struct usb_host_endpoint *ep) argument
716 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, struct usb_host_endpoint *ep) argument
[all...]
H A Ddebugfs.c31 struct dwc2_hsotg *hsotg = s->private; local
52 spin_lock_irqsave(&hsotg->lock, flags);
53 dwc2_hsotg_set_test_mode(hsotg, testmode);
54 spin_unlock_irqrestore(&hsotg->lock, flags);
67 struct dwc2_hsotg *hsotg = s->private; local
71 spin_lock_irqsave(&hsotg->lock, flags);
72 dctl = dwc2_readl(hsotg, DCTL);
75 spin_unlock_irqrestore(&hsotg->lock, flags);
128 struct dwc2_hsotg *hsotg = seq->private; local
132 dwc2_readl(hsotg, DCF
185 struct dwc2_hsotg *hsotg = seq->private; local
228 struct dwc2_hsotg *hsotg = ep->parent; local
292 dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) argument
322 dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) argument
669 struct dwc2_hsotg *hsotg = seq->private; local
729 struct dwc2_hsotg *hsotg = seq->private; local
764 struct dwc2_hsotg *hsotg = seq->private; local
773 dwc2_debugfs_init(struct dwc2_hsotg *hsotg) argument
807 dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) argument
[all...]
/linux-master/arch/arm/mach-s3c/
H A Ddevs.c27 #include <linux/platform_data/s3c-hsotg.h>
344 .name = "s3c-hsotg",
H A Dmach-crag6410.c33 #include <linux/platform_data/s3c-hsotg.h>

Completed in 190 milliseconds