• Home
  • Raw
  • Download

Lines Matching refs:n

133 #define DWC3_GUSB2PHYCFG(n)	(0xc200 + ((n) * 0x04))  argument
134 #define DWC3_GUSB2I2CCTL(n) (0xc240 + ((n) * 0x04)) argument
136 #define DWC3_GUSB2PHYACC(n) (0xc280 + ((n) * 0x04)) argument
138 #define DWC3_GUSB3PIPECTL(n) (0xc2c0 + ((n) * 0x04)) argument
140 #define DWC3_GTXFIFOSIZ(n) (0xc300 + ((n) * 0x04)) argument
141 #define DWC3_GRXFIFOSIZ(n) (0xc380 + ((n) * 0x04)) argument
143 #define DWC3_GEVNTADRLO(n) (0xc400 + ((n) * 0x10)) argument
144 #define DWC3_GEVNTADRHI(n) (0xc404 + ((n) * 0x10)) argument
145 #define DWC3_GEVNTSIZ(n) (0xc408 + ((n) * 0x10)) argument
146 #define DWC3_GEVNTCOUNT(n) (0xc40c + ((n) * 0x10)) argument
163 #define DWC3_DEP_BASE(n) (0xc800 + ((n) * 0x10)) argument
169 #define DWC3_DEV_IMOD(n) (0xca00 + ((n) * 0x4)) argument
195 #define DWC3_GDBGLSPMUX_HOSTSELECT(n) ((n) & 0x3fff) argument
196 #define DWC3_GDBGLSPMUX_DEVSELECT(n) (((n) & 0xf) << 4) argument
197 #define DWC3_GDBGLSPMUX_EPSELECT(n) ((n) & 0xf) argument
200 #define DWC3_GDBGFIFOSPACE_NUM(n) ((n) & 0x1f) argument
201 #define DWC3_GDBGFIFOSPACE_TYPE(n) (((n) << 5) & 0x1e0) argument
202 #define DWC3_GDBGFIFOSPACE_SPACE_AVAILABLE(n) (((n) >> 16) & 0xffff) argument
215 #define DWC3_GRXTHRCFG_MAXRXBURSTSIZE(n) (((n) & 0x1f) << 19) argument
216 #define DWC3_GRXTHRCFG_RXPKTCNT(n) (((n) & 0xf) << 24) argument
220 #define DWC3_GTXTHRCFG_MAXTXBURSTSIZE(n) (((n) & 0xff) << 16) argument
221 #define DWC3_GTXTHRCFG_TXPKTCNT(n) (((n) & 0xf) << 24) argument
225 #define DWC31_GRXTHRCFG_MAXRXBURSTSIZE(n) (((n) & 0x1f) << 16) argument
226 #define DWC31_GRXTHRCFG_RXPKTCNT(n) (((n) & 0x1f) << 21) argument
229 #define DWC31_RXTHRNUMPKT_HS_PRD(n) (((n) & 0x3) << 13) argument
231 #define DWC31_RXTHRNUMPKT_PRD(n) (((n) & 0x1f) << 5) argument
232 #define DWC31_MAXRXBURSTSIZE_PRD(n) ((n) & 0x1f) argument
235 #define DWC31_GTXTHRCFG_MAXTXBURSTSIZE(n) (((n) & 0x1f) << 16) argument
236 #define DWC31_GTXTHRCFG_TXPKTCNT(n) (((n) & 0x1f) << 21) argument
239 #define DWC31_TXTHRNUMPKT_HS_PRD(n) (((n) & 0x3) << 13) argument
241 #define DWC31_TXTHRNUMPKT_PRD(n) (((n) & 0x1f) << 5) argument
242 #define DWC31_MAXTXBURSTSIZE_PRD(n) ((n) & 0x1f) argument
245 #define DWC3_GCTL_PWRDNSCALE(n) ((n) << 19) argument
254 #define DWC3_GCTL_PRTCAP(n) (((n) & (3 << 12)) >> 12) argument
255 #define DWC3_GCTL_PRTCAPDIR(n) ((n) << 12) argument
262 #define DWC3_GCTL_SCALEDOWN(n) ((n) << 4) argument
286 #define DWC3_GSTS_CURMOD(n) ((n) & 0x3) argument
297 #define DWC3_GUSB2PHYCFG_PHYIF(n) (n << 3) argument
299 #define DWC3_GUSB2PHYCFG_USBTRDTIM(n) (n << 10) argument
311 #define DWC3_GUSB2PHYACC_ADDR(n) (n << 16) argument
312 #define DWC3_GUSB2PHYACC_EXTEND_ADDR(n) (n << 8) argument
313 #define DWC3_GUSB2PHYACC_DATA(n) (n & 0xff) argument
321 #define DWC3_GUSB3PIPECTL_DEP1P2P3(n) ((n) << 19) argument
329 #define DWC3_GUSB3PIPECTL_TX_DEEPH(n) ((n) << 1) argument
333 #define DWC31_GTXFIFOSIZ_TXFDEP(n) ((n) & 0x7fff) /* DWC_usb31 only */ argument
334 #define DWC3_GTXFIFOSIZ_TXFDEP(n) ((n) & 0xffff) argument
335 #define DWC3_GTXFIFOSIZ_TXFSTADDR(n) ((n) & 0xffff0000) argument
338 #define DWC31_GRXFIFOSIZ_RXFDEP(n) ((n) & 0x7fff) /* DWC_usb31 only */ argument
339 #define DWC3_GRXFIFOSIZ_RXFDEP(n) ((n) & 0xffff) argument
343 #define DWC3_GEVNTSIZ_SIZE(n) ((n) & 0xffff) argument
346 #define DWC3_GHWPARAMS0_MODE(n) ((n) & 0x3) argument
350 #define DWC3_GHWPARAMS0_MBUS_TYPE(n) (((n) >> 3) & 0x7) argument
351 #define DWC3_GHWPARAMS0_SBUS_TYPE(n) (((n) >> 6) & 0x3) argument
352 #define DWC3_GHWPARAMS0_MDWIDTH(n) (((n) >> 8) & 0xff) argument
353 #define DWC3_GHWPARAMS0_SDWIDTH(n) (((n) >> 16) & 0xff) argument
354 #define DWC3_GHWPARAMS0_AWIDTH(n) (((n) >> 24) & 0xff) argument
357 #define DWC3_GHWPARAMS1_EN_PWROPT(n) (((n) & (3 << 24)) >> 24) argument
361 #define DWC3_GHWPARAMS1_PWROPT(n) ((n) << 24) argument
366 #define DWC3_GHWPARAMS3_SSPHY_IFC(n) ((n) & 3) argument
370 #define DWC3_GHWPARAMS3_HSPHY_IFC(n) (((n) & (3 << 2)) >> 2) argument
375 #define DWC3_GHWPARAMS3_FSPHY_IFC(n) (((n) & (3 << 4)) >> 4) argument
380 #define DWC3_GHWPARAMS4_HIBER_SCRATCHBUFS(n) (((n) & (0x0f << 13)) >> 13) argument
392 #define DWC3_GHWPARAMS6_MDWIDTH(n) ((n) & (0x3 << 8)) argument
395 #define DWC3_GHWPARAMS7_RAM1_DEPTH(n) ((n) & 0xffff) argument
396 #define DWC3_GHWPARAMS7_RAM2_DEPTH(n) (((n) >> 16) & 0xffff) argument
421 #define DWC3_DCFG_NUMLANES(n) (((n) & 0x3) << 30) /* DWC_usb32 only */ argument
433 #define DWC3_DCFG_NUMP(n) (((n) >> DWC3_DCFG_NUMP_SHIFT) & 0x1f) argument
444 #define DWC3_DCTL_HIRD_THRES(n) ((n) << 24) argument
450 #define DWC3_DCTL_TRGTULST(n) ((n) << 17) argument
458 #define DWC3_DCTL_NYET_THRES(n) (((n) & 0xf) << 20) argument
472 #define DWC3_DCTL_ULSTCHNGREQ(n) (((n) << 5) & DWC3_DCTL_ULSTCHNGREQ_MASK) argument
496 #define DWC3_DSTS_CONNLANES(n) (((n) >> 30) & 0x3) /* DWC_usb32 only */ argument
512 #define DWC3_DSTS_USBLNKST(n) (((n) & DWC3_DSTS_USBLNKST_MASK) >> 18) argument
517 #define DWC3_DSTS_SOFFN(n) (((n) & DWC3_DSTS_SOFFN_MASK) >> 3) argument
542 #define DWC3_DGCMD_STATUS(n) (((n) >> 12) & 0x0F) argument
548 #define DWC3_DGCMDPAR_FIFO_NUM(n) ((n) << 0) argument
554 #define DWC3_DGCMDPAR_INTF_SEL(n) ((n) << 4) argument
582 #define DWC3_DALEPENA_EP(n) BIT(n) argument
839 #define DWC3_TRB_SIZE_LENGTH(n) ((n) & DWC3_TRB_SIZE_MASK) argument
840 #define DWC3_TRB_SIZE_PCM1(n) (((n) & 0x03) << 24) argument
841 #define DWC3_TRB_SIZE_TRBSTS(n) (((n) & (0x0f << 28)) >> 28) argument
853 #define DWC3_TRB_CTRL_TRBCTL(n) (((n) & 0x3f) << 4) argument
856 #define DWC3_TRB_CTRL_SID_SOFN(n) (((n) & 0xffff) << 14) argument
857 #define DWC3_TRB_CTRL_GET_SID_SOFN(n) (((n) & (0xffff << 14)) >> 14) argument
859 #define DWC3_TRBCTL_TYPE(n) ((n) & (0x3f << 4)) argument
913 #define DWC3_MODE(n) ((n) & 0x7) argument
916 #define DWC3_NUM_INT(n) (((n) & (0x3f << 15)) >> 15) argument
927 #define DWC3_RAM1_DEPTH(n) ((n) & 0xffff) argument
1454 #define DEPEVT_STATUS_CONTROL_PHASE(n) ((n) & 3) argument
1463 #define DEPEVT_PARAMETER_CMD(n) (((n) & (0xf << 8)) >> 8) argument