Lines Matching refs:queue_size
668 if (++s->packet_index >= s->queue_size) in queue_packet()
928 unsigned int queue_size) in compute_ohci_it_cycle() argument
931 return increment_ohci_cycle_count(cycle, queue_size); in compute_ohci_it_cycle()
941 unsigned int queue_size = s->queue_size; in generate_tx_packet_descs() local
1010 packet_index = (packet_index + 1) % queue_size; in generate_tx_packet_descs()
1043 unsigned int index = (s->packet_index + i) % s->queue_size; in generate_rx_packet_descs()
1046 desc->cycle = compute_ohci_it_cycle(*ctx_header, s->queue_size); in generate_rx_packet_descs()
1257 cycle = compute_ohci_it_cycle(ctx_header[packets - 1], s->queue_size); in skip_rx_packets()
1283 const unsigned int queue_size = s->queue_size; in process_rx_packets_intermediately() local
1294 unsigned int cycle = compute_ohci_it_cycle(ctx_header[offset], queue_size); in process_rx_packets_intermediately()
1682 unsigned int queue_size, unsigned int idle_irq_interval) in amdtp_stream_start() argument
1726 err = iso_packets_buffer_init(&s->buffer, s->unit, queue_size, max_ctx_payload_size, dir); in amdtp_stream_start()
1729 s->queue_size = queue_size; in amdtp_stream_start()
1753 queue_size * 3 / 2); in amdtp_stream_start()
1776 s->ctx_data.rx.seq.descs = kcalloc(queue_size, sizeof(*s->ctx_data.rx.seq.descs), GFP_KERNEL); in amdtp_stream_start()
1781 s->ctx_data.rx.seq.size = queue_size; in amdtp_stream_start()
1801 descs = kcalloc(s->queue_size + 8, sizeof(*descs), GFP_KERNEL); in amdtp_stream_start()
1809 for (i = 0; i < s->queue_size; ++i) { in amdtp_stream_start()
2092 unsigned int queue_size; in amdtp_domain_start() local
2126 queue_size = DIV_ROUND_UP(CYCLES_PER_SECOND * events_per_buffer, in amdtp_domain_start()
2138 err = amdtp_stream_start(s, s->channel, s->speed, queue_size, idle_irq_interval); in amdtp_domain_start()