Lines Matching refs:room
80 u8 *room; in keyspan_pda_get_write_room() local
83 room = kmalloc(1, GFP_KERNEL); in keyspan_pda_get_write_room()
84 if (!room) in keyspan_pda_get_write_room()
94 room, in keyspan_pda_get_write_room()
104 dev_dbg(&port->dev, "roomquery says %d\n", *room); in keyspan_pda_get_write_room()
105 rc = *room; in keyspan_pda_get_write_room()
107 kfree(room); in keyspan_pda_get_write_room()
467 int room; in keyspan_pda_write_start() local
486 room = priv->tx_room; in keyspan_pda_write_start()
489 if (!test_bit(0, &port->write_urbs_free) || count == 0 || room == 0) { in keyspan_pda_write_start()
495 if (count > room) in keyspan_pda_write_start()
496 count = room; in keyspan_pda_write_start()
509 dev_dbg(&port->dev, "%s - count = %d, txroom = %d\n", __func__, count, room); in keyspan_pda_write_start()
517 priv->tx_room = max(priv->tx_room, room + count); in keyspan_pda_write_start()
524 if (count == room) in keyspan_pda_write_start()