Lines Matching defs:descs

365 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs,
372 struct seq_desc *desc = descs + pos;
383 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs,
392 struct seq_desc *desc = descs + pos;
464 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs,
473 struct seq_desc *desc = descs + pos;
525 struct seq_desc *cache = s->ctx_data.tx.cache.descs;
546 static void pool_ideal_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
549 pool_ideal_syt_offsets(s, descs, size, pos, count);
552 pool_blocking_data_blocks(s, descs, size, pos, count);
554 pool_ideal_nonblocking_data_blocks(s, descs, size, pos, count);
557 static void pool_replayed_seq(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
561 const struct seq_desc *cache = target->ctx_data.tx.cache.descs;
567 descs[pos] = cache[cache_pos];
575 static void pool_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
579 void (*pool_seq_descs)(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
600 pool_seq_descs(s, descs, size, pos, count);
1033 struct seq_desc *seq_descs = s->ctx_data.rx.seq.descs;
1688 struct pkt_desc *descs;
1751 s->ctx_data.tx.cache.descs = kcalloc(s->ctx_data.tx.cache.size,
1752 sizeof(*s->ctx_data.tx.cache.descs), GFP_KERNEL);
1753 if (!s->ctx_data.tx.cache.descs) {
1772 s->ctx_data.rx.seq.descs = kcalloc(queue_size, sizeof(*s->ctx_data.rx.seq.descs), GFP_KERNEL);
1773 if (!s->ctx_data.rx.seq.descs) {
1797 descs = kcalloc(s->queue_size + 8, sizeof(*descs), GFP_KERNEL);
1798 if (!descs) {
1802 s->packet_descs = descs;
1806 INIT_LIST_HEAD(&descs->link);
1807 list_add_tail(&descs->link, &s->packet_descs_list);
1808 ++descs;
1851 kfree(s->ctx_data.rx.seq.descs);
1854 kfree(s->ctx_data.tx.cache.descs);
1943 kfree(s->ctx_data.rx.seq.descs);
1946 kfree(s->ctx_data.tx.cache.descs);