Home
last modified time | relevance | path

Searched refs:write_urb (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/serial/
Diuu_phoenix.c170 memset(port->write_urb->transfer_buffer, IUU_UART_RX, 1); in iuu_rxcmd()
171 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in iuu_rxcmd()
174 port->write_urb->transfer_buffer, 1, in iuu_rxcmd()
176 usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_rxcmd()
183 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset()
194 usb_fill_bulk_urb(port->write_urb, in iuu_reset()
198 port->write_urb->transfer_buffer, 4, iuu_rxcmd, port); in iuu_reset()
199 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_reset()
258 memset(port->write_urb->transfer_buffer, IUU_GET_STATE_REGISTER, 1); in iuu_status()
259 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in iuu_status()
[all …]
Dcyberjack.c142 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in cyberjack_open()
156 usb_kill_urb(port->write_urb); in cyberjack_close()
209 memcpy(port->write_urb->transfer_buffer, priv->wrbuf, length); in cyberjack_write()
213 port->write_urb->transfer_buffer_length = length; in cyberjack_write()
216 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in cyberjack_write()
380 memcpy(port->write_urb->transfer_buffer, in cyberjack_write_bulk_callback()
385 port->write_urb->transfer_buffer_length = length; in cyberjack_write_bulk_callback()
388 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in cyberjack_write_bulk_callback()
Ddigi_acceleport.c395 memcpy(oob_port->write_urb->transfer_buffer, buf, len); in digi_write_oob_command()
396 oob_port->write_urb->transfer_buffer_length = len; in digi_write_oob_command()
397 ret = usb_submit_urb(oob_port->write_urb, GFP_ATOMIC); in digi_write_oob_command()
431 unsigned char *data = port->write_urb->transfer_buffer; in digi_write_inb_command()
468 port->write_urb->transfer_buffer_length in digi_write_inb_command()
472 port->write_urb->transfer_buffer_length = len; in digi_write_inb_command()
475 ret = usb_submit_urb(port->write_urb, GFP_ATOMIC); in digi_write_inb_command()
512 unsigned char *data = oob_port->write_urb->transfer_buffer; in digi_set_modem_signals()
544 oob_port->write_urb->transfer_buffer_length = 8; in digi_set_modem_signals()
546 ret = usb_submit_urb(oob_port->write_urb, GFP_ATOMIC); in digi_set_modem_signals()
[all …]
Dquatech2.c119 struct urb *write_urb; member
415 usb_kill_urb(port_priv->write_urb); in qt2_close()
709 port_priv->write_urb = usb_alloc_urb(0, GFP_KERNEL); in qt2_port_probe()
710 if (!port_priv->write_urb) in qt2_port_probe()
714 usb_fill_bulk_urb(port_priv->write_urb, serial->dev, in qt2_port_probe()
735 usb_free_urb(port_priv->write_urb); in qt2_port_remove()
916 struct urb *write_urb; in qt2_write() local
924 if (port_priv->write_urb == NULL) { in qt2_write()
928 write_urb = port_priv->write_urb; in qt2_write()
932 data = write_urb->transfer_buffer; in qt2_write()
[all …]
Doti6858.c314 port->write_urb->transfer_buffer, in send_data()
316 port->write_urb->transfer_buffer_length = count; in send_data()
317 result = usb_submit_urb(port->write_urb, GFP_NOIO); in send_data()
509 usb_clear_halt(serial->dev, port->write_urb->pipe); in oti6858_open()
575 usb_kill_urb(port->write_urb); in oti6858_close()
819 port->write_urb->transfer_buffer_length = 1; in oti6858_write_bulk_callback()
820 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in oti6858_write_bulk_callback()
Dwhiteheat.c296 command_port->write_urb->complete = command_port_write_callback; in whiteheat_attach()
385 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in whiteheat_open()
569 transfer_buffer = (__u8 *)command_port->write_urb->transfer_buffer; in firm_send_command()
572 command_port->write_urb->transfer_buffer_length = datasize + 1; in firm_send_command()
573 retval = usb_submit_urb(command_port->write_urb, GFP_NOIO); in firm_send_command()
583 usb_kill_urb(command_port->write_urb); in firm_send_command()
Dkeyspan_pda.c525 memcpy(port->write_urb->transfer_buffer, buf, count); in keyspan_pda_write()
527 port->write_urb->transfer_buffer_length = count; in keyspan_pda_write()
531 rc = usb_submit_urb(port->write_urb, GFP_ATOMIC); in keyspan_pda_write()
661 usb_kill_urb(port->write_urb); in keyspan_pda_close()
Dti_usb_3410_5052.c724 usb_clear_halt(dev, port->write_urb->pipe); in ti_open()
790 usb_kill_urb(port->write_urb); in ti_close()
1310 port->write_urb->transfer_buffer, in ti_send()
1321 port->write_urb->transfer_buffer); in ti_send()
1323 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in ti_send()
1326 port->write_urb->transfer_buffer, count, in ti_send()
1329 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in ti_send()
Dio_edgeport.c166 struct urb *write_urb; /* write URB for this port */ member
998 edge_port->write_urb = usb_alloc_urb(0, GFP_KERNEL); in edge_open()
1001 if (!edge_port->write_urb) { in edge_open()
1168 usb_kill_urb(edge_port->write_urb); in edge_close()
1170 if (edge_port->write_urb) { in edge_close()
1173 kfree(edge_port->write_urb->transfer_buffer); in edge_close()
1174 usb_free_urb(edge_port->write_urb); in edge_close()
1175 edge_port->write_urb = NULL; in edge_close()
1326 urb = edge_port->write_urb; in send_more_port_data()
Dio_ti.c1949 usb_clear_halt(dev, port->write_urb->pipe); in edge_open()
1996 usb_kill_urb(port->write_urb); in edge_close()
2054 port->write_urb->transfer_buffer, in edge_send()
2066 usb_serial_debug_data(&port->dev, __func__, count, port->write_urb->transfer_buffer); in edge_send()
2069 port->write_urb->transfer_buffer_length = count; in edge_send()
2072 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in edge_send()
Dspcp8x5.c397 usb_clear_halt(serial->dev, port->write_urb->pipe); in spcp8x5_open()
Dmos7720.c1017 usb_clear_halt(serial->dev, port->write_urb->pipe); in mos7720_open()
1155 usb_kill_urb(port->write_urb); in mos7720_close()
Dpl2303.c849 usb_clear_halt(serial->dev, port->write_urb->pipe); in pl2303_open()
Dusb-serial.c810 port->write_urb = port->write_urbs[0]; in setup_port_bulk_out()
Dmos7840.c522 usb_clear_halt(serial->dev, port->write_urb->pipe); in mos7840_open()
/kernel/linux/linux-5.10/drivers/usb/image/
Dmdc800.c140 struct urb * write_urb; member
508 mdc800->write_urb, in mdc800_usb_probe()
557 usb_kill_urb(mdc800->write_urb); in mdc800_usb_disconnect()
664 usb_kill_urb(mdc800->write_urb); in mdc800_device_release()
849 memcpy (mdc800->write_urb->transfer_buffer, mdc800->in,8); in mdc800_device_write()
850 mdc800->write_urb->dev = mdc800->dev; in mdc800_device_write()
851 retval = usb_submit_urb (mdc800->write_urb, GFP_KERNEL); in mdc800_device_write()
864 usb_kill_urb(mdc800->write_urb); in mdc800_device_write()
1018 mdc800->write_urb=usb_alloc_urb (0, GFP_KERNEL); in usb_mdc800_init()
1019 if (!mdc800->write_urb) in usb_mdc800_init()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dwriting_usb_driver.rst191 copy_from_user(skel->write_urb->transfer_buffer, buffer, bytes_written);
194 usb_fill_bulk_urb(skel->write_urb,
197 skel->write_urb->transfer_buffer,
203 result = usb_submit_urb(skel->write_urb);
272 dev->write_urb->transfer_dma);
273 usb_free_urb (dev->write_urb);
/kernel/linux/linux-5.10/include/linux/usb/
Dserial.h99 struct urb *write_urb; member