Lines Matching refs:res_count
69 __le16 res_count; member
663 d->res_count = cpu_to_le16(PAGE_SIZE); in ar_context_link_page()
721 __le16 res_count, next_res_count; in ar_search_last_active_buffer() local
724 res_count = READ_ONCE(ctx->descriptors[i].res_count); in ar_search_last_active_buffer()
727 while (i != last && res_count == 0) { in ar_search_last_active_buffer()
732 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer()
748 next_res_count = READ_ONCE(ctx->descriptors[next_i].res_count); in ar_search_last_active_buffer()
758 res_count = next_res_count; in ar_search_last_active_buffer()
763 *buffer_offset = PAGE_SIZE - le16_to_cpu(res_count); in ar_search_last_active_buffer()
1305 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet()
1453 packet->timestamp = le16_to_cpu(last->res_count); in handle_at_packet()
2802 unsigned int req_count, res_count, completed; in handle_ir_buffer_fill() local
2806 res_count = le16_to_cpu(READ_ONCE(last->res_count)); in handle_ir_buffer_fill()
2807 completed = req_count - res_count; in handle_ir_buffer_fill()
2815 if (res_count != 0) in handle_ir_buffer_fill()
2909 ctx->last_timestamp = le16_to_cpu(last->res_count); in handle_it_packet()
2912 le16_to_cpu(pd->res_count)); in handle_it_packet()
3334 d->res_count = d->req_count; in queue_iso_packet_per_buffer()
3350 pd->res_count = pd->req_count; in queue_iso_packet_per_buffer()
3413 d->res_count = d->req_count; in queue_iso_buffer_fill()