Lines Matching defs:size
192 static inline void ath3k_log_failed_loading(int err, int len, int size,
195 BT_ERR("Firmware loading err = %d, len = %d, size = %d, count = %d",
196 err, len, size, count);
210 int err, pipe, size, sent = 0;
211 int count = firmware->size;
237 size = min_t(uint, count, BULK_SIZE);
238 memcpy(send_buf, firmware->data + sent, size);
240 err = usb_bulk_msg(udev, pipe, send_buf, size,
243 if (err || (len != size)) {
244 ath3k_log_failed_loading(err, len, size, count);
248 sent += size;
249 count -= size;
279 int err, pipe, size, count, sent = 0;
282 count = firmware->size;
290 size = min_t(uint, count, FW_HDR_SIZE);
293 firmware->data, size, USB_CTRL_SET_TIMEOUT,
301 sent += size;
302 count -= size;
310 size = min_t(uint, count, BULK_SIZE);
311 memcpy(send_buf, firmware->data + sent, size);
313 err = usb_bulk_msg(udev, pipe, send_buf, size,
315 if (err || (len != size)) {
316 ath3k_log_failed_loading(err, len, size, count);
320 sent += size;
321 count -= size;
391 firmware->size - 8);
393 firmware->size - 4);