Lines Matching defs:desc
437 * @desc: Array of &struct ef4_hw_stat_desc describing the statistics
438 * @count: Length of the @desc array
439 * @mask: Bitmask of which elements of @desc are enabled
446 size_t ef4_nic_describe_stats(const struct ef4_hw_stat_desc *desc, size_t count,
453 if (desc[index].name) {
455 strscpy(names, desc[index].name,
468 * @desc: Array of &struct ef4_hw_stat_desc describing the DMA buffer
472 * @count: Length of the @desc array
473 * @mask: Bitmask of which elements of @desc are enabled
480 void ef4_nic_update_stats(const struct ef4_hw_stat_desc *desc, size_t count,
487 if (desc[index].dma_width) {
488 const void *addr = dma_buf + desc[index].offset;
491 switch (desc[index].dma_width) {