Lines Matching refs:res_count
69 __le16 res_count;
708 d->res_count = cpu_to_le16(PAGE_SIZE);
765 __le16 res_count, next_res_count;
768 res_count = READ_ONCE(ctx->descriptors[i].res_count);
771 while (i != last && res_count == 0) {
776 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count);
792 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count);
802 res_count = next_res_count;
805 rmb(); /* read res_count before the DMA data */
807 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count);
1346 d[0].res_count = cpu_to_le16(packet->timestamp);
1494 packet->timestamp = le16_to_cpu(last->res_count);
2846 unsigned int req_count, res_count, completed;
2850 res_count = le16_to_cpu(READ_ONCE(last->res_count));
2851 completed = req_count - res_count;
2859 if (res_count != 0)
2953 ctx->last_timestamp = le16_to_cpu(last->res_count);
2956 le16_to_cpu(pd->res_count));
3378 d->res_count = d->req_count;
3394 pd->res_count = pd->req_count;
3457 d->res_count = d->req_count;