Lines Matching refs:transfer_buffer

418 			   port->read_urb->transfer_buffer,  in visor_open()
442 unsigned char *transfer_buffer; in visor_close() local
459 transfer_buffer = kmalloc (0x12, GFP_KERNEL); in visor_close()
460 if (!transfer_buffer) { in visor_close()
468 transfer_buffer, 0x12, 300); in visor_close()
469 kfree (transfer_buffer); in visor_close()
477 transfer_buffer = kmalloc (0x12, GFP_KERNEL); in visor_close()
478 if (transfer_buffer) { in visor_close()
483 transfer_buffer, 0x12, 300); in visor_close()
484 kfree (transfer_buffer); in visor_close()
521 if (urb->transfer_buffer == NULL) { in visor_write()
522 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, GFP_KERNEL); in visor_write()
523 if (urb->transfer_buffer == NULL) { in visor_write()
531 if (copy_from_user (urb->transfer_buffer, current_position, transfer_size)) { in visor_write()
536 memcpy (urb->transfer_buffer, current_position, transfer_size); in visor_write()
539 usb_serial_debug_data (__FILE__, __FUNCTION__, transfer_size, urb->transfer_buffer); in visor_write()
543 urb->transfer_buffer, transfer_size, visor_write_bulk_callback, port); in visor_write()
637 unsigned char *data = urb->transfer_buffer; in visor_read_bulk_callback()
676 port->read_urb->transfer_buffer, in visor_read_bulk_callback()
713 urb->transfer_buffer); in visor_read_int_callback()
743 unsigned char *transfer_buffer; in visor_startup() local
756 transfer_buffer = kmalloc (sizeof (*connection_info), in visor_startup()
758 if (!transfer_buffer) { in visor_startup()
769 transfer_buffer, in visor_startup()
777 connection_info = (struct visor_connection_info *)transfer_buffer; in visor_startup()
812 transfer_buffer = kmalloc (sizeof (*connection_info), in visor_startup()
814 if (!transfer_buffer) { in visor_startup()
822 0xc2, 0x0000, 0x0000, transfer_buffer, in visor_startup()
828 usb_serial_debug_data (__FILE__, __FUNCTION__, 0x14, transfer_buffer); in visor_startup()
837 0xc2, 0x0000, 0x0005, transfer_buffer, 0x02, 300); in visor_startup()
843 kfree (transfer_buffer); in visor_startup()
894 unsigned char *transfer_buffer; in clie_5_startup() local
902 transfer_buffer = kmalloc(sizeof (*connection_info), in clie_5_startup()
904 if (!transfer_buffer) { in clie_5_startup()
912 0xc2, 0x0000, 0x0000, transfer_buffer, in clie_5_startup()
918 usb_serial_debug_data (__FILE__, __FUNCTION__, 0x14, transfer_buffer); in clie_5_startup()
923 0xc2, 0x0000, 0x0005, transfer_buffer, 0x02, 300); in clie_5_startup()
928 kfree (transfer_buffer); in clie_5_startup()
1103 urb->transfer_buffer = NULL; in visor_init()
1104 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, GFP_KERNEL); in visor_init()
1105 if (!urb->transfer_buffer) { in visor_init()
1138 if (write_urb_pool[i]->transfer_buffer) in visor_exit()
1139 kfree(write_urb_pool[i]->transfer_buffer); in visor_exit()