Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/serial/
H A Diuu_phoenix.c172 port->write_urb->transfer_buffer, 1, in iuu_rxcmd()
174 usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_rxcmd()
181 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset()
192 usb_fill_bulk_urb(port->write_urb, in iuu_reset()
260 port->write_urb->transfer_buffer, 1, in iuu_status()
363 port->write_urb->transfer_buffer, 8 , in iuu_led_activity_on()
365 usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_led_activity_on()
383 port->write_urb->transfer_buffer, 8 , in iuu_led_activity_off()
385 usb_submit_urb(port->write_urb, GFP_ATOMIC); in iuu_led_activity_off()
942 usb_kill_urb(port->write_urb); in iuu_close()
[all …]
H A Dcyberjack.c140 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in cyberjack_open()
154 usb_kill_urb(port->write_urb); in cyberjack_close()
207 memcpy(port->write_urb->transfer_buffer, priv->wrbuf, length); in cyberjack_write()
211 port->write_urb->transfer_buffer_length = length; in cyberjack_write()
214 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in cyberjack_write()
378 memcpy(port->write_urb->transfer_buffer, in cyberjack_write_bulk_callback()
383 port->write_urb->transfer_buffer_length = length; in cyberjack_write_bulk_callback()
386 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in cyberjack_write_bulk_callback()
H A Ddigi_acceleport.c398 oob_port->write_urb->transfer_buffer_length = len; in digi_write_oob_command()
470 port->write_urb->transfer_buffer_length in digi_write_inb_command()
474 port->write_urb->transfer_buffer_length = len; in digi_write_inb_command()
477 ret = usb_submit_urb(port->write_urb, GFP_ATOMIC); in digi_write_inb_command()
545 oob_port->write_urb->transfer_buffer_length = 8; in digi_set_modem_signals()
928 port->write_urb->transfer_buffer_length = data_len+2; in digi_write()
940 ret = usb_submit_urb(port->write_urb, GFP_ATOMIC); in digi_write()
1003 port->write_urb->transfer_buffer_length = in digi_write_bulk_callback()
1007 ret = usb_submit_urb(port->write_urb, GFP_ATOMIC); in digi_write_bulk_callback()
1163 usb_kill_urb(port->write_urb); in digi_close()
[all …]
H A Dquatech2.c119 struct urb *write_urb; member
393 usb_kill_urb(port_priv->write_urb); in qt2_close()
672 port_priv->write_urb = usb_alloc_urb(0, GFP_KERNEL); in qt2_port_probe()
673 if (!port_priv->write_urb) in qt2_port_probe()
677 usb_fill_bulk_urb(port_priv->write_urb, serial->dev, in qt2_port_probe()
698 usb_free_urb(port_priv->write_urb); in qt2_port_remove()
881 struct urb *write_urb; in qt2_write() local
889 if (port_priv->write_urb == NULL) { in qt2_write()
893 write_urb = port_priv->write_urb; in qt2_write()
897 data = write_urb->transfer_buffer; in qt2_write()
[all …]
H A Doti6858.c315 port->write_urb->transfer_buffer, in send_data()
317 port->write_urb->transfer_buffer_length = count; in send_data()
318 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()
H A Dwhiteheat.c292 command_port->write_urb->complete = command_port_write_callback; in whiteheat_attach()
379 usb_clear_halt(port->serial->dev, port->write_urb->pipe); in whiteheat_open()
553 transfer_buffer = (__u8 *)command_port->write_urb->transfer_buffer; in firm_send_command()
556 command_port->write_urb->transfer_buffer_length = datasize + 1; in firm_send_command()
557 retval = usb_submit_urb(command_port->write_urb, GFP_NOIO); in firm_send_command()
567 usb_kill_urb(command_port->write_urb); in firm_send_command()
H A Dti_usb_3410_5052.c712 usb_clear_halt(dev, port->write_urb->pipe); in ti_open()
775 usb_kill_urb(port->write_urb); in ti_close()
1303 port->write_urb->transfer_buffer, in ti_send()
1314 port->write_urb->transfer_buffer); in ti_send()
1316 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in ti_send()
1319 port->write_urb->transfer_buffer, count, in ti_send()
1322 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in ti_send()
H A Dio_edgeport.c166 struct urb *write_urb; /* write URB for this port */ member
922 edge_port->write_urb = usb_alloc_urb(0, GFP_KERNEL); in edge_open()
925 if (!edge_port->write_urb) { in edge_open()
1092 usb_kill_urb(edge_port->write_urb); in edge_close()
1094 if (edge_port->write_urb) { in edge_close()
1097 kfree(edge_port->write_urb->transfer_buffer); in edge_close()
1098 usb_free_urb(edge_port->write_urb); in edge_close()
1099 edge_port->write_urb = NULL; in edge_close()
1250 urb = edge_port->write_urb; in send_more_port_data()
H A Dkeyspan_pda.c494 urb = port->write_urb; in keyspan_pda_write_start()
602 usb_kill_urb(port->write_urb); in keyspan_pda_close()
H A Dio_ti.c1936 usb_clear_halt(dev, port->write_urb->pipe); in edge_open()
1981 usb_kill_urb(port->write_urb); in edge_close()
2037 port->write_urb->transfer_buffer, in edge_send()
2049 usb_serial_debug_data(&port->dev, __func__, count, port->write_urb->transfer_buffer); in edge_send()
2052 port->write_urb->transfer_buffer_length = count; in edge_send()
2055 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); in edge_send()
H A Dspcp8x5.c396 usb_clear_halt(serial->dev, port->write_urb->pipe); in spcp8x5_open()
H A Dmos7720.c859 usb_clear_halt(serial->dev, port->write_urb->pipe); in mos7720_open()
990 usb_kill_urb(port->write_urb); in mos7720_close()
H A Dpl2303.c966 usb_clear_halt(serial->dev, port->write_urb->pipe); in pl2303_open()
H A Dusb-serial.c906 port->write_urb = port->write_urbs[0]; in setup_port_bulk_out()
H A Dmos7840.c522 usb_clear_halt(serial->dev, port->write_urb->pipe); in mos7840_open()
/openbmc/linux/drivers/usb/image/
H A 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()
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()
1044 usb_free_urb(mdc800->write_urb); in usb_mdc800_init()
[all …]
/openbmc/linux/drivers/net/can/usb/
H A Df81604.c906 struct urb *write_urb; in f81604_start_xmit() local
914 write_urb = usb_alloc_urb(0, GFP_ATOMIC); in f81604_start_xmit()
915 if (!write_urb) in f81604_start_xmit()
922 usb_fill_bulk_urb(write_urb, priv->dev, in f81604_start_xmit()
928 write_urb->transfer_flags |= URB_FREE_BUFFER; in f81604_start_xmit()
956 ret = usb_submit_urb(write_urb, GFP_ATOMIC); in f81604_start_xmit()
972 usb_free_urb(write_urb); in f81604_start_xmit()
977 usb_free_urb(write_urb); in f81604_start_xmit()
/openbmc/linux/include/linux/usb/
H A Dserial.h93 struct urb *write_urb; member
/openbmc/linux/Documentation/driver-api/usb/
H A Dwriting_usb_driver.rst277 dev->write_urb->transfer_dma);
278 usb_free_urb (dev->write_urb);