Lines Matching refs:transfer_buffer
759 unsigned char *data = urb->transfer_buffer; in edge_interrupt_callback()
838 unsigned char *data = urb->transfer_buffer; in edge_bulk_in_callback()
934 if (urb->transfer_buffer != NULL) { in edge_bulk_out_cmd_callback()
935 kfree(urb->transfer_buffer); in edge_bulk_out_cmd_callback()
1265 if (edge_port->write_urb->transfer_buffer != NULL) { in edge_close()
1266 kfree(edge_port->write_urb->transfer_buffer); in edge_close()
1420 if (urb->transfer_buffer != NULL) { in send_more_port_data()
1421 kfree(urb->transfer_buffer); in send_more_port_data()
1422 urb->transfer_buffer = NULL; in send_more_port_data()
2311 unsigned char *transfer_buffer; in sram_write() local
2315 transfer_buffer = kmalloc (64, GFP_KERNEL); in sram_write()
2316 if (!transfer_buffer) { in sram_write()
2330 memcpy (transfer_buffer, data, current_length); in sram_write()
2332 0x40, addr, extAddr, transfer_buffer, current_length, 300); in sram_write()
2340 kfree (transfer_buffer); in sram_write()
2356 unsigned char *transfer_buffer; in rom_write() local
2360 transfer_buffer = kmalloc (64, GFP_KERNEL); in rom_write()
2361 if (!transfer_buffer) { in rom_write()
2375 memcpy (transfer_buffer, data, current_length); in rom_write()
2377 0x40, addr, extAddr, transfer_buffer, current_length, 300); in rom_write()
2385 kfree (transfer_buffer); in rom_write()
2401 unsigned char *transfer_buffer; in rom_read() local
2405 transfer_buffer = kmalloc (64, GFP_KERNEL); in rom_read()
2406 if (!transfer_buffer) { in rom_read()
2421 0xC0, addr, extAddr, transfer_buffer, current_length, 300); in rom_read()
2424 memcpy (data, transfer_buffer, current_length); in rom_read()
2430 kfree (transfer_buffer); in rom_read()