Home | History | Annotate | Download | only in usb

Lines Matching defs:polling

1110 	int polling = bus->ub_usepolling;
1118 KASSERT(polling || mutex_owned(pipe->up_dev->ud_bus->ub_lock));
1194 if (!polling) {
1204 if (!polling) {
1214 if (sync && !polling) {
1246 int polling = pipe->up_dev->ud_bus->ub_usepolling;
1247 KASSERT(polling || mutex_owned(pipe->up_dev->ud_bus->ub_lock));
1266 KASSERT(polling || mutex_owned(pipe->up_dev->ud_bus->ub_lock));
1358 * Called from keyboard driver when in polling mode.
1367 * This is for keyboard driver as well, which only operates in polling
1377 * Enabling polling. If we're enabling for the first
1379 * we hold the lock and polling is still disabled, and
1380 * then enable polling -- once polling is enabled, we
1390 * Disabling polling. If we're disabling polling for
1391 * the last time, disable polling first and then call
1393 * polling is disabled, we must not hold the lock when
1527 * Caller must either hold the bus lock or have the bus in polling
1529 * usb_complete_transfer under the bus lock or with polling
1778 * and the bus is not polling.
1852 * reschedule the callout. If not, and if we're not polling,