Lines Matching refs:res_count
82 __le16 res_count; member
676 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page()
734 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local
737 res_count = ACCESS_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer()
740 while (i != last && res_count == 0) { in ar_search_last_active_buffer()
746 ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer()
763 ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer()
773 res_count = next_res_count; in ar_search_last_active_buffer()
778 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer()
1314 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet()
1462 packet->timestamp = le16_to_cpu(last->res_count); in handle_at_packet()
2811 unsigned int req_count, res_count, completed; in handle_ir_buffer_fill() local
2815 res_count = le16_to_cpu(ACCESS_ONCE(last->res_count)); in handle_ir_buffer_fill()
2816 completed = req_count - res_count; in handle_ir_buffer_fill()
2824 if (res_count != 0) in handle_ir_buffer_fill()
2918 ctx->last_timestamp = le16_to_cpu(last->res_count); in handle_it_packet()
2921 le16_to_cpu(pd->res_count)); in handle_it_packet()
3344 d->res_count = d->req_count; in queue_iso_packet_per_buffer()
3360 pd->res_count = pd->req_count; in queue_iso_packet_per_buffer()
3423 d->res_count = d->req_count; in queue_iso_buffer_fill()