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