Lines Matching defs:room
446 /* guess how much room is left in the device's ring buffer, and if we
448 what is left. If our write will result in no room left, ask the
449 device to give us an interrupt when the room available rises above
461 the device is full (wait until it says there is room)
479 device how much room it really has. This is done only on
482 u8 *room;
484 room = kmalloc(1, GFP_KERNEL);
485 if (!room) {
495 0, /* value: 0 means "remaining room" */
497 room,
501 dev_dbg(&port->dev, "roomquery says %d\n", *room);
502 priv->tx_room = *room;
504 kfree(room);
537 /* There wasn't any room left, so we are throttled until
571 int room = 0;
575 room = priv->tx_room;
578 return room;
616 u8 *room;
620 /* find out how much room is in the Tx ring */
621 room = kmalloc(1, GFP_KERNEL);
622 if (!room)
631 room,
644 priv->tx_room = *room;
645 priv->tx_throttled = *room ? 0 : 1;
654 kfree(room);