Searched refs:EP2I (Results 1 – 1 of 1) sorted by relevance
56 #define EP2I(ep_address) (((ep_address & 0x80) >> 3) | (ep_address & 0x0f)) macro468 if (!dev->endpoint[EP2I(ep)].bufpq_dropping_packets && in bufp_alloc()469 dev->endpoint[EP2I(ep)].bufpq_size > in bufp_alloc()470 2 * dev->endpoint[EP2I(ep)].bufpq_target_size) { in bufp_alloc()472 dev->endpoint[EP2I(ep)].bufpq_dropping_packets = 1; in bufp_alloc()476 if (dev->endpoint[EP2I(ep)].bufpq_dropping_packets) { in bufp_alloc()477 if (dev->endpoint[EP2I(ep)].bufpq_size > in bufp_alloc()478 dev->endpoint[EP2I(ep)].bufpq_target_size) { in bufp_alloc()482 dev->endpoint[EP2I(ep)].bufpq_dropping_packets = 0; in bufp_alloc()491 QTAILQ_INSERT_TAIL(&dev->endpoint[EP2I(ep)].bufpq, bufp, next); in bufp_alloc()[all …]