/linux-3.4.99/drivers/usb/serial/ |
D | kobil_sct.c | 229 if (!port->write_urb) { in kobil_open() 232 port->write_urb = usb_alloc_urb(0, GFP_KERNEL); in kobil_open() 233 if (!port->write_urb) { in kobil_open() 242 port->write_urb->transfer_buffer = in kobil_open() 244 if (!port->write_urb->transfer_buffer) { in kobil_open() 246 usb_free_urb(port->write_urb); in kobil_open() 247 port->write_urb = NULL; in kobil_open() 333 if (port->write_urb) { in kobil_close() 334 usb_poison_urb(port->write_urb); in kobil_close() 335 kfree(port->write_urb->transfer_buffer); in kobil_close() [all …]
|
D | iuu_phoenix.c | 210 memset(port->write_urb->transfer_buffer, IUU_UART_RX, 1); in iuu_rxcmd() 211 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in iuu_rxcmd() 214 port->write_urb->transfer_buffer, 1, in iuu_rxcmd() 216 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_rxcmd() 223 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() 235 usb_fill_bulk_urb(port->write_urb, in iuu_reset() 239 port->write_urb->transfer_buffer, 4, iuu_rxcmd, port); in iuu_reset() 240 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_reset() 304 memset(port->write_urb->transfer_buffer, IUU_GET_STATE_REGISTER, 1); in iuu_status() 305 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in iuu_status() [all …]
|
D | omninet.c | 224 wport->write_urb->transfer_buffer; in omninet_write() 242 memcpy(wport->write_urb->transfer_buffer + OMNINET_DATAOFFSET, in omninet_write() 246 wport->write_urb->transfer_buffer); in omninet_write() 254 wport->write_urb->transfer_buffer_length = 64; in omninet_write() 256 result = usb_submit_urb(wport->write_urb, GFP_ATOMIC); in omninet_write() 311 usb_kill_urb(wport->write_urb); in omninet_disconnect()
|
D | cyberjack.c | 186 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in cyberjack_open() 204 usb_kill_urb(port->write_urb); in cyberjack_close() 260 memcpy(port->write_urb->transfer_buffer, priv->wrbuf, length); in cyberjack_write() 264 port->write_urb->transfer_buffer_length = length; in cyberjack_write() 267 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in cyberjack_write() 440 memcpy(port->write_urb->transfer_buffer, in cyberjack_write_bulk_callback() 445 port->write_urb->transfer_buffer_length = length; in cyberjack_write_bulk_callback() 448 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in cyberjack_write_bulk_callback()
|
D | digi_acceleport.c | 439 memcpy(oob_port->write_urb->transfer_buffer, buf, len); in digi_write_oob_command() 440 oob_port->write_urb->transfer_buffer_length = len; in digi_write_oob_command() 441 ret = usb_submit_urb(oob_port->write_urb, GFP_ATOMIC); in digi_write_oob_command() 475 unsigned char *data = port->write_urb->transfer_buffer; in digi_write_inb_command() 512 port->write_urb->transfer_buffer_length in digi_write_inb_command() 516 port->write_urb->transfer_buffer_length = len; in digi_write_inb_command() 519 ret = usb_submit_urb(port->write_urb, GFP_ATOMIC); in digi_write_inb_command() 556 unsigned char *data = oob_port->write_urb->transfer_buffer; in digi_set_modem_signals() 587 oob_port->write_urb->transfer_buffer_length = 8; in digi_set_modem_signals() 589 ret = usb_submit_urb(oob_port->write_urb, GFP_ATOMIC); in digi_set_modem_signals() [all …]
|
D | oti6858.c | 333 port->write_urb->transfer_buffer, in send_data() 335 port->write_urb->transfer_buffer_length = count; in send_data() 336 result = usb_submit_urb(port->write_urb, GFP_NOIO); in send_data() 548 usb_clear_halt(serial->dev, port->write_urb->pipe); in oti6858_open() 618 usb_kill_urb(port->write_urb); in oti6858_close() 942 port->write_urb->transfer_buffer_length = 1; in oti6858_write_bulk_callback() 943 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in oti6858_write_bulk_callback()
|
D | keyspan_pda.c | 540 memcpy(port->write_urb->transfer_buffer, buf, count); in keyspan_pda_write() 542 port->write_urb->transfer_buffer_length = count; in keyspan_pda_write() 546 rc = usb_submit_urb(port->write_urb, GFP_ATOMIC); in keyspan_pda_write() 679 usb_kill_urb(port->write_urb); in keyspan_pda_close()
|
D | whiteheat.c | 471 buf_size = port->write_urb->transfer_buffer_length; in whiteheat_attach() 509 command_port->write_urb->complete = command_port_write_callback; in whiteheat_attach() 642 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in whiteheat_open() 1087 transfer_buffer = (__u8 *)command_port->write_urb->transfer_buffer; in firm_send_command() 1090 command_port->write_urb->transfer_buffer_length = datasize + 1; in firm_send_command() 1091 retval = usb_submit_urb(command_port->write_urb, GFP_NOIO); in firm_send_command() 1101 usb_kill_urb(command_port->write_urb); in firm_send_command()
|
D | mos7840.c | 240 struct urb *write_urb; /* write URB for this port */ member 896 usb_clear_halt(serial->dev, port->write_urb->pipe); in mos7840_open() 1255 if (mos7840_port->write_urb) { in mos7840_close() 1257 usb_kill_urb(mos7840_port->write_urb); in mos7840_close() 1281 if (mos7840_port->write_urb) { in mos7840_close() 1283 if (mos7840_port->write_urb->transfer_buffer != NULL) in mos7840_close() 1284 kfree(mos7840_port->write_urb->transfer_buffer); in mos7840_close() 1285 usb_free_urb(mos7840_port->write_urb); in mos7840_close()
|
D | ti_usb_3410_5052.c | 572 usb_clear_halt(dev, port->write_urb->pipe); in ti_open() 648 usb_kill_urb(port->write_urb); in ti_close() 1305 port->write_urb->transfer_buffer, in ti_send() 1316 port->write_urb->transfer_buffer); in ti_send() 1318 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in ti_send() 1321 port->write_urb->transfer_buffer, count, in ti_send() 1324 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in ti_send()
|
D | io_edgeport.c | 95 struct urb *write_urb; /* write URB for this port */ member 934 edge_port->write_urb = usb_alloc_urb(0, GFP_KERNEL); in edge_open() 937 if (!edge_port->write_urb) { in edge_open() 1109 usb_kill_urb(edge_port->write_urb); in edge_close() 1111 if (edge_port->write_urb) { in edge_close() 1114 kfree(edge_port->write_urb->transfer_buffer); in edge_close() 1115 usb_free_urb(edge_port->write_urb); in edge_close() 1116 edge_port->write_urb = NULL; in edge_close() 1277 urb = edge_port->write_urb; in send_more_port_data()
|
D | io_ti.c | 1982 usb_clear_halt(dev, port->write_urb->pipe); in edge_open() 2039 usb_kill_urb(port->write_urb); in edge_close() 2107 port->write_urb->transfer_buffer, in edge_send() 2120 port->write_urb->transfer_buffer); in edge_send() 2123 port->write_urb->transfer_buffer_length = count; in edge_send() 2126 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in edge_send()
|
D | generic.c | 147 usb_kill_urb(port->write_urb); in generic_cleanup()
|
D | garmin_gps.c | 951 usb_kill_urb(port->write_urb); in garmin_open() 978 usb_kill_urb(port->write_urb); in garmin_close()
|
D | spcp8x5.c | 453 usb_clear_halt(serial->dev, port->write_urb->pipe); in spcp8x5_open()
|
D | pl2303.c | 491 usb_clear_halt(serial->dev, port->write_urb->pipe); in pl2303_open()
|
D | mos7720.c | 1042 usb_clear_halt(serial->dev, port->write_urb->pipe); in mos7720_open() 1194 usb_kill_urb(port->write_urb); in mos7720_close()
|
D | usb-serial.c | 993 port->write_urb = port->write_urbs[0]; in usb_serial_probe()
|
/linux-3.4.99/drivers/usb/image/ |
D | mdc800.c | 153 struct urb * write_urb; member 522 mdc800->write_urb, in mdc800_usb_probe() 571 usb_kill_urb(mdc800->write_urb); in mdc800_usb_disconnect() 679 usb_kill_urb(mdc800->write_urb); in mdc800_device_release() 863 memcpy (mdc800->write_urb->transfer_buffer, mdc800->in,8); in mdc800_device_write() 864 mdc800->write_urb->dev = mdc800->dev; in mdc800_device_write() 865 retval = usb_submit_urb (mdc800->write_urb, GFP_KERNEL); in mdc800_device_write() 877 usb_kill_urb(mdc800->write_urb); in mdc800_device_write() 1030 mdc800->write_urb=usb_alloc_urb (0, GFP_KERNEL); in usb_mdc800_init() 1031 if (!mdc800->write_urb) in usb_mdc800_init() [all …]
|
/linux-3.4.99/drivers/staging/serqt_usb2/ |
D | serqt_usb2.c | 171 struct urb *write_urb; /* write URB for this port */ member 898 usb_clear_halt(serial->dev, port->write_urb->pipe); in qt_open() 1012 if (port->write_urb->status == -EINPROGRESS) in qt_chars_in_buffer() 1013 chars = port->write_urb->transfer_buffer_length; in qt_chars_in_buffer() 1067 usb_unlink_urb(port->write_urb); in qt_close() 1095 if (qt_port->write_urb) { in qt_close() 1097 kfree(qt_port->write_urb->transfer_buffer); in qt_close() 1098 usb_free_urb(qt_port->write_urb); in qt_close() 1121 if (port->write_urb->status == -EINPROGRESS) { in qt_write() 1128 memcpy(port->write_urb->transfer_buffer, buf, count); in qt_write() [all …]
|
/linux-3.4.99/drivers/staging/quatech_usb2/ |
D | quatech_usb2.c | 540 if (port->write_urb == NULL) { in qt2_open() 542 port->write_urb = usb_alloc_urb(0, GFP_KERNEL); in qt2_open() 543 if (!port->write_urb) { in qt2_open() 560 usb_fill_bulk_urb(port->write_urb, serial->dev, in qt2_open() 678 usb_free_urb(port->write_urb); in qt2_close() 720 if ((port->write_urb->status == -EINPROGRESS)) { in qt2_write() 762 memcpy(port->write_urb->transfer_buffer, header_array, in qt2_write() 765 memcpy(port->write_urb->transfer_buffer + 5, buf, count); in qt2_write() 770 usb_fill_bulk_urb(port->write_urb, serial->dev, in qt2_write() 773 port->write_urb->transfer_buffer, count + 5, in qt2_write() [all …]
|
/linux-3.4.99/drivers/media/rc/ |
D | redrat3.c | 192 struct urb *write_urb; member 604 usb_kill_urb(rr3->write_urb); in redrat3_delete() 607 usb_free_urb(rr3->write_urb); in redrat3_delete() 1183 rr3->write_urb = usb_alloc_urb(0, GFP_KERNEL); in redrat3_dev_probe() 1184 if (!rr3->write_urb) { in redrat3_dev_probe() 1198 usb_fill_bulk_urb(rr3->write_urb, udev, pipe, in redrat3_dev_probe()
|
/linux-3.4.99/include/linux/usb/ |
D | serial.h | 104 struct urb *write_urb; member
|