Lines Matching refs:descriptor_size
41 int descriptor_size) in wil_pmc_alloc() argument
57 if ((num_descriptors <= 0) || (descriptor_size <= 0)) { in wil_pmc_alloc()
60 num_descriptors, descriptor_size); in wil_pmc_alloc()
73 if (num_descriptors > INT_MAX / descriptor_size) { in wil_pmc_alloc()
76 num_descriptors, descriptor_size); in wil_pmc_alloc()
82 pmc->descriptor_size = descriptor_size; in wil_pmc_alloc()
85 num_descriptors, descriptor_size); in wil_pmc_alloc()
146 descriptor_size, in wil_pmc_alloc()
155 for (j = 0; j < descriptor_size / sizeof(u32); j++) { in wil_pmc_alloc()
166 d->dma.length = cpu_to_le16(descriptor_size); in wil_pmc_alloc()
198 descriptor_size, in wil_pmc_alloc()
281 pmc->descriptor_size, in wil_pmc_free()
333 pmc_size = pmc->descriptor_size * pmc->num_descriptors; in wil_pmc_read()
342 do_div(idx, pmc->descriptor_size); in wil_pmc_read()
343 offset = *f_pos - (idx * pmc->descriptor_size); in wil_pmc_read()
362 pmc->descriptor_size); in wil_pmc_read()
386 pmc_size = pmc->descriptor_size * pmc->num_descriptors; in wil_pmc_llseek()