/drivers/bluetooth/ |
H A D | hci_ll.c | 350 int room = skb_tailroom(ll->rx_skb); local 352 BT_DBG("len %d room %d", len, room); 356 } else if (len > room) {
|
/drivers/misc/ti-st/ |
H A D | st_core.c | 167 int room = skb_tailroom(st_gdata->rx_skb); local 169 pr_debug("len %d room %d", len, room); 178 } else if (len > room) { 182 pr_err("Data length is too large len %d room %d", len, 183 room);
|
H A D | st_kim.c | 102 register int room = skb_tailroom(kim_gdata->rx_skb); local 104 pr_debug("len %d room %d", len, room); 108 } else if (len > room) { 112 pr_err("Data length is too large len %d room %d", len, 113 room); 352 mdelay(1); /* wait 1ms before checking room */
|
/drivers/net/usb/ |
H A D | rndis_host.c | 549 int room = skb_headroom(skb); local 551 /* enough head room as-is? */ 552 if (unlikely((sizeof *hdr) <= room)) 555 /* enough room, but needs to be readjusted? */ 556 room += skb_tailroom(skb); 557 if (likely((sizeof *hdr) <= room)) {
|
/drivers/net/wimax/i2400m/ |
H A D | tx.c | 150 * 16), TAIL room that was unusable (and thus is marked with a message 156 * | TAIL room | 296 * Calculate how much tail room is available 303 * | tail room | 311 * | head room | 316 * buffer) if there is no head room. In this case, tail_room would be 345 * @try_head: specify either to allocate head room or tail room space 348 * The caller must always try to allocate tail room space first by 350 * is not enough tail room spac 438 size_t room, tail_room, needed_size; local [all...] |
/drivers/usb/serial/ |
H A D | generic.c | 215 int room; local 221 room = kfifo_avail(&port->write_fifo); 224 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room); 225 return room;
|
H A D | omninet.c | 219 int room = 0; /* Default: no room */ local 222 room = wport->bulk_out_size - OMNINET_HEADERLEN; 224 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room); 226 return room;
|
H A D | keyspan_pda.c | 438 /* guess how much room is left in the device's ring buffer, and if we 440 what is left. If our write will result in no room left, ask the 441 device to give us an interrupt when the room available rises above 453 the device is full (wait until it says there is room) 471 device how much room it really has. This is done only on 474 u8 *room; local 476 room = kmalloc(1, GFP_KERNEL); 477 if (!room) { 487 0, /* value: 0 means "remaining room" */ 489 room, 606 u8 *room; local [all...] |
H A D | cypress_m8.c | 805 int room = 0; local 809 room = kfifo_avail(&priv->write_fifo); 812 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room); 813 return room;
|
H A D | oti6858.c | 371 int room = 0; local 375 room = kfifo_avail(&port->write_fifo); 378 return room;
|
H A D | ti_usb_3410_5052.c | 601 int room = 0; local 608 room = kfifo_avail(&port->write_fifo); 611 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room); 612 return room; 1154 /* more room in the buffer for new writes, wakeup */
|
H A D | digi_acceleport.c | 1049 int room; local 1055 room = 0; 1057 room = port->bulk_out_size - 2 - priv->dp_out_buf_len; 1060 dev_dbg(&port->dev, "digi_write_room: port=%d, room=%d\n", priv->dp_port_num, room); 1061 return room;
|
H A D | io_edgeport.c | 1120 dev_dbg(&port->dev, "%s of %d byte(s) Fifo room %d -- will copy %d bytes\n", 1307 * we return the amount of room that we have for this port (the txCredits) 1314 int room; local 1329 room = edge_port->txCredits - edge_port->txfifo.count; 1332 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room); 1333 return room;
|
H A D | io_ti.c | 1960 /* there is now more room in the buffer for new writes */ 1969 int room = 0; local 1978 room = kfifo_avail(&port->write_fifo); 1981 dev_dbg(&port->dev, "%s - returns %d\n", __func__, room); 1982 return room;
|
/drivers/net/caif/ |
H A D | caif_serial.c | 222 int tty_wr, len, room; local 236 room = tty_write_room(tty); 237 if (!room) 239 if (room > ser_write_chunk) 240 room = ser_write_chunk; 241 if (len > room) 242 len = room;
|
/drivers/tty/ipwireless/ |
H A D | tty.c | 194 int room, ret; local 205 room = IPWIRELESS_TX_QUEUE_SIZE - tty->tx_bytes_queued; 206 if (room < 0) 207 room = 0; 208 /* Don't allow caller to write any more than we have room for */ 209 if (count > room) 210 count = room; 234 int room; local 243 room = IPWIRELESS_TX_QUEUE_SIZE - tty->tx_bytes_queued; 244 if (room < [all...] |
/drivers/tty/ |
H A D | n_r3964.c | 441 int room = 0; local 447 room = tty_write_room(tty); 449 TRACE_PS("transmit_block %p, room %d, length %d", 450 pBlock, room, pBlock->length); 453 if (room < 2) 462 room--; 465 if ((pInfo->tx_position == pBlock->length) && (room >= 3)) {
|
H A D | metag_da.c | 531 int room; local 538 room = SERIAL_XMIT_SIZE - dport->xmit_cnt; 541 return room;
|
H A D | n_tty.c | 56 /* number of characters left in xmit buffer before select has we have room */ 64 #define TTY_THRESHOLD_THROTTLE 128 /* now based on remaining room */ 253 * Check the remaining room for the input canonicalization 1691 int room, n, rcvd = 0; local 1696 room = receive_room(tty); 1697 n = min(count, room); 1699 if (flow && !room) 1711 tty->receive_room = room;
|
H A D | nozomi.c | 830 DBG1("No room in tty, don't read data, don't ack interrupt, " 1699 * If the port is unplugged report lots of room and let the bits 1705 int room = 4096; local 1709 room = kfifo_avail(&port->fifo_ul); 1711 return room;
|
/drivers/usb/gadget/function/ |
H A D | u_serial.c | 942 int room = 0; local 946 room = gs_buf_space_avail(&port->port_write_buf); 949 pr_vdebug("gs_write_room: (%d,%p) room=%d\n", 950 port->port_num, tty, room); 952 return room;
|
/drivers/isdn/capi/ |
H A D | capi.c | 435 pr_debug("capi: no room in tty\n"); 1138 int room; local 1140 room = CAPINC_MAX_SENDQUEUE-skb_queue_len(&mp->outqueue); 1141 room *= CAPI_MAX_BLKSIZE; 1142 pr_debug("capinc_tty_write_room = %d\n", room); 1143 return room;
|
/drivers/tty/serial/ |
H A D | men_z135_uart.c | 245 int room; local 258 room = tty_buffer_request_room(tport, size); 259 if (room != size) 261 "Not enough room in flip buffer, truncating to %d\n", 262 room); 264 if (room == 0) 267 memcpy_fromio(uart->rxbuf, port->membase + MEN_Z135_RX_RAM, room); 270 iowrite32(room, port->membase + MEN_Z135_RX_CTRL); 272 copied = tty_insert_flip_string(tport, uart->rxbuf, room); 273 if (copied != room) [all...] |
H A D | sh-sci.c | 670 /* Don't copy more bytes than there is room for in the buffer */ 1259 int i, active, room; local 1261 room = tty_buffer_request_room(tport, count); 1272 if (room < count) 1274 count - room); 1275 if (!room) 1276 return room; 1278 for (i = 0; i < room; i++) 1282 port->icount.rx += room; 1284 return room; [all...] |
/drivers/staging/comedi/drivers/ |
H A D | amplc_pci224.c | 189 * DAC FIFO guaranteed minimum room available, depending on reported fill level. 190 * The maximum room available depends on the reported fill level and how much 519 unsigned int room; local 531 /* Determine how much room is in the FIFO (in samples). */ 535 room = PCI224_FIFO_ROOM_EMPTY; 545 room = PCI224_FIFO_ROOM_ONETOHALF; 548 room = PCI224_FIFO_ROOM_HALFTOFULL; 551 room = PCI224_FIFO_ROOM_FULL; 554 if (room >= PCI224_FIFO_ROOM_ONETOHALF) { 563 room / [all...] |