Lines Matching refs:transfer_buffer
308 if (urb->transfer_buffer == NULL) { in bluetooth_ctrl_msg()
309 urb->transfer_buffer = kmalloc (len, GFP_KERNEL); in bluetooth_ctrl_msg()
310 if (urb->transfer_buffer == NULL) { in bluetooth_ctrl_msg()
316 kfree (urb->transfer_buffer); in bluetooth_ctrl_msg()
317 urb->transfer_buffer = kmalloc (len, GFP_KERNEL); in bluetooth_ctrl_msg()
318 if (urb->transfer_buffer == NULL) { in bluetooth_ctrl_msg()
323 memcpy (urb->transfer_buffer, buf, len); in bluetooth_ctrl_msg()
332 (unsigned char*)dr, urb->transfer_buffer, len, bluetooth_ctrl_callback, bluetooth); in bluetooth_ctrl_msg()
535 memcpy (urb->transfer_buffer, current_position, buffer_size); in bluetooth_write()
539 urb->transfer_buffer, buffer_size, bluetooth_write_bulk_callback, bluetooth); in bluetooth_write()
767 unsigned char *data = urb->transfer_buffer; in bluetooth_int_callback()
828 urb->transfer_buffer, count); in bluetooth_int_callback()
879 unsigned char *data = urb->transfer_buffer; in bluetooth_read_bulk_callback()
949 urb->transfer_buffer, count); in bluetooth_read_bulk_callback()
1138 urb->transfer_buffer = NULL; in usb_bluetooth_probe()
1170 urb->transfer_buffer = kmalloc (bluetooth->bulk_out_buffer_size, GFP_KERNEL); in usb_bluetooth_probe()
1171 if (urb->transfer_buffer == NULL) { in usb_bluetooth_probe()
1215 if (bluetooth->write_urb_pool[i]->transfer_buffer) in usb_bluetooth_probe()
1216 kfree (bluetooth->write_urb_pool[i]->transfer_buffer); in usb_bluetooth_probe()
1221 if (bluetooth->control_urb_pool[i]->transfer_buffer) in usb_bluetooth_probe()
1222 kfree (bluetooth->control_urb_pool[i]->transfer_buffer); in usb_bluetooth_probe()
1265 if (bluetooth->write_urb_pool[i]->transfer_buffer) in usb_bluetooth_disconnect()
1266 kfree (bluetooth->write_urb_pool[i]->transfer_buffer); in usb_bluetooth_disconnect()
1273 if (bluetooth->control_urb_pool[i]->transfer_buffer) in usb_bluetooth_disconnect()
1274 kfree (bluetooth->control_urb_pool[i]->transfer_buffer); in usb_bluetooth_disconnect()