/linux-2.4.37.9/drivers/usb/serial/ |
D | visor.c | 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() [all …]
|
D | kobil_sct.c | 212 unsigned char *transfer_buffer; in kobil_open() local 250 transfer_buffer = (unsigned char *) kmalloc(transfer_buffer_length, GFP_KERNEL); in kobil_open() 251 if (! transfer_buffer) { in kobil_open() 254 memset(transfer_buffer, 0, transfer_buffer_length); in kobil_open() 263 kfree(transfer_buffer); in kobil_open() 269 …port->write_urb->transfer_buffer = (unsigned char *) kmalloc(write_urb_transfer_buffer_length, GFP… in kobil_open() 270 if (! port->write_urb->transfer_buffer) { in kobil_open() 271 kfree(transfer_buffer); in kobil_open() 282 transfer_buffer, in kobil_open() 287 dbg("Harware version: %i.%i.%i", transfer_buffer[0], transfer_buffer[1], transfer_buffer[2] ); in kobil_open() [all …]
|
D | ir-usb.c | 290 kfree (port->read_urb->transfer_buffer); in ir_open() 291 port->read_urb->transfer_buffer = buffer; in ir_open() 299 kfree (port->write_urb->transfer_buffer); in ir_open() 300 port->write_urb->transfer_buffer = buffer; in ir_open() 310 port->read_urb->transfer_buffer, in ir_open() 343 unsigned char *transfer_buffer; in ir_write() local 362 transfer_buffer = port->write_urb->transfer_buffer; in ir_write() 372 *transfer_buffer = ir_xbof | ir_baud; in ir_write() 373 ++transfer_buffer; in ir_write() 376 if (copy_from_user (transfer_buffer, buf, transfer_size)) in ir_write() [all …]
|
D | empeg.c | 169 port->read_urb->transfer_buffer, in empeg_open() 243 if (urb->transfer_buffer == NULL) { in empeg_write() 244 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, GFP_ATOMIC); in empeg_write() 245 if (urb->transfer_buffer == NULL) { in empeg_write() 254 if (copy_from_user (urb->transfer_buffer, current_position, transfer_size)) { in empeg_write() 259 memcpy (urb->transfer_buffer, current_position, transfer_size); in empeg_write() 268 urb->transfer_buffer, in empeg_write() 375 unsigned char *data = urb->transfer_buffer; in empeg_read_bulk_callback() 422 port->read_urb->transfer_buffer, in empeg_read_bulk_callback() 571 urb->transfer_buffer = NULL; in empeg_init() [all …]
|
D | omninet.c | 170 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in omninet_open() 215 unsigned char *data = urb->transfer_buffer; in omninet_read_bulk_callback() 253 urb->transfer_buffer, urb->transfer_buffer_length, in omninet_read_bulk_callback() 268 struct omninet_header *header = (struct omninet_header *) wport->write_urb->transfer_buffer; in omninet_write() 286 if (copy_from_user(wport->write_urb->transfer_buffer + OMNINET_DATAOFFSET, buf, count) != 0) { in omninet_write() 292 memcpy (wport->write_urb->transfer_buffer + OMNINET_DATAOFFSET, buf, count); in omninet_write() 295 usb_serial_debug_data (__FILE__, __FUNCTION__, count, wport->write_urb->transfer_buffer); in omninet_write()
|
D | kl5kusb105.c | 290 urb->transfer_buffer = NULL; in klsi_105_startup() 291 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, in klsi_105_startup() 293 if (!urb->transfer_buffer) { in klsi_105_startup() 334 if (write_urbs[j]->transfer_buffer) in klsi_105_shutdown() 335 kfree(write_urbs[j]->transfer_buffer); in klsi_105_shutdown() 390 port->read_urb->transfer_buffer, in klsi_105_open() 506 if (urb->transfer_buffer == NULL) { in klsi_105_write() 507 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, GFP_KERNEL); in klsi_105_write() 508 if (urb->transfer_buffer == NULL) { in klsi_105_write() 518 if (copy_from_user(urb->transfer_buffer in klsi_105_write() [all …]
|
D | cyberjack.c | 236 memcpy (port->write_urb->transfer_buffer, priv->wrbuf, length ); in cyberjack_write() 242 port->write_urb->transfer_buffer, length, in cyberjack_write() 277 unsigned char *data = urb->transfer_buffer; in cyberjack_read_int_callback() 332 unsigned char *data = urb->transfer_buffer; in cyberjack_read_bulk_callback() 344 usb_serial_debug_data (__FILE__, __FUNCTION__, urb->actual_length, urb->transfer_buffer); in cyberjack_read_bulk_callback() 413 memcpy (port->write_urb->transfer_buffer, priv->wrbuf + priv->wrsent, in cyberjack_write_bulk_callback() 420 port->write_urb->transfer_buffer, length, in cyberjack_write_bulk_callback()
|
D | whiteheat.c | 189 usb_serial_debug_data (__FILE__, __FUNCTION__, urb->actual_length, urb->transfer_buffer); in command_port_write_callback() 200 unsigned char *data = urb->transfer_buffer; in command_port_read_callback() 238 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in command_port_read_callback() 251 __u8 *transfer_buffer; in whiteheat_send_cmd() local 260 transfer_buffer = (__u8 *)port->write_urb->transfer_buffer; in whiteheat_send_cmd() 261 transfer_buffer[0] = command; in whiteheat_send_cmd() 262 memcpy (&transfer_buffer[1], data, datasize); in whiteheat_send_cmd()
|
D | io_edgeport.c | 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 [all …]
|
D | ipaq.c | 236 port->read_urb->transfer_buffer = port->bulk_in_buffer; in ipaq_open() 237 port->write_urb->transfer_buffer = port->bulk_out_buffer; in ipaq_open() 244 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ipaq_open() 315 unsigned char *data = urb->transfer_buffer; in ipaq_read_bulk_callback() 352 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ipaq_read_bulk_callback() 456 memcpy(urb->transfer_buffer + (URBDATA_SIZE - room), in ipaq_write_gather() 474 port->write_urb->transfer_buffer, count, ipaq_write_bulk_callback, in ipaq_write_gather()
|
D | digi_acceleport.c | 665 memcpy( oob_port->write_urb->transfer_buffer, buf, len ); in digi_write_oob_command() 708 unsigned char *data = port->write_urb->transfer_buffer; in digi_write_inb_command() 796 unsigned char *data = oob_port->write_urb->transfer_buffer; in digi_set_modem_signals() 1254 unsigned char *data = port->write_urb->transfer_buffer; in digi_write() 1380 *((unsigned char *)(port->write_urb->transfer_buffer)) in digi_write_bulk_callback() 1382 *((unsigned char *)(port->write_urb->transfer_buffer)+1) in digi_write_bulk_callback() 1389 memcpy( port->write_urb->transfer_buffer+2, priv->dp_out_buf, in digi_write_bulk_callback() 1820 int opcode = ((unsigned char *)urb->transfer_buffer)[0]; in digi_read_inb_callback() 1821 int len = ((unsigned char *)urb->transfer_buffer)[1]; in digi_read_inb_callback() 1822 int status = ((unsigned char *)urb->transfer_buffer)[2]; in digi_read_inb_callback() [all …]
|
D | ftdi_sio.c | 1168 port->read_urb->transfer_buffer = port->bulk_in_buffer; in ftdi_common_startup() 1192 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, GFP_KERNEL); in ftdi_common_startup() 1193 if (!urb->transfer_buffer) { in ftdi_common_startup() 1372 if (priv->write_urb_pool[i]->transfer_buffer) { in ftdi_shutdown() 1373 kfree(priv->write_urb_pool[i]->transfer_buffer); in ftdi_shutdown() 1374 priv->write_urb_pool[i]->transfer_buffer = NULL; in ftdi_shutdown() 1432 port->read_urb->transfer_buffer, port->read_urb->transfer_buffer_length, in ftdi_open() 1563 if (urb->transfer_buffer == NULL) { in ftdi_write() 1564 urb->transfer_buffer = kmalloc (URB_TRANSFER_BUFFER_SIZE, GFP_KERNEL); in ftdi_write() 1565 if (urb->transfer_buffer == NULL) { in ftdi_write() [all …]
|
D | keyspan.c | 390 ((char *)this_urb->transfer_buffer)[0] = 0; in keyspan_write() 393 if (copy_from_user(this_urb->transfer_buffer + dataOffset, buf, todo)) in keyspan_write() 396 memcpy (this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write() 424 unsigned char *data = urb->transfer_buffer; in usa26_indat_callback() 513 unsigned char *data = urb->transfer_buffer; in usa26_instat_callback() 593 data = urb->transfer_buffer; in usa28_indat_callback() 607 data = urb->transfer_buffer; in usa28_indat_callback() 651 unsigned char *data = urb->transfer_buffer; in usa28_instat_callback() 743 unsigned char *data = urb->transfer_buffer; in usa49_instat_callback() 815 unsigned char *data = urb->transfer_buffer; in usa49_indat_callback() [all …]
|
D | usbserial.c | 579 unsigned char *transfer_buffer; in ezusb_writememory() local 587 transfer_buffer = kmalloc (length, GFP_KERNEL); in ezusb_writememory() 588 if (!transfer_buffer) { in ezusb_writememory() 592 memcpy (transfer_buffer, data, length); in ezusb_writememory() 593 …l->dev, usb_sndctrlpipe(serial->dev, 0), bRequest, 0x40, address, 0, transfer_buffer, length, 3*HZ… in ezusb_writememory() 594 kfree (transfer_buffer); in ezusb_writememory() 1155 port->read_urb->transfer_buffer, in generic_open() 1217 if (copy_from_user(port->write_urb->transfer_buffer, buf, count)) in generic_write() 1220 memcpy (port->write_urb->transfer_buffer, buf, count); in generic_write() 1228 port->write_urb->transfer_buffer, count, in generic_write() [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | dsbr100.c | 104 unsigned char transfer_buffer[TB_LEN]; member 146 0x00, 0xC0, 0x00, 0xC7, radio->transfer_buffer, 8, 300)<0 || in dsbr100_start() 148 0x02, 0xC0, 0x01, 0x00, radio->transfer_buffer, 8, 300)<0) in dsbr100_start() 150 return (radio->transfer_buffer)[0]; in dsbr100_start() 157 0x00, 0xC0, 0x16, 0x1C, radio->transfer_buffer, 8, 300)<0 || in dsbr100_stop() 159 0x02, 0xC0, 0x00, 0x00, radio->transfer_buffer, 8, 300)<0) in dsbr100_stop() 161 return (radio->transfer_buffer)[0]; in dsbr100_stop() 170 radio->transfer_buffer, 8, 300)<0 || in dsbr100_setfreq() 172 0x00, 0xC0, 0x96, 0xB7, radio->transfer_buffer, 8, 300)<0 || in dsbr100_setfreq() 174 0x00, 0xC0, 0x00, 0x24, radio->transfer_buffer, 8, 300)<0) { in dsbr100_setfreq() [all …]
|
D | bluetooth.c | 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() [all …]
|
D | dabusb.c | 94 dbg("transfer_buffer :%p", purb->transfer_buffer); in dump_urb() 142 if (b->purb->transfer_buffer) in dabusb_free_queue() 143 kfree (b->purb->transfer_buffer); in dabusb_free_queue() 177 void *buf = purb->transfer_buffer; in dabusb_iso_complete() 236 b->purb->transfer_buffer = kmalloc (transfer_buffer_length, GFP_KERNEL); in dabusb_alloc_buffers() 237 if (!b->purb->transfer_buffer) { in dabusb_alloc_buffers() 306 unsigned char *transfer_buffer = kmalloc (len, GFP_KERNEL); in dabusb_writemem() local 308 if (!transfer_buffer) { in dabusb_writemem() 313 memcpy (transfer_buffer, data, len); in dabusb_writemem() 315 …rol_msg(s->usbdev, usb_sndctrlpipe( s->usbdev, 0 ), 0xa0, 0x40, pos, 0, transfer_buffer, len, 300); in dabusb_writemem() [all …]
|
D | audio.c | 727 if (u->durb[0].urb.transfer_buffer) in usbin_stop() 728 kfree(u->durb[0].urb.transfer_buffer); in usbin_stop() 729 if (u->durb[1].urb.transfer_buffer) in usbin_stop() 730 kfree(u->durb[1].urb.transfer_buffer); in usbin_stop() 731 if (u->surb[0].urb.transfer_buffer) in usbin_stop() 732 kfree(u->surb[0].urb.transfer_buffer); in usbin_stop() 733 if (u->surb[1].urb.transfer_buffer) in usbin_stop() 734 kfree(u->surb[1].urb.transfer_buffer); in usbin_stop() 735 u->durb[0].urb.transfer_buffer = u->durb[1].urb.transfer_buffer = in usbin_stop() 736 u->surb[0].urb.transfer_buffer = u->surb[1].urb.transfer_buffer = NULL; in usbin_stop() [all …]
|
D | acm.c | 187 struct usb_ctrlrequest *dr = urb->transfer_buffer; in acm_ctrl_irq() 235 unsigned char *data = urb->transfer_buffer; in acm_read_bulk() 364 if (copy_from_user(acm->writeurb.transfer_buffer, buf, count)) in acm_tty_write() 367 memcpy(acm->writeurb.transfer_buffer, buf, count); in acm_tty_write() 634 kfree(acm->ctrlurb.transfer_buffer); in acm_disconnect()
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | st5481_usb.c | 181 u_char *data = urb->transfer_buffer; in usb_int_complete() 319 if (ctrl->urb->transfer_buffer) in st5481_release_usb() 320 kfree(ctrl->urb->transfer_buffer); in st5481_release_usb() 324 if (intr->urb->transfer_buffer) in st5481_release_usb() 325 kfree(intr->urb->transfer_buffer); in st5481_release_usb() 394 urb->transfer_buffer=buf; in fill_isoc_urb() 438 if (urb[j]->transfer_buffer) in st5481_setup_isocpipes() 439 kfree(urb[j]->transfer_buffer); in st5481_setup_isocpipes() 452 if (urb[j]->transfer_buffer) in st5481_release_isocpipes() 453 kfree(urb[j]->transfer_buffer); in st5481_release_isocpipes() [all …]
|
D | st5481_b.c | 72 register unsigned char *dest = urb->transfer_buffer+len; in usb_b_out() 81 urb->transfer_buffer+len, buf_size-len); in usb_b_out() 98 memset(urb->transfer_buffer+len, 0xff, buf_size-len); in usb_b_out() 104 urb->transfer_buffer+len, buf_size-len); in usb_b_out()
|
/linux-2.4.37.9/include/linux/ |
D | usb.h | 510 void *transfer_buffer; // associated data buffer member 551 (URB)->transfer_buffer=TRANSFER_BUFFER;\ 576 (URB)->transfer_buffer=TRANSFER_BUFFER;\ 602 (URB)->transfer_buffer=TRANSFER_BUFFER;\ 616 (a)->transfer_buffer=d;\ 628 (a)->transfer_buffer=c;\ 653 void *transfer_buffer, in usb_fill_control_urb() argument 662 urb->transfer_buffer = transfer_buffer; in usb_fill_control_urb() 684 void *transfer_buffer, in usb_fill_bulk_urb() argument 693 urb->transfer_buffer = transfer_buffer; in usb_fill_bulk_urb() [all …]
|
/linux-2.4.37.9/drivers/usb/host/ |
D | hc_simple.c | 70 hc_flush_data_cache (hci, urb->transfer_buffer, in hcs_urb_queue() 99 (__u32 *) urb, (__u32 *) urb->transfer_buffer, in hcs_return_urb() 802 data = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in sh_add_packet() 810 data = urb->transfer_buffer + urb->actual_length; in sh_add_packet() 834 data = urb->transfer_buffer + urb->actual_length; in sh_add_packet() 963 data = urb->transfer_buffer + urb->iso_frame_desc[iso_index].offset; in sh_done_list() 966 data = urb->transfer_buffer + urb->actual_length; in sh_done_list()
|
D | hc_simple.h | 220 if (urb->transfer_buffer_length > 0 && urb->transfer_buffer) { in urb_print() 225 printk (" %02x", ((__u8 *) urb->transfer_buffer)[i]); in urb_print()
|
/linux-2.4.37.9/drivers/bluetooth/ |
D | hci_usb.c | 284 urb->transfer_buffer = buf; in hci_usb_isoc_rx_submit() 377 if (urb->transfer_buffer) in hci_usb_unlink_urbs() 378 kfree(urb->transfer_buffer); in hci_usb_unlink_urbs() 516 urb->transfer_buffer = skb->data; in hci_usb_send_isoc() 728 urb->transfer_buffer + urb->iso_frame_desc[i].offset, in hci_usb_rx_complete() 735 err = __recv_frame(husb, _urb->type, urb->transfer_buffer, count); in hci_usb_rx_complete() 766 urb->transfer_buffer = NULL; in hci_usb_tx_complete()
|