Lines Matching defs:len
117 BT_DBG("bfusb %p skb %p len %d", data, skb, skb->len);
127 usb_fill_bulk_urb(urb, data->udev, pipe, skb->data, skb->len,
178 BT_DBG("bfusb %p urb %p skb %p len %d", data, urb, skb, skb->len);
186 data->hdev->stat.byte_tx += skb->len;
245 static inline int bfusb_recv_block(struct bfusb_data *data, int hdr, unsigned char *buf, int len)
247 BT_DBG("bfusb %p hdr 0x%02x data %p len %d", data, hdr, buf, len);
267 if (len < 1) {
272 pkt_type = *buf++; len--;
276 if (len >= HCI_EVENT_HDR_SIZE) {
286 if (len >= HCI_ACL_HDR_SIZE) {
296 if (len >= HCI_SCO_HDR_SIZE) {
322 if (len > 0)
323 skb_put_data(data->reassembly, buf, len);
339 int err, hdr, len;
341 BT_DBG("bfusb %p urb %p skb %p len %d", data, urb, skb, skb->len);
359 len = 0;
363 len = (buf[2] == 0) ? 256 : buf[2];
368 if (count < len) {
373 bfusb_recv_block(data, hdr, buf, len);
375 count -= len;
376 buf += len;
456 BT_DBG("hdev %p skb %p type %d len %d", hdev, skb,
457 hci_skb_pkt_type(skb), skb->len);
474 count = skb->len;
500 if ((nskb->len % data->bulk_pkt_size) == 0) {
522 int err, pipe, len, size, sent = 0;
553 &len, BFUSB_BLOCK_TIMEOUT);
555 if (err || (len != size)) {
565 &len, BFUSB_BLOCK_TIMEOUT);