Lines Matching refs:size

1338 	int err, size;
1349 size = le16_to_cpu(data->intr_ep->wMaxPacketSize);
1351 buf = kmalloc(size, mem_flags);
1359 usb_fill_int_urb(urb, data->udev, pipe, buf, size,
1452 int err, size = HCI_MAX_FRAME_SIZE;
1463 buf = kmalloc(size, mem_flags);
1471 usb_fill_bulk_urb(urb, data->udev, pipe, buf, size,
1612 int err, size;
1623 size = le16_to_cpu(data->isoc_rx_ep->wMaxPacketSize) *
1626 buf = kmalloc(size, mem_flags);
1634 usb_fill_int_urb(urb, data->udev, pipe, buf, size, btusb_isoc_complete,
1639 __fill_isoc_descriptor(urb, size,
1704 int err, size = HCI_MAX_FRAME_SIZE;
1715 buf = kmalloc(size, mem_flags);
1723 usb_fill_bulk_urb(urb, data->udev, pipe, buf, size,
2241 * MTU >= 3 (packets) * 25 (size) - 3 (headers) = 72
2621 /* WMT event shouldn't be fragmented and the size should be
2698 int err, size = 64;
2716 dr->wLength = cpu_to_le16(size);
2718 buf = kmalloc(size, GFP_KERNEL);
2728 buf, size, btusb_mtk_wmt_recv, hdev);
2955 int pipe, err, size = sizeof(u32);
2958 buf = kzalloc(size, GFP_KERNEL);
2966 buf, size, USB_CTRL_SET_TIMEOUT);
3524 bt_dev_err(hdev, "Invalid memdump size(%u)",
3541 bt_dev_info(hdev, "%s memdump size(%u)\n",
3658 void *data, u16 size)
3663 buf = kmalloc(size, GFP_KERNEL);
3672 0, 0, buf, size, USB_CTRL_SET_TIMEOUT);
3678 memcpy(data, buf, size);
3692 size_t count, size, sent = 0;
3700 count = firmware->size;
3702 size = min_t(size_t, count, hdr_size);
3703 memcpy(buf, firmware->data, size);
3712 0, 0, buf, size, USB_CTRL_SET_TIMEOUT);
3718 sent += size;
3719 count -= size;
3727 size = min_t(size_t, count, QCA_DFU_PACKET_LEN);
3729 memcpy(buf, firmware->data + sent, size);
3732 err = usb_bulk_msg(udev, pipe, buf, size, &len,
3736 sent, firmware->size, err);
3740 if (size != len) {
3746 sent += size;
3747 count -= size;
4802 MODULE_PARM_DESC(disable_scofix, "Disable fixup of wrong SCO buffer size");
4805 MODULE_PARM_DESC(force_scofix, "Force fixup of wrong SCO buffers size");