Lines Matching defs:size
191 static inline void ath3k_log_failed_loading(int err, int len, int size,
194 BT_ERR("Firmware loading err = %d, len = %d, size = %d, count = %d",
195 err, len, size, count);
209 int err, pipe, size, sent = 0;
210 int count = firmware->size;
236 size = min_t(uint, count, BULK_SIZE);
237 memcpy(send_buf, firmware->data + sent, size);
239 err = usb_bulk_msg(udev, pipe, send_buf, size,
242 if (err || (len != size)) {
243 ath3k_log_failed_loading(err, len, size, count);
247 sent += size;
248 count -= size;
278 int err, pipe, size, count, sent = 0;
281 count = firmware->size;
289 size = min_t(uint, count, FW_HDR_SIZE);
292 firmware->data, size, USB_CTRL_SET_TIMEOUT,
300 sent += size;
301 count -= size;
309 size = min_t(uint, count, BULK_SIZE);
310 memcpy(send_buf, firmware->data + sent, size);
312 err = usb_bulk_msg(udev, pipe, send_buf, size,
314 if (err || (len != size)) {
315 ath3k_log_failed_loading(err, len, size, count);
319 sent += size;
320 count -= size;
390 firmware->size - 8);
392 firmware->size - 4);