Lines Matching refs:queue_size
641 if (++s->packet_index >= s->queue_size) in queue_packet()
883 unsigned int queue_size) in compute_ohci_it_cycle() argument
886 return increment_ohci_cycle_count(cycle, queue_size); in compute_ohci_it_cycle()
898 unsigned int queue_size = s->queue_size; in generate_device_pkt_descs() local
963 packet_index = (packet_index + 1) % queue_size; in generate_device_pkt_descs()
995 unsigned int index = (s->packet_index + i) % s->queue_size; in generate_pkt_descs()
998 desc->cycle = compute_ohci_it_cycle(*ctx_header, s->queue_size); in generate_pkt_descs()
1131 cycle = compute_ohci_it_cycle(ctx_header[packets - 1], s->queue_size); in skip_rx_packets()
1157 const unsigned int queue_size = s->queue_size; in process_rx_packets_intermediately() local
1168 unsigned int cycle = compute_ohci_it_cycle(ctx_header[offset], queue_size); in process_rx_packets_intermediately()
1548 unsigned int queue_size, unsigned int idle_irq_interval) in amdtp_stream_start() argument
1591 err = iso_packets_buffer_init(&s->buffer, s->unit, queue_size, max_ctx_payload_size, dir); in amdtp_stream_start()
1594 s->queue_size = queue_size; in amdtp_stream_start()
1618 queue_size * 3 / 2); in amdtp_stream_start()
1641 s->ctx_data.rx.seq.descs = kcalloc(queue_size, sizeof(*s->ctx_data.rx.seq.descs), GFP_KERNEL); in amdtp_stream_start()
1646 s->ctx_data.rx.seq.size = queue_size; in amdtp_stream_start()
1663 s->pkt_descs = kcalloc(s->queue_size, sizeof(*s->pkt_descs), in amdtp_stream_start()
1944 unsigned int queue_size; in amdtp_domain_start() local
1978 queue_size = DIV_ROUND_UP(CYCLES_PER_SECOND * events_per_buffer, in amdtp_domain_start()
1990 err = amdtp_stream_start(s, s->channel, s->speed, queue_size, idle_irq_interval); in amdtp_domain_start()