Lines Matching defs:room
80 u8 room;
87 0, /* value: 0 means "remaining room" */
89 &room,
98 dev_dbg(&port->dev, "roomquery says %d\n", room);
100 return room;
461 int room;
465 * Guess how much room is left in the device's ring buffer. If our
466 * write will result in no room left, ask the device to give us an
467 * interrupt when the room available rises above a threshold but also
468 * query how much room is currently available (in case our guess was
476 * the device is full (wait until it says there is room)
480 room = priv->tx_room;
483 if (!test_bit(0, &port->write_urbs_free) || count == 0 || room == 0) {
489 if (count > room)
490 count = room;
503 dev_dbg(&port->dev, "%s - count = %d, txroom = %d\n", __func__, count, room);
511 priv->tx_room = max(priv->tx_room, room + count);
518 if (count == room)
575 /* find out how much room is in the Tx ring */