aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/dwc2/core.h')
-rw-r--r--drivers/usb/dwc2/core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 1efd10cc9629..bf015ab3b44c 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -139,6 +139,7 @@ struct s3c_hsotg_ep {
139 unsigned int last_load; 139 unsigned int last_load;
140 unsigned int fifo_load; 140 unsigned int fifo_load;
141 unsigned short fifo_size; 141 unsigned short fifo_size;
142 unsigned short fifo_index;
142 143
143 unsigned char dir_in; 144 unsigned char dir_in;
144 unsigned char index; 145 unsigned char index;
@@ -194,8 +195,10 @@ struct s3c_hsotg {
194 struct regulator_bulk_data supplies[ARRAY_SIZE(s3c_hsotg_supply_names)]; 195 struct regulator_bulk_data supplies[ARRAY_SIZE(s3c_hsotg_supply_names)];
195 196
196 u32 phyif; 197 u32 phyif;
198 int fifo_mem;
197 unsigned int dedicated_fifos:1; 199 unsigned int dedicated_fifos:1;
198 unsigned char num_of_eps; 200 unsigned char num_of_eps;
201 u32 fifo_map;
199 202
200 struct dentry *debug_root; 203 struct dentry *debug_root;
201 struct dentry *debug_file; 204 struct dentry *debug_file;
@@ -501,6 +504,10 @@ struct dwc2_hw_params {
501 * a_peripheral and b_device=>b_host) this may not match 504 * a_peripheral and b_device=>b_host) this may not match
502 * the core, but allows the software to determine 505 * the core, but allows the software to determine
503 * transitions 506 * transitions
507 * @dr_mode: Requested mode of operation, one of following:
508 * - USB_DR_MODE_PERIPHERAL
509 * - USB_DR_MODE_HOST
510 * - USB_DR_MODE_OTG
504 * @queuing_high_bandwidth: True if multiple packets of a high-bandwidth 511 * @queuing_high_bandwidth: True if multiple packets of a high-bandwidth
505 * transfer are in process of being queued 512 * transfer are in process of being queued
506 * @srp_success: Stores status of SRP request in the case of a FS PHY 513 * @srp_success: Stores status of SRP request in the case of a FS PHY
@@ -592,6 +599,7 @@ struct dwc2_hsotg {
592 /** Params to actually use */ 599 /** Params to actually use */
593 struct dwc2_core_params *core_params; 600 struct dwc2_core_params *core_params;
594 enum usb_otg_state op_state; 601 enum usb_otg_state op_state;
602 enum usb_dr_mode dr_mode;
595 603
596 unsigned int queuing_high_bandwidth:1; 604 unsigned int queuing_high_bandwidth:1;
597 unsigned int srp_success:1; 605 unsigned int srp_success:1;