Lines Matching defs:dwc2_hsotg

587 struct dwc2_hsotg {  struct
588 struct device *dev;
589 void __iomem *regs;
591 struct dwc2_hw_params hw_params;
593 struct dwc2_core_params *core_params;
594 enum usb_otg_state op_state;
595 enum usb_dr_mode dr_mode;
596 unsigned int hcd_enabled:1;
597 unsigned int gadget_enabled:1;
599 struct phy *phy;
600 struct usb_phy *uphy;
601 struct regulator_bulk_data supplies[ARRAY_SIZE(s3c_hsotg_supply_names)];
603 spinlock_t lock;
604 struct mutex init_mutex;
605 void *priv;
606 int irq;
607 struct clk *clk;
609 unsigned int queuing_high_bandwidth:1;
610 unsigned int srp_success:1;
612 struct workqueue_struct *wq_otg;
613 struct work_struct wf_otg;
614 struct timer_list wkp_timer;
615 enum dwc2_lx_state lx_state;
617 struct dentry *debug_root;
618 struct dentry *debug_file;
619 struct dentry *debug_testmode;
620 struct dentry *debug_fifo;
630 union dwc2_hcd_internal_flags {
642 } flags;
644 struct list_head non_periodic_sched_inactive;
645 struct list_head non_periodic_sched_active;
646 struct list_head *non_periodic_qh_ptr;
647 struct list_head periodic_sched_inactive;
648 struct list_head periodic_sched_ready;
649 struct list_head periodic_sched_assigned;
650 struct list_head periodic_sched_queued;
651 u16 periodic_usecs;
652 u16 frame_usecs[8];
653 u16 frame_number;
654 u16 periodic_qh_count;
658 u16 last_frame_num;
659 u16 *frame_num_array;
660 u16 *last_frame_num_array;
661 int frame_num_idx;
662 int dumped_frame_num_array;
665 struct list_head free_hc_list;
666 int periodic_channels;
667 int non_periodic_channels;
668 int available_host_channels;
669 struct dwc2_host_chan *hc_ptr_array[MAX_EPS_CHANNELS];
670 u8 *status_buf;
671 dma_addr_t status_buf_dma;
674 struct delayed_work start_work;
675 struct delayed_work reset_work;
676 u8 otg_port;
677 u32 *frame_list;
678 dma_addr_t frame_list_dma;
681 u32 frrem_samples;
682 u64 frrem_accum;
684 u32 hfnum_7_samples_a;
685 u64 hfnum_7_frrem_accum_a;
686 u32 hfnum_0_samples_a;
687 u64 hfnum_0_frrem_accum_a;
688 u32 hfnum_other_samples_a;
689 u64 hfnum_other_frrem_accum_a;
691 u32 hfnum_7_samples_b;
692 u64 hfnum_7_frrem_accum_b;
693 u32 hfnum_0_samples_b;
694 u64 hfnum_0_frrem_accum_b;
695 u32 hfnum_other_samples_b;
696 u64 hfnum_other_frrem_accum_b;
702 struct usb_gadget_driver *driver;
703 struct s3c_hsotg_plat *plat;
705 u32 phyif;
706 int fifo_mem;
707 unsigned int dedicated_fifos:1;
708 unsigned char num_of_eps;
709 u32 fifo_map;
711 struct usb_request *ep0_reply;
712 struct usb_request *ctrl_req;
713 void *ep0_buff;
714 void *ctrl_buff;
715 enum dwc2_ep0_state ep0_state;
716 u8 test_mode;
718 struct usb_gadget gadget;
719 unsigned int enabled:1;
720 unsigned int connected:1;
721 unsigned long last_rst;
722 struct s3c_hsotg_ep *eps_in[MAX_EPS_CHANNELS];
723 struct s3c_hsotg_ep *eps_out[MAX_EPS_CHANNELS];
724 u32 g_using_dma;
725 u32 g_rx_fifo_sz;
726 u32 g_np_g_tx_fifo_sz;
727 u32 g_tx_fifo_sz[MAX_EPS_CHANNELS];