Lines Matching defs:dwc3
1098 struct dwc3 { struct
1100 struct dwc3_trb *ep0_trb; argument
1107 struct dwc3_request ep0_usb_req; argument
1122 struct dwc3_event_buffer *ev_buf; argument
1123 struct dwc3_ep *eps[DWC3_ENDPOINTS_NUM]; argument
1125 struct usb_gadget *gadget;
1126 struct usb_gadget_driver *gadget_driver;
1128 struct clk_bulk_data *clks;
1129 int num_clks;
1131 struct reset_control *reset;
1133 struct usb_phy *usb2_phy;
1134 struct usb_phy *usb3_phy;
1136 struct phy *usb2_generic_phy;
1137 struct phy *usb3_generic_phy;
1139 bool phys_ready;
1141 struct ulpi *ulpi;
1142 bool ulpi_ready;
1144 void __iomem *regs;
1145 size_t regs_size;
1147 enum usb_dr_mode dr_mode;
1148 u32 current_dr_role;
1149 u32 desired_dr_role;
1150 struct extcon_dev *edev;
1151 struct notifier_block edev_nb;
1152 enum usb_phy_interface hsphy_mode;
1153 struct usb_role_switch *role_sw;
1154 enum usb_dr_mode role_switch_default_mode;
1156 struct power_supply *usb_psy;
1158 u32 fladj;
1159 u32 ref_clk_per;
1160 u32 irq_gadget;
1161 u32 otg_irq;
1162 u32 current_otg_role;
1163 u32 desired_otg_role;
1164 bool otg_restart_host;
1165 u32 nr_scratch;
1166 u32 u1u2;
1167 u32 maximum_speed;
1168 u32 gadget_max_speed;
1169 enum usb_ssp_rate max_ssp_rate;
1170 enum usb_ssp_rate gadget_ssp_rate;
1172 u32 ip;
1178 u32 revision;
1226 enum dwc3_ep0_next ep0_next_event; argument
1227 enum dwc3_ep0_state ep0state; argument
1228 enum dwc3_link_state link_state; argument
1239 struct dwc3_hwparams hwparams; argument
1240 struct debugfs_regset32 *regset;
1242 u32 dbg_lsp_select;
1244 u8 test_mode;
1245 u8 test_mode_nr;
1246 u8 lpm_nyet_threshold;
1247 u8 hird_threshold;
1248 u8 rx_thr_num_pkt_prd;
1249 u8 rx_max_burst_prd;
1250 u8 tx_thr_num_pkt_prd;
1251 u8 tx_max_burst_prd;
1252 u8 tx_fifo_resize_max_num;
1254 const char *hsphy_interface;
1256 unsigned connected:1;
1257 unsigned softconnect:1;
1258 unsigned delayed_status:1;
1259 unsigned ep0_bounced:1;
1260 unsigned ep0_expect_in:1;
1261 unsigned has_hibernation:1;
1262 unsigned sysdev_is_parent:1;
1263 unsigned has_lpm_erratum:1;
1264 unsigned is_utmi_l1_suspend:1;
1265 unsigned is_fpga:1;
1266 unsigned pending_events:1;
1267 unsigned do_fifo_resize:1;
1268 unsigned pullups_connected:1;
1269 unsigned setup_packet_pending:1;
1270 unsigned three_stage_setup:1;
1271 unsigned dis_start_transfer_quirk:1;
1272 unsigned usb3_lpm_capable:1;
1273 unsigned usb2_lpm_disable:1;
1274 unsigned usb2_gadget_lpm_disable:1;
1276 unsigned disable_scramble_quirk:1;
1277 unsigned u2exit_lfps_quirk:1;
1278 unsigned u2ss_inp3_quirk:1;
1279 unsigned req_p1p2p3_quirk:1;
1280 unsigned del_p1p2p3_quirk:1;
1281 unsigned del_phy_power_chg_quirk:1;
1282 unsigned lfps_filter_quirk:1;
1283 unsigned rx_detect_poll_quirk:1;
1284 unsigned dis_u3_susphy_quirk:1;
1285 unsigned dis_u2_susphy_quirk:1;
1286 unsigned dis_enblslpm_quirk:1;
1287 unsigned dis_u1_entry_quirk:1;
1288 unsigned dis_u2_entry_quirk:1;
1289 unsigned dis_rxdet_inp3_quirk:1;
1313 #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) argument