Home | History | Annotate | Download | only in usb

Lines Matching refs:ub_usepolling

413 	if (pipe->up_dev->ud_bus->ub_usepolling == 0)
421 KASSERT(pipe->up_dev->ud_bus->ub_usepolling == 0);
448 if (pipe->up_dev->ud_bus->ub_usepolling == 0)
459 if (pipe->up_dev->ud_bus->ub_usepolling == 0)
468 if (pipe->up_dev->ud_bus->ub_usepolling == 0)
488 if (pipe->up_dev->ud_bus->ub_usepolling == 0)
491 if (pipe->up_dev->ud_bus->ub_usepolling)
512 if (pipe->up_dev->ud_bus->ub_usepolling == 0)
1037 KASSERT(pipe->up_dev->ud_bus->ub_usepolling == 0);
1110 int polling = bus->ub_usepolling;
1246 int polling = pipe->up_dev->ud_bus->ub_usepolling;
1384 KASSERT(dev->ud_bus->ub_usepolling < __type_max(char));
1385 if (dev->ud_bus->ub_usepolling == 0)
1387 dev->ud_bus->ub_usepolling++;
1396 KASSERT(dev->ud_bus->ub_usepolling > 0);
1397 dev->ud_bus->ub_usepolling--;
1398 if (dev->ud_bus->ub_usepolling == 0)
1539 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));
1753 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));
1781 if (xfer->ux_timeout && !bus->ub_usepolling) {
1842 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));
1869 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));
1880 } else if (xfer->ux_timeout && !bus->ub_usepolling) {
1887 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));
1911 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));
1983 KASSERT(bus->ub_usepolling || mutex_owned(bus->ub_lock));