Lines Matching defs:descriptor

64 struct descriptor {
91 struct descriptor *descriptors;
102 struct descriptor *d,
103 struct descriptor *last);
107 * storing a portion of a DMA descriptor program.
114 struct descriptor buffer[];
139 * The descriptor containing the branch address of the first
140 * descriptor that has not yet been filled by the device.
142 struct descriptor *last;
145 * The last descriptor block in the DMA program. It contains the branch
146 * address that must be updated upon appending a new descriptor.
148 struct descriptor *prev;
704 struct descriptor *d;
773 /* Peek at the next descriptor. */
778 * If the next descriptor is still empty, we must stop at this
779 * descriptor.
785 * buffer's descriptor might be never updated by the
810 ar_context_abort(ctx, "corrupted descriptor");
1001 ar_context_abort(ctx, "inconsistent descriptor");
1021 struct descriptor *d;
1056 ar_next_buffer_index(i) * sizeof(struct descriptor));
1080 static struct descriptor *find_branch_descriptor(struct descriptor *d, int z)
1086 /* figure out which descriptor the branch address goes in */
1096 struct descriptor *d, *last;
1193 * We put a dummy descriptor in the buffer that has a NULL
1195 * have a descriptor to append DMA programs to.
1220 static struct descriptor *context_get_descriptors(struct context *ctx,
1223 struct descriptor *d = NULL;
1230 /* No room for the descriptor in this buffer, so advance to the
1264 struct descriptor *d, int z, int extra)
1268 struct descriptor *d_branch;
1280 * VT6306 incorrectly checks only the single descriptor at the
1282 * multi-descriptor block starting with an INPUT_MORE, put a copy of
1283 * the branch address in the first descriptor.
1335 struct descriptor *d, *last;
1404 BUILD_BUG_ON(sizeof(struct driver_data) > sizeof(struct descriptor));
1471 struct descriptor *d,
1472 struct descriptor *last)
1480 /* This descriptor isn't done yet, stop iteration. */
2806 struct descriptor *d,
2807 struct descriptor *last)
2811 struct descriptor *pd;
2839 /* d == last because each descriptor block is only a single descriptor. */
2841 struct descriptor *d,
2842 struct descriptor *last)
2892 struct descriptor *pd)
2901 /* skip over the OUTPUT_MORE_IMMEDIATE descriptor */
2905 * If the packet has a header, the first OUTPUT_MORE/LAST descriptor's
2929 struct descriptor *d,
2930 struct descriptor *last)
2934 struct descriptor *pd;
3241 struct descriptor *d, *last, *pd;
3279 * Link the skip address to this descriptor itself. This causes
3346 struct descriptor *d, *pd;
3366 /* d points to the header descriptor */
3426 struct descriptor *d;
3434 /* We need one descriptor for each page in the buffer. */
3674 BUILD_BUG_ON(AR_BUFFERS * sizeof(struct descriptor) > PAGE_SIZE/4);