Lines Matching defs:dwc_otg_softc
162 struct dwc_otg_softc { struct
163 struct usb_bus sc_bus;
164 union dwc_otg_hub_temp sc_hub_temp;
165 struct dwc_otg_profile sc_hw_ep_profile[DWC_OTG_MAX_ENDPOINTS];
166 struct dwc_otg_tt_info sc_tt_info[DWC_OTG_MAX_DEVICES];
167 struct usb_callout sc_timer;
169 struct usb_device *sc_devices[DWC_OTG_MAX_DEVICES];
170 struct resource *sc_io_res;
171 struct resource *sc_irq_res;
172 void *sc_intr_hdl;
173 bus_size_t sc_io_size;
174 bus_space_tag_t sc_io_tag;
175 bus_space_handle_t sc_io_hdl;
177 uint32_t sc_bounce_buffer[MAX(512 * DWC_OTG_MAX_TXP, 1024) / 4];
179 uint32_t sc_fifo_size;
180 uint32_t sc_irq_mask;
181 uint32_t sc_last_rx_status;
182 uint32_t sc_out_ctl[DWC_OTG_MAX_ENDPOINTS];
183 uint32_t sc_in_ctl[DWC_OTG_MAX_ENDPOINTS];
184 struct dwc_otg_chan_state sc_chan_state[DWC_OTG_MAX_CHANNELS];
185 uint32_t sc_tmr_val;
186 uint32_t sc_hprt_val;
187 uint32_t sc_xfer_complete;
189 uint16_t sc_current_rx_bytes;
190 uint16_t sc_current_rx_fifo;
192 uint16_t sc_active_rx_ep;
193 uint16_t sc_last_frame_num;
195 uint8_t sc_phy_type;
196 uint8_t sc_phy_bits;
223 int dwc_otg_init(struct dwc_otg_softc *); argument