Re: functionfs on dwc3, xhci host: endpoint cannot be used in both directions ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Jan 2017 16:30:57 +0200, Felipe Balbi
<felipe.balbi@xxxxxxxxxxxxxxx> wrote:
> well, the IN limit can be lower than what HW reports depending on how
> your TX FIFO space is setup.

And while I am in regdump, in case it would help (especially all the
GTXFIFOSIZ entries and GDBGFIFOSPACE ?) while lowering the number of
mail round-trips...

# grep -v '0x00000000$' regdump
GSBUSCFG0 = 0x00000006
GSBUSCFG1 = 0x00000f00
GTXTHRCFG = 0x230a0000
GRXTHRCFG = 0x02800000
GCTL = 0x45802002
GSTS = 0x3e800000
GSNPSID = 0x5533250a
GUID = 0x00040a00
GUCTL = 0x0200ce00
GHWPARAMS0 = 0x2020400a
GHWPARAMS1 = 0x0260c93b
GHWPARAMS2 = 0x008086a0
GHWPARAMS3 = 0x10420089
GHWPARAMS4 = 0x47a22004
GHWPARAMS5 = 0x04202088
GHWPARAMS6 = 0x0c00ac20
GHWPARAMS7 = 0x038807e6
GDBGFIFOSPACE = 0x000000b3
GDBGLTSSM = 0x01090658
GUSB2PHYCFG(0) = 0x0000a650
GUSB2PHYACC(0) = 0x01030015
GUSB3PIPECTL(0) = 0x02020002
GTXFIFOSIZ(0) = 0x00000042
GTXFIFOSIZ(1) = 0x00420184
GTXFIFOSIZ(2) = 0x01c60184
GTXFIFOSIZ(3) = 0x034a0184
GTXFIFOSIZ(4) = 0x04ce0082
GTXFIFOSIZ(5) = 0x05500082
GTXFIFOSIZ(6) = 0x05d20082
GTXFIFOSIZ(7) = 0x06540082
GTXFIFOSIZ(8) = 0x06d60022
GTXFIFOSIZ(9) = 0x06f80022
GTXFIFOSIZ(10) = 0x071a0022
GTXFIFOSIZ(11) = 0x073c0022
GTXFIFOSIZ(12) = 0x075e0022
GTXFIFOSIZ(13) = 0x07800022
GTXFIFOSIZ(14) = 0x07a20022
GTXFIFOSIZ(15) = 0x07c40022
GRXFIFOSIZ(0) = 0x00000385
GRXFIFOSIZ(1) = 0x03850000
GRXFIFOSIZ(2) = 0x03850000
GEVNTADRLO(0) = 0x34ede000
GEVNTSIZ(0) = 0x00001000
GHWPARAMS8 = 0x00000c00
DCFG = 0x004e0994
DCTL = 0x8cf00a00
DEVTEN = 0x00001217
DSTS = 0x000315c8
DALEPENA = 0xffffffff
DEPCMDPAR1(0) = 0x34ec1000
DEPCMD(0) = 0x00000006
DEPCMDPAR1(1) = 0x34ec1000
DEPCMD(1) = 0x00010006
DEPCMD(2) = 0x00020007
DEPCMD(3) = 0x00030007
DEPCMD(4) = 0x00040007
DEPCMD(5) = 0x00050007
DEPCMD(6) = 0x00060007
DEPCMD(7) = 0x00070007
DEPCMD(8) = 0x00080007
DEPCMD(9) = 0x00090007
DEPCMD(10) = 0x000a0007
DEPCMD(11) = 0x000b0007
DEPCMD(12) = 0x000c0007
DEPCMD(13) = 0x000d0007
DEPCMD(14) = 0x000e0007
DEPCMD(15) = 0x000f0007
DEPCMD(16) = 0x00100007
DEPCMD(17) = 0x00110007
DEPCMD(18) = 0x00120007
DEPCMD(19) = 0x00130007
DEPCMD(20) = 0x00140007
DEPCMD(21) = 0x00150007
DEPCMD(22) = 0x00160007
DEPCMD(23) = 0x00170007
DEPCMD(24) = 0x00180007
DEPCMD(25) = 0x00190007
DEPCMD(26) = 0x001a0007
DEPCMD(27) = 0x001b0007
DEPCMD(28) = 0x001c0007
DEPCMD(29) = 0x001d0007
DEPCMD(30) = 0x001e0007
DEPCMD(31) = 0x001f0007
OCTL = 0x00000040
OEVT = 0x80000002
OSTS = 0x0000201f

This is with the 30-endpoints function enabled and idling.

Regards,
-- 
Vincent Pelletier

Attachment: pgpZ9aqkUyVns.pgp
Description: Signature digitale OpenPGP


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux