Lines Matching defs:desc
292 * @desc: Array of &struct efx_hw_stat_desc describing the statistics
293 * @count: Length of the @desc array
294 * @mask: Bitmask of which elements of @desc are enabled
301 size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
308 if (desc[index].name) {
310 strscpy(names, desc[index].name,
366 * @desc: Array of &struct efx_hw_stat_desc describing the DMA buffer
370 * @count: Length of the @desc array
371 * @mask: Bitmask of which elements of @desc are enabled
378 void efx_nic_update_stats(const struct efx_hw_stat_desc *desc, size_t count,
385 if (desc[index].dma_width) {
386 const void *addr = dma_buf + desc[index].offset;
389 switch (desc[index].dma_width) {