Lines Matching refs:count
140 unsigned int *count,
144 unsigned int c = *count;
154 return ev_byte_channel_send(handle, count, p);
171 int ret, count;
174 count = 1;
176 &count, &data);
234 unsigned int count)
239 while (count) {
240 len = min_t(unsigned int, count, EV_BYTE_CHANNEL_MAX_BYTES);
244 count -= len;
262 unsigned int count)
268 for (i = 0; i < count; i++) {
354 int count;
363 count = tty_buffer_request_room(&bc->port, rx_count);
365 /* 'count' is the maximum amount of data the TTY layer can accept at
366 * this time. However, during testing, I was never able to get 'count'
371 while (count > 0) {
372 len = min_t(unsigned int, count, sizeof(buffer));
395 count -= len;
412 unsigned int count;
428 count = CIRC_CNT(bc->head, bc->tail, BUF_SIZE);
430 } while (count && !ret);
473 size_t count)
482 if (count < len)
483 len = count;
493 count -= len;
545 unsigned int count;
548 count = CIRC_SPACE(bc->head, bc->tail, BUF_SIZE);
551 return count;
758 unsigned int count = 0; /* Number of elements in bcs[] */
765 count++;
767 if (!count)
775 bcs = kcalloc(count, sizeof(struct ehv_bc_data), GFP_KERNEL);
779 driver = tty_alloc_driver(count, TTY_DRIVER_REAL_RAW |