linux_dsm_epyc7002/include/linux/usb
Johan Hovold eaa3bcb06a USB: serial: generalise write buffer preparation
Generalise write buffer preparation.

This allows for drivers to manipulate (e.g. add headers) to bulk out
data before it is sent.

This adds a new function pointer to usb_serial_driver:

int (*prepare_write_buffer)(struct usb_serial_port *port,
		void **dest, size_t size, const void *src, size_t count);

The function is generic and can be used with either kfifo-based or
multi-urb writes:

If *dest is NULL the implementation should allocate dest.
If src is NULL the implementation should use the port write fifo.

If not set, a generic implementation is used which simply uses memcpy or
kfifo_out.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-20 13:21:35 -07:00
..
association.h
atmel_usba_udc.h USB: atmel uaba: Adding invert vbus_pin 2010-03-02 14:54:57 -08:00
audio.h ALSA: usb/audio.h: Fix field order 2010-03-05 08:23:09 +01:00
c67x00.h
cdc.h
ch9.h USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS 2010-03-02 14:53:36 -08:00
ch11.h USB: remove bogus USB_PORT_FEAT_*_SPEED symbols 2010-05-20 13:21:31 -07:00
composite.h USB gadget: Handle endpoint requests at the function level 2009-12-11 11:55:15 -08:00
ehci_def.h
g_printer.h
gadget.h include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
gadgetfs.h
gpio_vbus.h
hcd.h USB: split hub.h into ch11.h and merge-in hcd.h 2010-05-20 13:21:30 -07:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1362.h
isp1760.h
Kbuild USB: vstusb.c: removal of driver for Vernier Software & Technology, Inc., devices and spectrometers 2010-03-02 14:55:08 -08:00
langwell_udc.h
m66592.h
midi.h
musb.h USB: musb: allow the Blackfin vrsel gpio to be active low 2010-05-20 13:21:32 -07:00
net2280.h
otg.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-03-03 08:48:58 -08:00
quirks.h USB: Add a new quirk: USB_QUIRK_HONOR_BNUMINTERFACES 2010-05-20 13:21:32 -07:00
r8a66597.h
rndis_host.h
serial.h USB: serial: generalise write buffer preparation 2010-05-20 13:21:35 -07:00
sl811.h
tmc.h
ulpi.h USB OTG: Add generic driver for ULPI OTG transceiver 2009-12-11 11:55:16 -08:00
usbnet.h usbnet: Convert dev(dbg|err|warn|info) macros to netdev_<level> 2010-02-17 13:35:40 -08:00
video.h
wusb-wa.h
wusb.h