Home
last modified time | relevance | path

Searched full:descriptors (Results 1 – 25 of 1360) sorted by relevance

12345678910>>...55

/linux/drivers/net/wireless/ath/wil6210/
H A Dpmc.c33 * number of descriptors of required size.
34 * Initialize the descriptors as required by pmc dma.
35 * The descriptors' buffers dwords are initialized to hold
84 wil_dbg_misc(wil, "pmc_alloc: %d descriptors x %d bytes each\n", in wil_pmc_alloc()
87 /* allocate descriptors info list in pmc context*/ in wil_pmc_alloc()
88 pmc->descriptors = kcalloc(num_descriptors, in wil_pmc_alloc()
91 if (!pmc->descriptors) { in wil_pmc_alloc()
96 wil_dbg_misc(wil, "pmc_alloc: allocated descriptors info list %p\n", in wil_pmc_alloc()
97 pmc->descriptors); in wil_pmc_alloc()
99 /* Allocate pring buffer and descriptors. in wil_pmc_alloc()
[all …]
/linux/Documentation/usb/
H A Dfunctionfs-desc.rst2 FunctionFS Descriptors
5 Some of the descriptors that can be written to the FFS gadget are
6 described below. Device and configuration descriptors are handled
10 Descriptors are written to the "ep0" file in the FFS gadget
14 :doc: descriptors
16 Interface Descriptors
19 Standard USB interface descriptors may be written. The class/subclass of the
21 descriptors are accepted.
23 Class-Specific Descriptors
26 Class-specific descriptors are accepted only for the class/subclass of the
[all …]
H A Dfunctionfs.rst10 the user space driver has registered by writing descriptors and
20 write descriptors and strings to that file. It does not need
22 simply provide descriptors such as if the function was the
28 For more information about FunctionFS descriptors see :doc:`functionfs-desc`
30 When descriptors and strings are written "ep#" files appear
69 filesystems have been mounted and USB descriptors of all functions
/linux/drivers/usb/gadget/function/
H A Du_uvc.h36 * Control descriptors array pointers for full-/high-speed and
45 * Streaming descriptors array pointers for full-speed, high-speed and
54 /* Default control descriptors for configfs-based gadgets. */
60 * Control descriptors pointers arrays for full-/high-speed and
63 * descriptors. Used by configfs only, must not be touched by legacy
70 * Control descriptors for extension units. There could be any number
76 * Streaming descriptors for full-speed, high-speed and super-speed.
78 * arrays are allocated at runtime as the number of descriptors isn't
86 * Indexes into the function's string descriptors allowing users to set
96 * This lock protects the descriptors from concurrent access by
/linux/virt/kvm/
H A Dbinary_stats.c19 * @desc: start address of an array of stats descriptors for a vm or a vcpu
33 * | Descriptors |
40 * 1. Read header from offset 0. Get the offset of descriptors and stats data
45 * 3. Read descriptors from its offset and discover all the stats by parsing
46 * descriptors. This is a one-time work for the lifecycle of the
81 * descriptors and stats data. in kvm_stats_read()
100 * header part and could be skipped for later descriptors and stats in kvm_stats_read()
115 * Copy kvm stats descriptors. in kvm_stats_read()
116 * The descriptors copy would be skipped in the typical case that in kvm_stats_read()
118 * greater than the end address of descriptors in kvm_stats_read()
/linux/tools/usb/
H A Dffs-test.c107 /******************** Descriptors and Strings *******************************/
126 } __attribute__((packed)) descriptors = { variable
132 .length = cpu_to_le32(sizeof descriptors),
137 .bLength = sizeof descriptors.fs_descs.intf,
144 .bLength = sizeof descriptors.fs_descs.sink,
151 .bLength = sizeof descriptors.fs_descs.source,
161 .bLength = sizeof descriptors.fs_descs.intf,
168 .bLength = sizeof descriptors.hs_descs.sink,
175 .bLength = sizeof descriptors.hs_descs.source,
186 .bLength = sizeof descriptors.fs_descs.intf,
[all …]
/linux/drivers/media/i2c/ccs/
H A Dccs-data.h66 * struct ccs_frame_format_descs - A series of CCS frame format descriptors
67 * @num_column_descs: Number of column descriptors
68 * @num_row_descs: Number of row descriptors
69 * @column_descs: Column descriptors
70 * @row_descs: Row descriptors
125 * @num_block_descs: Number of block descriptors in @block_descs
126 * @block_descs: Block descriptors
149 * @num_descs: Number of descriptors in @descs
150 * @descs: PDAF pixel location pixel descriptors
/linux/Documentation/filesystems/ext4/
H A Dblockgroup.rst15 - Group Descriptors
38 descriptors that are found in block group 0. Redundant copies of the
39 superblock and group descriptors are written to some of the block groups
45 GDT block” space after the block group descriptors and before the start
71 superblock, group descriptors, data block bitmaps for groups 0-3, inode
76 and group descriptors are always at the beginning of block groups, even
84 descriptors copies are kept in the first block group. Given the default
85 128MiB(2^27 bytes) block group size and 64-byte group descriptors, ext4
96 feature moves the location of the group descriptors from the congested
104 descriptors. Instead, the superblock and a single block group descriptor
/linux/Documentation/networking/device_drivers/ethernet/google/
H A Dgve.rst53 entirely different descriptors, which will be described below.
74 - GQI descriptors and datapath registers are Big Endian.
75 - DQO descriptors and datapath registers are Little Endian.
126 fixed-size descriptors. They advance their head pointer using a __be32
128 descriptors in-order and updating a __be32 counter. Both the doorbell
149 - TX and RX buffers queues, which send descriptors to the device, use MMIO
150 doorbells to notify the device of new descriptors.
152 - RX and TX completion queues, which receive descriptors from the device, use a
155 populate received descriptors with the "next generation" which is inverted
161 descriptors posted to HW.
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_mfw_req.h95 u32 txq_size; /* TX Descriptors Queue Size */
96 u32 rxq_size; /* RX Descriptors Queue Size */
99 /* RX Descriptors Queue Avg Depth. % Avg Queue Depth since last poll */
116 u32 txq_size; /* FCoE TX Descriptors Queue Size. */
117 u32 rxq_size; /* FCoE RX Descriptors Queue Size. */
120 /* FCoE RX Descriptors Queue Avg Depth. */
146 u32 txq_size; /* PDU TX Descriptors Queue Size. */
147 u32 rxq_size; /* PDU RX Descriptors Queue Size. */
149 u32 rxq_avg_depth; /* PDU RX Descriptors Queue Avg Depth. */
/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c25 * descriptors from the tx and rx ring, thus processing one response at a time.
126 * 9 - SepRxHdrDescEn - place start of new frames only in descriptors
261 * @rxin_numd: Number of rx descriptors associated with the message that starts
325 * Arrays of PDC_RING_ENTRIES descriptors
332 u32 ntxd; /* # tx descriptors */
333 u32 nrxd; /* # rx descriptors */
356 * Number of tx descriptors associated with the message that starts
397 u32 last_tx_not_done; /* too few tx descriptors to indicate done */
570 * Return: PDC_SUCCESS if one or more receive descriptors was processed
612 dev_dbg(dev, "PDC %u reclaimed %d tx descriptors", in pdc_receive_one()
[all …]
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c54 /******************** Descriptors and Strings *******************************/
65 } __attribute__ ((__packed__)) descriptors = { variable
70 .length = htole32(sizeof(descriptors)),
75 .bLength = sizeof(descriptors.fs_descs.intf),
82 .bLength = sizeof(descriptors.fs_descs.bulk_sink),
88 .bLength = sizeof(descriptors.fs_descs.bulk_source),
97 .bLength = sizeof(descriptors.hs_descs.intf),
104 .bLength = sizeof(descriptors.hs_descs.bulk_sink),
111 .bLength = sizeof(descriptors.hs_descs.bulk_source),
269 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main()
[all …]
/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c70 /******************** Descriptors and Strings *******************************/
81 } __attribute__ ((__packed__)) descriptors = { variable
86 .length = cpu_to_le32(sizeof(descriptors)),
91 .bLength = sizeof(descriptors.fs_descs.intf),
98 .bLength = sizeof(descriptors.fs_descs.bulk_sink),
104 .bLength = sizeof(descriptors.fs_descs.bulk_source),
113 .bLength = sizeof(descriptors.hs_descs.intf),
120 .bLength = sizeof(descriptors.hs_descs.bulk_sink),
127 .bLength = sizeof(descriptors.hs_descs.bulk_source),
258 if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { in main()
[all …]
/linux/drivers/acpi/acpica/
H A Drsinfo.c20 * The tables for Large descriptors are indexed by bits 6:0 of the AML
21 * descriptor type byte. The tables for Small descriptors are indexed by
23 * descriptors are indexed by the acpi_resource_type field.
58 /* Small descriptors */
77 /* Large descriptors */
154 * Base sizes for external AML resource descriptors, indexed by internal type.
155 * Includes size of the descriptor header (1 byte for small descriptors,
156 * 3 bytes for large descriptors)
188 /* Small descriptors */
207 /* Large descriptors */
H A Damlresrc.h4 * Module Name: amlresrc.h - AML resource descriptors
76 /* Default sizes for "small" resource descriptors */
105 * Resource descriptors defined in the ACPI specification.
107 * Packing/alignment must be BYTE because these descriptors
113 * SMALL descriptors
172 * LARGE descriptors
181 /* General Flags for address space resource descriptors */
310 /* Common preamble for all serial descriptors (ACPI 5.0) */
511 /* Union of all resource descriptors, so we can allocate the worst case */
520 /* Small resource descriptors */
[all …]
/linux/drivers/greybus/
H A Dmanifest.c31 * We scan the manifest once to identify where all the descriptors
127 /* String descriptors are padded to 4 byte boundaries */ in identify_descriptor()
223 * Find cport descriptors in the manifest associated with the given
239 /* Set up all cport descriptors associated with this bundle */ in gb_manifest_parse_cports()
299 * Free all cports for this bundle to avoid 'excess descriptors' in gb_manifest_parse_cports()
308 * Find bundle descriptors in the manifest and set up their data
414 dev_err(&intf->dev, "manifest bundle descriptors not valid\n"); in gb_manifest_parse_interface()
439 * the descriptors it contains, keeping track for each its type
442 * Next we scan the descriptors, looking for an interface descriptor;
445 * string descriptors it refers to) from further consideration.
[all …]
/linux/include/linux/usb/
H A Dcomposite.h79 * struct usb_os_desc - describes OS descriptors associated with one interface
85 * @group: Represents OS descriptors associated with an interface in configfs
99 * struct usb_os_desc_table - describes OS descriptors associated with one
118 * @fs_descriptors: Table of full (or low) speed descriptors, using interface and
121 * @hs_descriptors: Table of high speed descriptors, using interface and
124 * @ss_descriptors: Table of super speed descriptors, using interface and
128 * @ssp_descriptors: Table of super speed plus descriptors, using
134 * @os_desc_table: Table of (interface id, os descriptors) pairs. The function
140 * in interface or class descriptors; endpoints; I/O buffers; and so on.
172 * To support dual speed operation, a function driver provides descriptors
[all …]
/linux/drivers/gpio/
H A Dgpiolib-devres.c56 * Managed gpiod_get(). GPIO descriptors returned from this function are
79 * Managed gpiod_get_optional(). GPIO descriptors returned from this function
103 * Managed gpiod_get_index(). GPIO descriptors returned from this function are
125 * For non-exclusive GPIO descriptors, check if this descriptor is in devm_gpiod_get_index()
160 * GPIO descriptors returned from this function are automatically disposed on
202 * Managed gpiod_get_index_optional(). GPIO descriptors returned from this
233 * Managed gpiod_get_array(). GPIO descriptors returned from this function are
238 * The GPIO descriptors corresponding to the function @con_id of device
274 * Managed gpiod_get_array_optional(). GPIO descriptors returned from this
280 * The GPIO descriptors corresponding to the function @con_id of device
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.h27 /* Number of descriptors in a queue should be a multiple of 32. RX queue
28 * descriptors alone should be a multiple of IDPF_REQ_RXQ_DESC_MULTIPLE
29 * to achieve BufQ descriptors aligned to 32
66 * given RX completion queue has descriptors. This includes _ALL_ buffer
67 * queues. E.g.: If you have two buffer queues of 512 descriptors and buffers,
69 * many descriptors. This macro divides a given number of RX descriptors by
70 * number of buffer queues to calculate how many descriptors each buffer queue
73 * If you give hardware more buffers than completion descriptors what will
75 * descriptors before SW gets an interrupt and overwrites SW head, the gen bit
76 * in the descriptor will be wrong. Any overwritten descriptors' buffers will
[all …]
/linux/include/uapi/linux/usb/
H A Dfunctionfs.h134 * DOC: descriptors
136 * Descriptors format:
149 * | | fs_count | LE32 | number of full-speed descriptors |
151 * | | hs_count | LE32 | number of high-speed descriptors |
153 * | | ss_count | LE32 | number of super-speed descriptors |
155 * | | os_count | LE32 | number of MS OS descriptors |
157 * | | fs_descrs | Descriptor[] | list of full-speed descriptors |
159 * | | hs_descrs | Descriptor[] | list of high-speed descriptors |
161 * | | ss_descrs | Descriptor[] | list of super-speed descriptors |
163 * | | os_descrs | OSDesc[] | list of MS OS descriptors |
[all...]
H A Dgadgetfs.h7 * writing descriptors, and then may be used for normal stream style
12 * Configuration and device descriptors get written to /dev/gadget/$CHIP,
15 * or earlier; writing endpoint descriptors to /dev/gadget/$ENDPOINT
29 * reads from this file descriptor after writing the descriptors. Don't
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddescs_com.h9 descriptors in case of the DMA is configured to work in chained or
21 /* Enhanced descriptors */
53 /* Normal descriptors */
90 /* Enhanced descriptors */
106 /* Normal descriptors */
/linux/drivers/crypto/gemini/
H A Dsl3516-ce.h14 * It acts the same as a network hw, with both RX and TX chained descriptors.
94 * @next_desc: control linking to other descriptors
103 * write the number of descriptors used
140 * struct desc_next - describe chaining of descriptors
210 * @dtx: base DMA address for TX descriptors
211 * @tx base address of TX descriptors
212 * @drx: base DMA address for RX descriptors
213 * @rx base address of RX descriptors
/linux/drivers/usb/gadget/
H A Dcomposite.c56 * function_descriptors() - get function descriptors for speed
60 * Returns the descriptors or NULL if not set.
66 struct usb_descriptor_header **descriptors; in function_descriptors() local
75 descriptors = f->ssp_descriptors; in function_descriptors()
76 if (descriptors) in function_descriptors()
80 descriptors = f->ss_descriptors; in function_descriptors()
81 if (descriptors) in function_descriptors()
85 descriptors = f->hs_descriptors; in function_descriptors()
86 if (descriptors) in function_descriptors()
90 descriptors = f->fs_descriptors; in function_descriptors()
[all …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_admin_defs.h75 /* descriptors and headers are in host memory */
77 /* descriptors and headers are in device memory (a.k.a Low Latency
232 * 0x1 - descriptors and headers are in OS memory,
233 * 0x3 - descriptors and headers in device memory
575 /* packet descriptor list entry always starts with one or more descriptors,
576 * followed by a header. The rest of the descriptors are located in the
578 * descriptors are placed. This field is relevant only for inline header
640 * the packet includes descriptors and header. Rest of the entries
641 * occupied by descriptors. This parameter defines the max number of
642 * descriptors precedding the header in the first entry. The field is
[all …]

12345678910>>...55