1. 20 6月, 2016 14 次提交
  2. 01 6月, 2016 1 次提交
  3. 28 4月, 2016 3 次提交
  4. 19 4月, 2016 6 次提交
  5. 18 4月, 2016 7 次提交
  6. 14 4月, 2016 5 次提交
    • F
      usb: dwc3: drop ev_buffs array · 696c8b12
      Felipe Balbi 提交于
      we will be using a single event buffer and that
      renders ev_buffs array unnecessary. Let's remove it
      in favor of a single pointer to a single event
      buffer.
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      696c8b12
    • F
      usb: dwc3: remove num_event_buffers · 660e9bde
      Felipe Balbi 提交于
      We never, ever route any of the other event buffers
      so we might as well drop support for them.
      
      Until someone has a real, proper benefit for
      multiple event buffers, we will rely on a single
      one. This also helps reduce memory footprint of
      dwc3.ko which won't allocate memory for the extra
      event buffers.
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      660e9bde
    • F
      usb: dwc3: better name for our request management lists · aa3342c8
      Felipe Balbi 提交于
      request_list and req_queued were, well, weird naming
      choices.
      
      Let's give those better names and call them,
      respectively, pending_list and started_list. These
      new names better reflect what these lists are
      supposed to do.
      
      While at that also rename req->queued to req->started.
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      aa3342c8
    • F
      usb: dwc3: gadget: always enable CSP · ca4d44ea
      Felipe Balbi 提交于
      CSP bit of TRB Control is useful for protocols such
      CDC EEM/ECM/NCM where we're transferring in blocks
      of MTU-sized requests (usually MTU is 1500 bytes).
      
      We know we will always have a short packet after two
      (for HS) wMaxPacketSize packets and, usually, we
      will have a long(-ish) queue of requests (for our
      g_ether gadget, we have at least 10
      requests).
      
      Instead of always stopping the queue processing to
      interrupt, giveback and restart, let's tell dwc3 to
      interrupt but continue processing following request
      if we have anything already pending in the queue.
      
      This gave me a considerable improvement of 40% on my
      test setup.
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      ca4d44ea
    • F
      usb: dwc3: drop FIFO resizing logic · bc508161
      Felipe Balbi 提交于
      That FIFO resizing logic was added to support OMAP5
      ES1.0 which had a bogus default FIFO size. I can't
      remember the exact size of default FIFO, but it was
      less than one bulk superspeed packet (<1024) which
      would prevent USB3 from ever working on OMAP5 ES1.0.
      
      However, OMAP5 ES1.0 support has been dropped by
      commit aa2f4b16 ("ARM: OMAP5: id: Remove ES1.0
      support") which renders FIFO resizing unnecessary.
      Tested-by: NKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      bc508161
  7. 29 3月, 2016 2 次提交
  8. 04 3月, 2016 2 次提交