Lines Matching refs:res_count
69 __le16 res_count;
708 d->res_count = cpu_to_le16(PAGE_SIZE);
768 __le16 res_count, next_res_count;
771 res_count = READ_ONCE(ctx->descriptors[i].res_count);
774 while (i != last && res_count == 0) {
779 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count);
795 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count);
805 res_count = next_res_count;
808 rmb(); /* read res_count before the DMA data */
810 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count);
1348 d[0].res_count = cpu_to_le16(packet->timestamp);
1496 packet->timestamp = le16_to_cpu(last->res_count);
2858 unsigned int req_count, res_count, completed;
2862 res_count = le16_to_cpu(READ_ONCE(last->res_count));
2863 completed = req_count - res_count;
2871 if (res_count != 0)
2965 ctx->last_timestamp = le16_to_cpu(last->res_count);
2968 le16_to_cpu(pd->res_count));
3390 d->res_count = d->req_count;
3406 pd->res_count = pd->req_count;
3469 d->res_count = d->req_count;