Lines Matching defs:count
338 int count = urb->actual_length;
348 if (urb->status || !count)
351 data->hdev->stat.byte_rx += count;
353 skb_put(skb, count);
355 while (count) {
360 count -= 2;
364 count -= 3;
368 if (count < len) {
375 count -= len;
454 int sent = 0, size, count;
474 count = skb->len;
477 nskb = bt_skb_alloc(count + 32, GFP_KERNEL);
485 while (count) {
486 size = min_t(uint, count, BFUSB_MAX_BLOCK_SIZE);
488 buf[0] = 0xc1 | ((sent == 0) ? 0x04 : 0) | ((count == size) ? 0x08 : 0);
496 count -= size;
519 const unsigned char *firmware, int count)
547 while (count) {
548 size = min_t(uint, count, BFUSB_MAX_BLOCK_SIZE + 3);
561 count -= size;