diff options
author | Thinh Nguyen | 2018-03-16 23:35:44 +0100 |
---|---|---|
committer | Felipe Balbi | 2018-03-22 09:48:59 +0100 |
commit | 938a5ad1d3055c6d3993e99557477f5cd5ce3f64 (patch) | |
tree | ee9aef80788473bdc974a6377099394d099cfddc /drivers/usb/dwc3/core.h | |
parent | usb: dwc3: Make TX/RX threshold configurable (diff) | |
download | kernel-qcow2-linux-938a5ad1d3055c6d3993e99557477f5cd5ce3f64.tar.gz kernel-qcow2-linux-938a5ad1d3055c6d3993e99557477f5cd5ce3f64.tar.xz kernel-qcow2-linux-938a5ad1d3055c6d3993e99557477f5cd5ce3f64.zip |
usb: dwc3: Check for ESS TX/RX threshold config
Check and configure TX/RX threshold for DWC_usb31. Update dwc3 structure
with new fields to store these threshold configurations.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r-- | drivers/usb/dwc3/core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index ce9edcf17738..28d6f6511f6f 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -929,6 +929,10 @@ struct dwc3_scratchpad_array { * @test_mode_nr: test feature selector * @lpm_nyet_threshold: LPM NYET response threshold * @hird_threshold: HIRD threshold + * @rx_thr_num_pkt_prd: periodic ESS receive packet count + * @rx_max_burst_prd: max periodic ESS receive burst size + * @tx_thr_num_pkt_prd: periodic ESS transmit packet count + * @tx_max_burst_prd: max periodic ESS transmit burst size * @hsphy_interface: "utmi" or "ulpi" * @connected: true when we're connected to a host, false otherwise * @delayed_status: true when gadget driver asks for delayed status @@ -1096,6 +1100,10 @@ struct dwc3 { u8 test_mode_nr; u8 lpm_nyet_threshold; u8 hird_threshold; + u8 rx_thr_num_pkt_prd; + u8 rx_max_burst_prd; + u8 tx_thr_num_pkt_prd; + u8 tx_max_burst_prd; const char *hsphy_interface; |