Lines Matching refs:mps

161 …IPTOR *desc, uint32_t ctd, uint32_t ntd, BOOL ping, uint32_t pid, uint32_t mps, uint32_t epnum, BO…  in USB_hostCH0()  argument
168 USB->HCC0_b.MPS = mps; in USB_hostCH0()
178 …IPTOR *desc, uint32_t ctd, uint32_t ntd, BOOL ping, uint32_t pid, uint32_t mps, uint32_t epnum, BO… in USB_hostCH1() argument
185 USB->HCC1_b.MPS = mps; in USB_hostCH1()
195 …IPTOR *desc, uint32_t ctd, uint32_t ntd, BOOL ping, uint32_t pid, uint32_t mps, uint32_t epnum, BO… in USB_hostCH2() argument
202 USB->HCC2_b.MPS = mps; in USB_hostCH2()
212 …IPTOR *desc, uint32_t ctd, uint32_t ntd, BOOL ping, uint32_t pid, uint32_t mps, uint32_t epnum, BO… in USB_hostCHn() argument
223 USBn->HCC0_b.MPS = mps; in USB_hostCHn()
397 BOOL USB_devEP0in(uint32_t size, uint32_t pktcnt, void *desc, uint32_t mps/*8,16,32,64-byte*/) in USB_devEP0in() argument
399 switch (mps) { in USB_devEP0in()
400 case 64: mps = 0x0; break; in USB_devEP0in()
401 case 32: mps = 0x1; break; in USB_devEP0in()
402 case 16: mps = 0x2; break; in USB_devEP0in()
403 case 8: mps = 0x3; break; in USB_devEP0in()
409 USB->DIEPCTL0_b.MPS = mps; in USB_devEP0in()
416 void USB_devActEP1(const BOOL in, const uint32_t mps, USB_EP_TYPE type) in USB_devActEP1() argument
419 USB->DIEPCTL1_b.MPS = mps; in USB_devActEP1()
421 USB->DIEPCTL1_b.UAE = (mps != 0) ? 1 : 0; in USB_devActEP1()
423 USB->DOEPCTL1_b.MPS = mps; in USB_devActEP1()
425 USB->DOEPCTL1_b.UAE = (mps != 0) ? 1 : 0; in USB_devActEP1()
429 void USB_devActEP2(const BOOL in, const uint32_t mps, USB_EP_TYPE type) in USB_devActEP2() argument
432 USB->DIEPCTL2_b.MPS = mps; in USB_devActEP2()
434 USB->DIEPCTL2_b.UAE = (mps != 0) ? 1 : 0; in USB_devActEP2()
436 USB->DOEPCTL2_b.MPS = mps; in USB_devActEP2()
438 USB->DOEPCTL2_b.UAE = (mps != 0) ? 1 : 0; in USB_devActEP2()