aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/ep0.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-18usb: dwc3: ep0: Don't reset resource alloc flagThinh Nguyen1-1/+2
2024-02-17usb: dwc3: gadget: Rewrite endpoint allocation flowThinh Nguyen1-0/+1
2024-01-04usb: dwc: ep0: Update request status in dwc3_ep0_stall_restartUttkarsh Aggarwal1-1/+4
2023-05-13usb: dwc3: Add error logs for unknown endpoint eventsRoy Luo1-0/+3
2023-03-29usb: dwc3: Add function suspend and function wakeup supportElson Roy Serrao1-8/+4
2023-03-29usb: dwc3: Add remote wakeup handlingElson Roy Serrao1-0/+7
2022-09-07usb: dwc3: Avoid unmapping USB requests if endxfer is not completeWesley Cheng1-1/+4
2022-08-31usb: dwc3: Do not service EP0 and conndone events if soft disconnectedWesley Cheng1-2/+4
2022-07-14usb: dwc3: ep0: Properly handle setup_packet_pending scenario in data stageWesley Cheng1-0/+7
2022-06-12usb: dwc3: Fix a repeated word checkpatch warningKushagra Verma1-1/+1
2022-05-19usb: dwc3: Fix ep0 handling when getting reset while doing control transferMayank Rana1-3/+8
2022-05-05usb: dwc3: ep0: Don't prepare beyond Setup stageThinh Nguyen1-1/+1
2022-04-23usb: dwc3: EP clear halt leading to clearing of delayed_statusWesley Cheng1-0/+1
2022-03-15usb: dwc3: gadget: Wait for ep0 xfers to complete during dequeueThinh Nguyen1-0/+14
2021-07-26Merge v5.14-rc3 into usb-nextGreg Kroah-Hartman1-4/+6
2021-07-21usb: dwc3: avoid NULL access of usb_gadget_driverLinyu Yuan1-4/+6
2021-07-12usb: dwc3: Resize TX FIFOs to meet EP bursting requirementsWesley Cheng1-0/+2
2021-06-09usb: dwc3: ep0: fix NULL pointer exceptionMarian-Cristian Rotariu1-0/+3
2020-10-27usb: dwc3: ep0: Fix delay status handlingThinh Nguyen1-1/+2
2020-10-02usb: dwc3: Stop active transfers before halting the controllerWesley Cheng1-1/+1
2020-10-02usb: dwc3: ep0: Fix ZLP for OUT ep0 requestsThinh Nguyen1-2/+9
2020-10-02usb: dwc3: allocate gadget structure dynamicallyPeter Chen1-13/+13
2020-10-02usb: dwc3: ep0: fix checkpatch warningsFelipe Balbi1-3/+3
2020-09-24usb: dwc3: gadget: END_TRANSFER before CLEAR_STALL commandThinh Nguyen1-0/+16
2020-07-15usb: dwc3: Replace HTTP links with HTTPS onesAlexander A. Klimov1-1/+1
2020-06-24USB: ch9: add "USB_" prefix in front of TEST definesGreg Kroah-Hartman1-5/+5
2020-01-15usb: dwc3: gadget: Check END_TRANSFER completionThinh Nguyen1-1/+3
2019-12-10usb: dwc3: ep0: Clear started flag on completionThinh Nguyen1-0/+8
2019-06-18usb: dwc3: gadget: Add support for disabling U1 and U2 entriesAnurag Kumar Vulisha1-1/+8
2018-07-17usb: dwc3: gadget: remove redundant variable maxpacketColin Ian King1-3/+0
2018-05-21usb: dwc3: gadget: initialize transfer index from send_gadget_ep_cmd()Felipe Balbi1-1/+0
2018-05-21usb: dwc3: gadget: assign resource_index inside get_transfer_index()Felipe Balbi1-1/+1
2018-05-21usb: dwc3: gadget: remove DWC3_EP_BUSY flagFelipe Balbi1-3/+2
2018-03-19usb: dwc3: ep0: remove redundant assignmentHeinrich Schuchardt1-1/+1
2018-02-12usb: dwc3: ep0: Reset TRB counter for ep0 INThinh Nguyen1-1/+6
2017-12-11usb: dwc3: ep0: use gadget->isoch_delay for isoch_delay valueFelipe Balbi1-5/+1
2017-11-07USB: dwc3: Remove redundant license textGreg Kroah-Hartman1-9/+0
2017-11-04USB: add SPDX identifiers to all remaining files in drivers/usb/Greg Kroah-Hartman1-0/+1
2017-10-19usb: dwc3: ep0: Clean up unused variablesChristos Gkekas1-20/+0
2017-09-18usb: dwc3: ep0: fix DMA starvation by assigning req->trb on ep0Felipe Balbi1-0/+7
2017-06-13usb: dwc3: ep0: make sure wValue is 0 on GetStatus()Felipe Balbi1-0/+6
2017-06-02usb: dwc3: update documentationFelipe Balbi1-1/+1
2017-04-11usb: dwc3: simplify ZLP handlingFelipe Balbi1-20/+29
2017-04-11usb: dwc3: ep0: improve handling of unaligned OUT requestsFelipe Balbi1-47/+18
2017-04-11usb: dwc3: ep0: pass dep as argument to internal functionsFelipe Balbi1-26/+26
2017-04-11usb: dwc3: ep0: use immediate SETUP on TRBFelipe Balbi1-5/+6
2017-01-24usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phaseBaolin Wang1-0/+14
2017-01-02usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()Felipe Balbi1-13/+15
2017-01-02usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()Felipe Balbi1-10/+16
2016-11-18usb: dwc3: use bus->sysdev for DMA configurationArnd Bergmann1-4/+4
2016-11-18usb: dwc3: ep0: avoid empty-body warningArnd Bergmann1-6/+7
2016-11-08usb: dwc3: trace: purge dwc3_trace()Felipe Balbi1-36/+10
2016-11-03usb: dwc3: gadget: don't clear RUN/STOP when it's invalid to do soBaolin Wang1-0/+2
2016-11-03usb: dwc3: ep0: simplify dwc3_ep0_handle_feature()Felipe Balbi1-93/+164
2016-10-31usb: dwc3: trace: print out ep0state also from XferCompleteFelipe Balbi1-4/+0
2016-10-31usb: dwc3: debug: move dwc3_ep0_state_string() to debug.hFelipe Balbi1-16/+0
2016-10-31usb: dwc3: gadget: remove redundant trace printsFelipe Balbi1-16/+1
2016-06-20usb: dwc3: remove trailing newline from dwc3_traceFelipe Balbi1-2/+2
2016-06-20usb: dwc3: ep0: Use the correct type for SET_SEL dataJohn Youn1-2/+2
2016-06-20usb: dwc3: ep0: Fix endianness of wIndex passed to dwc3_wIndex_to_depJohn Youn1-1/+1
2016-06-20usb: dwc3: trace: fully decode IRQ eventsFelipe Balbi1-5/+2
2016-06-20usb: dwc3: gadget: add a pointer to endpoint registersFelipe Balbi1-3/+1
2016-06-20usb: dwc3: gadget: pass dep as argument to endpoint commandFelipe Balbi1-3/+2
2016-04-28usb: dwc3: ep0: sanity check test mode selectorFei Yang1-2/+12
2016-04-18usb: dwc3: gadget: rename busy/free_slot to trb_enqueue/dequeueFelipe Balbi1-3/+3
2016-04-14usb: dwc3: better name for our request management listsFelipe Balbi1-7/+7
2016-04-14usb: dwc3: drop FIFO resizing logicFelipe Balbi1-9/+0
2016-03-04usb: dwc3: Update speed checks for SuperSpeedPlusJohn Youn1-3/+6
2016-02-17usb: dwc3: Fix assignment of EP transfer resourcesJohn Youn1-5/+0
2015-12-15usb: dwc3: ep0: fix setup_packet_pending initializationFelipe Balbi1-3/+5
2015-12-15usb: dwc3: ep0: purge dev_dbg() callsFelipe Balbi1-2/+2
2015-07-30usb: dwc3: ep0: handle non maxpacket aligned transfers > 512Kishon Vijay Abraham I1-14/+28
2015-07-30usb: dwc3: ep0: Add chained TRB supportKishon Vijay Abraham I1-3/+13
2015-07-30usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameterKishon Vijay Abraham I1-7/+8
2015-07-30usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers > 512Kishon Vijay Abraham I1-8/+17
2015-07-30usb: dwc3: ep0: use _roundup_ to calculate the transfer sizeKishon Vijay Abraham I1-3/+1
2015-07-30usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 bytesKishon Vijay Abraham I1-2/+10
2015-07-22usb: dwc3: Reset the transfer resource index on SET_INTERFACEJohn Youn1-0/+4
2015-01-29usb: dwc3: gadget: use common is_selfpoweredPeter Chen1-1/+1
2014-11-30Merge 3.18-rc7 into usb-nextGreg Kroah-Hartman1-4/+4
2014-11-10usb: dwc3: ep0: fix for dead codeFelipe Balbi1-4/+4
2014-11-05usb: dwc3: ep0: remove unnecessary break after returnJingoo Han1-2/+0
2014-11-03usb: dwc3: ep0: trace ep0 TRBs tooFelipe Balbi1-0/+6
2014-11-03usb: dwc3: trace: remove unnecessary newline characterFelipe Balbi1-9/+9
2014-10-23usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSizeFelipe Balbi1-6/+13
2014-10-20usb: dwc3: ep0: return early on NULL requestsFelipe Balbi1-3/+6
2014-10-20usb: dwc3: gadget: fix set_halt() bug with pending transfersFelipe Balbi1-2/+2
2014-10-20usb: dwc3: ep0: hold our lock in dwc3_gadget_ep0_set_haltFelipe Balbi1-1/+15
2014-09-05usb: dwc3: add tracepoints to aid debuggingFelipe Balbi1-28/+36
2014-09-05usb: dwc3: move all string helper functions to debug.hFelipe Balbi1-0/+1
2013-11-25usb: dwc3: fix implementation of endpoint wedgeAlan Stern1-0/+2
2013-10-11usb: Remove unnecessary semicolonsJoe Perches1-3/+3
2013-07-29usb: dwc3: ep0: don't change to configured state too earlyFelipe Balbi1-2/+11
2013-07-29usb: dwc3: ep0: only change to ADDRESS if set_config() succeedsFelipe Balbi1-1/+1
2013-07-29usb: dwc3: switch to GPL v2 onlyFelipe Balbi1-27/+7
2013-03-18usb: dwc3: remove our homebrew state mechanismFelipe Balbi1-17/+17
2013-03-18usb: dwc3: gadget: implement gadget state trackingFelipe Balbi1-3/+12
2013-03-08usb: dwc3: ep0: fix sparc64 buildAndrew Morton1-3/+4
2012-09-16Merge 3.6-rc6 into usb-nextGreg Kroah-Hartman1-1/+0
2012-09-06usb: dwc3: ep0: correct cache sync issue in case of ep0_bouncedPratyush Anand1-1/+0
2012-08-03usb: dwc3: ep0: make sure to reinitilize ep1 on STALLFelipe Balbi1-1/+6
2012-08-03usb: dwc3: ep0: fix status phase delayed status directionFelipe Balbi1-1/+4
2012-08-03usb: dwc3: ep0: drop XferNotReady(DATA) supportFelipe Balbi1-40/+27
2012-08-03usb: dwc3: ep0: move DATA phase away from on-demandFelipe Balbi1-0/+62
2012-08-03usb: dwc3: ep0: ignore XferNotReady(STATUS) when we're not expecting itFelipe Balbi1-9/+3
2012-08-03usb: dwc3: ep0: drop dead codeFelipe Balbi1-49/+0
2012-08-03usb: dwc3: ep0: split the special cases on ep0_queueFelipe Balbi1-1/+11
2012-08-03usb: dwc3: ep0: drop unnecessary variableFelipe Balbi1-2/+1
2012-07-02usb: dwc3: enable ACCEPT{U1,U2}ENA when SetConfiguration receivedPratyush Anand1-0/+9
2012-07-02usb: dwc3: correct set_halt implementation for ep0Pratyush Anand1-0/+10
2012-06-25usb: dwc3: ep0: prevent starting transfers twice on ep0Felipe Balbi1-0/+1
2012-06-25usb: dwc3: rename res_trans_idx to resource_indexFelipe Balbi1-2/+2
2012-06-03usb: dwc3: ep0: rename dwc3_ep0_complete_req to dwc3_ep0_complete_statusFelipe Balbi1-2/+2
2012-06-03usb: dwc3: ep0: be careful with endianness on SetSEL commandFelipe Balbi1-2/+2
2012-06-03usb: dwc3: ep0: simplify error handling on dwc3_ep0_inspect_setupFelipe Balbi1-7/+5
2012-06-03usb: dwc3: ep0: fix a typo in commentFelipe Balbi1-1/+1
2012-06-03usb: dwc3: ep0: align on function signatureFelipe Balbi1-6/+12
2012-06-03usb: dwc3: ep0: switch over to IS_ALIGNEDFelipe Balbi1-1/+1
2012-06-03usb: dwc3: handle pending unaligned Control OUT data phase correctlyFelipe Balbi1-29/+43
2012-06-03usb: dwc3: fix a WARN and a commentFelipe Balbi1-4/+4
2012-05-07Merge tag 'dwc3-for-v3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/ba...Greg Kroah-Hartman1-11/+144
2012-05-04usb: dwc3: Update dwc3 udc to use usb_endpoint_descriptor inside the struct u...Ido Shayevitz1-1/+1
2012-05-02usb: dwc3: ep0: implement support for Set Isoch Delay requestFelipe Balbi1-0/+26
2012-05-02usb: dwc3: ep0: implement Set SEL supportFelipe Balbi1-0/+83
2012-04-30usb: dwc3: ep0: add LPM handlingSebastian Andrzej Siewior1-11/+35
2012-04-10usb: dwc3: ep0: add a default case for SetFeature commandGerard Cauvy1-0/+3
2012-04-10usb: dwc3: ep0: increment "actual" on bounced ep0 caseFelipe Balbi1-1/+2
2012-04-10usb: dwc3: ep0: Handle requests greater than wMaxPacketSizeMoiz Sonasath1-1/+5
2012-03-02Merge tag 'dwc3-for-v3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ba...Greg Kroah-Hartman1-41/+41
2012-03-02usb: dwc3: clear 'res_trans_idx' as soon as it becomes invalidPaul Zimmerman1-0/+1
2012-03-02usb: dwc3: clean up whitespace damage, typos, missing parens, etc.Paul Zimmerman1-1/+1
2012-03-01Merge tag 'gadget-for-v3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/...Greg Kroah-Hartman1-3/+13
2012-02-28usb: dwc3: gadget: use generic map/unmap routinesFelipe Balbi1-3/+13
2012-02-13usb: dwc3: convert TRBs into bitshiftsFelipe Balbi1-18/+16
2012-02-10usb: dwc3: ep0: fix SetFeature(TEST)Gerard Cauvy1-8/+13
2012-02-06usb: dwc3: gadget: dynamically re-size TxFifosFelipe Balbi1-1/+10
2012-02-06usb: dwc3: ep0: move to CONFIGURED also on delayed statusFelipe Balbi1-1/+1
2012-02-06usb: dwc3: gadget: re-factor USB2 test mode to a functionFelipe Balbi1-18/+5
2012-01-24usb: dwc3: ep0: fix compile warningFelipe Balbi1-1/+0
2012-01-24usb: dwc3: ep0: tidy up Pending Request handlingFelipe Balbi1-10/+4
2011-12-12usb: dwc3: ep0: fix for possible early delayed_statusFelipe Balbi1-3/+6
2011-12-12usb: dwc3: ep0: fix GetStatus handling (again)Felipe Balbi1-2/+5
2011-12-12usb: dwc3: ep0: use dwc3_request for ep0 requsts instead of usb_requestSebastian Andrzej Siewior1-4/+4
2011-12-12usb: dwc3: workaround: missing disconnect eventFelipe Balbi1-0/+3
2011-12-12usb: dwc3: ep0: handle delayed_status againSebastian Andrzej Siewior1-3/+23
2011-12-12usb: dwc3: ep0: push ep0state into xfernotready processingSebastian Andrzej Siewior1-14/+17
2011-12-12usb: dwc3: fix sparse errorsFelipe Balbi1-1/+1
2011-12-12usb: dwc3: fix few coding style problemsFelipe Balbi1-2/+3
2011-12-12usb: dwc3: ep0: don't use ep0in for transfersSebastian Andrzej Siewior1-10/+8
2011-12-12usb: dwc3: ep0: use proper endianess in SetFeature for wIndexSebastian Andrzej Siewior1-2/+1
2011-12-12usb: dwc3: remove special status request handling in ep0Sebastian Andrzej Siewior1-23/+8
2011-12-12usb: dwc3: reset pending status flag in error caseSebastian Andrzej Siewior1-0/+1
2011-12-12usb: dwc3: ep0: handle unexpected XferNotReady eventsFelipe Balbi1-0/+35
2011-12-12usb: dwc3: ep0: SetAddress() won't be issued while ConfiguredFelipe Balbi1-1/+8
2011-10-04usb: dwc3: convert structures into bitshiftsFelipe Balbi1-4/+2
2011-10-04usb: dwc3: gadget: fix DEPSTARTCFG for non-EP0 EPsPaul Zimmerman1-0/+1
2011-10-04usb: dwc: remove "All rights reserved" statement.Sebastian Andrzej Siewior1-1/+0
2011-10-04usb: dwc3: ep0: fix debug outputSebastian Andrzej Siewior1-1/+1
2011-10-04usb: dwc3: ep0: remove second giveback in error caseSebastian Andrzej Siewior1-1/+0
2011-10-04usb: dwc3: ep0: fix debug messageFelipe Balbi1-4/+4
2011-10-04usb: dwc3: ep0: ignore direction on 2-stage transferFelipe Balbi1-4/+4
2011-10-04usb: dwc3: ep0: Make USB30CV happy with SetAddressFelipe Balbi1-22/+9
2011-09-09usb: dwc3: ep0: introduce ep0_expect_in flagFelipe Balbi1-0/+16
2011-09-09usb: dwc3: ep0: giveback requests on stall_and_restartFelipe Balbi1-0/+10
2011-09-09usb: dwc3: use ep0_next_event fieldFelipe Balbi1-4/+36
2011-09-09usb: dwc3: drop EP0_STALL stateFelipe Balbi1-2/+0
2011-09-09usb: dwc3: ep0: clear all EP0 flagsFelipe Balbi1-1/+1
2011-09-09usb: dwc3: ep0: fix Get Status handlingFelipe Balbi1-1/+1
2011-09-09usb: dwc3: ep0: simplify EP0 state machineFelipe Balbi1-204/+159
2011-09-09usb: dwc3: ep0: add handling for unaligned OUT transfersFelipe Balbi1-5/+32
2011-09-09usb: dwc3: ep0: fix 'transfered' typoFelipe Balbi1-3/+3
2011-08-22usb: Introduce DesignWare USB3 DRD DriverFelipe Balbi1-0/+782