Lines Matching +full:main +full:- +full:storage
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Driver for USB Mass Storage compliant devices
4 * Main Header File
7 * (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
12 * This driver is based on the 'USB Mass Storage Class' document. This
16 * similar to commands in the SCSI-II and ATAPI specifications.
19 * exhibits class-specific exemptions from the USB specification.
54 /* Dynamic bitflag definitions (us->dflags): used in set_bit() etc. */
68 * We provide a DMA-mapped I/O buffer for use with small USB transfers.
69 * It turns out that CB[I] needs a 12-byte buffer and Bulk-only needs a
70 * 31-byte buffer. But Freecom needs a 64-byte buffer, so that's the
74 #define US_IOBUF_SIZE 64 /* Size of the DMA-mapped I/O buffer */
97 /* device-filter entry */
130 struct usb_sg_request current_sg; /* scatter-gather req. */
158 return (struct us_data *) host->hostdata; in host_to_us()
169 #define scsi_unlock(host) spin_unlock_irq(host->host_lock)
170 #define scsi_lock(host) spin_lock_irq(host->host_lock)
172 /* General routines provided by the usb-storage standard core */