Lines Matching refs:numDescriptors
368 int numDescriptors /* Number of descriptors that need to be allocated. */
370 size_t bytesToAlloc = dmacHw_descriptorLen(numDescriptors);
372 if ((ring == NULL) || (numDescriptors <= 0)) {
389 ring->descriptorsAllocated = numDescriptors;
391 return dma_init_descriptor_ring(ring, numDescriptors);
437 int numDescriptors /* Number of descriptors to initialize. */
444 ring->bytesAllocated, numDescriptors) < 0) {
479 int numDescriptors;
487 numDescriptors = dmacHw_calculateDescriptorCount(&devAttr->config,
491 if (numDescriptors < 0) {
497 return numDescriptors;
1147 int numDescriptors;
1167 numDescriptors = dmacHw_calculateDescriptorCount(&devAttr->config,
1171 if (numDescriptors < 0) {
1180 ringBytesRequired = dmacHw_descriptorLen(numDescriptors);
1199 numDescriptors);
1203 __func__, numDescriptors);
1211 numDescriptors) < 0) {
1272 int numDescriptors;
1300 numDescriptors = numDst1Descriptors + numDst2Descriptors;
1301 /* printk("numDescriptors: %d\n", numDescriptors); */
1306 ringBytesRequired = dmacHw_descriptorLen(numDescriptors);
1325 numDescriptors);
1341 numDescriptors) < 0) {
1373 return numDescriptors;
2092 int numDescriptors;
2107 numDescriptors = 0;
2134 numDescriptors += rc;
2140 if (numDescriptors > devAttr->ring.descriptorsAllocated) {
2144 numDescriptors);
2154 numDescriptors);