Searched defs:room (Results 26 - 30 of 30) sorted by relevance

12

/drivers/usb/serial/
H A Dmos7720.c1179 * If successful, we return the amount of room that we have for this port
1186 int room = 0; local
1197 room += URB_TRANSFER_BUFFER_SIZE;
1200 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room);
1201 return room;
H A Dmos7840.c1256 * If successful, we return the amount of room that we have for this port
1264 int room = 0; local
1278 room += URB_TRANSFER_BUFFER_SIZE;
1282 room = (room == 0) ? 0 : room - URB_TRANSFER_BUFFER_SIZE + 1;
1283 dev_dbg(&mos7840_port->port->dev, "%s - returns %d\n", __func__, room);
1284 return room;
/drivers/staging/comedi/drivers/
H A Damplc_pci230.c1121 unsigned int room; local
1158 /* Determine how much room is in the FIFO (in samples). */
1160 room = PCI230P2_DAC_FIFOROOM_FULL;
1162 room = PCI230P2_DAC_FIFOROOM_HALFTOFULL;
1164 room = PCI230P2_DAC_FIFOROOM_EMPTY;
1166 room = PCI230P2_DAC_FIFOROOM_ONETOHALF;
1167 /* Convert room to number of scans that can be added. */
1168 room /= cmd->chanlist_len;
1170 if (num_scans > room)
1171 num_scans = room;
[all...]
/drivers/net/usb/
H A Dhso.c915 /* Copy what we got so far. make room for iphdr
939 /* Make room for temp_bytes after tail. */
1380 /* how much room is there for writing */
1384 int room; local
1388 room = serial->tx_data_length - serial->tx_buffer_count;
1391 /* return free room */
1392 return room;
/drivers/tty/serial/
H A Dpch_uart.c672 int room; local
676 room = tty_buffer_request_room(tport, size);
678 if (room < size)
680 size - room);
681 if (!room)
686 port->icount.rx += room;
688 return room;

Completed in 146 milliseconds

12